Re: OMAP display subsystem - does it work?

2013-12-19 Thread Tomi Valkeinen
On 2013-12-19 18:56, Tony Lindgren wrote: >>> Russell, maybe all you're missing is just omapfb.vram=0:2M,1:5M or similar >>> from your kernel cmdline? >> >> Nothing like that should be required for normal operation. > > Hmm maybe these instructions need some updating then: > > http://omappedia.o

Re: [PATCHv11 00/49] ARM: TI SoC clock DT conversion

2013-12-19 Thread Keerthy
Hi Tero, On Thursday 19 December 2013 04:53 PM, Tero Kristo wrote: Hi, So, once again new series. I guess I should have addressed all comments for v10 except the extern sharing of __clk_of_table. Based on discussion with Mike, this should be fine to fix later. Main changes compared to v10: - r

Re: [PATCH] ARM: configs: Select USB PHY for AM335x SoC

2013-12-19 Thread Ezequiel Garcia
On Thu, Dec 12, 2013 at 12:14:29PM -0300, Ezequiel Garcia wrote: > Enable this option as it's required to use USB on AM335x SoC. > > Signed-off-by: Ezequiel Garcia > --- > arch/arm/configs/omap2plus_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/configs/omap2plus_de

Re: [RFT/RFC/PATCH 00/31] arm: omap: irq: cleanup INTC driver

2013-12-19 Thread Felipe Balbi
On Thu, Dec 19, 2013 at 10:48:15AM -0800, Tony Lindgren wrote: > * Felipe Balbi [131120 10:10]: > > Afte these patches, we're very close to being able > > to move arch/arm/mach-omap2/irq.c to drivers/irqchip/irq-intc.c > > That would be nice :) > > > All which would be missing is for Tony to dr

Re: [RFCv4 05/11] Documentation: DT: omap-ssi binding documentation

2013-12-19 Thread Tony Lindgren
* Sebastian Reichel [131215 15:30]: > Create device tree binding documentation for > OMAP Synchronous Serial Interface (SSI) device. > > Signed-off-by: Sebastian Reichel > --- > Documentation/devicetree/bindings/hsi/omap_ssi.txt | 69 > ++ > 1 file changed, 69 insertions(+)

Re: [PATCHv11 07/49] clk: divider: add support for low level ops

2013-12-19 Thread Tero Kristo
On 12/19/2013 08:26 PM, Tony Lindgren wrote: * Tero Kristo [131219 03:26]: Divider clock can now be registered to use low level register access ops. Preferred initialization method is via clock description. This seems to make omap2 not boot for me. No output whatsoever even with DEBUG_LL and

Re: [RFT/RFC/PATCH 00/31] arm: omap: irq: cleanup INTC driver

2013-12-19 Thread Tony Lindgren
* Felipe Balbi [131120 10:10]: > Afte these patches, we're very close to being able > to move arch/arm/mach-omap2/irq.c to drivers/irqchip/irq-intc.c That would be nice :) > All which would be missing is for Tony to drop all OMAP2/3 board > files so we remove the few pending bits and pieces lef

Re: [PATCH 0/4] OMAPDSS: DT support for N900 panel

2013-12-19 Thread Tony Lindgren
* Sebastian Reichel [131219 09:01]: > On Thu, Dec 19, 2013 at 08:42:31AM -0800, Tony Lindgren wrote: > > * Sebastian Reichel [131219 05:57]: > > > On Thu, Dec 19, 2013 at 11:08:40AM +0100, Sebastian Reichel wrote: > > > > > Are you able to check if the bootloader muxes dat3 to SDI mode? > > > >

Re: [PATCH] ARM: dts: Add support for sbc-3xxx with cm-t3730

2013-12-19 Thread Tony Lindgren
* Igor Grinberg [131218 23:46]: > On 12/18/13 23:16, Tony Lindgren wrote: > > [...] > > > > > I've kept your Ack as the changes were minor. If no other > > comments, I will apply this into omap-for-v3.14/dt probably > > on Thursday. > > Looks great! Thanks! Thanks for your comments, I've push

Re: [PATCH/RFC] ARM: omap3: Split the pinmux core device

2013-12-19 Thread Tony Lindgren
* Sebastian Reichel [131219 09:19]: > On Wed, Dec 04, 2013 at 06:11:50PM +0100, Laurent Pinchart wrote: > > The omap3_pmx_core pinmux device in the device tree handles the system > > controller module (SCM) PADCONFS fonction. Its control registers are > > split in two distinct areas, with other SC

Re: [PATCHv11 07/49] clk: divider: add support for low level ops

2013-12-19 Thread Tony Lindgren
* Tero Kristo [131219 03:26]: > Divider clock can now be registered to use low level register access ops. > Preferred initialization method is via clock description. This seems to make omap2 not boot for me. No output whatsoever even with DEBUG_LL and earlyprintk. Regards, Tony -- To unsubscrib

Re: [RFC PATCH] gpio: add GPIO hogging mechanism

2013-12-19 Thread Felipe Balbi
On Thu, Dec 19, 2013 at 06:18:40PM +0100, boris brezillon wrote: > Hello Felipe, > > On 19/12/2013 17:47, Felipe Balbi wrote: > >On Thu, Dec 19, 2013 at 08:41:09AM -0800, Greg Kroah-Hartman wrote: > >>On Thu, Dec 19, 2013 at 03:34:31PM +0100, Boris BREZILLON wrote: > >>>GPIO hogging is a way to re

Re: OMAP display subsystem - does it work?

2013-12-19 Thread Tony Lindgren
* Russell King - ARM Linux [131219 09:58]: > On Wed, Dec 18, 2013 at 10:23:54AM -0800, Tony Lindgren wrote: > > * Tomi Valkeinen [131218 05:56]: > > > I don't have an LDP board at hand, and I wasn't able to find out anything > > > from > > > the logs. > > > > > > I think I should change omapfb

Re: [PATCHv11 00/49] ARM: TI SoC clock DT conversion

2013-12-19 Thread Tony Lindgren
* Nishanth Menon [131219 07:08]: > On 12/19/2013 05:23 AM, Tero Kristo wrote: > [...] > > > >branch: 3.13-rc4-dt-clks-v11 : contains everything, shall me merged last > > > Tero, > Considering Pauls' concerns with v10 last time, I ran > [1] and got a few sparse, smatch and checkpatch warnings: >

Re: OMAP display subsystem - does it work?

2013-12-19 Thread Russell King - ARM Linux
On Wed, Dec 18, 2013 at 10:23:54AM -0800, Tony Lindgren wrote: > * Tomi Valkeinen [131218 05:56]: > > I don't have an LDP board at hand, and I wasn't able to find out anything > > from > > the logs. > > > > I think I should change omapfb to print something if it's probed > > succesfully, > > as

Re: OMAP display subsystem - does it work?

2013-12-19 Thread Russell King - ARM Linux
On Wed, Dec 18, 2013 at 03:54:42PM +0200, Tomi Valkeinen wrote: > On 2013-12-18 14:00, Russell King - ARM Linux wrote: > > > So, here goes. LDP3430: > > > > OMAP DSS rev 2.0 > > omapdss DPI error: can't get VDDS_DSI regulator > > omapfb omapfb: failed to connect default display > > omapfb omapfb

Re: [PATCH/RFC] ARM: omap3: Split the pinmux core device

2013-12-19 Thread Sebastian Reichel
On Wed, Dec 04, 2013 at 06:11:50PM +0100, Laurent Pinchart wrote: > The omap3_pmx_core pinmux device in the device tree handles the system > controller module (SCM) PADCONFS fonction. Its control registers are > split in two distinct areas, with other SCM registers in-between. Those > other registe

Re: [PATCH 0/4] OMAPDSS: DT support for N900 panel

2013-12-19 Thread Sebastian Reichel
On Thu, Dec 19, 2013 at 08:42:31AM -0800, Tony Lindgren wrote: > * Sebastian Reichel [131219 05:57]: > > On Thu, Dec 19, 2013 at 11:08:40AM +0100, Sebastian Reichel wrote: > > > > Are you able to check if the bootloader muxes dat3 to SDI mode? > > > > > > The bootloader's source code is not avail

Re: OMAP display subsystem - does it work?

2013-12-19 Thread Tony Lindgren
* Tomi Valkeinen [131218 21:24]: > On 2013-12-18 20:23, Tony Lindgren wrote: > > > Hmm I had the framebuffer working with DT on LDP after fixing the twl4030 > > gpio regression with 0b2aa8bed3e1 (gpio: twl4030: Fix regression for twl > > gpio output) using this pdata quirks patch: > > > > [PATCH

Re: [PATCH 0/4] OMAPDSS: DT support for N900 panel

2013-12-19 Thread Tony Lindgren
* Sebastian Reichel [131219 05:57]: > On Thu, Dec 19, 2013 at 11:08:40AM +0100, Sebastian Reichel wrote: > > > Are you able to check if the bootloader muxes dat3 to SDI mode? > > > > The bootloader's source code is not available as far as i know. > > > > [...], but I get an external abort on non

Re: [PATCH v6 3/7] regulator: add pbias regulator support

2013-12-19 Thread Tony Lindgren
Looks good to me, just few minor comments below. * Balaji T K [131219 04:40]: > --- /dev/null > +++ b/drivers/regulator/pbias-regulator.c > @@ -0,0 +1,255 @@ > +/* > + * pbias-regulator.c > + * > + * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ > + * Author: Balaji T K

Re: [PATCH v6 5/7] ARM: dts: add pbias dt node

2013-12-19 Thread Tony Lindgren
* Balaji T K [131219 04:40]: > @@ -485,6 +503,7 @@ > dmas = <&sdma 61>, <&sdma 62>; > dma-names = "tx", "rx"; > status = "disabled"; > + pbias-supply = <&pbias_mmc_reg>; > }; > > mmc

Re: [PATCHv11 00/49] ARM: TI SoC clock DT conversion

2013-12-19 Thread Nishanth Menon
On 12/19/2013 05:23 AM, Tero Kristo wrote: [...] branch: 3.13-rc4-dt-clks-v11 : contains everything, shall me merged last Tero, Considering Pauls' concerns with v10 last time, I ran [1] and got a few sparse, smatch and checkpatch warnings: http://pastebin.mozilla.org/3810314 I think we can

Re: [PATCH V3] usb: musb: Fix unstable init of OTG_INTERFSEL.

2013-12-19 Thread Andreas Naumann
Am 19.12.2013 00:40, schrieb Grazvydas Ignotas: On Wed, Dec 18, 2013 at 5:35 PM, Felipe Balbi wrote: Hi, On Tue, Dec 17, 2013 at 05:48:33PM +0100, anaum...@ultratronik.de wrote: From: Andreas Naumann This is a hard to reproduce problem which leads to non-functional USB-OTG port in 0.1%-1%

Re: [PATCH 0/4] OMAPDSS: DT support for N900 panel

2013-12-19 Thread Sebastian Reichel
On Thu, Dec 19, 2013 at 11:08:40AM +0100, Sebastian Reichel wrote: > > Are you able to check if the bootloader muxes dat3 to SDI mode? > > The bootloader's source code is not available as far as i know. > > [...], but I get an external abort on non-linefetch. > So I can't check it :( Ok. This is

Re: [PATCHv2 02/10] spi/qspi: parse register by name.

2013-12-19 Thread Mark Brown
On Fri, Dec 06, 2013 at 07:54:43PM +0530, Sourav Poddar wrote: > Modify the qspi driver to parse reg information by name. > If "reg names" is not found, then revert back to normal > get resource. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCHv2 08/10] Documentation: bindings: ti-qspi: update binding information.

2013-12-19 Thread Mark Brown
On Fri, Dec 06, 2013 at 07:54:49PM +0530, Sourav Poddar wrote: > These update binding information for ti qspi controller. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCHv2 01/10] spi/spi.h: Add get_buf/put_buf support in spi master.

2013-12-19 Thread Mark Brown
On Fri, Dec 06, 2013 at 07:54:42PM +0530, Sourav Poddar wrote: > Add get_buf, put_buf api support in spi master. Please add this stuff along with the code implementing it. > + void(*configure_from_slave)(struct spi_device *spi); > + I don't understand this API at all - it takes no parame

Re: [PATCH v6 3/7] regulator: add pbias regulator support

2013-12-19 Thread Mark Brown
On Thu, Dec 19, 2013 at 06:08:36PM +0530, Balaji T K wrote: > pbias register controls internal power supply to sd card i/o pads > in most OMAPs (OMAP2-5, DRA7). > Control bits for selecting voltage level and > enabling/disabling are in the same PBIAS register. This is basically fine from a regulat

[PATCH v6 6/7] ARM: OMAP: enable SYSCON and REGULATOR_PBIAS in omap2plus_defconfig

2013-12-19 Thread Balaji T K
Enable REGULATOR_PBIAS needed for SD card on most OMAPs. Signed-off-by: Balaji T K --- arch/arm/configs/omap2plus_defconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index bfa80a1..f67baa

[PATCH v6 5/7] ARM: dts: add pbias dt node

2013-12-19 Thread Balaji T K
Add pbias regulator node as a child of system control module - syscon. Signed-off-by: Balaji T K --- Added control module region which has pbias register. remaining control module region for syscon can be added later when needed. arch/arm/boot/dts/dra7.dtsi | 19 +++ arch/

[PATCH v6 2/7] mmc: omap_hsmmc: handle vcc and vcc_aux independently

2013-12-19 Thread Balaji T K
handle vcc and vcc_aux independently to reduce indent. Signed-off-by: Balaji T K --- drivers/mmc/host/omap_hsmmc.c | 54 +++-- 1 files changed, 25 insertions(+), 29 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c inde

[PATCH v6 1/7] mmc: omap_hsmmc: use devm_regulator API

2013-12-19 Thread Balaji T K
Use devm_regulator API, while at it use devm_regulator_get_optional for optional vmmc_aux supply Signed-off-by: Balaji T K --- drivers/mmc/host/omap_hsmmc.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c

[PATCH v6 7/7] mmc: omap_hsmmc: remove pbias workaround

2013-12-19 Thread Balaji T K
remove pbias workaround Signed-off-by: Balaji T K --- drivers/mmc/host/omap_hsmmc.c | 20 +--- 1 files changed, 1 insertions(+), 19 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 0a390f8..0f0aa5d 100644 --- a/drivers/mmc/host/omap

[PATCH v6 4/7] mmc: omap_hsmmc: adapt hsmmc to use pbias regulator

2013-12-19 Thread Balaji T K
In DT case, PBAIS registers are programmed via regulator, use regulator APIs to control PBIAS. Signed-off-by: Balaji T K --- drivers/mmc/host/omap_hsmmc.c | 39 +++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c

[PATCH v6 3/7] regulator: add pbias regulator support

2013-12-19 Thread Balaji T K
pbias register controls internal power supply to sd card i/o pads in most OMAPs (OMAP2-5, DRA7). Control bits for selecting voltage level and enabling/disabling are in the same PBIAS register. Signed-off-by: Balaji T K --- Add support for sim pbias and get pbias register offset via standard reg p

[PATCH v6 0/7] mmc: omap_hsmmc: pbias dt and cleanup

2013-12-19 Thread Balaji T K
Few cleanups to reduce code indent, Add pbias_regulator support and adapt omap_hsmmc to use pbias regulator to configure required voltage on mmc1 pad(SD card) i/o rails on OMAP SoCs. Balaji T K (7): mmc: omap_hsmmc: use devm_regulator API mmc: omap_hsmmc: handle vcc and vcc_aux independently

[PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys.

2013-12-19 Thread Sourav Poddar
Add gpio keys node for am43x gp evm. Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/am437x-gp-evm.dts | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index 0dc248d..4eb72b8 100644 --- a/ar

[PATCHv2 8/9] arm: dts: am437x-gp-evm: Enable gpio.

2013-12-19 Thread Sourav Poddar
Enable gpio3, gpio4, it will be used by gpio matrix keys. Also, can be used by othe peripherals. Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/am437x-gp-evm.dts |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-

[PATCHv2 1/9] arm: dts: am4372: Add pwm-cells property for ecap device.

2013-12-19 Thread Sourav Poddar
Add "pwm-cells" node for all ecap, ehrpwm in am43x dtsi files. Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/am4372.dtsi |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 974d103..c314adb 100644 --- a/arch/arm

[PATCHv2 4/9] arm: dts: am43x-epos-evm: Add I2C2 data.

2013-12-19 Thread Sourav Poddar
Add I2C2 dts data. Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/am43x-epos-evm.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index 0899c5f..d781a69 100644 --- a/arch/arm/boot/dts/am43x-e

[PATCHv2 3/9] pinctrl: am43xx: dt-bindings: add MUX_MODE8

2013-12-19 Thread Sourav Poddar
From: Darren Etheridge AM43xx devices have an extra MUX_MODE for certain pins. Updating dt include to have MUX_MODE8 which maps to 0x8. Signed-off-by: Darren Etheridge Signed-off-by: Sourav Poddar --- include/dt-bindings/pinctrl/am43xx.h |1 + 1 file changed, 1 insertion(+) diff --git a/

[PATCHv2 2/9] ARM: dts: am43x-epos-evm: Add pwm backlight support.

2013-12-19 Thread Sourav Poddar
Add pwm backlight support for am43x epos evm. Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/am43x-epos-evm.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index fbf9c4c..0899c5f

[PATCHv2 7/9] arm: dts: am437x-gp-evm: Add pwm backlight support.

2013-12-19 Thread Sourav Poddar
Add pwm backlight support for gp evm. Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/am437x-gp-evm.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index 11d93ba..2e79bda 100644 ---

[PATCHv2 5/9] arm: dts: am43x-epos-evm: Add SPI data.

2013-12-19 Thread Sourav Poddar
Add SPI dts data. Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/am43x-epos-evm.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index d781a69..a7d0db1 100644 --- a/arch/arm/

[PATCHv2 6/9] arm: dts: am437x-gp-evm: Add gp dts.

2013-12-19 Thread Sourav Poddar
From: Lokesh Vutla AM437x GP EVM DTS with pinmux information to make I2C on EVM usable. Signed-off-by: Lokesh Vutla Signed-off-by: Sourav Poddar Signed-off-by: Afzal Mohammed --- .../devicetree/bindings/arm/omap/omap.txt |3 ++ arch/arm/boot/dts/Makefile

[PATCHv2 0/9] Add device nodes for am43x epos and gp evm.

2013-12-19 Thread Sourav Poddar
The patch series adds support for enabling pwm backlight, i2c2, spi and matrix gpio keys on am43x-epos-evm, while adding support for pwm, gpio keys on gp evm. Originally, this patches was divided into two seperate series, merging them into one and rebasing them on top of Benoit for_3.14/dts branc

[PATCHv11 49/49] ARM: OMAP3: use DT clock init if DT data is available

2013-12-19 Thread Tero Kristo
OMAP3 platforms support both DT and non-DT boot at the moment, make the clock init work according to the used setup. Signed-off-by: Tero Kristo Tested-by: Nishanth Menon Acked-by: Tony Lindgren --- arch/arm/mach-omap2/io.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-)

[PATCHv11 42/49] ARM: OMAP3: hwmod: initialize clkdm from clkdm_name

2013-12-19 Thread Tero Kristo
DT clocks are mostly missing clkdm info now, and this causes an issue with counter32k which makes its slave idlemode wrong and prevents core idle. Fixed by initializing the hwmod clkdm pointers for omap3 also which makes sure the clkdm flag matching logic works properly. This patch also changes t

[PATCHv11 40/49] ARM: OMAP2+: clock: use driver API instead of direct memory read/write

2013-12-19 Thread Tero Kristo
Clock nodes shall use the services provided by underlying drivers to access the hardware registers instead of direct memory read/write. Thus, change all the code to use the new omap2_clk_readl / omap2_clk_writel APIs for this. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/clkt_clksel.c |

[PATCHv11 37/49] ARM: dts: AM35xx: use DT clock data

2013-12-19 Thread Tero Kristo
AM35xx now uses the clock data from device tree. Most of the data is shared with OMAP3xxx, but as there is some delta, a new base .dtsi file is also created for the SoC. Signed-off-by: Tero Kristo --- arch/arm/boot/dts/am3517.dtsi |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/ar

[PATCHv11 46/49] ARM: OMAP: DRA7: Enable clock init

2013-12-19 Thread Tero Kristo
Initializes clock data from device tree. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/io.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 5854677..628a7f5 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c

[PATCHv11 29/49] ARM: dts: omap4 clock data

2013-12-19 Thread Tero Kristo
This patch creates a unique node for each clock in the OMAP4 power, reset and clock manager (PRCM). OMAP443x and OMAP446x have slightly different clock tree which is taken into account in the data. Signed-off-by: Tero Kristo --- arch/arm/boot/dts/omap4.dtsi | 54 ++ arch/arm/boot/dts

[PATCHv11 34/49] ARM: dts: DRA7: Add PCIe related clock nodes

2013-12-19 Thread Tero Kristo
From: J Keerthy This patch adds optfclk_pciephy_clk and optfclk_pciephy_div_clk which are used by PCIe phy. It also adds a mux clock to choose the source of optfclk_pciephy_div_clk clock. Signed-off-by: J Keerthy Signed-off-by: Tero Kristo Tested-by: Nishanth Menon Acked-by: Tony Lindgren --

[PATCHv11 31/49] ARM: dts: dra7 clock data

2013-12-19 Thread Tero Kristo
This patch creates a unique node for each clock in the DRA7 power, reset and clock manager (PRCM). TODO: apll_pcie clock node is still a dummy in this version, and proper support for the APLL should be added. Signed-off-by: Tero Kristo --- arch/arm/boot/dts/dra7.dtsi | 41 + arch/arm

[PATCHv11 47/49] ARM: AM43xx: Enable clock init

2013-12-19 Thread Tero Kristo
Initializes clock data from device tree. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/io.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 628a7f5..36817d1 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c

[PATCHv11 30/49] ARM: dts: omap5 clock data

2013-12-19 Thread Tero Kristo
This patch creates a unique node for each clock in the OMAP5 power, reset and clock manager (PRCM). Signed-off-by: Tero Kristo --- arch/arm/boot/dts/omap5.dtsi | 54 ++ arch/arm/boot/dts/omap54xx-clocks.dtsi | 1399 2 files changed, 1453 insertions(+)

[PATCHv11 35/49] ARM: dts: am33xx clock data

2013-12-19 Thread Tero Kristo
This patch creates a unique node for each clock in the AM33xx power, reset and clock manager (PRCM). Signed-off-by: Tero Kristo --- arch/arm/boot/dts/am33xx-clocks.dtsi | 664 ++ arch/arm/boot/dts/am33xx.dtsi| 28 ++ 2 files changed, 692 insertions(+)

[PATCHv11 41/49] ARM: OMAP: hwmod: fix an incorrect clk type cast with _get_clkdm

2013-12-19 Thread Tero Kristo
If the main clock for a hwmod is of basic clock type, it is illegal to type cast this to clk_hw_omap and will result in bogus data. Fixed by checking the clock flags before attempting the type cast. Signed-off-by: Tero Kristo Tested-by: Nishanth Menon Acked-by: Tony Lindgren --- arch/arm/mach-

[PATCHv11 39/49] ARM: OMAP2+: clock: add support for indexed memmaps

2013-12-19 Thread Tero Kristo
Using indexed memmaps is required for isolating the actual memory access from the clock code. Now, the driver providing the support for the clock IP block provides the low level routines for reading/writing clock registers also. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/clock.c | 26 +

[PATCHv11 48/49] ARM: AM33xx: remove old clock data and link in new clock init code

2013-12-19 Thread Tero Kristo
AM33xx clocks have now been moved to DT, thus remove the old data file and use the new init code under OMAP clock driver. Signed-off-by: Tero Kristo Tested-by: Nishanth Menon Acked-by: Tony Lindgren --- arch/arm/mach-omap2/Makefile |1 - arch/arm/mach-omap2/cclock33xx_data.c | 106

[PATCHv11 38/49] ARM: dts: am43xx clock data

2013-12-19 Thread Tero Kristo
This patch creates a unique node for each clock in the AM43xx power, reset and clock manager (PRCM). Signed-off-by: Tero Kristo --- arch/arm/boot/dts/am4372.dtsi| 28 ++ arch/arm/boot/dts/am43xx-clocks.dtsi | 656 ++ 2 files changed, 684 insertions(+)

[PATCHv11 44/49] ARM: OMAP2+: io: use new clock init API

2013-12-19 Thread Tero Kristo
clk_init is now separated to a common function which gets called for all SoC:s, which initializes the DT clocks and calls the SoC specific clock init. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/common.h |2 +- arch/arm/mach-omap2/io.c | 32 +++- arch

[PATCHv11 43/49] ARM: OMAP2+: PRM: add support for initializing PRCM clock modules from DT

2013-12-19 Thread Tero Kristo
This patch provides top level functionality for the DT clock initialization. Clock tree is initialized hierarchically starting from IP modules (CM/PRM/PRCM) going down towards individual clock nodes, and finally initializing clockdomains once all the clocks are ready. Signed-off-by: Tero Kristo -

[PATCHv11 28/49] CLK: TI: add am43xx clock init file

2013-12-19 Thread Tero Kristo
clk-43xx.c now contains the clock init functionality for am43xx, including DT clock registration and adding of static clkdev entries. Signed-off-by: Tero Kristo Tested-by: Nishanth Menon Acked-by: Tony Lindgren --- drivers/clk/ti/Makefile |2 +- drivers/clk/ti/clk-43xx.c | 118 +

[PATCHv11 18/49] CLK: TI: add support for clockdomain binding

2013-12-19 Thread Tero Kristo
Some OMAP clocks require knowledge about their parent clockdomain for book keeping purposes. This patch creates a new DT binding for TI clockdomains, which act as a collection of device clocks. Signed-off-by: Tero Kristo --- .../devicetree/bindings/clock/ti/clockdomain.txt | 24 +++ driv

[PATCHv11 20/49] CLK: TI: add omap4 clock init file

2013-12-19 Thread Tero Kristo
clk-44xx.c now contains the clock init functionality for omap4, including DT clock registration and adding of static clkdev entries. Signed-off-by: Tero Kristo Tested-by: Nishanth Menon Acked-by: Tony Lindgren --- arch/arm/mach-omap2/clock.h |1 - drivers/clk/ti/Makefile |1 + driv

[PATCHv11 14/49] clk: ti: add composite clock support

2013-12-19 Thread Tero Kristo
This is a multipurpose clock node, which contains support for multiple sub-clocks. Uses basic composite clock type to implement the actual functionality, and TI specific gate, mux and divider clocks. Signed-off-by: Tero Kristo --- .../devicetree/bindings/clock/ti/composite.txt | 54 a

[PATCHv11 33/49] ARM: dts: DRA7: Change apll_pcie_m2_ck to fixed factor clock

2013-12-19 Thread Tero Kristo
From: J Keerthy This patch changes apll_pcie_m2_ck to fixed factor clock as there are no configurable divider associated to m2. Signed-off-by: J Keerthy Signed-off-by: Tero Kristo Tested-by: Nishanth Menon Acked-by: Tony Lindgren --- arch/arm/boot/dts/dra7xx-clocks.dtsi |9 +++-- 1

[PATCHv11 12/49] CLK: TI: Add DPLL clock support

2013-12-19 Thread Tero Kristo
The OMAP clock driver now supports DPLL clock type. This patch also adds support for DT DPLL nodes. Signed-off-by: Tero Kristo --- .../devicetree/bindings/clock/ti/dpll.txt | 75 +++ arch/arm/mach-omap2/clock.h| 164 +- arch/arm/mach-omap2/clock3xxx.h

[PATCHv11 13/49] CLK: TI: add autoidle support

2013-12-19 Thread Tero Kristo
TI clk driver now routes some of the basic clocks through own registration routine to allow autoidle support. This routine just checks a couple of device node properties and adds autoidle support if required, and just passes the registration forward to basic clocks. Signed-off-by: Tero Kristo ---

[PATCHv11 19/49] clk: ti: add support for basic mux clock

2013-12-19 Thread Tero Kristo
ti,mux-clock provides now a binding for basic mux support. This is just using the basic clock type. Signed-off-by: Tero Kristo --- Documentation/devicetree/bindings/clock/ti/mux.txt | 76 +++ drivers/clk/ti/Makefile|2 +- drivers/clk/ti/mux.c

[PATCHv11 17/49] CLK: TI: add support for gate clock

2013-12-19 Thread Tero Kristo
This patch adds support for TI specific gate clocks. These behave as basic gate-clock, but have different ops / hw-ops for controlling the actual gate, for example waiting until the clock is ready. Several sub-types are supported: - ti,gate-clock: basic gate clock with default ops/hwops - ti,clkdm-

[PATCHv11 32/49] ARM: dts: clk: Add apll related clocks

2013-12-19 Thread Tero Kristo
From: J Keerthy The patch adds a mux node to choose the parent of apll_pcie_ck node. Signed-off-by: J Keerthy Signed-off-by: Tero Kristo Tested-by: Nishanth Menon Acked-by: Tony Lindgren --- arch/arm/boot/dts/dra7xx-clocks.dtsi | 14 +++--- 1 file changed, 11 insertions(+), 3 dele

[PATCHv11 21/49] CLK: TI: add omap5 clock init file

2013-12-19 Thread Tero Kristo
clk-54xx.c now contains the clock init functionality for omap5, including DT clock registration and adding of static clkdev entries. Signed-off-by: Tero Kristo Tested-by: Nishanth Menon Acked-by: Tony Lindgren --- arch/arm/mach-omap2/io.c |1 + drivers/clk/ti/Makefile |1 + drivers/

[PATCHv11 27/49] CLK: TI: add omap3 clock init file

2013-12-19 Thread Tero Kristo
clk-3xxx.c now contains the clock init functionality for omap3, including DT clock registration and adding of static clkdev entries. Signed-off-by: Tero Kristo Tested-by: Nishanth Menon Acked-by: Tony Lindgren --- arch/arm/mach-omap2/clock3xxx.h |1 - drivers/clk/ti/Makefile |2

[PATCHv11 15/49] CLK: ti: add support for ti divider-clock

2013-12-19 Thread Tero Kristo
This patch adds support for TI divider clock binding, which simply uses the basic clock divider to provide the features needed. Signed-off-by: Tero Kristo --- .../devicetree/bindings/clock/ti/divider.txt | 114 ++ drivers/clk/ti/Makefile|3 +- drive

[PATCHv11 16/49] clk: ti: add support for TI fixed factor clock

2013-12-19 Thread Tero Kristo
This behaves exactly in similar manner to basic fixed-factor-clock, but adds a few properties on top for handling clock hardware autoidling. Signed-off-by: Tero Kristo --- .../bindings/clock/ti/fixed-factor-clock.txt | 43 + drivers/clk/ti/Makefile

[PATCHv11 25/49] CLK: TI: add am33xx clock init file

2013-12-19 Thread Tero Kristo
clk-33xx.c now contains the clock init functionality for am33xx, including DT clock registration and adding of static clkdev entries. This patch also moves the omap2_clk_enable_init_clocks declaration to the driver include, as this is needed by the am33xx clock init code. Signed-off-by: Tero Kris

[PATCHv11 22/49] CLK: TI: omap5: Initialize USB_DPLL at boot

2013-12-19 Thread Tero Kristo
From: Roger Quadros USB_DPLL must be initialized and locked at boot so that USB modules can work. Signed-off-by: Roger Quadros Signed-off-by: Tero Kristo Tested-by: Nishanth Menon Acked-by: Tony Lindgren --- drivers/clk/ti/clk-54xx.c | 18 +- 1 file changed, 17 insertions(

[PATCHv11 24/49] CLK: TI: add dra7 clock init file

2013-12-19 Thread Tero Kristo
clk-7xx.c now contains the clock init functionality for dra7, including DT clock registration and adding of static clkdev entries. Signed-off-by: Tero Kristo Tested-by: Nishanth Menon Acked-by: Tony Lindgren --- drivers/clk/ti/Makefile |1 + drivers/clk/ti/clk-7xx.c | 332 +++

[PATCHv11 10/49] CLK: TI: add DT alias clock registration mechanism

2013-12-19 Thread Tero Kristo
Some devices require their clocks to be available with a specific dev-id con-id mapping. With DT, the clocks can be found by default only with their name, or alternatively through the device node of the consumer. With drivers, that don't support DT fully yet, add mechanism to register specific cloc

[PATCHv11 23/49] CLK: TI: DRA7: Add APLL support

2013-12-19 Thread Tero Kristo
From: J Keerthy The patch adds support for DRA7 PCIe APLL. The APLL sources the optional functional clocks for PCIe module. APLL stands for Analog PLL. This is different when comapred with DPLL meaning Digital PLL, the phase detection is done using an analog circuit. Signed-off-by: J Keerthy S

[PATCHv11 26/49] CLK: TI: add interface clock support for OMAP3

2013-12-19 Thread Tero Kristo
OMAP3 has interface clocks in addition to functional clocks, which require special handling for the autoidle and idle status register offsets mainly. Signed-off-by: Tero Kristo --- .../devicetree/bindings/clock/ti/interface.txt | 54 + arch/arm/mach-omap2/clock.h

[PATCHv11 05/49] clk: gate: add support for registering gate clock from descriptor

2013-12-19 Thread Tero Kristo
New clk_register_desc() call can be used to register this clock type now. Signed-off-by: Tero Kristo --- drivers/clk/clk-gate.c | 31 +++ include/linux/clk-provider.h | 19 +++ 2 files changed, 50 insertions(+) diff --git a/drivers/clk/clk-g

[PATCHv11 04/49] clk: mux: add support for registering mux clock from descriptor

2013-12-19 Thread Tero Kristo
New clk_register_desc() call can be used to register this clock type now. Signed-off-by: Tero Kristo --- drivers/clk/clk-mux.c| 37 + include/linux/clk-provider.h | 21 + 2 files changed, 58 insertions(+) diff --git a/drivers/c

[PATCHv11 09/49] clk: mux: add support for low level ops

2013-12-19 Thread Tero Kristo
Multiplexer clock can now be registered to use low level register access ops. Preferred initialization method is via clock description. Signed-off-by: Tero Kristo --- drivers/clk/clk-mux.c| 11 --- include/linux/clk-provider.h |4 2 files changed, 12 insertions(+), 3 d

[PATCHv11 00/49] ARM: TI SoC clock DT conversion

2013-12-19 Thread Tero Kristo
Hi, So, once again new series. I guess I should have addressed all comments for v10 except the extern sharing of __clk_of_table. Based on discussion with Mike, this should be fine to fix later. Main changes compared to v10: - rebased on top of 3.13-rc4 - applied clk_desc support from Mike, did so

[PATCHv11 03/49] clk: divider: add support for registering divider clock from descriptor

2013-12-19 Thread Tero Kristo
New clk_register_desc() call can be used to register this clock type now. Signed-off-by: Tero Kristo --- drivers/clk/clk-divider.c| 34 ++ include/linux/clk-provider.h | 23 +++ 2 files changed, 57 insertions(+) diff --git a/drivers/cl

[PATCHv11 06/49] clk: add support for low level register ops

2013-12-19 Thread Tero Kristo
Low level register ops are needed for providing SoC or IP block specific access routines to clock registers. Subsequent patches add support for the low level ops for the individual clock drivers. Signed-off-by: Tero Kristo --- drivers/clk/clk.c| 28 inc

[PATCHv11 02/49] clk: fixed-rate: add support for registering fixed-rate clock from descriptor

2013-12-19 Thread Tero Kristo
From: Mike Turquette New clk_register_desc() call can be used to register this clock type now. Signed-off-by: Mike Turquette Signed-off-by: Tero Kristo --- drivers/clk/clk-fixed-rate.c | 24 include/linux/clk-provider.h | 15 +++ 2 files changed, 39 in

[PATCHv11 08/49] clk: gate: add support for low level ops

2013-12-19 Thread Tero Kristo
Gate clock can now be registered to use low level register access ops. Preferred initialization method is via clock description. Signed-off-by: Tero Kristo --- drivers/clk/clk-gate.c | 11 --- include/linux/clk-provider.h |4 2 files changed, 12 insertions(+), 3 deletion

[PATCHv11 01/49] clk: add support for registering clocks from description

2013-12-19 Thread Tero Kristo
From: Mike Turquette clk_register_desc is the primary interface for populating the clock tree with new clock nodes. In time, this will replace the various hardware-specific registration functions (e.g. clk_register_gate). Signed-off-by: Mike Turquette Signed-off-by: Tero Kristo --- drivers/cl

[PATCHv11 07/49] clk: divider: add support for low level ops

2013-12-19 Thread Tero Kristo
Divider clock can now be registered to use low level register access ops. Preferred initialization method is via clock description. Signed-off-by: Tero Kristo --- drivers/clk/clk-divider.c| 11 --- include/linux/clk-provider.h |4 2 files changed, 12 insertions(+), 3 delet

[PATCHv11 11/49] CLK: ti: add init support for clock IP blocks

2013-12-19 Thread Tero Kristo
ti_dt_clk_init_provider() can now be used to initialize the contents of a single clock IP block. This parses all the clocks under the IP block and calls the corresponding init function for them. This patch also introduces a helper function for the TI clock drivers to get register info from DT and

Re: [PATCH 0/4] OMAPDSS: DT support for N900 panel

2013-12-19 Thread Sebastian Reichel
On Thu, Dec 19, 2013 at 07:30:50AM +0200, Tomi Valkeinen wrote: > On 2013-12-19 02:51, Sebastian Reichel wrote: > > On Wed, Dec 18, 2013 at 10:55:37PM +0100, Sebastian Reichel wrote: > >> On Tue, Dec 17, 2013 at 07:29:34PM +0200, Tomi Valkeinen wrote: > > I added N900 display DT support on top

Re: [PATCH 2/2] ARM: dts: tps65910 backup battery regulator

2013-12-19 Thread Markus Pargmann
On Wed, Dec 18, 2013 at 04:25:46PM +, Mark Brown wrote: > On Wed, Dec 18, 2013 at 03:50:08PM +0100, Markus Pargmann wrote: > > This patch adds a devicetree node for the backup battery regulator. > > Your previous patch missed an update to the binding documentation for > the regulator driver.

Re: [PATCH 1/2] regulator: tps65910: Add backup battery regulator

2013-12-19 Thread Markus Pargmann
On Wed, Dec 18, 2013 at 04:24:52PM +, Mark Brown wrote: > On Wed, Dec 18, 2013 at 03:50:07PM +0100, Markus Pargmann wrote: > > > @@ -771,7 +794,7 @@ static struct regulator_ops tps65910_ops = { > > .get_voltage_sel= tps65910_get_voltage_sel, > > .set_voltage_sel= tps659

Re: [PATCH 0/6] net: cpsw: Support for am335x chip MACIDs

2013-12-19 Thread Markus Pargmann
Hi, On Wed, Dec 18, 2013 at 10:40:58PM +0530, Mugunthan V N wrote: > On Wednesday 18 December 2013 10:38 PM, Felipe Balbi wrote: > > On Wed, Dec 18, 2013 at 10:30:55PM +0530, Mugunthan V N wrote: > >> On Wednesday 18 December 2013 10:17 PM, Markus Pargmann wrote: > >>> Hi, > >>> > >>> This series