Re: [PATCH v2 13/27] drm/tegra: Move subdevice infrastructure to host1x

2013-10-07 Thread Terje Bergström
On 07.10.2013 11:34, Thierry Reding wrote: > The Tegra DRM driver currently uses some infrastructure to defer the DRM > core initialization until all required devices have registered. The same > infrastructure can potentially be used by any other driver that requires > more than a single sub-device

Re: [PATCH V3] PCI: exynos: add support for MSI

2013-10-07 Thread Kishon Vijay Abraham I
Hi Jingoo, On Friday 06 September 2013 12:24 PM, Jingoo Han wrote: > This patch adds support for Message Signaled Interrupt in the > Exynos PCIe diver using Synopsys designware PCIe core IP. > > Signed-off-by: Siva Reddy Kallam > Signed-off-by: Srikanth T Shivanand > Signed-off-by: Jingoo Han

Re: [PATCH v2 1/3] clk: emev2: Add support for emev2 SMU clocks with DT

2013-10-07 Thread Magnus Damm
On Tue, Oct 8, 2013 at 2:32 PM, wrote: > Device tree clock binding document for EMMA Mobile EV2 SMU, > And Common clock framework based implementation of it. > Following nodes are defined to describe clock tree. > - renesas,emev2-smu > - renesas,emev2-smu-clkdiv > - renesas,emev2-smu-gclk > > The

Re: [PATCH v2 06/27] gpu: host1x: Cleanup includes

2013-10-07 Thread Terje Bergström
On 07.10.2013 11:34, Thierry Reding wrote: > Most of the included files are either not required or already included > by some other header file. What's the general policy? I personally feel that each source file should #include all the header files it needs, and should not rely on header files #in

Re: [PATCH v2 2/3] ARM: shmobile: emev2: Add clock tree description in DT

2013-10-07 Thread Magnus Damm
On Tue, Oct 8, 2013 at 2:33 PM, wrote: > Add minimum clock tree description to .dts file. > This provides same set of clocks as current sh-clkfwk version .c > code does. > > Signed-off-by: Takashi Yoshii > --- > arch/arm/boot/dts/emev2.dtsi | 84 > >

Re: [PATCH v2 3/3] ARM: shmobile: kzm9d: Use common clock framework

2013-10-07 Thread Magnus Damm
On Tue, Oct 8, 2013 at 2:34 PM, wrote: > Use common clock framework version of clock > drivers/clk/shmobile/clk-emev2.c > instead of sh-clkfwk version > arch/arm/mach-shmobile/clock-emev2.c > when it is configured as a part of multi-platform. > > Signed-off-by: Takashi Yoshii > --- > arch/arm

Re: [PATCH v2 08/27] drm/tegra: gr2d: Miscellaneous cleanups

2013-10-07 Thread Terje Bergström
On 07.10.2013 16:02, Erik Faye-Lund wrote: > So the question is really how the hardware treats writes to > non-existent registers. My guess would be that they are simply not > recorded, and if that's the case it doesn't matter what we do. And > doing an unconditional AND is faster than doing a bit-

Re: [PATCH v2 25/29] arc: use common of_flat_dt_match_machine

2013-10-07 Thread Vineet Gupta
Hi Rob, On 10/07/2013 09:59 PM, Rob Herring wrote: > From: Rob Herring > > Convert arc to use the common of_flat_dt_match_machine function. > > Signed-off-by: Rob Herring > > Acked-by: Vineet Gupta > --- > arch/arc/kernel/devtree.c | 65 > +-- >

Re: [PATCHv7 00/36] ARM: OMAP: clock data conversion to DT

2013-10-07 Thread Mike Turquette
Quoting Tero Kristo (2013-09-25 01:48:06) > Hi all, > > Version 7 contains following high level changes: > - Dropped support for basic bindings from Mike Turquette, instead using > vendor specific bindings for all clocks > - Mux clock + divider clock vendor specific bindings get rid of use > o

[PATCH v2 1/3] clk: emev2: Add support for emev2 SMU clocks with DT

2013-10-07 Thread takasi-y
Device tree clock binding document for EMMA Mobile EV2 SMU, And Common clock framework based implementation of it. Following nodes are defined to describe clock tree. - renesas,emev2-smu - renesas,emev2-smu-clkdiv - renesas,emev2-smu-gclk These bindings are designed manually based on 19UH0037EJ10

[PATCH v2 3/3] ARM: shmobile: kzm9d: Use common clock framework

2013-10-07 Thread takasi-y
Use common clock framework version of clock drivers/clk/shmobile/clk-emev2.c instead of sh-clkfwk version arch/arm/mach-shmobile/clock-emev2.c when it is configured as a part of multi-platform. Signed-off-by: Takashi Yoshii --- arch/arm/mach-shmobile/board-kzm9d-reference.c | 5 ++--- 1 file c

Re: [PATCH v2 08/27] drm/tegra: gr2d: Miscellaneous cleanups

2013-10-07 Thread Terje Bergström
On 07.10.2013 16:05, Erik Faye-Lund wrote: > On Mon, Oct 7, 2013 at 2:52 PM, Terje Bergström wrote: >> AND 0xff is necessary, because the same registers are mirrored in >> multiple contexts. AND removes the offset coming from context, and >> leaves just the plain register offset. > The offsets in

[PATCH v2 2/3] ARM: shmobile: emev2: Add clock tree description in DT

2013-10-07 Thread takasi-y
Add minimum clock tree description to .dts file. This provides same set of clocks as current sh-clkfwk version .c code does. Signed-off-by: Takashi Yoshii --- arch/arm/boot/dts/emev2.dtsi | 84 1 file changed, 84 insertions(+) diff --git a/arch/arm/b

[PATCH v2 0/3] ARM: shmobile: kzm9d: migrate to common clock framework with DT

2013-10-07 Thread takasi-y
This patch series makes kzm9d to move to new clk implementation based on the common clock framework and device tree, when configured as a part of multi-platform. These patches do not remove sh-clkfwk version, even on emev2. Non multi-platform configuration still uses sh-clkfwk. Should be applie

Re: [PATCHv7 20/36] CLK: TI: DRA7: Add APLL support

2013-10-07 Thread Mike Turquette
Quoting Tero Kristo (2013-09-25 01:48:26) > + > +static const struct clk_ops apll_ck_ops = { > + .enable = &dra7_apll_enable, > + .disable= &dra7_apll_disable, Looks like .is_enabled is missing? Also have you thought about using .prepare or .unprepare for these PLLs wh

[PATCH 2/3] iio: at91: move the num_channels from DT to driver itself

2013-10-07 Thread Josh Wu
CC: devicetree@vger.kernel.org Signed-off-by: Josh Wu Acked-by: Ludovic Desroches --- .../devicetree/bindings/arm/atmel-adc.txt |1 - drivers/iio/adc/at91_adc.c | 12 +--- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Documentation/

[PATCH 3/3] iio: at91: introduce touch screen support in iio adc driver

2013-10-07 Thread Josh Wu
AT91 ADC hardware integrate touch screen support. So this patch add touch screen support for at91 adc iio driver. To enable touch screen support in adc, you need to add the dt parameters: 1. which type of touch are used? (4 or 5 wires), sample period time. 2. correct pressure detect threshold v

Re: [PATCH RFC 1/2] ARM: imx6qdl: provide pinctrl configurations for DAT3 pull-down

2013-10-07 Thread Shawn Guo
On Mon, Oct 07, 2013 at 08:52:40PM -0600, Stephen Warren wrote: > >>> &usdhc1 { > >>> pinctrl-names = "default"; > >>> pinctrl-0 = <&pinctrl_usdhc1_1 &pinctrl_usdhc1_1_dat3cd>; > >>> ... > >>> status = "okay"; > >>> }; > >> > >> Are you sure that this will always be the case? This would as

Re: [PATCH v11 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-10-07 Thread Hongbo Zhang
Hi Mark, Stephen and other DT maintainers? The 1/3 had already been acked by Mark, and please have a further look at this patch 2/3. The DMA maintainer Vinod needs ack for the DT related patches so that he can take all this patch set. On 09/26/2013 05:33 PM, hongbo.zh...@freescale.com wrote:

Re: [PATCH RFC 1/2] ARM: imx6qdl: provide pinctrl configurations for DAT3 pull-down

2013-10-07 Thread Stephen Warren
On 10/07/2013 07:54 PM, Shawn Guo wrote: > On Mon, Oct 07, 2013 at 07:03:57PM +0100, Russell King - ARM Linux wrote: >> On Mon, Oct 07, 2013 at 01:53:43PM +0800, Shawn Guo wrote: >>> I think we can redefine only pad DAT3 in pinctrl_usdhc1_1_dat3cd, and >>> overwrite the DAT3 configuration in pinctr

Re: [PATCH RFC 1/2] ARM: imx6qdl: provide pinctrl configurations for DAT3 pull-down

2013-10-07 Thread Shawn Guo
On Mon, Oct 07, 2013 at 07:03:57PM +0100, Russell King - ARM Linux wrote: > On Mon, Oct 07, 2013 at 01:53:43PM +0800, Shawn Guo wrote: > > I think we can redefine only pad DAT3 in pinctrl_usdhc1_1_dat3cd, and > > overwrite the DAT3 configuration in pinctrl_usdhc1_1 to save the > > redundant data of

Re: [RESEND PATCH v3 03/11] ASoC: davinci-mcasp: Add DMA register locations to DT

2013-10-07 Thread Mark Brown
On Mon, Oct 07, 2013 at 10:47:18PM +0100, Mark Rutland wrote: > On Thu, Sep 26, 2013 at 08:18:28PM +0100, Jyri Sarha wrote: > > - interrupts : Interrupt number for McASP > The device also seems to be able to generate multiple interrupts -- which > interrupt does this actually cover? > The drive

Re: [PATCH V3] ARM: OMAP3: Fix hardware detection for omap3630 when booted with device tree

2013-10-07 Thread Sebastian Reichel
On Mon, Oct 07, 2013 at 03:43:49PM -0500, Nishanth Menon wrote: > diff --git a/arch/arm/mach-omap2/board-generic.c > b/arch/arm/mach-omap2/board-generic.c > index 39c7838..4fe5b9c 100644 > --- a/arch/arm/mach-omap2/board-generic.c > +++ b/arch/arm/mach-omap2/board-generic.c > @@ -113,6 +113,7 @@ M

Re: [PATCH 1/3] thermal: bcm281xx: Add thermal driver

2013-10-07 Thread Wendy Ng
On 10/7/2013 3:32 PM, Eduardo Valentin wrote: On 07-10-2013 13:52, Wendy Ng wrote: On 10/7/2013 9:12 AM, Eduardo Valentin wrote: On 07-10-2013 10:52, Eduardo Valentin wrote: On 04-10-2013 18:17, Wendy Ng wrote: Hello Eduardo, Hello Wendy, I have rebased my work on the top of yours and tr

Re: [PATCH 1/3] thermal: bcm281xx: Add thermal driver

2013-10-07 Thread Eduardo Valentin
On 07-10-2013 13:52, Wendy Ng wrote: > > On 10/7/2013 9:12 AM, Eduardo Valentin wrote: >> On 07-10-2013 10:52, Eduardo Valentin wrote: >>> On 04-10-2013 18:17, Wendy Ng wrote: Hello Eduardo, >>> Hello Wendy, >>> I have rebased my work on the top of yours and tried out the new way of

Re: [PATCH 3/6] ARM: EXYNOS: add Exynos Dual Cluster Support

2013-10-07 Thread Nicolas Pitre
On Mon, 7 Oct 2013, Dave Martin wrote: > On Fri, Oct 04, 2013 at 03:51:31PM -0400, Nicolas Pitre wrote: > > No FIQs are supposed to ever race with this code. > > There is an anomaly though: FIQ and external abort don't seem to get > explicitly masked anywhere, either on the suspend or powerdown p

Re: [RESEND PATCH v3 11/11] ARM/dts: am335x-evm: Add audio support for am335x-evm.dts

2013-10-07 Thread Mark Rutland
On Thu, Sep 26, 2013 at 08:18:36PM +0100, Jyri Sarha wrote: > From: Darren Etheridge > > Adds sound, tlv320aic3x, mcasp1, and am335x_evm_audio_pin nodes. > > Signed-off-by: Darren Etheridge > Signed-off-by: Peter Ujfalusi > Signed-off-by: Jyri Sarha > --- > arch/arm/boot/dts/am335x-evm.dts |

Re: [RESEND PATCH v3 10/11] ARM/dts: am33xx: mcasp: Add new dma register location to reg-property

2013-10-07 Thread Mark Rutland
On Thu, Sep 26, 2013 at 08:18:35PM +0100, Jyri Sarha wrote: > This patch adds an optional address range to reg property. The range > describes the register location for DMA controller on am33xx. The both > address ranges are named accordingly in the reg-names property. > > Signed-off-by: Hebbar, G

Re: [RESEND PATCH v3 05/11] ASoC: davinci-mcasp: Interrupts property to optional and add interrupt-names

2013-10-07 Thread Mark Rutland
On Thu, Sep 26, 2013 at 08:18:30PM +0100, Jyri Sarha wrote: > Makes interrupts property optional as the interrupts are not currently > used by the driver and adds interrupt-names property to name listed > interrupts. Currently know interrupt names are "tx" and "rx". > > Signed-off-by: Jyri Sarha

Re: [RESEND PATCH v3 04/11] ASoC: davinci-mcasp: Extract DMA channels directly from DT

2013-10-07 Thread Mark Rutland
On Thu, Sep 26, 2013 at 08:18:29PM +0100, Jyri Sarha wrote: > Extract DMA channels directly from DT as they can not be found from > platform resources anymore. This is a work-around until davinci audio > driver is updated to use dmaengine. How long will this conversion take? > > Signed-off-by: J

Re: [RESEND PATCH v3 03/11] ASoC: davinci-mcasp: Add DMA register locations to DT

2013-10-07 Thread Mark Rutland
Hello, On Thu, Sep 26, 2013 at 08:18:28PM +0100, Jyri Sarha wrote: > This patch adds DMA register location to mcasp DT bindings. On am33xx > SoCs the McASP registers are mapped trough L4 interconnect, which is > not accessible by the DMA controller, so McASP data port is mapped > trough L3 to a di

Re: [PATCH RFC v2 3/5] spmi: add generic SPMI controller binding documentation

2013-10-07 Thread Josh Cartwright
Hey Bjorn- On Sat, Oct 05, 2013 at 11:11:36PM -0700, Bjorn Andersson wrote: > On Tue, Aug 27, 2013 at 2:55 PM, Stephen Warren wrote: > > On 08/27/2013 11:01 AM, Josh Cartwright wrote: > > ... > > cell 0 - address type (0: master, 1: unique ID, 2: group ID, ...) > > I think it would make sense to

Re: [PATCH] ARM: sunxi: dts: Add support for the cubieboard3, the CubieTruck

2013-10-07 Thread Maxime Ripard
Hi Oliver, On Sat, Oct 05, 2013 at 05:17:27PM +0200, oliver+l...@schinagl.nl wrote: > From: Oliver Schinagl > > Cubieboard3, CT Please change the commit log to something meaningful. > Signed-off-by: Oliver Schinagl > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dt

[PATCH V3] ARM: OMAP3: Fix hardware detection for omap3630 when booted with device tree

2013-10-07 Thread Nishanth Menon
SoC family definitions at the moment are reactive to board needs as a result, beagle-xm would matchup with ti,omap3 which invokes omap3430_init_early instead of omap3630_init_early. Obviously, this is the wrong behavior. With clock node dts conversion, we get the following warnings as a result and

Re: [PATCH V2] ARM: OMAP3: Fix hardware detection for omap3630 when booted with device tree

2013-10-07 Thread Nishanth Menon
On 10/07/2013 03:30 PM, Nishanth Menon wrote: [...] > diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts > b/arch/arm/boot/dts/omap3-beagle-xm.dts > index 0c514dc..02dd4a9 100644 > --- a/arch/arm/boot/dts/omap3-beagle-xm.dts > +++ b/arch/arm/boot/dts/omap3-beagle-xm.dts > @@ -11,7 +11,7 @@ > >

[PATCH V2] ARM: OMAP3: Fix hardware detection for omap3630 when booted with device tree

2013-10-07 Thread Nishanth Menon
SoC family definitions at the moment are reactive to board needs as a result, beagle-xm would matchup with ti,omap3 which invokes omap3430_init_early instead of omap3630_init_early. Obviously, this is the wrong behavior. With clock node dts conversion, we get the following warnings as a result and

Re: [PATCH v2 01/29] c6x: use boot_command_line instead of private c6x_command_line

2013-10-07 Thread Mark Salter
On Mon, 2013-10-07 at 11:29 -0500, Rob Herring wrote: > From: Rob Herring > > Save some pointless copying of the kernel command line and just use > boot_command_line instead. > > Also remove default_command_line as it is not referenced anywhere, and > the DT code already handles the default comm

Re: [PATCH v3 05/19] clk: at91: add PMC main clock

2013-10-07 Thread boris brezillon
On 07/10/2013 18:51, Nicolas Ferre wrote: On 08/08/2013 07:06, Boris BREZILLON : This patch adds new at91 main oscillator clock implementation using common clk framework. If rate is not provided during clock registration it is calculated using the slow clock (main clk parent in this case) rate

[PATCH v2 0/4] Add Broadcom Capri pinctrl driver

2013-10-07 Thread Sherman Yin
The following patches adds a pinctrl driver for Broadcom Capri (BCM281xx) SoCs. The first patch, adding the void * to pinctrl_pin_desc, has been previously discussed with LinusW. See this thread: http://lists.infradead.org/pipermail/linux-arm-kernel/2013-April/165880.html --- v2: Use hyphens inst

[PATCH v2 3/4] ARM: pinctrl: Add Broadcom Capri pinctrl driver

2013-10-07 Thread Sherman Yin
Adds pinctrl driver for Broadcom Capri (BCM281xx) SoCs. Signed-off-by: Sherman Yin Reviewed-by: Christian Daudt Reviewed-by: Matt Porter --- v2: Use hyphens instead of underscore in DT property names. --- arch/arm/mach-bcm/Kconfig |2 + drivers/pinctrl/Kconfig | 10 + drive

[PATCH v2 4/4] pinctrl: Enable pinctrl for Broadcom Capri SoCs

2013-10-07 Thread Sherman Yin
Enable pinctrl for Broadcom Capri (BCM281xx) SoCs. Signed-off-by: Sherman Yin Reviewed-by: Christian Daudt Reviewed-by: Matt Porter --- v2: Use hyphens instead of underscore in DT property names. --- arch/arm/boot/dts/bcm11351.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arc

[PATCH v2 2/4] pinctrl: Add pinctrl binding for Broadcom Capri SoCs

2013-10-07 Thread Sherman Yin
Adds pinctrl driver devicetree binding for Broadcom Capri (BCM281xx) SoCs. Signed-off-by: Sherman Yin Reviewed-by: Christian Daudt Reviewed-by: Matt Porter --- v2: Use hyphens instead of underscore in DT property names. --- .../bindings/pinctrl/brcm,capri-pinctrl.txt| 419

[PATCH v2 1/4] pinctrl: Add void * to pinctrl_pin_desc

2013-10-07 Thread Sherman Yin
drv_data is added to the pinctrl_pin_desc for drivers to define additional driver-specific per-pin data. Signed-off-by: Sherman Yin Reviewed-by: Christian Daudt Reviewed-by: Matt Porter --- Change-Id: I78b2c44b93d88b04897fd0af80ffce213e338d6b v2: Use hyphens instead of underscore in DT property

Re: [PATCH v7 1/5] ARM: add basic support for Trusted Foundations

2013-10-07 Thread Stephen Warren
On 10/04/2013 10:37 AM, Alexandre Courbot wrote: > Trusted Foundations is a TrustZone-based secure monitor for ARM that > can be invoked using the same SMC-based API on all supported > platforms. This patch adds initial basic support for Trusted > Foundations using the ARM firmware API. Current fea

Re: [PATCH 2/2] ARM: dts: omap3-beagle: use 3630 definitions

2013-10-07 Thread Tony Lindgren
* Nishanth Menon [131007 09:57]: > beagle-xm currently would matchup with ti,omap3 which invokes > omap3430_init_early instead of omap3630_init_early. So add > compatiblity for 3630 to allow match > > Signed-off-by: Nishanth Menon > --- > arch/arm/boot/dts/omap3-beagle-xm.dts |2 +- > 1 fil

Re: [PATCH 1/2] Documentation: dt: OMAP: standardize SoC naming definition

2013-10-07 Thread Tony Lindgren
Hi, Few comments below. * Nishanth Menon [131007 09:57]: > SoC family definitions at the moment are reactive to board needs > as a result, beagle-xm would matchup with ti,omap3 which invokes > omap3430_init_early instead of omap3630_init_early. Obviously, this is > the wrong behavior. It seems

[PATCH 2/4] i2c: i2c-bcm-kona: Add support for high-speed mode

2013-10-07 Thread Tim Kryger
Add support for I2C high-speed mode (3.4 MHz). Signed-off-by: Tim Kryger Reviewed-by: Matt Porter Reviewed-by: Markus Mayer --- drivers/i2c/busses/i2c-bcm-kona.c | 116 ++ 1 file changed, 116 insertions(+) diff --git a/drivers/i2c/busses/i2c-bcm-kona.c b/d

[PATCH 4/4] ARM: dts: bcm28155-ap: Enable all the i2c busses

2013-10-07 Thread Tim Kryger
Enable all available i2c busses. Signed-off-by: Tim Kryger Reviewed-by: Christian Daudt Reviewed-by: Matt Porter Reviewed-by: Markus Mayer --- arch/arm/boot/dts/bcm28155-ap.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/

[PATCH 0/4] Add-Broadcom-Kona-I2C-Support

2013-10-07 Thread Tim Kryger
This series adds support for the Kona I2C bus found on Broadcom mobile SoCs like the bcm11351 (aka bcm281xx) and enables it on the bcm28155-ap board. It depends upon the following commits: https://lkml.org/lkml/2013/10/7/481 http://www.spinics.net/lists/arm-kernel/msg274964.html Tim Kryger (4

[PATCH 3/4] ARM: dts: bcm281xx: Add i2c busses

2013-10-07 Thread Tim Kryger
Add the DTS nodes for all the i2c busses in the SoC. Signed-off-by: Tim Kryger Reviewed-by: Christian Daudt Reviewed-by: Matt Porter Reviewed-by: Markus Mayer --- arch/arm/boot/dts/bcm11351.dtsi | 40 1 file changed, 40 insertions(+) diff --git a/arch

[PATCH 1/4] i2c: i2c-bcm-kona: Introduce Broadcom I2C Driver

2013-10-07 Thread Tim Kryger
Introduce support for Broadcom Serial Controller (BSC) I2C bus found in the Kona family of Mobile SoCs. FIFO hardware is utilized but only standard mode (100kHz), fast mode (400kHz), and fast mode plus (1MHz) bus speeds are supported. Signed-off-by: Tim Kryger Reviewed-by: Matt Porter Reviewed-

Re: [PATCHv7 00/36] ARM: OMAP: clock data conversion to DT

2013-10-07 Thread Tony Lindgren
* Tony Lindgren [131007 08:49]: > * Tero Kristo [131006 23:43]: > > On 10/07/2013 05:15 AM, Tony Lindgren wrote: > > >* Tero Kristo [131004 08:42]: > > >>Hi, > > >> > > >>Just a gentle reminder, anybody have any comments on this series or > > >>should we start queuing stuff? > > > > > >Well omap

[PATCH v2 3/6] ARM: dts: Specify clocks for SDHCIs on bcm11351

2013-10-07 Thread Tim Kryger
Specify the external clock label in each SDHCI node. Signed-off-by: Tim Kryger Reviewed-by: Markus Mayer Reviewed-by: Matt Porter --- arch/arm/boot/dts/bcm11351.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index

[PATCH v2 2/6] ARM: dts: Specify clocks for UARTs on bcm11351

2013-10-07 Thread Tim Kryger
Rather than declaring the frequency of the external clock, specify the label of the clock such that the driver may determine the frequency on its own. Signed-off-by: Tim Kryger Reviewed-by: Markus Mayer Reviewed-by: Matt Porter --- arch/arm/boot/dts/bcm11351.dtsi | 8 1 file changed,

[PATCH v2 0/6] Update Kona drivers to use clocks

2013-10-07 Thread Tim Kryger
This series declares the clocks present on bcm11351 (aka bcm281xx) SoCs to be fixed at the rates configured by development bootloaders and then updates the Kona drivers to make use of clock calls where appropriate. This patch series depends on the following three commits being present: https://lk

[PATCH v2 6/6] mmc: sdhci-bcm-kona: Add basic use of clocks

2013-10-07 Thread Tim Kryger
Enable the external clock needed by the host controller during the probe and disable it during the remove. Signed-off-by: Tim Kryger Reviewed-by: Markus Mayer Reviewed-by: Matt Porter --- drivers/mmc/host/sdhci-bcm-kona.c | 30 -- 1 file changed, 28 insertions(+), 2

[PATCH v2 5/6] ARM: dts: Specify clocks for timer on bcm11351

2013-10-07 Thread Tim Kryger
Specify the external clock label in the timer node. Signed-off-by: Tim Kryger Reviewed-by: Markus Mayer Reviewed-by: Matt Porter --- arch/arm/boot/dts/bcm11351.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.

[PATCH v2 4/6] clocksource: kona: Add basic use of external clock

2013-10-07 Thread Tim Kryger
When an clock handle is specified in the device tree, enable it and use it to determine the external clock frequency. Signed-off-by: Tim Kryger Reviewed-by: Markus Mayer Reviewed-by: Matt Porter --- drivers/clocksource/bcm_kona_timer.c | 14 +++--- 1 file changed, 11 insertions(+), 3 d

[PATCH v2 1/6] ARM: dts: Declare clocks as fixed on bcm11351

2013-10-07 Thread Tim Kryger
Declare clocks that are enabled and configured by bootloaders as fixed rate clocks in the DTS such that device drivers may use standard clock function calls. Signed-off-by: Tim Kryger Reviewed-by: Markus Mayer Reviewed-by: Matt Porter --- arch/arm/boot/dts/bcm11351.dtsi | 97 ++

Re: [PATCH v7 1/5] ARM: add basic support for Trusted Foundations

2013-10-07 Thread Kevin Hilman
Alexandre Courbot writes: > Trusted Foundations is a TrustZone-based secure monitor for ARM that > can be invoked using the same SMC-based API on all supported > platforms. This patch adds initial basic support for Trusted > Foundations using the ARM firmware API. Current features are limited > t

Re: [PATCH RFC 1/2] ARM: imx6qdl: provide pinctrl configurations for DAT3 pull-down

2013-10-07 Thread Russell King - ARM Linux
On Mon, Oct 07, 2013 at 01:53:43PM +0800, Shawn Guo wrote: > I think we can redefine only pad DAT3 in pinctrl_usdhc1_1_dat3cd, and > overwrite the DAT3 configuration in pinctrl_usdhc1_1 to save the > redundant data of other pads, something like the following. > > pinctrl_usdhc1_1_dat3cd: usdhc1grp

Re: [PATCHv0,RESEND] Add support for Intersil ISL12057 I2C RTC/Alarm chip

2013-10-07 Thread Arnaud Ebalard
Hi, Mark Rutland writes: > On Tue, Oct 01, 2013 at 09:21:01PM +0100, Arnaud Ebalard wrote: >> Hi, >> >> Netgear ReadyNAS 102 (Armada 370-base) NAS includes an Intersil ISL12057 >> I2C RTC/Alarm chip. As part of an effort to get full support for the NAS >> in mainline kernel, I wrote a driver fo

Re: [PATCH 1/3] thermal: bcm281xx: Add thermal driver

2013-10-07 Thread Wendy Ng
On 10/7/2013 9:12 AM, Eduardo Valentin wrote: On 07-10-2013 10:52, Eduardo Valentin wrote: On 04-10-2013 18:17, Wendy Ng wrote: Hello Eduardo, Hello Wendy, I have rebased my work on the top of yours and tried out the new way of registering the thermal zone.The new method is certainly m

[PATCH v2 04/29] arc: use unflatten_and_copy_device_tree

2013-10-07 Thread Rob Herring
From: Rob Herring Use the common unflatten_and_copy_device_tree to copy the built-in FDT out of init section. Signed-off-by: Rob Herring Acked-by: Vineet Gupta Acked-by: Grant Likely --- arch/arc/include/asm/mach_desc.h | 1 - arch/arc/kernel/devtree.c| 15 --- arch/arc/

Re: [PATCH v3 05/19] clk: at91: add PMC main clock

2013-10-07 Thread Nicolas Ferre
On 08/08/2013 07:06, Boris BREZILLON : This patch adds new at91 main oscillator clock implementation using common clk framework. If rate is not provided during clock registration it is calculated using the slow clock (main clk parent in this case) rate and MCFR register. Signed-off-by: Boris BR

[PATCH 1/2] Documentation: dt: OMAP: standardize SoC naming definition

2013-10-07 Thread Nishanth Menon
SoC family definitions at the moment are reactive to board needs as a result, beagle-xm would matchup with ti,omap3 which invokes omap3430_init_early instead of omap3630_init_early. Obviously, this is the wrong behavior. Eventually, we will have descriptors match only with SoC types and should not

[PATCH 2/2] ARM: dts: omap3-beagle: use 3630 definitions

2013-10-07 Thread Nishanth Menon
beagle-xm currently would matchup with ti,omap3 which invokes omap3430_init_early instead of omap3630_init_early. So add compatiblity for 3630 to allow match Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/omap3-beagle-xm.dts |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH 0/2] ARM: dts: OMAP: standardize SoC specific bindings

2013-10-07 Thread Nishanth Menon
This is a respin of [1] based on of Olof's comments to introduce a generic SoC binding. This standardizes the binding definitions for SoCs based on existing "implied" bindings and based on existing usage in arch/arm/mach-omap2/soc.h. Eventually we should be able to get rid of soc_is_xyz() functions

[PATCH v2 28/29] metag: use common of_flat_dt_match_machine

2013-10-07 Thread Rob Herring
From: Rob Herring Convert metag to use the common of_flat_dt_get_machine_name function. Signed-off-by: Rob Herring [james.hogan: fix missing arch_get_next_mach and const mismatch] Reported-by: Guenter Roeck Signed-off-by: James Hogan --- arch/metag/include/asm/mach/arch.h | 2 +- arch/metag

[PATCH v2 15/29] microblaze: use early_init_dt_scan

2013-10-07 Thread Rob Herring
From: Rob Herring Convert microblaze to use new early_init_dt_scan function. Signed-off-by: Rob Herring Tested-by: Michal Simek Cc: microblaze-ucli...@itee.uq.edu.au --- arch/microblaze/kernel/prom.c | 17 +++-- arch/microblaze/kernel/setup.c | 2 +- 2 files changed, 4 insertion

[PATCH v2 02/29] openrisc: use boot_command_line instead of private cmd_line

2013-10-07 Thread Rob Herring
From: Rob Herring Save some pointless copying of the kernel command line and just use boot_command_line instead. The DT code already handles CONFIG_CMDLINE, so a separate copy is not needed. Signed-off-by: Rob Herring Cc: Jonas Bonn Cc: li...@lists.openrisc.net Reviewed-by: Grant Likely ---

[PATCH v2 27/29] arm64: use common of_flat_dt_get_machine_name

2013-10-07 Thread Rob Herring
From: Rob Herring Convert arm64 to use the common of_flat_dt_get_machine_name function. Signed-off-by: Rob Herring Acked-by: Catalin Marinas Cc: Will Deacon Cc: linux-arm-ker...@lists.infradead.org --- arch/arm64/kernel/setup.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-

[PATCH v2 20/29] arm: set initrd_start/initrd_end for fdt scan

2013-10-07 Thread Rob Herring
From: Rob Herring In order to unify the initrd scanning for DT across architectures, make arm set initrd_start and initrd_end instead of the physical addresses. This is aligned with all other architectures. Signed-off-by: Rob Herring Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Ac

[PATCH v2 23/29] openrisc: remove unnecessary prom.c includes

2013-10-07 Thread Rob Herring
From: Rob Herring It appears openrisc prom.c was just copied from another arch with a bunch of unnecessary includes. Remove all the unecessary ones. Signed-off-by: Rob Herring Cc: Jonas Bonn Cc: li...@lists.openrisc.net --- arch/openrisc/kernel/prom.c | 22 -- 1 file chang

[PATCH v2 05/29] openrisc: use unflatten_and_copy_device_tree

2013-10-07 Thread Rob Herring
From: Rob Herring Use the common unflatten_and_copy_device_tree to copy the built-in FDT out of init section. This moves the copy later in the boot, but there do not appear to be any references to strings in the FDT before the copy. Signed-off-by: Rob Herring Cc: Jonas Bonn Cc: li...@lists.ope

[PATCH v2 25/29] arc: use common of_flat_dt_match_machine

2013-10-07 Thread Rob Herring
From: Rob Herring Convert arc to use the common of_flat_dt_match_machine function. Signed-off-by: Rob Herring Acked-by: Vineet Gupta --- arch/arc/kernel/devtree.c | 65 +-- 1 file changed, 18 insertions(+), 47 deletions(-) diff --git a/arch/arc/ker

[PATCH v2 18/29] xtensa: use early_init_dt_scan

2013-10-07 Thread Rob Herring
From: Rob Herring Convert xtensa to use new early_init_dt_scan function. Signed-off-by: Rob Herring Acked-by: Max Filippov Cc: Chris Zankel Cc: linux-xte...@linux-xtensa.org --- arch/xtensa/kernel/setup.c | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --gi

[PATCH v2 16/29] mips: use early_init_dt_scan

2013-10-07 Thread Rob Herring
From: Rob Herring Convert mips to use new early_init_dt_scan function. Remove early_init_dt_scan_memory_arch Signed-off-by: Rob Herring Cc: Ralf Baechle Cc: linux-m...@linux-mips.org Acked-by: John Crispin --- arch/mips/include/asm/prom.h | 3 --- arch/mips/kernel/prom.c | 39 +++-

[PATCH v2 09/29] of: Introduce common early_init_dt_scan

2013-10-07 Thread Rob Herring
From: Rob Herring Most architectures scan the all the same items early in the FDT and none are really architecture specific. Create a common early_init_dt_scan to unify the early scan of root, memory, and chosen nodes in the flattened DT. Signed-off-by: Rob Herring Acked-by: Grant Likely ---

[PATCH v2 01/29] c6x: use boot_command_line instead of private c6x_command_line

2013-10-07 Thread Rob Herring
From: Rob Herring Save some pointless copying of the kernel command line and just use boot_command_line instead. Also remove default_command_line as it is not referenced anywhere, and the DT code already handles the default command line. Signed-off-by: Rob Herring Cc: Mark Salter Cc: Aurelien

[PATCH v2 03/29] of: create unflatten_and_copy_device_tree

2013-10-07 Thread Rob Herring
From: Rob Herring Several architectures using DT support built-in dtb's in the init section. These platforms need to copy the dtb from init since the strings are referenced after unflattening. Every arch has their own copying routine which do the same thing. Create a common function, unflatten_an

[PATCH v2 00/29] Early flattened DT init consolidation

2013-10-07 Thread Rob Herring
From: Rob Herring This is the first of 2 series to do some consolidation of per architecture Device Tree code. We now have 12 architectures with DT support. As new architectures have been added, much of the DT related code for the early flattened DT scanning has been duplicated. Yet little of thi

[PATCH v2 17/29] openrisc: use early_init_dt_scan

2013-10-07 Thread Rob Herring
From: Rob Herring Convert openrisc to use new early_init_dt_scan function. Signed-off-by: Rob Herring Cc: Jonas Bonn Cc: li...@lists.openrisc.net --- arch/openrisc/kernel/prom.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/arch/openrisc/kernel/prom.c b/a

[PATCH v2 06/29] x86: use unflatten_and_copy_device_tree

2013-10-07 Thread Rob Herring
From: Rob Herring Use the common unflatten_and_copy_device_tree to copy the built-in FDT out of init section. Signed-off-by: Rob Herring Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org --- arch/x86/kernel/devicetree.c | 23 --- 1 file changed

[PATCH v2 11/29] arm: use early_init_dt_scan

2013-10-07 Thread Rob Herring
From: Rob Herring Convert arm to use new early_init_dt_scan function. Signed-off-by: Rob Herring Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/kernel/devtree.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/arch/arm/kernel/devtree

[PATCH v2 08/29] metag: use unflatten_and_copy_device_tree

2013-10-07 Thread Rob Herring
From: Rob Herring Use the common unflatten_and_copy_device_tree to copy the built-in FDT out of init section. Signed-off-by: Rob Herring Cc: James Hogan --- arch/metag/kernel/devtree.c | 16 arch/metag/kernel/setup.c | 4 +--- 2 files changed, 1 insertion(+), 19 deletions(

[PATCH v2 07/29] xtensa: use unflatten_and_copy_device_tree

2013-10-07 Thread Rob Herring
From: Rob Herring Use the common unflatten_and_copy_device_tree to copy the built-in FDT out of init section. Signed-off-by: Rob Herring Cc: Chris Zankel Acked-by: Max Filippov Cc: linux-xte...@linux-xtensa.org Acked-by: Grant Likely --- arch/xtensa/kernel/setup.c | 19 +--

[PATCH v2 26/29] arm: use common of_flat_dt_match_machine

2013-10-07 Thread Rob Herring
From: Rob Herring Convert arm to use the common of_flat_dt_match_machine function. Signed-off-by: Rob Herring Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org --- arch/arm/kernel/devtree.c | 42 -- 1 file changed, 20 insertions(+), 22 deletions

[PATCH v2 19/29] of: create default early_init_dt_add_memory_arch

2013-10-07 Thread Rob Herring
From: Rob Herring Create a weak version of early_init_dt_add_memory_arch which uses memblock. This will unify all architectures except ones with custom memory bank structs. Signed-off-by: Rob Herring Cc: Catalin Marinas Cc: Will Deacon Cc: Michal Simek Cc: Jonas Bonn Acked-by: Grant Likely

Re: [PATCH v2 19/29] of: create default early_init_dt_add_memory_arch

2013-10-07 Thread Catalin Marinas
On Mon, Oct 07, 2013 at 05:29:27PM +0100, Rob Herring wrote: > From: Rob Herring > > Create a weak version of early_init_dt_add_memory_arch which uses > memblock. This will unify all architectures except ones with custom > memory bank structs. > > Signed-off-by: Rob Herring > Cc: Catalin Marina

[PATCH v2 22/29] of: remove early_init_dt_setup_initrd_arch

2013-10-07 Thread Rob Herring
From: Rob Herring All arches do essentially the same thing now for early_init_dt_setup_initrd_arch, so it can now be removed. Signed-off-by: Rob Herring Acked-by: Vineet Gupta Cc: Russell King Cc: Mark Salter Cc: Aurelien Jacquiot Cc: James Hogan Cc: Michal Simek Cc: Ralf Baechle Cc: Jon

[PATCH v2 13/29] c6x: use early_init_dt_scan

2013-10-07 Thread Rob Herring
From: Rob Herring Convert c6x to use new early_init_dt_scan function. Signed-off-by: Rob Herring Acked-by: Mark Salter Cc: Aurelien Jacquiot Cc: linux-c6x-...@linux-c6x.org --- arch/c6x/kernel/devicetree.c | 19 --- arch/c6x/kernel/setup.c | 2 +- 2 files changed, 1 ins

[PATCH v2 14/29] metag: use early_init_dt_scan

2013-10-07 Thread Rob Herring
From: Rob Herring Convert metag to use new early_init_dt_scan function. Signed-off-by: Rob Herring Cc: James Hogan --- arch/metag/kernel/devtree.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/metag/kernel/devtree.c b/arch/metag/kernel/devtree.c index 049af56.

[PATCH v2 21/29] arm64: set initrd_start/initrd_end for fdt scan

2013-10-07 Thread Rob Herring
From: Rob Herring In order to unify the initrd scanning for DT across architectures, make arm64 use initrd_start and initrd_end instead of the physical addresses. Signed-off-by: Rob Herring Acked-by: Catalin Marinas Cc: Will Deacon Cc: linux-arm-ker...@lists.infradead.org --- arch/arm64/mm/i

[PATCH v2 29/29] mips: use common of_flat_dt_get_machine_name

2013-10-07 Thread Rob Herring
From: Rob Herring Convert mips to use the common of_flat_dt_get_machine_name function. Signed-off-by: Rob Herring Cc: Ralf Baechle Cc: linux-m...@linux-mips.org Acked-by: John Crispin --- arch/mips/kernel/prom.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --gi

[PATCH v2 24/29] of: introduce common FDT machine related functions

2013-10-07 Thread Rob Herring
From: Rob Herring Introduce common of_flat_dt_match_machine and of_flat_dt_get_machine_name functions to unify architectures' handling of machine level model and compatible properties. Several architectures match the root compatible string with an arch specific list of machine descriptors duplic

[PATCH v2 10/29] arc: use early_init_dt_scan

2013-10-07 Thread Rob Herring
From: Rob Herring Convert arc to use new early_init_dt_scan function. Signed-off-by: Rob Herring Acked-by: Vineet Gupta --- arch/arc/kernel/devtree.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/arch/arc/kernel/devtree.c b/arch/arc/kernel/devtree.c index

[PATCH v2 12/29] arm64: use early_init_dt_scan

2013-10-07 Thread Rob Herring
From: Rob Herring Convert arm64 to use new early_init_dt_scan function. Signed-off-by: Rob Herring Acked-by: Catalin Marinas Cc: Will Deacon Cc: linux-arm-ker...@lists.infradead.org --- arch/arm64/kernel/setup.c | 31 +++ 1 file changed, 3 insertions(+), 28 deleti

[PATCH 2/2] ARM: dts: dra7-evm: Add mmc2 node for eMMC support

2013-10-07 Thread Balaji T K
Add mmc2 dt node to dra7-evm board and model eMMC vcc as fixed regulator. Signed-off-by: Balaji T K --- Rebase to for_3.13/dts and removed ti,non-removable arch/arm/boot/dts/dra7-evm.dts | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/dra7

[PATCH v2 1/2] ARM: dts: dra7-evm: Add mmc1 node for micro-sd support

2013-10-07 Thread Balaji T K
Add mmc1 dt node to dra7-evm board. Input for ldo1 regulator is controlled by gpio 5 of pcf8575 chip (0x21) on i2c1 bus. When dt support for gpio-pcf857x is available, input supply will be modelled as cascaded regulator. Signed-off-by: Balaji T K --- Rebase to for_3.13/dts arch/arm/boot/dts/dra

  1   2   3   >