[PATCH v3 18/27] omapfb: connector-analog-tv: Support only Composite type in legacy boot

2016-06-03 Thread Peter Ujfalusi
In legacy mode (non DT mode) support only composite connector type. The only user for this is rx51, using composite type. Dropping the connector_type selection via pdata will allow cleanups in omapdss (drm vs fbdev). Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/video

[PATCH v3 17/27] drm/omap: connector-analog-tv: Support only Composite type in legacy boot

2016-06-03 Thread Peter Ujfalusi
In legacy mode (non DT mode) support only composite connector type. The only user for this is rx51, using composite type. Dropping the connector_type selection via pdata will allow cleanups in omapdss (drm vs fbdev). Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/g

[PATCH v3 19/27] omapdss: omap-panel-data.h: Remove connector_type from atv pdata

2016-06-03 Thread Peter Ujfalusi
The driver only supports composite connection when booted in legacy mode so the omap_dss_venc_type can be dropped from the pdata. At the same time the video/omapdss.h include can be removed as it is no longer needed. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- include/vide

[PATCH v3 20/27] drm/omap: Remove reference to pdata->default_device

2016-06-03 Thread Peter Ujfalusi
The default_device is no longer used, it is a leftower from legacy. The else if (pdata->default_device) is always going to be false. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/gpu/drm/omapdrm/dss/core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/driver

[PATCH v3 08/27] omapfb: panel-sharp-ls037v7dw01: Remove legacy boot support

2016-06-03 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../omapfb/displays/panel-sharp-ls037v7dw01.c | 81 ++ include/video/omap-panel-data.h

[PATCH v3 09/27] omapfb: panel-lgphilips-lb035q02: Remove legacy boot support

2016-06-03 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../omapfb/displays/panel-lgphilips-lb035q02.c | 56 +++--- include/video/omap-panel-data.h

[PATCH v3 10/27] omapfb: panel-dsi-cm: Remove legacy boot support

2016-06-03 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../fbdev/omap2/omapfb/displays/panel-dsi-cm.c | 52 +++--- include/video/omap-panel-data.h

[PATCH v3 09/27] omapfb: panel-lgphilips-lb035q02: Remove legacy boot support

2016-06-03 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../omapfb/displays/panel-lgphilips-lb035q02.c | 56 +++--- include/video/omap-panel-data.h

[PATCH v3 13/27] omapfb: encoder-tfp410: Remove legacy boot support

2016-06-03 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../fbdev/omap2/omapfb/displays/encoder-tfp410.c | 44 +++--- include/video/omap-panel-data.h

[PATCH v3 23/27] omapdss: hdmi audio: Make header file independent of video/omapdss.h

2016-06-03 Thread Peter Ujfalusi
Clean up the header files regarding to hdmi audio so the omap-hdmi-audio.h file will only need to include the platform_data/omapdss.h file. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> CC: Mark Brown <broo...@kernel.org> CC: Jyri Sarha <jsa...@ti.com> CC: Liam Gird

[PATCH v3 12/27] omapfb: connector-dvi: Remove legacy boot support

2016-06-03 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../fbdev/omap2/omapfb/displays/connector-dvi.c| 58 +++--- include/video/omap-panel-data.h

[PATCH v3 20/27] drm/omap: Remove reference to pdata->default_device

2016-06-03 Thread Peter Ujfalusi
The default_device is no longer used, it is a leftower from legacy. The else if (pdata->default_device) is always going to be false. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/gpu/drm/omapdrm/dss/core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/driver

[PATCH v3 19/27] omapdss: omap-panel-data.h: Remove connector_type from atv pdata

2016-06-03 Thread Peter Ujfalusi
The driver only supports composite connection when booted in legacy mode so the omap_dss_venc_type can be dropped from the pdata. At the same time the video/omapdss.h include can be removed as it is no longer needed. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- include/vide

[PATCH v3 27/27] drm/omap: Remove the video/omapdss.h and move it's content to local header file

2016-06-03 Thread Peter Ujfalusi
Move the contents of the video/omapdss.h header file to omapdrm/dss local header file and remove the original global header. The omapfb stach is using video/omapfb_dss.h so this change will complete the separation of the two driver implementation. Signed-off-by: Peter Ujfalusi <peter.uj

[PATCH v3 22/27] platform_data: omapdss: Remove unused members from omap_dss_board_info

2016-06-03 Thread Peter Ujfalusi
The num_devices, **devices and *default_device is leftover from the past. They can be removed as they are no used. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- include/linux/platform_data/omapdss.h | 5 - 1 file changed, 5 deletions(-) diff --git a/include/linux/platfor

[PATCH v3 14/27] omapfb: encoder-tpd12s015: No need to include video/omap-panle-data.h

2016-06-03 Thread Peter Ujfalusi
The driver does not support legacy (pdata) based probing. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s01

[PATCH v3 15/27] drm/omap: displays: Do not include video/omap-panel-data.h if not needed

2016-06-03 Thread Peter Ujfalusi
Some panel/encoder/connector driver includes omap-panel-data.h but they do not need it. Remove the inclusion of video/omap-panel-data.h from these drivers. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c | 1 - drivers/g

[PATCH v3 07/27] omapfb: panel-tpo-td043mtea1: Remove legacy boot support

2016-06-03 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../omap2/omapfb/displays/panel-tpo-td043mtea1.c | 44 +++--- include/video/omap-panel-data.h

[PATCH v3 11/27] omapfb: connector-hdmi: Remove legacy boot support

2016-06-03 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../fbdev/omap2/omapfb/displays/connector-hdmi.c | 42 -- include/video/omap-panel-data.h

[PATCH v3 10/27] omapfb: panel-dsi-cm: Remove legacy boot support

2016-06-03 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../fbdev/omap2/omapfb/displays/panel-dsi-cm.c | 52 +++--- include/video/omap-panel-data.h

[PATCH v3 01/27] ARM: OMAP: rx51-video: Do not set TV connector_type

2016-06-03 Thread Peter Ujfalusi
OMAP_DSS_VENC_TYPE_COMPOSITE is 0. There is no need to explicitly set the connector_type. This change is needed for the omapdss header cleanup. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/board-rx51-video.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v3 05/27] omapfb: panel-tpo-td028ttec1: Remove legacy boot support

2016-06-03 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../omap2/omapfb/displays/panel-tpo-td028ttec1.c | 43 +++--- include/video/omap-panel-data.h

[PATCH v3 02/27] ARM/video: omap2: Move omap_display_init declaration to mach-omap2/display.h

2016-06-03 Thread Peter Ujfalusi
The omap_display_init() is implemented in the mach-omap2/display.c so the declaration should have been there as well. Change the board files to include display.h to avoid build breakage at the same time. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/board

[PATCH v3 00/27] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-06-03 Thread Peter Ujfalusi
for omapdss, clean up the header usage and dependencies, new header file for omapfb stack (video/omapfb_dss.h) local omapdss.h header file for omapdrm. Regards, Peter --- Peter Ujfalusi (27): ARM: OMAP: rx51-video: Do not set TV connector_type ARM/video: omap2: Move omap_display_init declaration

Re: [PATCH v3 00/27] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-06-03 Thread Peter Ujfalusi
Tony, On 06/03/16 14:03, Peter Ujfalusi wrote: > Hi, > > Changes since v2: > - Collected the patches (4 of them) at the beginning which touches mach-omap2 > - Smaller changes in the moved patches to make sure they compile. > > Changes since v1: > - patches (2) added

[PATCH v4 7/7] ARM: OMAP2+: McBSP: Remove the old iclk allow/deny idle code

2016-05-25 Thread Peter Ujfalusi
The new pdata callback (force_ick_on) is now used by the driver and the old callback related code can be removed. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/mcbsp.c | 18 -- include/linux/platform_data/asoc-ti-mcbsp.h |

[PATCH v4 4/7] ARM: OMAP3: pdata-quirks: Add support for McBSP2/3 sidetone handling

2016-05-25 Thread Peter Ujfalusi
. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/mcbsp.c | 9 + arch/arm/mach-omap2/pdata-quirks.c | 18 ++ include/linux/platform_data/asoc-ti-mcbsp.h | 2 ++ 3 files changed, 29 insertions(+) diff --git a/ar

[PATCH v4 5/7] ASoC: omap-mcbsp: Rename omap_mcbsp_sysfs_remove() to omap_mcbsp_cleanup()

2016-05-25 Thread Peter Ujfalusi
The function will do more then removing the sysfs files in the future. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> Acked-by: Mark Brown <broo...@kernel.org> --- sound/soc/omap/mcbsp.c | 2 +- sound/soc/omap/mcbsp.h | 2 +- sound/soc/omap/omap-mcbsp.c | 2 +- 3 f

[PATCH v4 6/7] ASoC: omap-mcbsp: sidetone: Use the new callback for iclk handling

2016-05-25 Thread Peter Ujfalusi
needs to get the module's ick clock and pass the clk pointer to the callback. In DT boot, the pdata-quirk is going to set up the callback for the driver so save it if it is set in the pdata of the device. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> Acked-by: Mark Brown <broo...@k

Re: [PATCH v4 0/7] ARM/ASoC: OMAP3: Fix McBSP2/3 sidetone support

2016-05-25 Thread Peter Ujfalusi
Hi, my git send-email got interrupted by my ISP :o The complete series should be up by now. Sorry about it. -- Péter On 05/25/2016 05:15 PM, Peter Ujfalusi wrote: > Hi, > > Changes since v3: > - Rebased on next-20160525 [1] to apply cleanly > - Fixed subject line for patch5 &

[PATCH v4 1/7] ARM: OMAP3: hwmod data: Fix McBSP2/3 sidetone data

2016-05-25 Thread Peter Ujfalusi
. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 24 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c

[PATCH v4 2/7] ARM: dts: omap3: Add clocks to McBSP nodes

2016-05-25 Thread Peter Ujfalusi
Add clock properties to the McBSP nodes. McBSP2 and 3 need to have ick also since the Sidetone block of these modules are operating using the McBSP interface clock. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/boot/dts/omap3.dtsi | 10 ++ 1 file chang

[PATCH v4 3/7] ARM: OMAP3: McBSP: New callback for McBSP2/3 ICLK idle configuration

2016-05-25 Thread Peter Ujfalusi
to simplify the ICLK handling. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/mcbsp.c | 12 include/linux/platform_data/asoc-ti-mcbsp.h | 1 + 2 files changed, 13 insertions(+) diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach

[PATCH v4 0/7] ARM/ASoC: OMAP3: Fix McBSP2/3 sidetone support

2016-05-25 Thread Peter Ujfalusi
he removal of the sidetone hwmod and only corrected it. The series now includes all related changes needed to have correct sidetone support whenever we boot in legacy or in DT mode. This time the ASoC part have dependency on earlier patches so they can not be applied separately. Regards, Peter --- Peter U

[PATCH v4 2/7] ARM: dts: omap3: Add clocks to McBSP nodes

2016-05-25 Thread Peter Ujfalusi
Add clock properties to the McBSP nodes. McBSP2 and 3 need to have ick also since the Sidetone block of these modules are operating using the McBSP interface clock. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/boot/dts/omap3.dtsi | 10 ++ 1 file chang

[PATCH v4 3/7] ARM: OMAP3: McBSP: New callback for McBSP2/3 ICLK idle configuration

2016-05-25 Thread Peter Ujfalusi
to simplify the ICLK handling. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/mcbsp.c | 12 include/linux/platform_data/asoc-ti-mcbsp.h | 1 + 2 files changed, 13 insertions(+) diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach

[PATCH v4 0/7] ARM/ASoC: OMAP3: Fix McBSP2/3 sidetone support

2016-05-25 Thread Peter Ujfalusi
he removal of the sidetone hwmod and only corrected it. The series now includes all related changes needed to have correct sidetone support whenever we boot in legacy or in DT mode. This time the ASoC part have dependency on earlier patches so they can not be applied separately. Regards, Peter --- Peter U

[PATCH v4 1/7] ARM: OMAP3: hwmod data: Fix McBSP2/3 sidetone data

2016-05-25 Thread Peter Ujfalusi
. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 24 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c

[PATCH v5 0/7] ARM/ASoC: OMAP3: Fix McBSP2/3 sidetone support

2016-05-30 Thread Peter Ujfalusi
on earlier patches so they can not be applied separately. Regards, Peter --- Peter Ujfalusi (7): ARM: dts: omap3: Add clocks to McBSP nodes ARM: OMAP3: hwmod data: Fix McBSP2/3 sidetone data ARM: OMAP3: McBSP: New callback for McBSP2/3 ICLK idle configuration ARM: OMAP3: pdata-quirks: A

[PATCH v1 14/14] ASoC: omap-mcpdm: Add support for pdmclk clock handling

2016-05-30 Thread Peter Ujfalusi
McPDM module receives it's functional clock from external source. This clock is the pdmclk provided by the twl6040 audio IC. If the clock is not available all register accesses to McPDM fails and the module is not operational. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> Acked-b

[PATCH v1 11/14] ASoC: omap: Kconfig: SND_OMAP_SOC_OMAP_ABE_TWL6040 to select CLK_TWL6040

2016-05-30 Thread Peter Ujfalusi
The pdmclk is needed for McPDM. It is generated by twl6040. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- sound/soc/omap/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/omap/Kconfig b/sound/soc/omap/Kconfig index 5520273724ae..347705c04db1 100644 --- a/sou

[PATCH v1 12/14] ASoC: omap-mcpdm: Move the WD enable write inside omap_mcpdm_open_streams()

2016-05-30 Thread Peter Ujfalusi
The DS4_WD_EN bit is only touched before calling omap_mcpdm_open_streams(). Move it inside of that function for simplicity. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- sound/soc/omap/omap-mcpdm.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a

[PATCH v1 13/14] ASoC: omap-mcpdm: Support for suspend resume

2016-05-30 Thread Peter Ujfalusi
Implement ASoC's suspend and resume callbacks. Since McPDM does not use pcm_trigger for start and stop of the stream due to strict sequencing needs with the twl6040, the callbacks will stop and restart the McPDM in case the board suspended during audio activity. Signed-off-by: Peter Ujfalusi

[PATCH v1 10/14] ARM: dts: omap4-duovero: Add pdmclk binding for audio

2016-05-30 Thread Peter Ujfalusi
The twl6040 codec is generating the pdmclk, which is used by the McPDM as functional clock. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/boot/dts/omap4-duovero.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap4-duovero.dtsi b/ar

[PATCH v1 08/14] ARM: dts: omap4-sdp: Add pdmclk binding for audio

2016-05-30 Thread Peter Ujfalusi
The twl6040 codec is generating the pdmclk, which is used by the McPDM as functional clock. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/boot/dts/omap4-sdp.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts

[PATCH v1 06/14] ARM: dts: omap5-board-common: Add pdmclk binding for audio

2016-05-30 Thread Peter Ujfalusi
The twl6040 codec is generating the pdmclk, which is used by the McPDM as functional clock. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/boot/dts/omap5-board-common.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap5-board-common.d

[PATCH v1 03/14] clk: twl6040: Rename the driver and use consistent names in the code

2016-05-30 Thread Peter Ujfalusi
This can be done w/o regression since the clock driver is not in use at the moment, the MFD core driver is not even registering the device for it. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/clk/clk-twl6040.c | 77 +++ 1 file cha

[PATCH v1 07/14] ARM: dts: omap4-panda-common: Add pdmclk binding for audio

2016-05-30 Thread Peter Ujfalusi
The twl6040 codec is generating the pdmclk, which is used by the McPDM as functional clock. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/boot/dts/omap4-panda-common.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap4-panda-common.d

[PATCH v1 02/14] clk: twl6040: Register the clock as of_clk_provider

2016-05-30 Thread Peter Ujfalusi
In order ot be able to use the pdmclk clock via DT it need to be registered as of_clk_provide. Since the twl6040 clock driver does not have it's own DT node, use the parent's node for registering. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/clk/clk-twl6040.c | 3 ++-

[PATCH v5 7/7] ARM: OMAP2+: McBSP: Remove the old iclk allow/deny idle code

2016-05-30 Thread Peter Ujfalusi
The new pdata callback (force_ick_on) is now used by the driver and the old callback related code can be removed. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/mcbsp.c | 18 -- include/linux/platform_data/asoc-ti-mcbsp.h |

[PATCH v5 3/7] ARM: OMAP3: McBSP: New callback for McBSP2/3 ICLK idle configuration

2016-05-30 Thread Peter Ujfalusi
to simplify the ICLK handling. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/mcbsp.c | 12 include/linux/platform_data/asoc-ti-mcbsp.h | 1 + 2 files changed, 13 insertions(+) diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach

[PATCH v1 01/14] clk: twl6040: Correct clk_ops

2016-05-30 Thread Peter Ujfalusi
Since the drover only supports prepare callbacks, the use of is_enabled is not correct, it should be handling is_prepared. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/clk/clk-twl6040.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/c

[PATCH v1 04/14] mfd: twl6040: The chip does not support bulk access

2016-05-30 Thread Peter Ujfalusi
Bulk access is not working with twl6040, we need to use single register access. Bulk access would happen when we try to sync the regcache after power on. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/mfd/twl6040.c | 1 + 1 file changed, 1 insertion(+) diff --git a/d

[PATCH v1 05/14] mfd: twl6040: Register child device for twl6040-pdmclk

2016-05-30 Thread Peter Ujfalusi
The McPDM in OMAP4/5 is using the pdmclk from twl6040 as functional clock. The twl6040-pdmclk driver provides a clock which can be used to make sure that the pdmclk is active when the McPDM is in use. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> Acked-by: Rob Herring <r...@k

[PATCH v1 09/14] ARM: dts: omap4-var-som-om44: Add pdmclk binding for audio

2016-05-30 Thread Peter Ujfalusi
The twl6040 codec is generating the pdmclk, which is used by the McPDM as functional clock. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/boot/dts/omap4-var-som-om44.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/omap4-var-som-om44.d

[PATCH v1 00/14] clk/mfd/ASoC/ARM: OMAP4/5: McPDM/twl6040 pdmclk support

2016-05-30 Thread Peter Ujfalusi
have not experienced any regression. Regards, Peter --- Peter Ujfalusi (14): clk: twl6040: Correct clk_ops clk: twl6040: Register the clock as of_clk_provider clk: twl6040: Rename the driver and use consistent names in the code mfd: twl6040: The chip does not support bulk access mfd

[PATCH v5 5/7] ASoC: omap-mcbsp: Rename omap_mcbsp_sysfs_remove() to omap_mcbsp_cleanup()

2016-05-30 Thread Peter Ujfalusi
The function will do more then removing the sysfs files in the future. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> Acked-by: Mark Brown <broo...@kernel.org> --- sound/soc/omap/mcbsp.c | 2 +- sound/soc/omap/mcbsp.h | 2 +- sound/soc/omap/omap-mcbsp.c | 2 +- 3 f

[PATCH v5 1/7] ARM: dts: omap3: Add clocks to McBSP nodes

2016-05-30 Thread Peter Ujfalusi
Add clock properties to the McBSP nodes. McBSP2 and 3 need to have ick also since the Sidetone block of these modules are operating using the McBSP interface clock. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/boot/dts/omap3.dtsi | 10 ++ 1 file chang

[PATCH v5 6/7] ASoC: omap-mcbsp: sidetone: Use the new callback for iclk handling

2016-05-30 Thread Peter Ujfalusi
needs to get the module's ick clock and pass the clk pointer to the callback. In DT boot, the pdata-quirk is going to set up the callback for the driver so save it if it is set in the pdata of the device. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> Acked-by: Mark Brown <broo...@k

[PATCH v5 2/7] ARM: OMAP3: hwmod data: Fix McBSP2/3 sidetone data

2016-05-30 Thread Peter Ujfalusi
. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 24 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c

[PATCH v5 4/7] ARM: OMAP3: pdata-quirks: Add support for McBSP2/3 sidetone handling

2016-05-30 Thread Peter Ujfalusi
. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/mcbsp.c | 9 + arch/arm/mach-omap2/pdata-quirks.c | 18 ++ include/linux/platform_data/asoc-ti-mcbsp.h | 2 ++ 3 files changed, 29 insertions(+) diff --git a/ar

[PATCH 01/26] omapfb: panel-tpo-td028ttec1: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../omap2/omapfb/displays/panel-tpo-td028ttec1.c | 43 +++--- include/video/omap-panel-data.h

[PATCH 05/26] omapfb: panel-lgphilips-lb035q02: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../omapfb/displays/panel-lgphilips-lb035q02.c | 56 +++--- include/video/omap-panel-data.h

[PATCH 09/26] omapfb: encoder-tfp410: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../fbdev/omap2/omapfb/displays/encoder-tfp410.c | 44 +++--- include/video/omap-panel-data.h

[PATCH 02/26] omapfb: panel-nec-nl8048hl11: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../omap2/omapfb/displays/panel-nec-nl8048hl11.c | 45 +++--- include/video/omap-panel-data.h

[PATCH 21/26] omapdss: hdmi audio: Make header file independent of video/omapdss.h

2016-05-30 Thread Peter Ujfalusi
Clean up the header files regarding to hdmi audio so the omap-hdmi-audio.h file will only need to include the platform_data/omapdss.h file. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> CC: Mark Brown <broo...@kernel.org> CC: Jyri Sarha <jsa...@ti.com> CC: Liam Gird

[PATCH 14/26] omapdss: omap-panel-data.h: Remove connector_type from atv pdata

2016-05-30 Thread Peter Ujfalusi
The driver only supports composite connection when booted in legacy mode so the omap_dss_venc_type can be dropped from the pdata. At the same time the video/omapdss.h include can be removed as it is no longer needed. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- include/vide

[PATCH 19/26] video/platform_data: omapdss: Create new header file for platform data

2016-05-30 Thread Peter Ujfalusi
Create a new header file for platform data used by omapdss. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../linux/platform_data/omapdss.h | 64 +- include/video/omapdss.h| 25 + 2 files changed, 26 inse

[PATCH 24/26] [media] omap_vout: Switch to use the video/omapfb_dss.h header file

2016-05-30 Thread Peter Ujfalusi
The omap_vout is only supported with omapfb. Switch the driver to use the correct header file. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/media/platform/omap/omap_vout.c| 2 +- drivers/media/platform/omap/omap_voutdef.h | 2 +- drivers/media/platfor

Re: [PATCH 01/26] omapfb: panel-tpo-td028ttec1: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
On 05/30/2016 02:56 PM, Belisko Marek wrote: > Hi Peter, > > On Mon, May 30, 2016 at 1:42 PM, Peter Ujfalusi <peter.ujfal...@ti.com> wrote: >> The panel is not used by any legacy board files so the legacy (pdata) boot >> support can be dropped. > What about platforms

[PATCH 17/26] omapfb: Remove reference to pdata->default_device

2016-05-30 Thread Peter Ujfalusi
The default_device is no longer used, it is a leftower from legacy. The else if (pdata->default_device) is always going to be false. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/video/fbdev/omap2/omapfb/dss/core.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH 12/26] omapfb: connector-analog-tv: Support only Composite type in legacy boot

2016-05-30 Thread Peter Ujfalusi
In legacy mode (non DT mode) support only composite connector type. The only user for this is rx51, using composite type. Dropping the connector_type selection via pdata will allow cleanups in omapdss (drm vs fbdev). Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/video

[PATCH 13/26] ARM: OMAP: rx51-video: Do not set TV connector_type

2016-05-30 Thread Peter Ujfalusi
In legacy mode only composite type is supported by omapdss so there is no need to specify the connector_type. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/board-rx51-video.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-omap2/board-rx51-v

[PATCH 10/26] omapdss: omap-panel-data.h: Remove struct omap_dss_device declaration

2016-05-30 Thread Peter Ujfalusi
The omap_dss_device is not needed by anything in the header file. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- include/video/omap-panel-data.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/video/omap-panel-data.h b/include/video/omap-panel-data.h index a64e9b

[PATCH 08/26] omapfb: connector-dvi: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../fbdev/omap2/omapfb/displays/connector-dvi.c| 58 +++--- include/video/omap-panel-data.h

[PATCH 15/26] ARM/video: omap2: Move omap_display_init declaration to mach-omap2/display.h

2016-05-30 Thread Peter Ujfalusi
The omap_display_init() is implemented in the mach-omap2/display.c so the declaration should have been there as well. Change the board files to include display.h to avoid build breakage at the same time. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/board

[PATCH 11/26] drm/omap: connector-analog-tv: Support only Composite type in legacy boot

2016-05-30 Thread Peter Ujfalusi
In legacy mode (non DT mode) support only composite connector type. The only user for this is rx51, using composite type. Dropping the connector_type selection via pdata will allow cleanups in omapdss (drm vs fbdev). Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/g

[PATCH 04/26] omapfb: panel-sharp-ls037v7dw01: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../omapfb/displays/panel-sharp-ls037v7dw01.c | 81 ++ include/video/omap-panel-data.h

[PATCH 06/26] omapfb: panel-dsi-cm: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../fbdev/omap2/omapfb/displays/panel-dsi-cm.c | 52 +++--- include/video/omap-panel-data.h

[PATCH 18/26] video: omapdss: Remove unused members from struct omap_dss_board_info

2016-05-30 Thread Peter Ujfalusi
The num_devices, **devices and *default_device is leftover from the past. They can be removed as they are no used. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- include/video/omapdss.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/video/omapdss.h b/include

[PATCH 23/26] omapfb: Create new header file for omapfb DSS implementation

2016-05-30 Thread Peter Ujfalusi
A new video/omapfb_dss.h file is created which is currently only includes the video/omapdss.h file. The new header file is needed to complete the separation of omapdrm and omapfb implementation of DSS. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../video/fbdev/omap2/

[PATCH 22/26] drm/omap: Do not include video/omapdss.h directly in drivers

2016-05-30 Thread Peter Ujfalusi
All drivers to include the omapdrm/dss/omapdss.h header file. This header includes the Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/gpu/drm/omapdrm/displays/connector-analog-tv.c | 3 ++- drivers/gpu/drm/omapdrm/displays/connector-dvi.c| 4 ++-- drive

[PATCH 26/26] drm/omap: Remove the video/omapdss.h and move it's content to local header file

2016-05-30 Thread Peter Ujfalusi
Move the contents of the video/omapdss.h header file to omapdrm/dss local header file and remove the original global header. The omapfb stach is using video/omapfb_dss.h so this change will complete the separation of the two driver implementation. Signed-off-by: Peter Ujfalusi <peter.uj

[PATCH 20/26] ARM: OMAP2: Use the platform_data header for omapdss

2016-05-30 Thread Peter Ujfalusi
Instead of the full omapdss internal header, include only the platform_data header. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/board-ldp.c| 2 +- arch/arm/mach-omap2/board-rx51-video.c | 2 +- arch/arm/mach-omap2/display.c | 2 +- arch/ar

[PATCH 16/26] drm/omap: Remove reference to pdata->default_device

2016-05-30 Thread Peter Ujfalusi
The default_device is no longer used, it is a leftower from legacy. The else if (pdata->default_device) is always going to be false. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/gpu/drm/omapdrm/dss/core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/driver

[PATCH 25/26] omapfb: Copy video/omapdss.h content to video/omapfb_dss.h

2016-05-30 Thread Peter Ujfalusi
Copy the content of video/ompadss.h to the omapfb header file. All omapfb drivers and the vout driver have been using the new video/omapfb_dss.h file instead of the omapdss.h. This change will separate the DRM and FB implementations of omapdss. Signed-off-by: Peter Ujfalusi <peter.uj

[PATCH 07/26] omapfb: connector-hdmi: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../fbdev/omap2/omapfb/displays/connector-hdmi.c | 42 -- include/video/omap-panel-data.h

[PATCH 00/26] fb/drm: omapdss: Clean up the headers and separate the two stack

2016-05-30 Thread Peter Ujfalusi
) local omapdss.h header file for omapdrm. To generate the set I have used: git format-patch -C20 --find-copies-harder Regards, Peter --- Peter Ujfalusi (26): omapfb: panel-tpo-td028ttec1: Remove legacy boot support omapfb: panel-nec-nl8048hl11: Remove legacy boot support omapfb: panel-tpo

[PATCH 03/26] omapfb: panel-tpo-td043mtea1: Remove legacy boot support

2016-05-30 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../omap2/omapfb/displays/panel-tpo-td043mtea1.c | 44 +++--- include/video/omap-panel-data.h

[PATCH v2 24/27] drm/omap: Do not include video/omapdss.h directly in drivers

2016-06-01 Thread Peter Ujfalusi
All drivers to include the omapdrm/dss/omapdss.h header file. This header includes the Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/gpu/drm/omapdrm/displays/connector-analog-tv.c | 3 ++- drivers/gpu/drm/omapdrm/displays/connector-dvi.c| 4 ++-- drive

[PATCH v2 25/27] omapfb: Create new header file for omapfb DSS implementation

2016-06-01 Thread Peter Ujfalusi
Copy the content of video/omapdss.h to a new (video/omapfb_dss.h) header file and convert the omapfb drivers to use this new file. The new header file is needed to complete the separation of omapdrm and omapfb implementation of DSS. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.

[PATCH v2 03/27] omapfb: panel-tpo-td043mtea1: Remove legacy boot support

2016-06-01 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../omap2/omapfb/displays/panel-tpo-td043mtea1.c | 44 +++--- include/video/omap-panel-data.h

[PATCH v2 05/27] omapfb: panel-lgphilips-lb035q02: Remove legacy boot support

2016-06-01 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../omapfb/displays/panel-lgphilips-lb035q02.c | 56 +++--- include/video/omap-panel-data.h

[PATCH v2 08/27] omapfb: connector-dvi: Remove legacy boot support

2016-06-01 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../fbdev/omap2/omapfb/displays/connector-dvi.c| 58 +++--- include/video/omap-panel-data.h

[PATCH v2 14/27] omapfb: connector-analog-tv: Support only Composite type in legacy boot

2016-06-01 Thread Peter Ujfalusi
In legacy mode (non DT mode) support only composite connector type. The only user for this is rx51, using composite type. Dropping the connector_type selection via pdata will allow cleanups in omapdss (drm vs fbdev). Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/video

[PATCH v2 11/27] drm/omap: displays: Do not include video/omap-panel-data.h if not needed

2016-06-01 Thread Peter Ujfalusi
Some panel/encoder/connector driver includes omap-panel-data.h but they do not need it. Remove the inclusion of video/omap-panel-data.h from these drivers. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c | 1 - drivers/g

[PATCH v2 12/27] omapdss: omap-panel-data.h: Remove struct omap_dss_device declaration

2016-06-01 Thread Peter Ujfalusi
The omap_dss_device is not needed by anything in the header file. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- include/video/omap-panel-data.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/video/omap-panel-data.h b/include/video/omap-panel-data.h index a64e9b

[PATCH v2 16/27] omapdss: omap-panel-data.h: Remove connector_type from atv pdata

2016-06-01 Thread Peter Ujfalusi
The driver only supports composite connection when booted in legacy mode so the omap_dss_venc_type can be dropped from the pdata. At the same time the video/omapdss.h include can be removed as it is no longer needed. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- include/vide

[PATCH v2 15/27] ARM: OMAP: rx51-video: Do not set TV connector_type

2016-06-01 Thread Peter Ujfalusi
In legacy mode only composite type is supported by omapdss so there is no need to specify the connector_type. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- arch/arm/mach-omap2/board-rx51-video.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-omap2/board-rx51-v

[PATCH v2 01/27] omapfb: panel-tpo-td028ttec1: Remove legacy boot support

2016-06-01 Thread Peter Ujfalusi
The panel is not used by any legacy board files so the legacy (pdata) boot support can be dropped. Signed-off-by: Peter Ujfalusi <peter.ujfal...@ti.com> --- .../omap2/omapfb/displays/panel-tpo-td028ttec1.c | 43 +++--- include/video/omap-panel-data.h

<    2   3   4   5   6   7   8   9   10   11   >