Re: [RFC 17/17] clk: zynq: remove call to of_clk_init

2013-08-26 Thread Sebastian Hesselbarth
On 08/26/13 14:07, Steffen Trumtrar wrote: On Mon, Aug 26, 2013 at 01:15:11PM +0200, Michal Simek wrote: I agree with Soren - let's fix the current problem and then when Steffen has patches with syscon we can look at them. If there is any discussion about early syscon registration please let

Re: [RFC v1 0/5] ARM: Initial support for Marvell Armada 1500

2013-08-27 Thread Sebastian Hesselbarth
On 08/27/13 16:19, Thomas Petazzoni wrote: On Fri, 16 Aug 2013 21:41:33 +0200, Sebastian Hesselbarth wrote: This is a RFC adding initial support for the Marvell Armada 1500 (88DE3100) found on various consumer devices (Chromecast, GoogleTV). Actually, it is a two-fold RFC also raising

[PATCH RFC v2 11/16] ARM: socfpga: remove call to of_clk_init

2013-08-27 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove mach specific calls to it. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Dinh Nguyen dingu...@altera.com Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: linux-arm

[PATCH RFC v2 13/16] ARM: tegra: split tegra_pmc_init() in two

2013-08-27 Thread Sebastian Hesselbarth
From: Stephen Warren swar...@nvidia.com Tegra's board file currently initializes clocks much earlier than those for most other ARM SoCs. The reason is: * The PMC HW block is involved in the path of some interrupts (i.e. it inverts, or not, the IRQ input pin dedicated to the PMIC). * So, that

[PATCH RFC v2 01/16] ARM: call clk_of_init from time_init

2013-08-27 Thread Sebastian Hesselbarth
the call to ARM arch time_init by default. While at it, also reorder includes alphabetically. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - reorder includes alphabetically Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: linux

[PATCH RFC v2 16/16] ARM: zynq: Don't call of_clk_init()

2013-08-27 Thread Sebastian Hesselbarth
From: Soren Brinkmann soren.brinkm...@xilinx.com of_clk_init() has been moved to be called from common code, therefore remove it from Zynq's clock init routine. Since the Zynq's clock setup routine relies on an initialized SLCR, zynq_slcr_init() is moved to init_irq() instead. Signed-off-by:

[PATCH RFC v2 15/16] clk: vt8500: remove call to of_clk_init

2013-08-27 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove it from corresponding drivers/clk code. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann

[PATCH RFC v2 12/16] ARM: sti: remove custom .init_time hook

2013-08-27 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. To get rid of it, move l2cc init to .init_machine hook instead. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Srinivas Kandagatla srinivas.kandaga...@st.com Cc

[PATCH RFC v2 14/16] ARM: vexpress: remove custom .init_time hook

2013-08-27 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. The call to versatile_sched_clock_init is moved to .init_early instead, we it is also for non-DT boards. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Russell King

[PATCH RFC v2 08/16] ARM: mxs: remove custom .init_time hook

2013-08-27 Thread Sebastian Hesselbarth
This patch converts clk-imx2[38] clocksource_of_init compatible init associated with fsl,imx2[38]-clkctrl. With arch/arm calling of_clk_init(NULL) from time_init(), we can now also remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Shawn

[PATCH RFC v2 09/16] ARM: nspire: remove custom .init_time hook

2013-08-27 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: linux-arm-ker...@lists.infradead.org Cc: linux

[PATCH RFC v2 10/16] ARM: rockchip: remove custom .init_time hook

2013-08-27 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: linux-arm-ker...@lists.infradead.org Cc: linux

[PATCH RFC v2 07/16] ARM: mvebu: remove custom .init_time hook

2013-08-27 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - only remove of_clk_init from custom timer hook, further cleanup will be carried out later (Reported

[PATCH RFC v2 06/16] ARM: kirkwood: remove custom .init_time hook

2013-08-27 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Jason Cooper ja...@lakedaemon.net Cc: Andrew Lunn and...@lunn.ch Cc: Russell King li...@arm.linux.org.uk Cc: Arnd

[PATCH RFC v2 05/16] ARM: imx: remove custom .init_time hook

2013-08-27 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - added missing CLK_OF_DECLARE for imx51 and imx53 (Reported by Sascha Hauer) mx53_clocks_init can

[PATCH RFC v2 00/16] ARM: provide common arch init for DT clocks

2013-08-27 Thread Sebastian Hesselbarth
). Also, I'd like to know if the patches should be grouped by mach- or rather been split into mach- preparation and .init_time removal. Sebastian Hesselbarth (14): ARM: call clk_of_init from time_init ARM: dove: remove custom .init_time hook ARM: exynos: remove custom .init_time hook ARM

[PATCH RFC v2 03/16] ARM: exynos: remove custom .init_time hook

2013-08-27 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Kukjin Kim kgene@samsung.com Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: linux

[PATCH RFC v2 02/16] ARM: dove: remove custom .init_time hook

2013-08-27 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. While at it, also remove some obsolete includes. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Jason Cooper ja...@lakedaemon.net Cc: Andrew Lunn and...@lunn.ch Cc

[PATCH RFC v2 04/16] ARM: highbank: remove custom .init_time hook

2013-08-27 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Highbank clock provider need a reference to system registers, as a workaround current clk driver maps those independent of arch code now. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba

Re: [PATCH RFC v2 13/16] ARM: tegra: split tegra_pmc_init() in two

2013-08-27 Thread Sebastian Hesselbarth
On 08/27/13 23:59, Stephen Warren wrote: On 08/27/2013 03:28 PM, Sebastian Hesselbarth wrote: From: Stephen Warren swar...@nvidia.com Tegra's board file currently initializes clocks much earlier than those for most other ARM SoCs. The reason is: * The PMC HW block is involved in the path

Re: [PATCH RFC v2 01/16] ARM: call clk_of_init from time_init

2013-08-27 Thread Sebastian Hesselbarth
On 08/28/13 00:19, Sören Brinkmann wrote: On Tue, Aug 27, 2013 at 11:27:55PM +0200, Sebastian Hesselbarth wrote: Most DT ARM machs require common clock providers initialized before timers. Currently, arch/arm machs use .init_time to call clk_of_init right before clocksource_of_init

[PATCH RFC v2 4/6] ARM: add Marvell Berlin UART0 lowlevel debug

2013-08-27 Thread Sebastian Hesselbarth
This adds UART0 as found on Marvell 88DE3xxx SoCs, e.g. Armada 1500 to the list of possible lowlevel debug options. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - have separate DEBUG option due to separate mach- directory Cc: Jason Cooper ja

[PATCH RFC v2 5/6] ARM: add Armada 1500 and Sony NSZ-GS7 device tree files

2013-08-27 Thread Sebastian Hesselbarth
comprising the Armada 1500 SoC above. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - add binding documentation (Reported by Jason Cooper) - change l2cc from aurora to tauros3 (Reported by Thomas Petazzoni) - add copyright reference - adapt compatibles

[PATCH RFC v2 2/6] ARM: add Marvell Berlin SoC familiy to Marvell doc

2013-08-27 Thread Sebastian Hesselbarth
This adds known facts and rumors about the Marvell Berlin (88DE3xxx) SoC family to the Marvell SoC documentation. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - initial patch Cc: Jason Cooper ja...@lakedaemon.net Cc: Thomas Petazzoni thomas.petazz

[PATCH RFC v2 6/6] ARM: add initial support for Marvell Berlin SoCs

2013-08-27 Thread Sebastian Hesselbarth
This adds initial support for the Marvell Berlin (88DE3xxx) SoC family and basic machine setup for Armada 1500 (88DE3100) SoCs. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - nuke .map_io (Reported by Arnd Bergmann) - add copyright reference - switch

[PATCH RFC v2 0/6] ARM: Initial support for Marvell Armada 1500

2013-08-27 Thread Sebastian Hesselbarth
the targeted 1 or 2 merge windows. Sebastian Hesselbarth (6): irqchip: add DesignWare APB ICTL interrupt controller ARM: add Marvell Berlin SoC familiy to Marvell doc ARM: add Marvell Berlin and Armada 1500 to multi_v7_defconfig ARM: add Marvell Berlin UART0 lowlevel debug ARM: add Armada 1500

[PATCH RFC v2 1/6] irqchip: add DesignWare APB ICTL interrupt controller

2013-08-27 Thread Sebastian Hesselbarth
This adds an irqchip driver and corresponding devicetree binding for the secondary interrupt controllers based on Synopsys DesignWare IP dw_apb_ictl. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - added copyright reference Note: The driver has been

[PATCH RFC v2 3/6] ARM: add Marvell Berlin and Armada 1500 to multi_v7_defconfig

2013-08-27 Thread Sebastian Hesselbarth
This adds the Marvell Berlin (88DE3xxx) SoC family and Marvell Armada 1500 (88DE3100) to the multi_v7_defconfig. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - initial patch due to separate mach- directory Cc: Jason Cooper ja...@lakedaemon.net Cc

Re: [PATCH 1/2] ARM: Dove: Add the audio devices in DT

2013-08-28 Thread Sebastian Hesselbarth
On 08/28/2013 11:34 AM, Jean-Francois Moine wrote: This patch adds the nodes to instantiate the audio devices of the Dove boards. Signed-off-by: Jean-Francois Moine moin...@free.fr --- arch/arm/boot/dts/dove.dtsi | 18 ++ 1 file changed, 18 insertions(+)

Re: [PATCH 2/2] ARM: Dove: Add the audio device to the Cubox DT

2013-08-28 Thread Sebastian Hesselbarth
On 08/28/2013 11:35 AM, Jean-Francois Moine wrote: This patch activates the audio device of the Cubox and sets the i2s and S/PDIF pins. Signed-off-by: Jean-Francois Moine moin...@free.fr --- arch/arm/boot/dts/dove-cubox.dts | 13 + 1 file changed, 13

Re: [PATCH 1/2] ARM: Dove: Add the audio devices in DT

2013-08-28 Thread Sebastian Hesselbarth
On 08/28/2013 12:19 PM, Thomas Petazzoni wrote: Sebastian, Jean-François, On Wed, 28 Aug 2013 12:13:07 +0200, Sebastian Hesselbarth wrote: On 08/28/2013 11:34 AM, Jean-Francois Moine wrote: This patch adds the nodes to instantiate the audio devices of the Dove boards. Signed-off-by: Jean

Re: [PATCH 1/2] ARM: Dove: Add the audio devices in DT

2013-08-28 Thread Sebastian Hesselbarth
On 08/28/13 13:15, Thomas Petazzoni wrote: On Wed, 28 Aug 2013 12:26:31 +0200, Sebastian Hesselbarth wrote: as Mark Brown already took the bindings patch for above generic compatible, how are we going to discriminate different implementations/features of Dove, Kirkwood, and Armada 370? I

Re: [PATCH 1/2] ARM: Dove: Add the audio devices in DT

2013-08-28 Thread Sebastian Hesselbarth
On 08/28/13 13:58, Thomas Petazzoni wrote: On Wed, 28 Aug 2013 13:44:51 +0200, Sebastian Hesselbarth wrote: Also, we'll need to distinguish between the different audio controllers on a single SoC, i.e. i2s0 and i2s1. I suggest checking the (phys) reg base passed. For what reason does

Re: [PATCH RFC v2 5/6] ARM: add Armada 1500 and Sony NSZ-GS7 device tree files

2013-08-28 Thread Sebastian Hesselbarth
On 08/28/13 14:14, Jason Cooper wrote: On Wed, Aug 28, 2013 at 02:14:33AM +0200, Sebastian Hesselbarth wrote: This adds very basic device tree files for the Marvell Armada 1500 SoC (88DE3100) and the Sony NSZ-GS7 GoogleTV board. Currently, SoC only has nodes for cpus, some clocks, l2 cache

Re: [RFC v1 5/5] ARM: mvebu: add board init for Armada 1500

2013-08-18 Thread Sebastian Hesselbarth
On 08/17/2013 09:08 PM, Arnd Bergmann wrote: On Friday 16 August 2013, Jason Cooper wrote: + +#define ARMADA_1500_REG_BASE_VIRT 0xf600 +#define ARMADA_1500_REG_BASE_SIZE 0x0300 + +static struct map_desc armada_1500_io_desc[] __initdata = { + { + .virtual

Re: [RFC v1 5/5] ARM: mvebu: add board init for Armada 1500

2013-08-18 Thread Sebastian Hesselbarth
On 08/17/2013 09:12 PM, Arnd Bergmann wrote: On Friday 16 August 2013, Sebastian Hesselbarth wrote: +config MACH_ARMADA_1500 + bool Marvell Armada 1500 boards + select ARMADA_1500_CLK + select ARM_GIC + select CACHE_L2X0 + select CPU_PJ4B + select

Re: [RFC v1 4/5] ARM: mvebu: add Armada 1500 and Sony NSZ-GS7 device tree files

2013-08-18 Thread Sebastian Hesselbarth
On 08/17/2013 09:28 PM, Arnd Bergmann wrote: On Friday 16 August 2013, Sebastian Hesselbarth wrote: + cpu@0 { + compatible = marvell,sheeva-v7; + device_type = cpu; + next-level-cache = l2

Re: [RFC v1 0/5] ARM: Initial support for Marvell Armada 1500

2013-08-18 Thread Sebastian Hesselbarth
On 08/17/2013 09:32 PM, Arnd Bergmann wrote: On Friday 16 August 2013, Sebastian Hesselbarth wrote: This is a RFC adding initial support for the Marvell Armada 1500 (88DE3100) found on various consumer devices (Chromecast, GoogleTV). Actually, it is a two-fold RFC also raising discussions

Re: [RFC v1 5/5] ARM: mvebu: add board init for Armada 1500

2013-08-19 Thread Sebastian Hesselbarth
On 08/17/13 21:08, Arnd Bergmann wrote: On Friday 16 August 2013, Jason Cooper wrote: + +#define ARMADA_1500_REG_BASE_VIRT 0xf600 +#define ARMADA_1500_REG_BASE_SIZE 0x0300 + +static struct map_desc armada_1500_io_desc[] __initdata = { + { + .virtual

[PATCH] irqchip: add DesignWare APB ICTL interrupt controller

2013-08-19 Thread Sebastian Hesselbarth
This adds an irqchip driver and corresponding devicetree binding for the secondary interrupt controllers based on Synopsys DesignWare IP dw_apb_ictl. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Note: This single patch is separated from an RFC for initial support

[RFC 15/17] ARM: vexpress: remove custom .init_time hook

2013-08-19 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Notes: - call to versatile_sched_clock_init is moved to .init_early. It is there for non-DT and existing DT init_early

[RFC 17/17] clk: zynq: remove call to of_clk_init

2013-08-19 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove it from corresponding drivers/clk code. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann

[RFC 01/17] clk: ensure __clk_of_table is only initialized once

2013-08-19 Thread Sebastian Hesselbarth
This patch ensures DT clock providers are only initialized once by using a static bool that is set after first call to of_clk_init(). Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc: Russell King li...@arm.linux.org.uk Cc: Arnd

[RFC 16/17] clk: vt8500: remove call to of_clk_init

2013-08-19 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove it from corresponding drivers/clk code. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann

[RFC 13/17] ARM: sti: remove custom .init_time hook

2013-08-19 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Notes: - replacing .init_time with .init_machine isn't really cleanup, but there is no direct DT probing of l2cc. Anyway

[RFC 03/17] ARM: dove: remove custom .init_time hook

2013-08-19 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. While at it, also remove some obsolete includes. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc

[RFC 12/17] ARM: socfpga: remove custom .init_time hook

2013-08-19 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: Dinh Nguyen dingu...@altera.com Cc: linux-arm

[RFC 14/17] ARM: tegra: remove .init_time hook to clocksource_of_init

2013-08-19 Thread Sebastian Hesselbarth
clocksource_of_init is called on NULL .init_time hook automatically. Just get rid of it. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Notes: - tegra calls of_clk_init(NULL) in .init_irq already. With of_clk_init checking for multiple calls with NULL argument

[RFC 02/17] ARM: call clk_of_init from time_init

2013-08-19 Thread Sebastian Hesselbarth
the call to ARM arch time_init by default. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel

[RFC 00/17] ARM: provide common arch init for DT clocks

2013-08-19 Thread Sebastian Hesselbarth
tested for all the other machs modified. All single patches have also been sent to the respective maintainers. Although some patches also modify files in mach-foo and drivers/clk, I decided to keep them in a single patch to also show what would be required for a common arch clock init. Sebastian

[RFC 09/17] ARM: mxs: remove custom .init_time hook

2013-08-19 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Notes: - clk-imx2[38] are converted to clocksource_of_init compatible init associated with fsl,imx2[38]-clkctrl Cc

[RFC 06/17] ARM: imx: remove custom .init_time hook

2013-08-19 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Notes: - Although mx5_clocks_common_init() is shared with non-DT, removing of_clk_init(NULL) should be fine, as it only

[RFC 10/17] ARM: nspire: remove custom .init_time hook

2013-08-19 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: linux-arm-ker...@lists.infradead.org Cc: linux

[RFC 08/17] ARM: mvebu: remove custom .init_time hook

2013-08-19 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Notes: - coherency, mbus, and cache init are moved to .init_machine hook - time-armada-370-xp is converted

[RFC 11/17] ARM: rockchip: remove custom .init_time hook

2013-08-19 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: linux-arm-ker...@lists.infradead.org Cc: linux

[RFC 04/17] ARM: exynos: remove custom .init_time hook

2013-08-19 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: Kukjin Kim kgene@samsung.com Cc: linux-arm

[RFC 07/17] ARM: kirkwood: remove custom .init_time hook

2013-08-19 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: Jason Cooper ja...@lakedaemon.net Cc: linux-arm

[RFC 05/17] ARM: highbank: remove custom .init_time hook

2013-08-19 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Highbank clock provider need a reference to system registers, as a workaround current clk driver maps those independent of arch code now. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba

Re: [RFC 06/17] ARM: imx: remove custom .init_time hook

2013-08-20 Thread Sebastian Hesselbarth
On 08/20/2013 09:26 AM, Sascha Hauer wrote: On Tue, Aug 20, 2013 at 04:04:20AM +0200, Sebastian Hesselbarth wrote: With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Notes

Re: [RFC 06/17] ARM: imx: remove custom .init_time hook

2013-08-20 Thread Sebastian Hesselbarth
On 08/20/2013 11:10 AM, Sascha Hauer wrote: On Tue, Aug 20, 2013 at 10:48:44AM +0200, Sebastian Hesselbarth wrote: On 08/20/2013 09:26 AM, Sascha Hauer wrote: On i.MX5 the init_time hook calls mx5x_clocks_init_dt which calls mx5x_clocks_init which not only calls of_clk_init() but also

[RFC v2] ARM: imx: remove custom .init_time hook

2013-08-20 Thread Sebastian Hesselbarth
With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Notes: - Although mx5_clocks_common_init() is shared with non-DT, removing of_clk_init(NULL) should be fine, as it only

Re: [RFC 06/17] ARM: imx: remove custom .init_time hook

2013-08-20 Thread Sebastian Hesselbarth
On 08/20/13 12:20, Russell King - ARM Linux wrote: On Tue, Aug 20, 2013 at 11:20:06AM +0200, Sebastian Hesselbarth wrote: Yeah, I am having troubles with linux-arm-kernel rejecting my mails because of a suspicious header. I have no clue, what has changed lately with my mails sent by git send

Re: [RFC 06/17] ARM: imx: remove custom .init_time hook

2013-08-20 Thread Sebastian Hesselbarth
On 08/20/13 12:42, Russell King - ARM Linux wrote: On Tue, Aug 20, 2013 at 12:37:18PM +0200, Sebastian Hesselbarth wrote: I already guessed it has something to do with the In-reply-to line, as only the patches but not the cover letter gets stuck. Thanks for pointing me at the missing PATCH

Re: [RFC 08/17] ARM: mvebu: remove custom .init_time hook

2013-08-20 Thread Sebastian Hesselbarth
On 08/20/13 14:50, Ezequiel Garcia wrote: I've only received a few patches of this series. I *think* using RFC alone is not correct in LAKML and for some reason you're required to use RFC/PATCH. Ezequiel, we already sorted out, why they got stuck on LAKML. It is because of the missing PATCH

Re: [RFC 02/17] ARM: call clk_of_init from time_init

2013-08-20 Thread Sebastian Hesselbarth
On 08/20/2013 05:46 PM, Stephen Warren wrote: On 08/19/2013 08:04 PM, Sebastian Hesselbarth wrote: Most DT ARM machs require common clock providers initialized before timers. Currently, arch/arm machs use .init_time to call clk_of_init right before clocksource_of_init. This prevents to remove

Re: [RFC 05/17] ARM: highbank: remove custom .init_time hook

2013-08-20 Thread Sebastian Hesselbarth
On 08/20/2013 09:12 PM, Rob Herring wrote: On 08/19/2013 09:04 PM, Sebastian Hesselbarth wrote: With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove custom .init_time hooks. Highbank clock provider need a reference to system registers, as a workaround current clk driver

Re: [RFC 02/17] ARM: call clk_of_init from time_init

2013-08-20 Thread Sebastian Hesselbarth
On 08/20/2013 09:52 PM, Stephen Warren wrote: On 08/20/2013 01:47 PM, Sebastian Hesselbarth wrote: On 08/20/2013 05:46 PM, Stephen Warren wrote: Some SoCs call this function in .init_irq() rather than .init_time(). Perhaps we adjust this patch to do that instead. That way, we can presumably

Re: [PATCH 4/9] PCI: mvebu: add support for reset on GPIO

2013-08-13 Thread Sebastian Hesselbarth
[Added DT maintainers directly for a question below] On 08/13/13 02:56, Kumar Gala wrote: On Aug 12, 2013, at 1:46 PM, Sebastian Hesselbarth wrote: This patch adds a check for DT passed reset-gpios property and deasserts/ asserts reset pin on probe/remove with configurable delay

Re: [PATCH 1/9] PCI: mvebu: move clock enable before register access

2013-08-13 Thread Sebastian Hesselbarth
On 08/13/13 09:11, Thomas Petazzoni wrote: On Mon, 12 Aug 2013 20:46:47 +0200, Sebastian Hesselbarth wrote: + port-clk = of_clk_get_by_name(child, NULL); + if (IS_ERR(port-clk)) { + dev_err(pdev-dev, PCIe%d.%d: cannot get clock\n

Re: [PATCH 2/9] PCI: mvebu: increment nports only for registered ports

2013-08-13 Thread Sebastian Hesselbarth
On 08/13/13 09:15, Thomas Petazzoni wrote: Dear Sebastian Hesselbarth, On Mon, 12 Aug 2013 20:46:48 +0200, Sebastian Hesselbarth wrote: diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c index d5fe674..0a359d7 100644 --- a/drivers/pci/host/pci-mvebu.c +++ b/drivers/pci

Re: [PATCH 3/9] PCI: mvebu: remove subsys_initcall

2013-08-13 Thread Sebastian Hesselbarth
On 08/13/13 10:06, Thierry Reding wrote: On Tue, Aug 13, 2013 at 09:19:59AM +0200, Thomas Petazzoni wrote: On Mon, 12 Aug 2013 20:46:49 +0200, Sebastian Hesselbarth wrote: This removes the subsys_initcall from the driver and converts it to a normal platform_driver. Also, drvdata is set

Re: [PATCH 4/9] PCI: mvebu: add support for reset on GPIO

2013-08-13 Thread Sebastian Hesselbarth
On 08/13/13 12:03, Thierry Reding wrote: On Tue, Aug 13, 2013 at 10:30:30AM +0200, Thomas Petazzoni wrote: Dear Thierry Reding, On Tue, 13 Aug 2013 10:09:56 +0200, Thierry Reding wrote: +- reset-gpios: optional gpio to PERST# +- reset-delay-ms: delay in ms to wait after reset de-assertion

Re: [PATCH 7/9] ARM: dove: add PCIe controllers to SoC DT

2013-08-13 Thread Sebastian Hesselbarth
On 08/12/13 22:04, Jason Cooper wrote: On Mon, Aug 12, 2013 at 08:46:53PM +0200, Sebastian Hesselbarth wrote: This adds a node for the pcie controllers found on Dove SoCs to the SoC DT include. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Russell King li

[PATCH v2 3/5] PCI: mvebu: remove subsys_initcall

2013-08-13 Thread Sebastian Hesselbarth
-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - do not add .remove and set .suppress_bind_attrs to permit currently unsupported driver unloading/unbinding (Reported by Thierry Reding and Thomas Petazzoni) - Note: I left the platform_set_drvdata(), as we

[PATCH v2 5/5] PCI: mvebu: add support for Marvell Dove SoCs

2013-08-13 Thread Sebastian Hesselbarth
This patch adds a compatible for the PCIe controller found on Marvell Dove SoCs. Binding documentation and Kconfig entry are also updated. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - nothing changed Cc: Russell King li...@arm.linux.org.uk Cc

[PATCH v2 2/5] PCI: mvebu: increment nports only for registered ports

2013-08-13 Thread Sebastian Hesselbarth
instead of the number of available childs. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - also use 'i' as iterator during port parsing and assign at the end of probing (Reported by Thomas Pettazoni) Cc: Russell King li...@arm.linux.org.uk Cc: Jason

[PATCH v2 0/5] ARM: dove: DT PCIe support

2013-08-13 Thread Sebastian Hesselbarth
it to fail with EPROBE_DEFER later. Patch 4 adds DT parsing for reset (PERST#) GPIO pins and delay to wait for PCIe devices after reset de-assertion. Patch 5 finally adds a compatible to pci-mvebu for Dove SoCs. [Patch 6-9 have already been taken by Jason Cooper] Sebastian Hesselbarth (5): PCI: mvebu

[PATCH v2 1/5] PCI: mvebu: move clock enable before register access

2013-08-13 Thread Sebastian Hesselbarth
The clock passed to PCI controller found on MVEBU SoCs may come from a clock gate. This requires the clock to be enabled before any registers are accessed. Therefore, move the clock enable before register iomap to ensure it is enabled. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba

[PATCH v2 4/5] PCI: mvebu: add support for reset on GPIO

2013-08-13 Thread Sebastian Hesselbarth
This patch adds a check for DT passed reset-gpios property and deasserts/ asserts reset pin on probe/remove with configurable delay. Corresponding binding documentation is also updated. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - use reset API

Re: [PATCH v2 4/5] PCI: mvebu: add support for reset on GPIO

2013-08-14 Thread Sebastian Hesselbarth
On 08/14/2013 11:07 AM, Thierry Reding wrote: On Tue, Aug 13, 2013 at 02:25:23PM +0200, Sebastian Hesselbarth wrote: [...] diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c [...] @@ -897,6 +904,30 @@ static int mvebu_pcie_probe(struct platform_device *pdev

Re: [PATCH 6/8] drm/i2c: tda998x: fix sync generation and calculation

2013-08-14 Thread Sebastian Hesselbarth
On 08/14/13 14:41, Russell King - ARM Linux wrote: On Tue, Aug 06, 2013 at 12:20:16AM +0200, Sebastian Hesselbarth wrote: + de_pix_s = mode-htotal - mode-hdisplay; + de_pix_e = de_pix_s + mode-hdisplay; + hs_pix_s = mode-hsync_start - mode-hdisplay

Re: [PATCH 5/8] drm/i2c: tda998x: add video and audio input configuration

2013-08-14 Thread Sebastian Hesselbarth
On 08/14/13 16:12, Russell King - ARM Linux wrote: On Tue, Aug 06, 2013 at 12:20:15AM +0200, Sebastian Hesselbarth wrote: @@ -0,0 +1,23 @@ +#ifndef __TDA998X_H__ +#define __TDA998X_H__ + +enum tda998x_audio_format { + AFMT_I2S, + AFMT_SPDIF, +}; + +struct tda998x_encoder_params

[PATCH v2 6/8] drm/i2c: tda998x: fix sync generation and calculation

2013-08-14 Thread Sebastian Hesselbarth
This fixes the wrong sync generation and sync calculation of TDA998x for HS/VS-based sync detection. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Tested-by: Darren Etheridge detheri...@ti.com --- Changelog: v1-v2: - revert calculation of hs/de_pix_s/e (Reported by Russell

[PATCH v2 7/8] drm/i2c: tda998x: prepare for broken sync workaround

2013-08-14 Thread Sebastian Hesselbarth
detheri...@ti.com Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: for v1: - reword comment Cc: David Airlie airl...@linux.ie Cc: Darren Etheridge detheri...@ti.com Cc: Rob Clark robdcl...@gmail.com Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Daniel Vetter

[PATCH v2 0/8] Several NXP TDA998x patches

2013-08-14 Thread Sebastian Hesselbarth
: prepare for video input configuration drm/i2c: tda998x: add video and audio input configuration Sebastian Hesselbarth (2): drm/i2c: tda998x: fix sync generation and calculation drm/i2c: tda998x: prepare for broken sync workaround drivers/gpu/drm/i2c/tda998x_drv.c | 481

[PATCH v2 5/8] drm/i2c: tda998x: add video and audio input configuration

2013-08-14 Thread Sebastian Hesselbarth
-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Tested-by: Darren Etheridge detheri...@ti.com --- Changelog: for v1: - set AUDIO_DIV to SERCLK/16 for modes with pixclk 100MHz - also calculate CTS v1-v2: - Remove CTS calculation as it isn't used in current TDA998x setup (Reported

[PATCH v2 8/8] drm/tilcdc fixup mode to workaround sync for tda998x

2013-08-14 Thread Sebastian Hesselbarth
. Signed-off-by: Darren Etheridge detheri...@ti.com Tested-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - fix typo in commit line (s/workaound/workaround) Cc: David Airlie airl...@linux.ie Cc: Darren Etheridge detheri...@ti.com Cc: Rob Clark robdcl...@gmail.com Cc

[PATCH v2 1/8] drm/i2c: tda998x: fix EDID reading on TDA19988 devices

2013-08-14 Thread Sebastian Hesselbarth
Tested-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: David Airlie airl...@linux.ie Cc: Darren Etheridge detheri...@ti.com Cc: Rob Clark robdcl...@gmail.com Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Daniel Vetter daniel.vet...@ffwll.ch Cc: dri-de...@lists.freedesktop.org Cc

[PATCH v2 3/8] drm/i2c: tda998x: fix npix/nline programming

2013-08-14 Thread Sebastian Hesselbarth
...@ti.com Tested-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: David Airlie airl...@linux.ie Cc: Darren Etheridge detheri...@ti.com Cc: Rob Clark robdcl...@gmail.com Cc: Russell King rmk+ker...@arm.linux.org.uk Cc: Daniel Vetter daniel.vet...@ffwll.ch Cc: dri-de

[PATCH v2 4/8] drm/i2c: tda998x: prepare for video input configuration

2013-08-14 Thread Sebastian Hesselbarth
. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Tested-by: Darren Etheridge detheri...@ti.com Tested-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: David Airlie airl...@linux.ie Cc: Darren Etheridge detheri...@ti.com Cc: Rob Clark robdcl...@gmail.com Cc: Russell King rmk+ker

[PATCH v2 2/8] drm/i2c: tda998x: ensure VIP output mux is properly set

2013-08-14 Thread Sebastian Hesselbarth
on powerup, but other drivers may set this to 0x12. This results in incorrect colours. Fix this by ensuring that the register is always set to the power on default setting. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Tested-by: Darren Etheridge detheri...@ti.com Tested-by: Sebastian

[RFC v1 4/5] ARM: mvebu: add Armada 1500 and Sony NSZ-GS7 device tree files

2013-08-16 Thread Sebastian Hesselbarth
stock, unsigned kernels easily. Just ask Google about it, if you are willing to void your warranty. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Rob Herring rob.herr...@calxeda.com Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Stephen

[RFC v1 5/5] ARM: mvebu: add board init for Armada 1500

2013-08-16 Thread Sebastian Hesselbarth
simplifications. I am not so sure about the .map_io but I didn't yet fully understand the mapping requirement. Anyway, it is required for iomap and friends to work and basically remaps physical register addressed onto the same virtual addresses. Signed-off-by: Sebastian Hesselbarth

[RFC v1 3/5] ARM: mvebu: add Armada 150 uart to lowlevel debug

2013-08-16 Thread Sebastian Hesselbarth
of Thomas, Gregory, and the others we have moved almost all drivers to DT. I suggest to clean-up a little and find some meaningful names for the DEBUG_ Kconfigs. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Russell King li...@arm.linux.org.uk Cc: Jason Cooper ja

Re: [RFC v1 4/5] ARM: mvebu: add Armada 1500 and Sony NSZ-GS7 device tree files

2013-08-16 Thread Sebastian Hesselbarth
On 08/16/2013 09:50 PM, Jason Cooper wrote: On Fri, Aug 16, 2013 at 09:41:37PM +0200, Sebastian Hesselbarth wrote: This adds very basic device tree files for the Marvell Armada 1500 SoC and the Sony NSZ-GS7 GoogleTV board. Currently, SoC only has nodes for cpus, some clocks, l2 cache controller

[RFC v1 1/5] irqchip: add Armada 1500 APB interrupt controller

2013-08-16 Thread Sebastian Hesselbarth
name for it. Could be DesignWare type-of as timers are DW, too. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Russell King li...@arm.linux.org.uk Cc: Jason Cooper ja...@lakedaemon.net Cc: Andrew Lunn and...@lunn.ch Cc: Gregory Clement gregory.clem...@free-electrons.com

[RFC v1 2/5] ARM: mvebu: add Armada 1500 to defconfig

2013-08-16 Thread Sebastian Hesselbarth
This adds the Armada 1500 to the list of Marvell MVEBU SoCs built by default config. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Russell King li...@arm.linux.org.uk Cc: Jason Cooper ja...@lakedaemon.net Cc: Andrew Lunn and...@lunn.ch Cc: Gregory Clement

[RFC v1 0/5] ARM: Initial support for Marvell Armada 1500

2013-08-16 Thread Sebastian Hesselbarth
:) The patches are based on v3.11-rc5 directly. This cover letter and the separate patches have also been Cc'd to the respective maintainers to clear up some questions before posting a real patch set. Sebastian Hesselbarth (5): irqchip: add Armada 1500 APB interrupt controller ARM: mvebu: add Armada

Re: [RFC v1 5/5] ARM: mvebu: add board init for Armada 1500

2013-08-17 Thread Sebastian Hesselbarth
On 08/16/2013 10:48 PM, Jason Cooper wrote: On Fri, Aug 16, 2013 at 09:41:38PM +0200, Sebastian Hesselbarth wrote: This adds initial setup for the Marvell Armada 1500 SoCs. The code is fairly straight-forward, but especially _timer_and_clk_init() can be simplified by using default arch hooks. I

Re: [RFC v1 1/5] irqchip: add Armada 1500 APB interrupt controller

2013-08-17 Thread Sebastian Hesselbarth
On 08/16/2013 09:41 PM, Sebastian Hesselbarth wrote: This adds irqchip drivers for the secondary interrupt controllers found on Armada 1500 APB and SYSMGT APB bus. I tried to find a compatible irqchip driver within v3.11-rc5, but there is no. I guess that it is a common IP core to buy for your

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