Re: [PATCH 1/8] irqchip: add DesignWare APB ICTL interrupt controller

2013-10-08 Thread Sebastian Hesselbarth
On 10/08/2013 03:24 PM, Mark Rutland wrote: On Tue, Oct 08, 2013 at 01:24:26PM +0100, Sebastian Hesselbarth wrote: 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

Re: [PATCH 3/8] ARM: l2x0: add Marvell Tauros3 compatible

2013-10-08 Thread Sebastian Hesselbarth
On 10/08/2013 03:41 PM, Mark Rutland wrote: On Tue, Oct 08, 2013 at 01:24:28PM +0100, Sebastian Hesselbarth wrote: This add a compatible for the Marvell Tauros3 cache controller which is compatible with l2x0 cache controllers. While updating the binding documentation, clean up the list

Re: [PATCH v2] ARM: Dove: fix bad properties of the si5351 clkout2 used by Cubox audio

2013-10-08 Thread Sebastian Hesselbarth
in the Cubox, its definition is removed. Signed-off-by: Jean-Francois Moine moin...@free.fr Already gave my Acked-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com which you should add to help us keep track of them next time. --- v2: - remove clkout1 which is not used in the Cubox

Re: [PATCH 8/8] ARM: add initial support for Marvell Berlin SoCs

2013-10-09 Thread Sebastian Hesselbarth
On 10/09/2013 01:24 AM, Dinh Nguyen wrote: Hi Sebastian, On Tue, 2013-10-08 at 14:24 +0200, Sebastian Hesselbarth wrote: This adds initial support for the Marvell Berlin (88DE3xxx) SoC family and basic machine setup for Armada 1500 (88DE3100) SoCs. [...] +config MACH_MV88DE3100 + bool

Re: [PATCH 8/8] ARM: add initial support for Marvell Berlin SoCs

2013-10-09 Thread Sebastian Hesselbarth
On 10/09/2013 05:20 AM, Jisheng Zhang wrote: On Tue, 8 Oct 2013 05:24:33 -0700 Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: This adds initial support for the Marvell Berlin (88DE3xxx) SoC family and basic machine setup for Armada 1500 (88DE3100) SoCs. First of all, thanks

Re: [PATCH 3/8] ARM: l2x0: add Marvell Tauros3 compatible

2013-10-09 Thread Sebastian Hesselbarth
On 10/09/2013 10:50 AM, Mark Rutland wrote: On Tue, Oct 08, 2013 at 05:33:23PM +0100, Gregory CLEMENT wrote: On 08/10/2013 18:05, Sebastian Hesselbarth wrote: On 10/08/2013 03:41 PM, Mark Rutland wrote: On Tue, Oct 08, 2013 at 01:24:28PM +0100, Sebastian Hesselbarth wrote: This add

[PATCH] ARM: plat-orion: add missing ehci include to common.h

2013-05-10 Thread Sebastian Hesselbarth
Removing orion ehci include from board files will raise a compiler error because plat/common.h is using an enum provided by orion ehci but not including the include itself. This just adds the missing include. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Jason

[PATCH 00/10] clk: mvebu: restructure SoC clock drivers

2013-05-10 Thread Sebastian Hesselbarth
their Tested-by from Thomas and Gregory, respectively. @Mike: As this only touches MVEBU related code, I suggest to take it all through the corresponding ARM branch. Sebastian Hesselbarth (10): clk: mvebu: introduce per-clock-gate flags clk: mvebu: add common clock functions for core clk

[PATCH 02/10] clk: mvebu: add common clock functions for core clk and clk gating

2013-05-10 Thread Sebastian Hesselbarth
Based on the current common functions for core clocks and clock gating control, new common functions are joined in a single file. Given the opportunity, names of functions and structs are unified, and also a Kconfig entry is added. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba

[PATCH 05/10] clk: mvebu: add Armada 370 SoC-centric clock init

2013-05-10 Thread Sebastian Hesselbarth
This is moving core clock and clock gating init for Armada 370 to its own file and adds a Kconfig option. Also init functions are added and declared so they get called on of_clk_init. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Jason Cooper ja...@lakedaemon.net Cc

[PATCH 08/10] ARM: kirkwood: move DT boards to SoC-centric clock init

2013-05-10 Thread Sebastian Hesselbarth
SoC centric clock init for Kirkwood can be used by calling of_clk_init. Use it and get rid of mvebu_clocks_init. 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

[PATCH 09/10] ARM: mvebu: move DT boards to SoC-centric clock init

2013-05-10 Thread Sebastian Hesselbarth
SoC centric clock init for Armada 370/XP can be used by calling of_clk_init. Use it and get rid of mvebu_clocks_init. 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

[PATCH 07/10] ARM: dove: move DT boards to SoC-centric clock init

2013-05-10 Thread Sebastian Hesselbarth
SoC centric clock init for Dove can be used by calling of_clk_init. Use it and get rid of mvebu_clocks_init. 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

[PATCH 10/10] clk: mvebu: desintegrate obsolete file

2013-05-10 Thread Sebastian Hesselbarth
Switch from function-centric to soc-centric clock drivers now makes a bunch of files obsolete. This deletes all files and Kconfig options that are not required anymore. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Jason Cooper ja...@lakedaemon.net Cc: Andrew Lunn

[PATCH 06/10] clk: mvebu: add Armada XP SoC-centric clock init

2013-05-10 Thread Sebastian Hesselbarth
This is moving core clock and clock gating init for Armada XP to its own file and adds a Kconfig option. Also init functions are added and declared so they get called on of_clk_init. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Jason Cooper ja...@lakedaemon.net Cc

[PATCH 01/10] clk: mvebu: introduce per-clock-gate flags

2013-05-10 Thread Sebastian Hesselbarth
Clock gates found on MVEBU SoCs get registered by a common function. To allow specific SoCs to provide tweaks introduce flags to the clock gate descriptor instead of filling up the common function SoC specific tweaks. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc

[PATCH 04/10] clk: mvebu: add Kirkwood SoC-centric clock init

2013-05-10 Thread Sebastian Hesselbarth
This is moving core clock and clock gating init for Kirkwood to its own file and adds a Kconfig option. Also init functions are added and declared so they get called on of_clk_init. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Jason Cooper ja...@lakedaemon.net Cc

[PATCH 03/10] clk: mvebu: add Dove SoC-centric clock init

2013-05-10 Thread Sebastian Hesselbarth
This is moving core clock and clock gating init for Dove to its own file and adds a Kconfig option. Also init functions are added and declared so they get called on of_clk_init. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Jason Cooper ja...@lakedaemon.net Cc

Re: [PATCH RFC] clk: Introduce userspace clock driver

2013-05-13 Thread Sebastian Hesselbarth
On 05/13/13 18:09, Sören Brinkmann wrote: On Mon, May 13, 2013 at 09:21:35AM +0400, Mark Brown wrote: On Sun, May 12, 2013 at 12:05:04PM -0700, Sören Brinkmann wrote: On Sun, May 12, 2013 at 06:33:44PM +0400, Mark Brown wrote: No, there's no confusion here - the clocks that are being exposed

Re: [PATCH RFC] clk: Introduce userspace clock driver

2013-05-13 Thread Sebastian Hesselbarth
On 05/13/13 19:24, Sören Brinkmann wrote: On Mon, May 13, 2013 at 06:21:13PM +0200, Sebastian Hesselbarth wrote: Well, that driver actually exists. But that just programs a bitstream you give it to program. It does not know anything about the design it programs and cannot make any kind

Re: [PATCH RFC] clk: Introduce userspace clock driver

2013-05-13 Thread Sebastian Hesselbarth
On 05/13/13 19:58, Sören Brinkmann wrote: On Mon, May 13, 2013 at 07:37:23PM +0200, Sebastian Hesselbarth wrote: It is, as it will only expose clocks on Zynq and that's what Mark and Mike are worried about. Expose clocks to user space and you will have people mess with it for sure. Well, even

Re: [PATCH RFC] clk: Introduce userspace clock driver

2013-05-13 Thread Sebastian Hesselbarth
On 05/13/13 20:16, Mark Brown wrote: On Mon, May 13, 2013 at 06:21:13PM +0200, Sebastian Hesselbarth wrote: what Mark wants to point out is that you add fabric clocks to the Xilinx driver instead. This way, you will have user-space controllable clocks but only if you loaded the xilinx driver

Re: [PATCH] pinctrl: dove: add PMU functions to pinctrl

2013-05-13 Thread Sebastian Hesselbarth
On 05/13/2013 10:00 PM, Jason Cooper wrote: On Tue, May 07, 2013 at 01:36:08AM +0200, Sebastian Hesselbarth wrote: Dove power management unit can mux some special functions to mpp0-15. This patch adds support to set/get the current PMU function mapped to the corresponding mpp pins. The device

[PATCH] clk: si5351: remove variant from platform_data

2013-09-03 Thread Sebastian Hesselbarth
the chips .variant. This removes the now redundant .variant from the platform_data and puts it in i2c_device_id's .driver_data instead. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc: Jason Cooper ja...@lakedaemon.net Cc

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

2013-09-04 Thread Sebastian Hesselbarth
On 08/29/2013 03:45 PM, Arnd Bergmann wrote: Please be careful with the patch ordering here. The patch series should be bisectable, i.e. no patch should ever knowingly break any of the platforms, with the fix getting added in a later patch. You should be able to do that by cleaning up all

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

2013-09-04 Thread Sebastian Hesselbarth
On 09/04/2013 10:41 PM, Sören Brinkmann wrote: On Wed, Sep 04, 2013 at 09:32:24PM +0200, Sebastian Hesselbarth wrote: [ ... ] For mach-zynq I prepared a patch set that brings it close to .init_time removal. I have pushed it to https://github.com/shesselba/linux-dove.git zynq-clk-init-v1

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

2013-08-29 Thread Sebastian Hesselbarth
On 08/29/13 12:13, Russell King - ARM Linux wrote: On Thu, Aug 29, 2013 at 12:07:04PM +0200, Jean-Francois Moine wrote: On Wed, 28 Aug 2013 14:16:32 +0200 Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: [snip] Though, if the difference between the two units

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

2013-08-29 Thread Sebastian Hesselbarth
On 08/29/13 13:08, Shawn Guo wrote: On Tue, Aug 27, 2013 at 11:28:02PM +0200, Sebastian Hesselbarth wrote: @@ -100,19 +101,17 @@ static enum imx23_clk clks_init_on[] __initdata = { cpu, hbus, xbus, emi, uart, }; -int __init mx23_clocks_init(void) +static void __init mx23_clocks_init

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

2013-08-29 Thread Sebastian Hesselbarth
On 08/29/13 19:12, Mark Brown wrote: On Thu, Aug 29, 2013 at 05:33:58PM +0100, Russell King - ARM Linux wrote: On Thu, Aug 29, 2013 at 05:12:17PM +0100, Mark Brown wrote: On Wed, Aug 28, 2013 at 12:26:31PM +0200, Sebastian Hesselbarth wrote: Also, we'll need to distinguish between

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

2013-08-29 Thread Sebastian Hesselbarth
On 08/29/13 15:35, Arnd Bergmann wrote: On Tuesday 27 August 2013, Sebastian Hesselbarth wrote: @@ -422,16 +419,8 @@ void __init v2m_dt_init_early(void) pr_warning(vexpress: DT HBI (%x) is not matching hardware (%x)!\n, dt_hbi

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

2013-08-29 Thread Sebastian Hesselbarth
On 08/29/13 15:37, Arnd Bergmann wrote: On Tuesday 27 August 2013, Sebastian Hesselbarth wrote: @@ -58,10 +57,10 @@ static void __init zynq_init_machine(void) of_platform_bus_probe(NULL, zynq_of_bus_ids, NULL); } -static void __init zynq_timer_init(void) +static void __init

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

2013-09-01 Thread Sebastian Hesselbarth
Jean-Francois, Sorry for the messy reply, posting from mobile. Can you please try si5351 1, iirc audio ist connected to it. I will also look it up later. Sebastian On August 31, 2013 12:51:28 PM Jean-Francois Moine moin...@free.fr wrote: On Wed, 28 Aug 2013 12:14:24 +0200 Sebastian

[PATCH] clocksource: of: respect device tree node status

2013-09-03 Thread Sebastian Hesselbarth
Clocksource devices provided by DT can be disabled (status != okay). Instead of registering clocksource drivers for disabled nodes, respect the device's status by skiping disabled nodes. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Daniel Lezcano daniel.lezc

Re: [PATCH v6 5/7] ARM: kirkwood: remove redundant DT board files

2013-07-02 Thread Sebastian Hesselbarth
On 07/03/2013 01:09 AM, Arnaud Ebalard wrote: Hi Sebastian, Sebastian Hesselbarthsebastian.hesselba...@gmail.com writes: With DT support for mv643xx_eth board specific init for some boards now is unneccessary. Remove those board files, Kconfig entries, and corresponding entries in

Re: [PATCH v6 5/7] ARM: kirkwood: remove redundant DT board files

2013-07-03 Thread Sebastian Hesselbarth
On 07/03/13 01:09, Arnaud Ebalard wrote: Hi Sebastian, Sebastian Hesselbarth sebastian.hesselba...@gmail.com writes: With DT support for mv643xx_eth board specific init for some boards now is unneccessary. Remove those board files, Kconfig entries, and corresponding entries

[PATCH v7 5/7] ARM: kirkwood: remove redundant DT board files

2013-07-03 Thread Sebastian Hesselbarth
With DT support for mv643xx_eth board specific init for some boards now is unneccessary. Remove those board files, Kconfig entries, and corresponding entries in kirkwood_defconfig. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v6-v7: - cleanup mach-kirkwood

Re: Second ethernet on kirkwood does not work when probed through DT

2013-07-06 Thread Sebastian Hesselbarth
On 07/06/2013 09:54 PM, Jonas Gorski wrote: Hello Sebastian, using your DT patches[1] (on top of 3.10) I can't get the second ethernet to work on my kirkwood board. Hi Jonas, next time please name your board, because there are plenty of it. Kirkwood is just the SoC used on them. in my dts

Re: Second ethernet on kirkwood does not work when probed through DT

2013-07-07 Thread Sebastian Hesselbarth
On 07/06/2013 11:39 PM, Jonas Gorski wrote: On Sat, 06 Jul 2013 23:22:22 +0200 Sebastian Hesselbarthsebastian.hesselba...@gmail.com wrote: On 07/06/2013 09:54 PM, Jonas Gorski wrote: Hello Sebastian, using your DT patches[1] (on top of 3.10) I can't get the second ethernet to work on my

Re: Second ethernet on kirkwood does not work when probed through DT

2013-07-07 Thread Sebastian Hesselbarth
On 07/07/2013 01:26 PM, Jonas Gorski wrote: On Sun, 07 Jul 2013 12:52:52 +0200 Sebastian Hesselbarthsebastian.hesselba...@gmail.com wrote: The error below is a naming issue for the port. As there is only one port per controller, both reg properties of the port nodes of kirkwood.dtsi have to

Re: [GIT PULL] clockevents/clocksource: Add Marvell Orion SoC timer

2013-07-07 Thread Sebastian Hesselbarth
) Sebastian Hesselbarth (1): clocksource: Add Marvell Orion SoC timer Thomas, John, with tip timers/core PR sent, I realized that the above did not make it in. As we have a whole bunch of cleanup and DT conversion patches for v3.11-rc1 depending on it, would it be ok for you to let Jason Cooper

[PATCH] net: mv643xx_eth: fix DT port device name

2013-07-07 Thread Sebastian Hesselbarth
by taking the device node's name also as port device name. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Reported-by: Jonas Gorski j...@openwrt.org --- Cc: Lennert Buytenhek buyt...@wantstofly.org Cc: Jonas Gorski j...@openwrt.org Cc: net...@vger.kernel.org Cc: linux-arm-ker

[PATCH v7 2/7] ARM: kirkwood: add gigabit ethernet and mvmdio device tree nodes

2013-07-07 Thread Sebastian Hesselbarth
This patch adds mv643xx_eth and mvmdio device tree nodes for DT enabled Kirkwood boards. Phy nodes are also added with reg property set on a per-board basis. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v6-v7: - fix ethernet 1 port 0 name in kirkwood.dtsi

Re: [PATCH] net: mv643xx_eth: fix DT port device name

2013-07-07 Thread Sebastian Hesselbarth
On 07/07/2013 11:43 PM, Jonas Gorski wrote: On Sun, 7 Jul 2013 22:33:51 +0200 Sebastian Hesselbarthsebastian.hesselba...@gmail.com wrote: Device tree support added to Marvell MV643xx ethernet driver registers port devices from port device nodes found on the corresponding controller node. The

Re: [PATCH 01/26] ARM: nomadik: move mtu setup to clocksource init

2013-09-20 Thread Sebastian Hesselbarth
On 09/20/2013 10:51 PM, Linus Walleij wrote: On Fri, Sep 20, 2013 at 10:49 PM, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Sep 18, 2013 at 7:53 PM, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: MTU timer initialization is stuffed into .init_time callback, while

[PATCH v2 01/26] ARM: nomadik: remove mtu initalization from .init_time

2013-09-20 Thread Sebastian Hesselbarth
Nomadik clock initialization is properly done in clk-nomadik since patch clk: nomadik: set all timers to use 2.4 MHz TIMCLK. Therefore, this patch removes now redundant mtu initialization from .init_time callback. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog

Re: [PATCH 01/26] ARM: nomadik: move mtu setup to clocksource init

2013-09-20 Thread Sebastian Hesselbarth
On 09/18/2013 07:53 PM, Sebastian Hesselbarth wrote: MTU timer initialization is stuffed into .init_time callback, while cpu8815_timer_init_of again maps addresses from the same device node. Therefore, this patch moves mtu setup from to clocksource init. Signed-off-by: Sebastian Hesselbarth

Re: [PATCH 04/26] clk: prima2: declare OF clock provider

2013-09-22 Thread Sebastian Hesselbarth
On 09/19/2013 10:48 AM, Sebastian Hesselbarth wrote: On 09/19/13 10:45, Barry Song wrote: @@ -1124,3 +1106,4 @@ void __init sirfsoc_of_clk_init(void) of_clk_add_provider(np, of_clk_src_onecell_get, clk_data); } +CLK_OF_DECLARE(sirfsoc_clk, sirf,prima2-clkc, sirfsoc_clk_init); hi

Re: [PATCH 00/26] ARM: provide common arch init for DT clocks

2013-09-22 Thread Sebastian Hesselbarth
On 09/20/2013 09:16 PM, Matt Porter wrote: On Wed, Sep 18, 2013 at 07:53:33PM +0200, Sebastian Hesselbarth wrote: This is a patch set based on an RFC [1][2] sent earlier to provide a common arch/arm init for DT clock providers. Currently, the call to of_clk_init(NULL) to initialize DT clock

Re: [PATCH 01/26] ARM: nomadik: move mtu setup to clocksource init

2013-09-22 Thread Sebastian Hesselbarth
On 09/20/2013 11:13 PM, Sebastian Hesselbarth wrote: On 09/18/2013 07:53 PM, Sebastian Hesselbarth wrote: MTU timer initialization is stuffed into .init_time callback, while cpu8815_timer_init_of again maps addresses from the same device node. Therefore, this patch moves mtu setup from

Re: [PATCH 11/26] ARM: dove: remove custom .init_time hook

2013-09-22 Thread Sebastian Hesselbarth
On 09/21/2013 02:22 PM, Andrew Lunn wrote: On Wed, Sep 18, 2013 at 07:53:44PM +0200, Sebastian Hesselbarth wrote: 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

[PATCH v2 03/26] clk: nomadik: declare OF clock provider

2013-09-22 Thread Sebastian Hesselbarth
clock driver checks src_base and calls new nomadik_src_init if required. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Linus Walleij linus.wall...@linaro.org --- Changelog: v1-v2: - adapt to clk-nomadik changes Cc: Olof Johansson o...@lixom.net Cc: Arnd Bergmann

[PATCH v2 02/26] clk: nomadik: move src init out of nomadik_clk_init

2013-09-22 Thread Sebastian Hesselbarth
nomadik_clk_init currently also maps system reset controller base address used by clocks and registers a reboot notifier. To allow further cleanup of nomadik clk setup, this moves system reset controller setup from nomadik_clk_init to its own function. Signed-off-by: Sebastian Hesselbarth

[PATCH v2 09/26] ARM: call of_clk_init from default time_init handler

2013-09-23 Thread Sebastian Hesselbarth
.init_time callback for COMMON_CLK enabled machs to allow to remove custom callbacks where applicable. While at it, also reorder includes alphabetically. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - protect call to of_clk_init which is only available

Re: [PATCH 11/26] ARM: dove: remove custom .init_time hook

2013-09-23 Thread Sebastian Hesselbarth
On 09/23/2013 03:32 PM, Jason Cooper wrote: On Mon, Sep 23, 2013 at 11:10:36AM +0200, Andrew Lunn wrote: On Sun, Sep 22, 2013 at 02:20:28PM +0200, Sebastian Hesselbarth wrote: On 09/21/2013 02:22 PM, Andrew Lunn wrote: On Wed, Sep 18, 2013 at 07:53:44PM +0200, Sebastian Hesselbarth wrote

Re: [PATCH RESEND] clocksource: of: respect device tree node status

2013-09-25 Thread Sebastian Hesselbarth
On 09/25/2013 05:29 PM, Daniel Lezcano wrote: On 09/19/2013 12:47 PM, Sebastian Hesselbarth wrote: Clocksource devices provided by DT can be disabled (status != okay). Instead of registering clocksource drivers for disabled nodes, respect the device's status by skiping disabled nodes. Signed

Re: [PATCH 05/26] ARM: socfgpa: prepare for arch-wide .init_time callback

2013-09-26 Thread Sebastian Hesselbarth
On 09/18/2013 07:53 PM, Sebastian Hesselbarth wrote: Current socfpga board init calls of_clk_init() from .machine_init. To allow consolidation of DT driven .time_init, move of_clock_init() to a temporary .time_init that will be removed when arch-wide callback is available. Signed-off

Re: [PATCH 23/26] ARM: sunxi: remove custom .init_time hook

2013-09-26 Thread Sebastian Hesselbarth
On 09/25/2013 10:07 PM, Maxime Ripard wrote: On Wed, Sep 18, 2013 at 07:53:56PM +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 Acked

Re: [PATCH 12/26] ARM: exynos: remove custom .init_time hook

2013-09-26 Thread Sebastian Hesselbarth
On 09/18/2013 07:53 PM, Sebastian Hesselbarth wrote: 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 now redundant includes. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Ping

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

2013-09-26 Thread Sebastian Hesselbarth
On 09/26/2013 10:11 AM, Jean-Francois Moine wrote: In the Cubox, I changed the audio DT to: i2s1 { status = okay; clocks = gate_clk 13, si5351 1; clock-names = internal, extclk; pinctrl-0 = pmx_audio1_i2s1_spdifo pmx_gpio_13_audio1; Have you checked that pinmux

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

2013-09-26 Thread Sebastian Hesselbarth
On 09/26/2013 01:28 PM, Jean-Francois Moine wrote: On Thu, 26 Sep 2013 10:31:10 +0200 Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: On 09/26/2013 10:11 AM, Jean-Francois Moine wrote: In the Cubox, I changed the audio DT to: i2s1 { status = okay; clocks

Re: [PATCH 04/26] clk: prima2: declare OF clock provider

2013-09-27 Thread Sebastian Hesselbarth
On 09/22/2013 12:37 PM, Barry Song wrote: 2013/9/22 Sebastian Hesselbarth sebastian.hesselba...@gmail.com: On 09/19/2013 10:48 AM, Sebastian Hesselbarth wrote: On 09/19/13 10:45, Barry Song wrote: @@ -1124,3 +1106,4 @@ void __init sirfsoc_of_clk_init(void) of_clk_add_provider(np

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

2013-09-28 Thread Sebastian Hesselbarth
On 09/26/2013 01:28 PM, Jean-Francois Moine wrote: On Thu, 26 Sep 2013 10:31:10 +0200 Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: On 09/26/2013 10:11 AM, Jean-Francois Moine wrote: In the Cubox, I changed the audio DT to: i2s1 { status = okay; clocks

Re: [alsa-devel] [PATCH v3] ARM: kirkwood: extend the kirkwood i2s driver for DT usage

2013-07-23 Thread Sebastian Hesselbarth
On 07/23/13 14:34, Mark Brown wrote: On Tue, Jul 23, 2013 at 10:46:15AM +0200, Jean-Francois Moine wrote: + np = pdev-dev.of_node; + if (np) { + struct of_phandle_args clkspec; + + priv-burst = 128; /* might be 32 or 128 */ The

Re: [alsa-devel] [PATCH] ARM: kirkwood: enable S/PDIF

2013-07-23 Thread Sebastian Hesselbarth
On 07/23/13 15:06, Mark Brown wrote: On Tue, Jul 23, 2013 at 09:43:47AM +0100, Russell King - ARM Linux wrote: On Tue, Jul 23, 2013 at 10:23:20AM +0200, Jean-Francois Moine wrote: This patch enables S/PDIF. Signed-off-by: Jean-Francois Moine moin...@free.fr I'm not submitting my patch to

Re: [alsa-devel] [PATCH v3] ARM: kirkwood: extend the kirkwood i2s driver for DT usage

2013-07-23 Thread Sebastian Hesselbarth
On 07/23/13 15:20, Mark Brown wrote: On Tue, Jul 23, 2013 at 02:59:06PM +0200, Sebastian Hesselbarth wrote: On 07/23/13 14:34, Mark Brown wrote: As others have pointed out if you need to change the clock get code there's something wrong here, DT should be handled transparently by the clock

Re: [PATCH 1/9] reset: add the Berlin reset controller driver

2014-06-06 Thread Sebastian Hesselbarth
On 06/05/2014 06:36 PM, Philipp Zabel wrote: Am Donnerstag, den 05.06.2014, 17:48 +0200 schrieb Antoine Ténart: Add a reset controller for Marvell Berlin SoCs which is used by the USB PHYs drivers (for now). Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com ---

Re: [PATCH 4/9] usb: phy: add the Berlin USB PHY driver

2014-06-06 Thread Sebastian Hesselbarth
On 06/05/2014 05:48 PM, Antoine Ténart wrote: Add the driver driving the Marvell Berlin USB PHY. This allows to initialize the PHY and to use it from the USB driver later. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/phy/Kconfig | 9 ++

Re: [PATCH 6/9] usb: chipidea: add Berlin USB support

2014-06-06 Thread Sebastian Hesselbarth
On 06/05/2014 05:48 PM, Antoine Ténart wrote: The Marvell Berlin USB controllers are compatible with ChipIdea. Add a driver using the ChipIdea common functions to support them. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/usb/chipidea/Makefile | 1 +

Re: [PATCH 4/9] usb: phy: add the Berlin USB PHY driver

2014-06-09 Thread Sebastian Hesselbarth
On 06/09/2014 10:26 AM, Jisheng Zhang wrote: Dear Sebastian and Antoine, On Fri, 6 Jun 2014 03:54:06 -0700 Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: + +#define to_berlin_phy_priv(p) container_of((p), struct berlin_phy_priv, phy) + +struct berlin_phy_priv

Re: [PATCH 0/9] ARM: Berlin: USB support

2014-06-09 Thread Sebastian Hesselbarth
On 06/09/2014 06:30 AM, Peter Chen wrote: On Thu, Jun 05, 2014 at 05:48:37PM +0200, Antoine Ténart wrote: This series adds the support for the Marvell Berlin USB controllers, the USB PHYs and also adds a reset controller. The reset controller is used by the USB PHY driver and shares the

Re: [PATCH 1/9] reset: add the Berlin reset controller driver

2014-06-09 Thread Sebastian Hesselbarth
On 06/05/2014 05:48 PM, Antoine Ténart wrote: Add a reset controller for Marvell Berlin SoCs which is used by the USB PHYs drivers (for now). Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- drivers/reset/Makefile | 1 + drivers/reset/reset-berlin.c | 113

Re: [PATCH v3 00/20] USB support for Armada 38x and Armada 375

2014-05-07 Thread Sebastian Hesselbarth
[Adding back the original Cc-List] On 05/07/2014 10:33 AM, Hans de Goede wrote: Hi Gregory, Gregory CLEMENT gregory.clement at free-electrons.com writes: This patch set adds the USB support for the Armada 38x Armada 375. These SoCs use an xHCI but still need specific initialization, mainly

[PATCH RFC 2/3] clk: berlin: add driver for BG2x complex divider cells

2014-05-08 Thread Sebastian Hesselbarth
There is some awkward ASCII-art describing the basic structure of the cell. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Antoine Tenart antoine.ten...@free

[PATCH RFC 3/3] clk: berlin: add driver for BG2x simple PLLs

2014-05-08 Thread Sebastian Hesselbarth
This is a clock driver for the simple PLLs found on Berlin SoCs. With repect to PLL registers and features, BG2/BG2CD and BG2Q are slightly different, e.g. different allowed VCO dividers and bit shifts. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette

[PATCH RFC 1/3] clk: berlin: add clock tree driver for BG2/BG2CD

2014-05-08 Thread Sebastian Hesselbarth
This is a driver beast dealing with the clock tree of Berlin BG2 and BG2CD SoCs. The include already contains structs for PLL and DIV, send in the two following patches. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc

Re: [PATCH RFC 0/3] Berlin SoC clock tree - DT or not DT?

2014-05-10 Thread Sebastian Hesselbarth
to it. Also, if you have comments already, do not hesitate to send them directly to me. Sebastian On 05/08/2014 10:16 PM, Sebastian Hesselbarth wrote: This is a RFC providing a counter-approach to some patches set by Alexandre Belloni [1][2] to bring clock support for Berlin SoCs. It is based

[PATCH 7/8] ARM: dts: berlin: convert BG2CD to DT clock nodes

2014-05-11 Thread Sebastian Hesselbarth
This converts Berlin BG2CD SoC dtsi to make use of the new DT clock nodes for Berlin SoCs. Also add a binding include to ease core clock references. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc: Rob Herring robh...@kernel.org

[PATCH 1/8] clk: add helper for unique DT clock names

2014-05-11 Thread Sebastian Hesselbarth
do for proper devices and may vanish as soon as there is some (early) device support for clocks available. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring robh...@kernel.org

[PATCH 0/8] Marvell Berlin full clock support

2014-05-11 Thread Sebastian Hesselbarth
/Firmware_Berlin_BG2CD_A0/global.h?repo=sdk Alexandre Belloni (2): clk: berlin: add driver for BG2x simple PLLs clk: berlin: add driver for BG2x complex divider cells Sebastian Hesselbarth (6): clk: add helper for unique DT clock names clk: berlin: add clock binding docs for Marvell Berlin2 SoCs clk

[PATCH 6/8] clk: berlin: add core clock driver for BG2/BG2CD

2014-05-11 Thread Sebastian Hesselbarth
This driver deals with the core clocks found on Marvell Berlin BG2 and BG2CD. For the shared register dividers, make use of the corresponding driver and add some single clock muxes and gates for the rest. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette

[PATCH 4/8] clk: berlin: add driver for BG2x simple PLLs

2014-05-11 Thread Sebastian Hesselbarth
alexandre.bell...@free-electrons.com Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Antoine Tenart antoine.ten...@free-electrons.com Cc: linux-arm-ker

[PATCH 3/8] clk: berlin: add driver for BG2x audio/video PLL

2014-05-11 Thread Sebastian Hesselbarth
instead. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Antoine Tenart antoine.ten...@free-electrons.com

[PATCH 8/8] ARM: dts: berlin: convert BG2 to DT clock nodes

2014-05-11 Thread Sebastian Hesselbarth
This converts Berlin BG2 SoC dtsi to make use of the new DT clock nodes for Berlin SoCs. While at it, also fix up twdclk which is running at cpuclk/3 instead of sysclk. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc: Rob

[PATCH 5/8] clk: berlin: add driver for BG2x complex divider cells

2014-05-11 Thread Sebastian Hesselbarth
ones will be taken care of in a SoC-specific core clock driver. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc: Alexandre Belloni alexandre.bell...@free

[PATCH 2/8] clk: berlin: add clock binding docs for Marvell Berlin2 SoCs

2014-05-11 Thread Sebastian Hesselbarth
This adds mandatory device tree binding documentation for the clock related IP found on Marvell Berlin2 (BG2, BG2CD, and BG2Q) SoCs. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike Turquette mturque...@linaro.org Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll

Re: [patch] pinctrl: berlin: fix an error code in berlin_pinctrl_probe()

2014-06-11 Thread Sebastian Hesselbarth
, thanks for the fix! Acked-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com diff --git a/drivers/pinctrl/berlin/berlin.c b/drivers/pinctrl/berlin/berlin.c index edf5d2f..86db223 100644 --- a/drivers/pinctrl/berlin/berlin.c +++ b/drivers/pinctrl/berlin/berlin.c @@ -320,7 +320,7 @@ int

Re: [PATCH v4 1/7] phy: add a driver for the Berlin SATA PHY

2014-05-20 Thread Sebastian Hesselbarth
(0x1 10) +#define DATA_BIT_WIDTH_40 (0x2 10) ditto. + +/* register 0x25 */ +#define PHY_GEN_MAX_1_5 (0x0 10) +#define PHY_GEN_MAX_3_0 (0x1 10) +#define PHY_GEN_MAX_6_0 (0x2 10) ditto. FWIW, Acked-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com

Re: [PATCH v4 4/7] ata: ahci_platform: add the Marvell Berlin AHCI compatible

2014-05-20 Thread Sebastian Hesselbarth
On 05/20/2014 11:04 AM, Antoine Ténart wrote: The Marvell Berlin AHCI has all his specific in the PHY driver. It then only need to use the libahci functions to work properly. If it is that generic, .. Add its compatible into the libahci_platform driver. Signed-off-by: Antoine Ténart

Re: [PATCH RESEND] mmc: dove: fix missing MACH_DOVE dependency

2014-05-22 Thread Sebastian Hesselbarth
On 05/22/2014 11:09 AM, Ulf Hansson wrote: On 19 May 2014 20:02, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: DT-enabled Dove moved over from ARCH_DOVE in mach-dove to MACH_DOVE in mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new DT-only MACH_DOVE Kconfig

[PATCH] mmc: sdhci-dove: use mmc_of_parse() and remove card_tasklet CD handler

2014-05-22 Thread Sebastian Hesselbarth
, replace sdhci_get_of_property() with more recent mmc_of_parse(). It takes care of gpio-based card detect passed through DT already and allows to remove the offending code sections dealing with removed card_tasklet. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- This patch

Re: [PATCH v3 1/7] pinctrl: berlin: add the core pinctrl driver for Marvell Berlin SoCs

2014-05-22 Thread Sebastian Hesselbarth
On 05/22/2014 11:59 PM, Linus Walleij wrote: On Sat, May 17, 2014 at 12:08 PM, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: thinking of your request to make function/groups standard properties, I guess you also had some corresponding helpers in mind. Yeah :-) Looking

Re: [PATCH v4 0/7] ARM: berlin: add pinctrl support

2014-05-22 Thread Sebastian Hesselbarth
On 05/23/2014 12:11 AM, Linus Walleij wrote: On Mon, May 19, 2014 at 7:36 PM, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: but can you please drop the Berlin pinctrl patches and reconsider taking the reworked driver instead? Sure I applied patches 1 thru 4 to the pin

Re: linux-next: build failure after merge of the mmc tree

2014-05-23 Thread Sebastian Hesselbarth
On 05/23/2014 07:32 AM, Stephen Rothwell wrote: After merging the mmc tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/mmc/host/sdhci-dove.c: In function 'sdhci_dove_carddetect_irq': drivers/mmc/host/sdhci-dove.c:42:24: error: 'struct sdhci_host' has no member

Re: [PATCH 2/8] clk: berlin: add clock binding docs for Marvell Berlin2 SoCs

2014-05-15 Thread Sebastian Hesselbarth
On 05/15/2014 06:41 AM, Mike Turquette wrote: Quoting Sebastian Hesselbarth (2014-05-14 16:17:52) On 05/15/2014 12:32 AM, Mike Turquette wrote: Quoting Sebastian Hesselbarth (2014-05-11 13:24:35) +avpll: pll@ea0040 { + compatible = marvell,berlin2-avpll; + #clock-cells = 2

Re: [PATCH v3 1/6] phy: add a driver for the Berlin SATA PHY

2014-05-15 Thread Sebastian Hesselbarth
On 05/15/2014 08:45 AM, Kishon Vijay Abraham I wrote: On Thursday 15 May 2014 12:12 AM, Sebastian Hesselbarth wrote: On 05/14/2014 08:12 PM, Arnd Bergmann wrote: On Wednesday 14 May 2014 19:57:46 Sebastian Hesselbarth wrote: On 05/14/2014 06:57 PM, Antoine Ténart wrote: On Wed, May 14, 2014

Re: [PATCH v3 1/6] phy: add a driver for the Berlin SATA PHY

2014-05-15 Thread Sebastian Hesselbarth
On 05/15/2014 10:46 AM, Kishon Vijay Abraham I wrote: On Thursday 15 May 2014 12:32 PM, Sebastian Hesselbarth wrote: On 05/15/2014 08:45 AM, Kishon Vijay Abraham I wrote: On Thursday 15 May 2014 12:12 AM, Sebastian Hesselbarth wrote: On 05/14/2014 08:12 PM, Arnd Bergmann wrote: On Wednesday

Re: [PATCH v2 06/10] clk: berlin: add core clock driver for BG2/BG2CD

2014-05-15 Thread Sebastian Hesselbarth
On 05/15/2014 10:09 AM, Alexandre Belloni wrote: On 14/05/2014 at 22:15:17 +0200, Sebastian Hesselbarth wrote : + /* clock divider cells */ + parent_names[1] = avpllb_names[CH4]; + parent_names[2] = avpllb_names[CH5]; + parent_names[3] = avpllb_names[CH6

Re: [PATCH v3 1/7] pinctrl: berlin: add the core pinctrl driver for Marvell Berlin SoCs

2014-05-17 Thread Sebastian Hesselbarth
UART0_RXIrDA0_RXGPIO9 BH6 GSM12 UART0_TXIrDA0_TXGPIO10 So in order to configure BK4 - UART0_TX and BH6 - UART0_RX, we need to set (sm_base + 0x40 + 0x10) = ff3f. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com Acked-by: Sebastian

Re: [PATCH v3 0/7] ARM: berlin: add pinctrl support

2014-05-18 Thread Sebastian Hesselbarth
On 05/16/2014 02:43 PM, Linus Walleij wrote: On Mon, May 5, 2014 at 7:27 AM, Antoine Ténart antoine.ten...@free-electrons.com wrote: This series adds support for the Marvell Berlin pin-controller, allowing to configure the pin muxing from the device tree. OK looking good! I've applied

[PATCH v2 08/10] ARM: dts: berlin: convert BG2CD to DT clock nodes

2014-05-19 Thread Sebastian Hesselbarth
This converts Berlin BG2CD SoC dtsi to make use of the new DT clock nodes for Berlin SoCs. Also add a binding include to ease core clock references. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Changelog: v1-v2: - adapt to new single chip control node and compatible

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