Re: [PATCH 24/32] pci: PCIe driver for Marvell Armada 370/XP systems

2013-03-12 Thread Thierry Reding
On Mon, Mar 11, 2013 at 01:38:38PM -1000, Mitch Bradley wrote: > On 3/11/2013 1:25 PM, Jason Gunthorpe wrote: > > On Mon, Mar 11, 2013 at 11:50:19AM -1000, Mitch Bradley wrote: > > > >>> However - the driver runs the core in a 'root port bridge mode' where > >>> the config header register block yo

Re: [PATCH v2 1/2] can: at91_can: add dt support

2013-03-12 Thread Ludovic Desroches
On Mon, Mar 11, 2013 at 06:32:19PM +0100, Marc Kleine-Budde wrote: > On 03/11/2013 06:26 PM, ludovic.desroc...@atmel.com wrote: > > From: Ludovic Desroches > > > > Add device tree support. > > > > Signed-off-by: Ludovic Desroches > > --- > > Changes in v2: > > - code cleanup > > - correct typo

Re: [PATCH 2/2] cpufreq: cpufreq-cpu0: provide compatibility string for DT matchup

2013-03-12 Thread Shawn Guo
Copied devicetree-discuss list. On Mon, Mar 11, 2013 at 06:05:30PM -0500, Nishanth Menon wrote: > commit 5553f9e (cpufreq: instantiate cpufreq-cpu0 as a platform_driver) > now forces platform device to be registered for allowing cpufreq-cpu0 > to be used by SoCs. example: drivers/cpufreq/highbank-

[PATCH v3 5/5] ARM: davinci: da850-evm: add SPI flash support

2013-03-12 Thread Manjunathappa, Prakash
Enable m25p64 SPI flash support on da850-EVM. Also add partition information of SPI flash. Signed-off-by: Manjunathappa, Prakash --- arch/arm/boot/dts/da850-evm.dts | 40 +++ 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/d

[PATCH v3 4/5] ARM: davinci: da850: override SPI DT node device name

2013-03-12 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by spi-davinci driver. Without this clk_get of spi-davinci DT driver fails. Signed-off-by: Manjunathappa, Prakash --- arch/arm/mach-davinci/da8xx-dt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-

[PATCH v3 0/5] Enable SPI flash support on da850-evm DT kernel

2013-03-12 Thread Manjunathappa, Prakash
Patch enables support for m25p64 SPI flash support on da850-EVM. Testing information: da850-evm comes with partitions specified in DT blob. Able to mount/umount and create/delete files on filesystem partition. Depends on below patch in spi-next branch of git://git.secretlab.ca/git/linux-2.6.git.

[PATCH v3 3/5] ARM: davinci: da850: add SPI1 DT node

2013-03-12 Thread Manjunathappa, Prakash
Patch adds SPI1 DT node along with pinmux data. Signed-off-by: Manjunathappa, Prakash --- arch/arm/boot/dts/da850.dtsi | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 3ec1bda..327fb06 100

[PATCH v3 1/5] spi/davinci: no wildcards in DT compatible property

2013-03-12 Thread Manjunathappa, Prakash
Follow DT naming convention for compatible property of the blob. Use first chip name that introduced the specific version of the device. Signed-off-by: Manjunathappa, Prakash --- New patch in this series. drivers/spi/spi-davinci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) d

[PATCH v3 2/5] spi/davinci: add DT binding documentation

2013-03-12 Thread Manjunathappa, Prakash
From: Murali Karicheri Get back missed out binding documentation submitted along with below patch: "spi/davinci: add OF support for the spi controller" [prakash...@ti.com: Follow DT naming convention for compatible property] Signed-off-by: Murali Karicheri Reviewed-by: Grant Likely Signed-off-

[PATCH v2] hwmon: ntc: Add DT with IIO support to NTC thermistor driver

2013-03-12 Thread Naveen Krishna Chatradhi
This patch adds DT support to NTC driver to parse the platform data. Also adds the support to work as an iio device. During the probe ntc driver gets the respective channels of ADC and uses iio_raw_read calls to get the ADC converted value. Signed-off-by: Naveen Krishna Chatradhi --- Changes si

Re: [PATCH 4/9] ARM: dts: OMAP3: Add support for OMAP3430 SDP board

2013-03-12 Thread Javier Martinez Canillas
On Tue, Mar 12, 2013 at 3:42 AM, Kumar, Anil wrote: > > On Mon, Mar 11, 2013 at 23:23:32, Hunter, Jon wrote: >> >> On 03/08/2013 08:25 PM, Anil Kumar wrote: >> > Hi Jon, >> > >> > On Fri, Mar 8, 2013 at 10:57 PM, Jon Hunter wrote: >> >> Adds basic device-tree support for OMAP3430 SDP board which

Re: [PATCH 01/13] usb: phy: nop: Add device tree support and binding information

2013-03-12 Thread Roger Quadros
On 03/11/2013 05:52 PM, Marc Kleine-Budde wrote: > On 02/05/2013 08:26 AM, Felipe Balbi wrote: >> Hi, >> >> On Mon, Feb 04, 2013 at 05:58:48PM +0200, Roger Quadros wrote: >>> The PHY clock, clock rate, VCC regulator and RESET regulator >>> can now be provided via device tree. >>> >>> Signed-off-by:

Re: [PATCH 02/13] USB: phy: nop: Defer probe if device needs VCC/RESET

2013-03-12 Thread Roger Quadros
On 03/11/2013 05:58 PM, Marc Kleine-Budde wrote: > On 02/05/2013 10:43 AM, Roger Quadros wrote: >> On 02/05/2013 11:09 AM, Felipe Balbi wrote: >>> On Tue, Feb 05, 2013 at 10:44:05AM +0200, Roger Quadros wrote: >> diff --git a/include/linux/usb/nop-usb-xceiv.h >> b/include/linux/usb/nop-usb

[PATCH v2 1/5] documentation: dt: bindings: cpsw: cleanup documentation

2013-03-12 Thread Mugunthan V N
Move all the slave note properties to separate section to reduce the confusion between slave note properties and cpsw node properties Signed-off-by: Mugunthan V N --- Documentation/devicetree/bindings/net/cpsw.txt |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Do

[PATCH v2 5/5] drivers: net: ethernet: cpsw: implement get phy_id via ioctl

2013-03-12 Thread Mugunthan V N
Implement get phy_id via ioctl SIOCGMIIPHY. In switch mode active phy_id is returned and in dual EMAC mode slave's specific phy_id is returned. Signed-off-by: Mugunthan V N --- drivers/net/ethernet/ti/cpsw.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/

[PATCH v2 4/5] driver: net: ethernet: cpsw: implement interrupt pacing via ethtool

2013-03-12 Thread Mugunthan V N
This patch implements support for interrupt pacing block of CPSW via ethtool Inetrrupt pacing block is common of both the ethernet interface in dual emac mode Signed-off-by: Mugunthan V N --- drivers/net/ethernet/ti/cpsw.c | 104 1 file changed, 104 inse

[PATCH v2 2/5] drivers: net: ethernet: cpsw: change cpts_active_slave to active_slave

2013-03-12 Thread Mugunthan V N
Change cpts_active_slave to active_slave so that the same DT property can be used to ethtool and SIOCGMIIPHY. CC: Richard Cochran Signed-off-by: Mugunthan V N --- Documentation/devicetree/bindings/net/cpsw.txt |7 --- arch/arm/boot/dts/am33xx.dtsi |2 +- drivers/net

[PATCH v2 0/5] cpsw interrupt pacing and get/set phy setting implementation

2013-03-12 Thread Mugunthan V N
This patch serires implements the following features in CPSW driver * get/set phy link settings * interrupt pacing * get phy id via ioctl cmd SIOCGMIIPHY Changes from initial version * Made active-slave common for cpts, ethtool and SIOCGMIIPHY ioctl * Cleaned CPSW DT binding documentation by seper

[PATCH v2 3/5] driver: net: ethernet: cpsw: implement ethtool get/set phy setting

2013-03-12 Thread Mugunthan V N
This patch implements get/set of the phy settings via ethtool apis Signed-off-by: Mugunthan V N --- drivers/net/ethernet/ti/cpsw.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 98aa17a..8

[PATCH 0/6] mfd: omap-usb-host: Device tree support for 3.10

2013-03-12 Thread Roger Quadros
Hi Samuel, These patches implement device tree support for the OMAP High Speed USB Host subsystem. The corresponding EHCI & SoC patches will be sent separately and this set has no build dependencies with them. Patch 3 is acutally a bug fix which should go into 3.9-rc. I've sent it separately to y

[PATCH 1/6] mfd: omap-usb-host: update nports in platform_data

2013-03-12 Thread Roger Quadros
EHCI driver would need to know the number of ports available on the platform. We set the nports parameter of platform_data based on IP version if it was not already provided. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi Acked-by: Samuel Ortiz --- drivers/mfd/omap-usb-host.c |1 + 1

[PATCH 2/6] mfd: omap-usb-host: Remove PHY reset handling code

2013-03-12 Thread Roger Quadros
PHY reset GPIO handling will be done in the PHY driver Signed-off-by: Roger Quadros Acked-by: Felipe Balbi Acked-by: Samuel Ortiz --- drivers/mfd/omap-usb-host.c | 47 --- 1 files changed, 0 insertions(+), 47 deletions(-) diff --git a/drivers/mfd/omap

[PATCH 3/6] mfd: omap-usb-host: Actually update hostconfig

2013-03-12 Thread Roger Quadros
The helper functions omap_usbhs_rev1_hostconfig() and omap_usbhs_rev2_hostconfig() don't write into the hostconfig register. Make sure that we write the return value into the hostconfig register. Signed-off-by: Roger Quadros --- drivers/mfd/omap-usb-host.c |6 +++--- 1 files changed, 3 inser

[PATCH 4/6] mfd: omap-usb-tll: move configuration code to omap_tll_init()

2013-03-12 Thread Roger Quadros
This is because we want to get rid of platform_data usage from probe(). The only information we need is PORT_MODE, and this can be supplied to us by the user (i.e. omap-usb-host.c). We also move channel clock management from runtime PM handlers into omap_tll_enable/disable(). Signed-off-by: Roger

[PATCH 5/6] mfd: omap-usb-tll: Add device tree support and binding information

2013-03-12 Thread Roger Quadros
Allows the OMAP USB TLL module to be specified via device tree. Signed-off-by: Roger Quadros --- .../devicetree/bindings/mfd/omap-usb-tll.txt | 17 + drivers/mfd/omap-usb-tll.c | 10 ++ 2 files changed, 27 insertions(+), 0 deletions(-) c

[PATCH 6/6] mfd: omap-usb-host: Add device tree support and binding information

2013-03-12 Thread Roger Quadros
Allows the OMAP HS USB host controller to be specified via device tree. Signed-off-by: Roger Quadros Reviewed-by: Mark Rutland --- .../devicetree/bindings/mfd/omap-usb-host.txt | 80 ++ drivers/mfd/omap-usb-host.c| 161 +++- 2 files change

Re: [PATCH V2 3/9] ARM: dt: tegra: add bindings of power management configurations for PMC

2013-03-12 Thread Marc Dietrich
Hi Joseph, Am Dienstag, 12. März 2013, 12:02:42 schrieb Joseph Lo: > The PMC mostly controls the entry and exit of the system from different > sleep modes. Different platform or system may have different configurations. > The power management configurations of PMC is represented as some > properti

[PATCH 00/12] USB: ehci-omap: Device tree support for 3.10

2013-03-12 Thread Roger Quadros
Hi Greg, These patches implement device tree support for the OMAP's EHCI host controller. The corresponding MFD/SoC patches will be sent separately and this set has no dependeny with them. NOTE: Last 2 patches are new and still need and Ack from Alan Stern. Please accept this set after he has ack

[PATCH 01/12] USB: EHCI: split ehci-omap out to a separate driver

2013-03-12 Thread Roger Quadros
From: Alan Stern This patch (as1645) converts ehci-omap over to the new "ehci-hcd is a library" approach, so that it can coexist peacefully with other EHCI platform drivers and can make use of the private area allocated at the end of struct ehci_hcd. Signed-off-by: Alan Stern --- drivers/usb/h

[PATCH 02/12] USB: ehci-omap: Use devm_ioremap_resource()

2013-03-12 Thread Roger Quadros
Make use of devm_ioremap_resource() and correct comment. Signed-off-by: Roger Quadros Acked-by: Alan Stern --- drivers/usb/host/ehci-omap.c | 21 + 1 files changed, 5 insertions(+), 16 deletions(-) diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c i

[PATCH 03/12] USB: ehci-omap: Use PHY APIs to get the PHY device and put it out of suspend

2013-03-12 Thread Roger Quadros
For each port that is in PHY mode we obtain a PHY device using the USB PHY library and put it out of suspend. It is up to platform code to associate the PHY to the controller's port and it is up to the PHY driver to manage the PHY's resources. Also remove weird spacing around declarations we come

[PATCH 05/12] USB: ehci-omap: Remove PHY regulator handling code

2013-03-12 Thread Roger Quadros
PHY regulator handling must be done in the PHY driver Signed-off-by: Roger Quadros Acked-by: Felipe Balbi Acked-by: Alan Stern --- drivers/usb/host/ehci-omap.c | 34 -- 1 files changed, 0 insertions(+), 34 deletions(-) diff --git a/drivers/usb/host/ehci-omap.

[PATCH 04/12] USB: ehci-omap: Remove PHY reset handling code

2013-03-12 Thread Roger Quadros
Reset GPIO handling for the PHY must be done in the PHY driver. We use the PHY helpers instead to reset the PHY. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi Acked-by: Alan Stern --- drivers/usb/host/ehci-omap.c | 72 ++ 1 files changed, 10 inse

[PATCH 06/12] USB: ehci-omap: Select NOP USB transceiver driver

2013-03-12 Thread Roger Quadros
In PHY mode we need to have the nop-usb-xceiv transceiver driver to operate, so select it in Kconfig. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi Acked-by: Alan Stern --- drivers/usb/host/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/host/

[PATCH 07/12] USB: ehci-omap: Get platform resources by index rather than by name

2013-03-12 Thread Roger Quadros
Since there is only one resource per type we don't really need to use resource name to obtain it. This also also makes it easier for device tree adaptation. Signed-off-by: Roger Quadros Acked-by: Alan Stern --- drivers/usb/host/ehci-omap.c |5 ++--- 1 files changed, 2 insertions(+), 3 delet

[PATCH 08/12] USB: ohci-omap3: Get platform resources by index rather than by name

2013-03-12 Thread Roger Quadros
Since there is only one resource per type we don't really need to use resource name to obtain it. This also also makes it easier for device tree adaptation. Signed-off-by: Roger Quadros Acked-by: Alan Stern --- drivers/usb/host/ohci-omap3.c |5 ++--- 1 files changed, 2 insertions(+), 3 dele

[PATCH 09/12] USB: ohci-omap3: Add device tree support and binding information

2013-03-12 Thread Roger Quadros
Allows the OHCI controller found in OMAP3 and later chips to be specified via device tree. Signed-off-by: Roger Quadros Reviewed-by: Mark Rutland Acked-by: Alan Stern --- .../devicetree/bindings/usb/ohci-omap3.txt | 15 +++ drivers/usb/host/ohci-omap3.c

[PATCH 10/12] USB: ehci-omap: Add device tree support and binding information

2013-03-12 Thread Roger Quadros
Allows the OMAP EHCI controller to be specified via device tree. Signed-off-by: Roger Quadros Reviewed-by: Mark Rutland Acked-by: Alan Stern --- .../devicetree/bindings/usb/ehci-omap.txt | 32 + drivers/usb/host/ehci-omap.c | 37 ++

[PATCH 11/12] USB: ehci-omap: Try to get PHY even if not in PHY mode

2013-03-12 Thread Roger Quadros
Even when not in PHY mode, the USB device on the port (e.g. HUB) might need resources like RESET which can be modelled as a PHY device. So try to get the PHY device in any case. Signed-off-by: Roger Quadros CC: Alan Stern --- drivers/usb/host/ehci-omap.c |7 --- 1 files changed, 4 inser

[PATCH 12/12] USB: ehci-omap: Fix detection in HSIC mode

2013-03-12 Thread Roger Quadros
The HSIC devices need to be kept in reset while the EHCI controller is being initialized and only brought out of reset after the initialization is complete, else HSIC devices will not be detected. Signed-off-by: Roger Quadros CC: Alan Stern --- drivers/usb/host/ehci-omap.c | 28 +++---

Re: [PATCH 12/12] USB: ehci-omap: Fix detection in HSIC mode

2013-03-12 Thread kishon
Hi, On Tuesday 12 March 2013 04:14 PM, Roger Quadros wrote: The HSIC devices need to be kept in reset while the EHCI controller is being initialized and only brought out of reset after the initialization is complete, else HSIC devices will not be detected. Signed-off-by: Roger Quadros CC: Alan

Re: [PATCH 12/12] USB: ehci-omap: Fix detection in HSIC mode

2013-03-12 Thread Roger Quadros
On 03/12/2013 12:51 PM, kishon wrote: > Hi, > > On Tuesday 12 March 2013 04:14 PM, Roger Quadros wrote: >> The HSIC devices need to be kept in reset while the EHCI controller >> is being initialized and only brought out of reset after the >> initialization is complete, else HSIC devices will not b

Re: [PATCH V3 1/2] ARM: dts: OMAP2+: Add SDMA controller bindings and nodes

2013-03-12 Thread Benoit Cousson
+ Seb G. Hi Jon, How to you plan to merge that series? Seb's just posted a McBSP adaptation to SDMA binding, so I'll have to take this one before being able to merge any other SDMA driver adaptation patches. I'm fine to take that one, if you are OK, to avoid merge conflict in DTS later. On 02/2

[PATCH v2 12/12] USB: ehci-omap: Fix detection in HSIC mode

2013-03-12 Thread Roger Quadros
The HSIC devices need to be kept in reset while the EHCI controller is being initialized and only brought out of reset after the initialization is complete, else HSIC devices will not be detected. Also remove outdated TODO list from header. Signed-off-by: Roger Quadros CC: Alan Stern --- drive

Re: [PATCH 1/1] ARM: OMAP: gpmc: request CS address space for ethernet chips

2013-03-12 Thread Russell King - ARM Linux
On Sun, Mar 10, 2013 at 06:18:22PM +0100, Javier Martinez Canillas wrote: > +static int gpmc_probe_ethernet_child(struct platform_device *pdev, > + struct device_node *child) > +{ > + int ret, cs; > + unsigned long base; > + struct resource res; > +

[PATCH 0/8] USB: PHY: nop: Device tree support for 3.10

2013-03-12 Thread Roger Quadros
Hi Felipe, These patches add device tree support as well as PHY resource handling (i.e. clock, reset, power) for the NOP transceiver driver. Please add these patches before your patches that move/rename the drivers/usb/otg/nop-usb-xceiv.c file. NOTE: The first patch that changes platform header

[PATCH 1/8] usb: phy: nop: Add some parameters to platform data

2013-03-12 Thread Roger Quadros
Add clk_rate parameter to platform data. If supplied, the NOP phy driver will program the clock to that rate during probe. Also add 2 flags, needs_vcc and needs_reset. If the flag is set and the regulator couldn't be found then the driver will bail out with -EPROBE_DEFER. Signed-off-by: Roger Qua

[PATCH 2/8] usb: phy: nop: use devm_kzalloc()

2013-03-12 Thread Roger Quadros
Use resource managed kzalloc. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi --- drivers/usb/otg/nop-usb-xceiv.c | 17 + 1 files changed, 5 insertions(+), 12 deletions(-) diff --git a/drivers/usb/otg/nop-usb-xceiv.c b/drivers/usb/otg/nop-usb-xceiv.c index a3ce24b..af5287

[PATCH 3/8] usb: phy: nop: Manage PHY clock

2013-03-12 Thread Roger Quadros
If the PHY has a clock associated to it then manage the clock. We just enable the clock in .init() and disable it in .shutdown(). Add clk_rate parameter in platform data and configure the clock rate during probe if supplied. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi --- drivers/usb/o

[PATCH 4/8] usb: phy: nop: Handle power supply regulator for the PHY

2013-03-12 Thread Roger Quadros
We use "vcc" as the supply name for the PHY's power supply. The power supply will be enabled during .init() and disabled during .shutdown() Signed-off-by: Roger Quadros Acked-by: Felipe Balbi --- drivers/usb/otg/nop-usb-xceiv.c | 18 ++ 1 files changed, 18 insertions(+), 0 del

[PATCH 5/8] usb: phy: nop: Handle RESET for the PHY

2013-03-12 Thread Roger Quadros
We expect the RESET line to be modeled as a regulator with supply name "reset". The regulator should be modeled such that enabling the regulator brings the PHY device out of RESET and disabling the regulator holds the device in RESET. They PHY will be held in RESET in .shutdown() and brought out o

[PATCH 6/8] usb: phy: nop: use new PHY API to register PHY

2013-03-12 Thread Roger Quadros
We would need to support multiple PHYs of the same type so use the new PHY API usb_add_phy_dev() to register the PHY. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi --- drivers/usb/otg/nop-usb-xceiv.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/usb/ot

[PATCH 7/8] usb: phy: nop: Add device tree support and binding information

2013-03-12 Thread Roger Quadros
The PHY clock, clock rate, VCC regulator and RESET regulator can now be provided via device tree. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi --- .../devicetree/bindings/usb/usb-nop-xceiv.txt | 34 +++ drivers/usb/otg/nop-usb-xceiv.c| 35

[PATCH 8/8] USB: phy: nop: Defer probe if device needs VCC/RESET

2013-03-12 Thread Roger Quadros
Add 2 flags, needs_vcc and needs_reset to platform data. If the flag is set and the regulator couldn't be found then we bail out with -EPROBE_DEFER. For device tree boot we depend on presensce of vcc-supply/ reset-supply properties to decide if we should bail out with -EPROBE_DEFER or just continu

[PATCH 00/24] ARM: OMAP2+: Adapt to ehci-omap changes for 3.10

2013-03-12 Thread Roger Quadros
Hi Tony, These patches provide the SoC side code required to support the changes in the OMAP USB Host drivers done in [1], [2] & [3]. Device tree support is added for Beagleboard and Panda. NOTE: The first patch needs to be shared between the OMAP tree and Felipe's USB tree. [1] MFD side change

[PATCH 01/24] usb: phy: nop: Add some parameters to platform data

2013-03-12 Thread Roger Quadros
Add clk_rate parameter to platform data. If supplied, the NOP phy driver will program the clock to that rate during probe. Also add 2 flags, needs_vcc and needs_reset. If the flag is set and the regulator couldn't be found then the driver will bail out with -EPROBE_DEFER. Signed-off-by: Roger Qua

[PATCH 02/24] ARM: OMAP2+: omap4panda: Provide USB Host's PHY platform data

2013-03-12 Thread Roger Quadros
Add platform device and data for 'nop-usb-xceiv'. This will be used as PHY for HS USB port 1, so provide binding information for it. Get rid of managing the PHY clock as it will be done by the PHY driver. For that to work we create a clock alias that links the PHY clock name to the PHY device name

[PATCH 03/24] ARM: OMAP2+: omap4panda: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Model RESET and Power for HS USB Port 1 as GPIO fixed regulators and link them to the 'nop-usb-xceiv' PHY by making them as "reset" and "vcc" supplies. The RESET and Power will then be managed by the PHY driver. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi --- arch/arm/mach-omap2/board-

[PATCH 04/24] ARM: OMAP3: Beagle: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 2, so provide binding information for it. Model RESET and Power for HS USB Port 2 as GPIO fixed regulators and link them to the 'nop-usb-xceiv' PHY. NOTE: Register the PHY device only after the power regulator has

[PATCH 06/24] ARM: OMAP3: 3630SDP: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Add 2 platform devices for 'nop-usb-xceiv'. These will be used as PHYs for HS USB ports 1 and 2 so provide binding information for them. Model RESET for HS USB Ports 1 and 2 as GPIO fixed regulators and link them to the 2 PHYs we just created. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi

[PATCH 05/24] ARM: OMAP3: 3430SDP: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Add 2 platform devices for 'nop-usb-xceiv'. These will be used as PHYs for HS USB ports 1 and 2 so provide binding information for them. Model RESET for HS USB Ports 1 and 2 as GPIO fixed regulators and link them to the 2 PHYs we just created. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi

[PATCH 07/24] ARM: OMAP: AM3517crane: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 1, so provide binding information for it. Model RESET and Power for HS USB Port 1 as GPIO fixed regulators and link them to the 'nop-usb-xceiv' PHY. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi --- arch/

[PATCH 08/24] ARM: OMAP: AM3517evm: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Add 2 platform devices for 'nop-usb-xceiv'. These will be used as a PHY for HS USB Port 1 and 2, so provide binding information for them. Model RESET for HS USB Port 1 as GPIO fixed regulator and link it to the 'nop-usb-xceiv' PHY on port 1. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi -

[PATCH 09/24] ARM: OMAP3: cm-t35: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Add 2 platform devices for 'nop-usb-xceiv'. These will be used as PHYs for HS USB ports 1 and 2 so provide binding information for them. Model RESET for HS USB Ports 1 and 2 as GPIO fixed regulators and link them to the 2 PHYs we just created. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi

[PATCH 10/24] ARM: OMAP3: cm-t3517: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Add 2 platform devices for 'nop-usb-xceiv'. These will be used as PHYs for HS USB ports 1 and 2 so provide binding information for them. Model RESET for HS USB Ports 1 and 2 as GPIO fixed regulators and link them to the 2 PHYs we just created. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi

[PATCH 11/24] ARM: OMAP: devkit8000: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 1, so provide binding information for it. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi --- arch/arm/mach-omap2/board-devkit8000.c | 20 1 files changed, 12 insertions(+), 8 deletion

[PATCH 12/24] ARM: OMAP3: igep0020: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Add 2 platform devices for 'nop-usb-xceiv'. These will be used as PHYs for HS USB ports 1 and 2 so provide binding information for them. Model RESET for HS USB Ports 1 and 2 as GPIO fixed regulators and link them to the 2 PHYs we just created. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi

[PATCH 13/24] ARM: OMAP3: omap3evm: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 2, so provide binding information for it. Model RESET for HS USB Port 2 as GPIO fixed regulator and link it to the 'nop-usb-xceiv' PHY. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi --- arch/arm/mach-omap

[PATCH 14/24] ARM: OMAP3: omap3pandora: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 2, so provide binding information for it. Model RESET for HS USB Port 2 as GPIO fixed regulator and link it to the 'nop-usb-xceiv' PHY. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi --- arch/arm/mach-omap

[PATCH 15/24] ARM: OMAP3: omap3stalker: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 2, so provide binding information for it. Model RESET for HS USB Port 2 as GPIO fixed regulator and link it to the 'nop-usb-xceiv' PHY. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi --- arch/arm/mach-omap

[PATCH 16/24] ARM: OMAP3: omap3touchbook: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Add 2 platform devices for 'nop-usb-xceiv'. These will be used as a PHY for HS USB Ports 1 and 2, so provide binding information for them. Model RESET for HS USB Port 2 as GPIO fixed regulator and link it to the respective 'nop-usb-xceiv' PHY. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi

[PATCH 17/24] ARM: OMAP3: overo: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 2, so provide binding information for it. Model RESET for HS USB Port 2 as GPIO fixed regulator and link it to the 'nop-usb-xceiv' PHY. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi --- arch/arm/mach-omap

[PATCH 18/24] ARM: OMAP: zoom: Adapt to ehci-omap changes

2013-03-12 Thread Roger Quadros
Add platform device for 'nop-usb-xceiv'. This will be used as a PHY for HS USB Port 2, so provide binding information for it. Model RESET for HS USB Port 2 as GPIO fixed regulator and link it to the 'nop-usb-xceiv' PHY. Signed-off-by: Roger Quadros Acked-by: Felipe Balbi --- arch/arm/mach-omap

[PATCH 19/24] ARM: dts: OMAP4: Add HS USB Host IP nodes

2013-03-12 Thread Roger Quadros
Adds device nodes for HS USB Host module, TLL module, OHCI and EHCI controllers. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap4.dtsi | 30 ++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/o

[PATCH 20/24] ARM: dts: omap4-panda: Add USB Host support

2013-03-12 Thread Roger Quadros
Provide the RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. Also provide pin multiplexer information for the USB host pins. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap4-panda.dts | 56 + 1 files changed, 56

[PATCH 21/24] ARM: dts: OMAP3: Add HS USB Host IP nodes

2013-03-12 Thread Roger Quadros
Adds device nodes for HS USB Host module, TLL module, OHCI and EHCI controllers. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap3.dtsi | 31 +++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/

[PATCH 22/24] ARM: dts: omap3-beagle: Add USB Host support

2013-03-12 Thread Roger Quadros
Provide RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. Also provide pin multiplexer information for USB host pins. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap3-beagle.dts | 71 1 files changed, 71 inserti

[PATCH 23/24] ARM: OMAP2+: Allow clock alias provision from device tree

2013-03-12 Thread Roger Quadros
Currently on OMAP, it is not possible to specify a clock consumer to any of the OMAP generated clocks using the device tree. This can pose a problem for external devices that run off an OMAP clock as we can't reliably provide a reference to the clock in the device tree. This patch allows device tr

[PATCH 24/24] ARM: dts: omap4-panda: Add clock alias for USB PHY

2013-03-12 Thread Roger Quadros
On Panda, the USB Host PHY is clocked by FREF3_CLK (auxclk3_ck) pin of the OMAP. Provide this information in the device tree. CC: Russell King CC: Rajendra Nayak CC: Santosh Shilimkar Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap4-panda.dts |7 +++ 1 files changed, 7 insert

Re: [PATCH 1/8] usb: phy: nop: Add some parameters to platform data

2013-03-12 Thread Marc Kleine-Budde
On 03/12/2013 12:24 PM, Roger Quadros wrote: > Add clk_rate parameter to platform data. If supplied, the > NOP phy driver will program the clock to that rate during probe. > > Also add 2 flags, needs_vcc and needs_reset. > If the flag is set and the regulator couldn't be found > then the driver wi

Re: [PATCH] i2c: exynos5: add High Speed I2C controller driver

2013-03-12 Thread Simon Glass
[please excuse my mailer html confusion] Hi Naveen, On Mon, Mar 11, 2013 at 9:32 PM, Naveen Krishna Chatradhi wrote: > > Adds support for High Speed I2C driver found in Exynos5 and later > SoCs from Samsung. This driver currently supports Auto mode. > > Driver only supports Device Tree method. >

Re: [PATCH 23/24] ARM: OMAP2+: Allow clock alias provision from device tree

2013-03-12 Thread Benoit Cousson
Hi Roger, On 03/12/2013 12:43 PM, Roger Quadros wrote: > Currently on OMAP, it is not possible to specify a clock consumer > to any of the OMAP generated clocks using the device tree. This can pose > a problem for external devices that run off an OMAP clock as we > can't reliably provide a referen

[PATCH -next] ASoC: tas5086: use module_i2c_driver to simplify the code

2013-03-12 Thread Wei Yongjun
From: Wei Yongjun Use the module_i2c_driver() macro to make the code smaller and a bit simpler. Signed-off-by: Wei Yongjun --- sound/soc/codecs/tas5086.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/sound/soc/codecs/tas5086.c b/sound/soc/codecs/tas5086.c ind

Re: [PATCH -next] ASoC: tas5086: use module_i2c_driver to simplify the code

2013-03-12 Thread Daniel Mack
On 12.03.2013 14:36, Wei Yongjun wrote: > From: Wei Yongjun > > Use the module_i2c_driver() macro to make the code smaller > and a bit simpler. Thanks for catching this! > Signed-off-by: Wei Yongjun Acked-by: Daniel Mack > --- > sound/soc/codecs/tas5086.c | 12 +--- > 1 file chan

Re: [PATCH v2] hwmon: ntc: Add DT with IIO support to NTC thermistor driver

2013-03-12 Thread Guenter Roeck
On Tue, Mar 12, 2013 at 02:09:26PM +0530, Naveen Krishna Chatradhi wrote: > This patch adds DT support to NTC driver to parse the > platform data. > > Also adds the support to work as an iio device. > > During the probe ntc driver gets the respective channels of ADC > and uses iio_raw_read calls

Re: [RFC 04/12] s5p-csis: Adding Exynos5250 compatibility

2013-03-12 Thread Sylwester Nawrocki
Hi Shaik, On 03/11/2013 07:58 AM, Shaik Ameer Basha wrote: > Hi Sylwester, > > On Mon, Mar 11, 2013 at 2:10 AM, Sylwester Nawrocki > wrote: >> On 03/06/2013 12:53 PM, Shaik Ameer Basha wrote: >> >> Please don't leave the change log empty. I'll apply this patch. >> I'm just wondering, if there ar

Re: [PATCH 23/24] ARM: OMAP2+: Allow clock alias provision from device tree

2013-03-12 Thread Roger Quadros
Hi Benoit, On 03/12/2013 03:17 PM, Benoit Cousson wrote: > Hi Roger, > > On 03/12/2013 12:43 PM, Roger Quadros wrote: >> Currently on OMAP, it is not possible to specify a clock consumer >> to any of the OMAP generated clocks using the device tree. This can pose >> a problem for external devices

Re: [PATCH 1/8] usb: phy: nop: Add some parameters to platform data

2013-03-12 Thread Roger Quadros
On 03/12/2013 01:54 PM, Marc Kleine-Budde wrote: > On 03/12/2013 12:24 PM, Roger Quadros wrote: >> Add clk_rate parameter to platform data. If supplied, the >> NOP phy driver will program the clock to that rate during probe. >> >> Also add 2 flags, needs_vcc and needs_reset. >> If the flag is set a

[PATCH v5 0/4] Add DT support for davinci_mmc driver

2013-03-12 Thread Manjunathappa, Prakash
Patch set adds DT support for davinci_mmc driver and is verified on da850-evm without card_detect/write_protect and EDMA support. Also takecare to derive controller IP version from platform_device_id table, remove version specification in pdata. Applies on top of below patch under community review

[PATCH v5 3/4] ARM: davinci: da850: add mmc DT entries

2013-03-12 Thread Manjunathappa, Prakash
Add DT entry for MMC. Also add entry for pinmux information. Tested: 1) Without GPIO card detection and EDMA support as DT support for GPIO and EDMA are yet come. 2) By creating/deleting files and mounting/unmounting the partition. Signed-off-by: Manjunathappa, Prakash Cc: linux-...@vger.kerne

[PATCH v5 4/4] ARM: davinci: da850: override mmc DT node device name

2013-03-12 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by davinci_mmc driver. Without this clk_get of davinci_mmc DT driver fails. Signed-off-by: Manjunathappa, Prakash Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Cc: davinci-linux-ope

[PATCH v5 2/4] mmc: davinci_mmc: add DT support

2013-03-12 Thread Manjunathappa, Prakash
Adds device tree support for davinci_mmc. Also add binding documentation. As of now in non-dma PIO mode and without GPIO card_detect/write_protect option because of dependencies on EDMA and GPIO module DT support. Signed-off-by: Manjunathappa, Prakash Reviewed-by: Mark Rutland Cc: linux-...@vger

[PATCH v5 1/4] ARM: davinci: mmc: derive version information from device name

2013-03-12 Thread Manjunathappa, Prakash
Remove specifying mmc controller IP version information via platform data, instead specify device name so that driver derives it from platform_device_id table. Also change the clock node name to match the changed dev_id. Tested on da850-evm to make sure driver loads without clk_get failures. Signe

Re: [PATCH 1/8] usb: phy: nop: Add some parameters to platform data

2013-03-12 Thread Marc Kleine-Budde
On 03/12/2013 03:12 PM, Roger Quadros wrote: > On 03/12/2013 01:54 PM, Marc Kleine-Budde wrote: >> On 03/12/2013 12:24 PM, Roger Quadros wrote: >>> Add clk_rate parameter to platform data. If supplied, the >>> NOP phy driver will program the clock to that rate during probe. >>> >>> Also add 2 flags

Re: [PATCH -next] microblaze/PCI: remove duplicated include from pci-common.c

2013-03-12 Thread Michal Simek
2013/3/11 Wei Yongjun : > From: Wei Yongjun > > Remove duplicated include. > > Signed-off-by: Wei Yongjun > --- > arch/microblaze/pci/pci-common.c | 1 - > 1 file changed, 1 deletion(-) Applied. Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Li

Re: [PATCH 1/8] usb: phy: nop: Add some parameters to platform data

2013-03-12 Thread Roger Quadros
On 03/12/2013 04:17 PM, Marc Kleine-Budde wrote: > On 03/12/2013 03:12 PM, Roger Quadros wrote: >> On 03/12/2013 01:54 PM, Marc Kleine-Budde wrote: >>> On 03/12/2013 12:24 PM, Roger Quadros wrote: Add clk_rate parameter to platform data. If supplied, the NOP phy driver will program the cl

Re: [PATCH 2/2] cpufreq: cpufreq-cpu0: provide compatibility string for DT matchup

2013-03-12 Thread Benoit Cousson
On 03/12/2013 06:07 AM, Santosh Shilimkar wrote: > On Tuesday 12 March 2013 04:35 AM, Nishanth Menon wrote: >> commit 5553f9e (cpufreq: instantiate cpufreq-cpu0 as a platform_driver) >> now forces platform device to be registered for allowing cpufreq-cpu0 >> to be used by SoCs. example: drivers/cpu

Re: [PATCH 2/2] cpufreq: cpufreq-cpu0: provide compatibility string for DT matchup

2013-03-12 Thread Santosh Shilimkar
On Tuesday 12 March 2013 07:58 PM, Benoit Cousson wrote: > On 03/12/2013 06:07 AM, Santosh Shilimkar wrote: >> On Tuesday 12 March 2013 04:35 AM, Nishanth Menon wrote: >>> commit 5553f9e (cpufreq: instantiate cpufreq-cpu0 as a platform_driver) >>> now forces platform device to be registered for all

Re: [RFC PATCH 1/8] s5p-fimc: Add Exynos4x12 FIMC-IS driver

2013-03-12 Thread Hans Verkuil
On Mon 11 March 2013 20:44:45 Sylwester Nawrocki wrote: > This patch adds a set of core files of the Exynos4x12 FIMC-IS > V4L2 driver. This includes main functionality like allocating > memory, loading the firmware, FIMC-IS register interface and > host CPU <-> IS command and error code definitions

Re: [PATCH 1/8] usb: phy: nop: Add some parameters to platform data

2013-03-12 Thread Marc Kleine-Budde
On 03/12/2013 03:28 PM, Roger Quadros wrote: > On 03/12/2013 04:17 PM, Marc Kleine-Budde wrote: >> On 03/12/2013 03:12 PM, Roger Quadros wrote: >>> On 03/12/2013 01:54 PM, Marc Kleine-Budde wrote: On 03/12/2013 12:24 PM, Roger Quadros wrote: > Add clk_rate parameter to platform data. If su

  1   2   >