RE: [PATCH 0/7] USB: PHY: Tegra: registering TEGRA USB PHY as platform driver

2013-03-20 Thread Venu Byravarasu
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, March 20, 2013 1:22 AM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-ker...@vger.kernel.org;

Re: [PATCH V2 8/8] cpufreq: OMAP: donot allow to be used with device tree

2013-03-20 Thread Santosh Shilimkar
On Tuesday 19 March 2013 11:23 PM, Nishanth Menon wrote: We now use Soc generic cpufreq-cpu0 driver using DT entries. However to allow cpufreq-cpu0 and omap-cpufreq drivers to co-exist, we need to ensure the following using the same image: 1. With device tree boot, we use cpufreq-cpu0 2. With

Re: [PATCH 2/2] ARM: OMAP2+: Remove dmm device creation

2013-03-20 Thread Santosh Shilimkar
On Wednesday 20 March 2013 11:46 AM, Archit Taneja wrote: On Wednesday 20 March 2013 11:26 AM, Santosh Shilimkar wrote: On Wednesday 20 March 2013 10:13 AM, Andy Gross wrote: Remove DMM device creation via the hwmod entry. The DMM device will now be enumerated as part of the device tree

[RESEND PATCH 1/1] ARM: dts: AM33XX: Add CPSW phy_id device tree data to am335x-evmsk

2013-03-20 Thread Mugunthan V N
Add phy_id device tree data to am335x-evmsk device to bring up CPSW ethernet present on am335x starter kit. Signed-off-by: Mugunthan V N mugunthan...@ti.com --- arch/arm/boot/dts/am335x-evmsk.dts |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evmsk.dts

Re: [PATCH v6 0/6] Add ChromeOS Embedded Controller support

2013-03-20 Thread Samuel Ortiz
Hi Simon, On Tue, Mar 19, 2013 at 07:01:42PM -0700, Simon Glass wrote: Hi Samuel, On Tue, Mar 19, 2013 at 6:12 PM, Samuel Ortiz sa...@linux.intel.com wrote: On Wed, Mar 20, 2013 at 01:56:52AM +0100, Samuel Ortiz wrote: Hi Simon, On Mon, Feb 25, 2013 at 02:08:35PM -0800, Simon Glass

Re: [PATCH v3] clk: add si5351 i2c common clock driver

2013-03-20 Thread Sebastian Hesselbarth
On 03/20/2013 01:26 AM, Mike Turquette wrote: Quoting Sebastian Hesselbarth (2013-03-18 03:43:17) This patch adds a common clock driver for Silicon Labs Si5351a/b/c i2c programmable clock generators. Currently, the driver supports DT kernels only and VXCO feature of si5351b is not implemented.

Re: [PATCH v6 0/6] Add ChromeOS Embedded Controller support

2013-03-20 Thread Samuel Ortiz
Hi Simon, On Wed, Mar 20, 2013 at 09:14:56AM +0100, Samuel Ortiz wrote: On Tue, Mar 19, 2013 at 07:01:42PM -0700, Simon Glass wrote: Hi Samuel, On Tue, Mar 19, 2013 at 6:12 PM, Samuel Ortiz sa...@linux.intel.com wrote: On Wed, Mar 20, 2013 at 01:56:52AM +0100, Samuel Ortiz wrote: Hi

[PATCH v3 2/6] usb: phy: omap-usb2: use the new generic PHY framework

2013-03-20 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. omap_usb2_suspend is split into omap_usb_suspend and omap_usb_resume in order to align with the new framework. However using the old USB PHY library cannot be completely removed because OTG is intertwined with PHY and moving to the new

[PATCH v3 5/6] ARM: dts: omap: update usb_otg_hs data

2013-03-20 Thread Kishon Vijay Abraham I
Updated the usb_otg_hs dt data to include the *phy* and *phy-names* binding in order for the driver to use the new generic PHY framework. Also updated the Documentation to include the binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

[PATCH v3 0/6] Generic PHY Framework

2013-03-20 Thread Kishon Vijay Abraham I
Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without using phandle, the platform specfic intialization code (say from

[PATCH v3 6/6] usb: musb: omap2430: use the new generic PHY framework

2013-03-20 Thread Kishon Vijay Abraham I
Use the generic PHY framework API to get the PHY. The usb_phy_set_suspend and usb_phy_set_resume is replaced with phy_suspend and phy_resume to align with the new PHY framework. musb-xceiv can't be removed as of now because musb core uses xceiv.state and xceiv.otg. Once there is a separate state

[PATCH v3 3/6] usb: otg: twl4030: use the new generic PHY framework

2013-03-20 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. twl4030_usb_suspend and twl4030_usb_resume is added to phy_ops in order to align with the new framework. However using the old USB PHY library cannot be completely removed because OTG is intertwined with PHY and moving to the new framework

[PATCH v3 4/6] ARM: OMAP: USB: Add phy binding information

2013-03-20 Thread Kishon Vijay Abraham I
In order for controllers to get PHY in case of non dt boot, the phy binding information should be added in the platform specific initialization code using phy_bind. The previously added usb_bind_phy can't be removed yet because the musb controller continues to use the old PHY library which has OTG

[PATCH v3 1/6] drivers: phy: add generic PHY framework

2013-03-20 Thread Kishon Vijay Abraham I
The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without using phandle, the platform specfic intialization code (say from board file)

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

2013-03-20 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 prakash...@ti.com --- drivers/spi/spi-davinci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

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

2013-03-20 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. Applies on top of linux_davinci/master tree:

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

2013-03-20 Thread Manjunathappa, Prakash
From: Murali Karicheri m-kariche...@ti.com Add binding documentation for spi-davinci module. [prakash...@ti.com: Follow DT naming convention for compatible property] Signed-off-by: Murali Karicheri m-kariche...@ti.com Reviewed-by: Grant Likely grant.lik...@secretlab.ca Reviewed-by: Sekhar Nori

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

2013-03-20 Thread Manjunathappa, Prakash
Patch adds SPI1 DT node along with pinmux data. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com --- 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

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

2013-03-20 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 prakash...@ti.com --- arch/arm/mach-davinci/da8xx-dt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff

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

2013-03-20 Thread Manjunathappa, Prakash
Enable m25p64 SPI flash support on da850-EVM. Also add partition information of SPI flash. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com --- Since v2: Fixed partition sizes. Since v1: Look for m25p64 instead of m25p80. Corrected the filesystem partition information.

[PATCH v9 RESEND 3/4] media: coda: use genalloc API

2013-03-20 Thread Philipp Zabel
This patch depends on genalloc: add devres support, allow to find a managed pool by device, which provides the of_get_named_gen_pool and dev_get_gen_pool functions. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Acked-By: Javier Martin javier.mar...@vista-silicon.com Acked-by: Grant Likely

[PATCH v9 RESEND 1/4] genalloc: add devres support, allow to find a managed pool by device

2013-03-20 Thread Philipp Zabel
This patch adds three exported functions to lib/genalloc.c: devm_gen_pool_create, dev_get_gen_pool, and of_get_named_gen_pool. devm_gen_pool_create is a managed version of gen_pool_create that keeps track of the pool via devres and allows the management code to automatically destroy it after

[PATCH v9 RESEND 2/4] misc: Generic on-chip SRAM allocation driver

2013-03-20 Thread Philipp Zabel
This driver requests and remaps a memory region as configured in the device tree. It serves memory from this region via the genalloc API. It optionally enables the SRAM clock. Other drivers can retrieve the genalloc pool from a phandle pointing to this drivers' device node in the device tree.

[PATCH v9 RESEND 0/4] Add generic driver for on-chip SRAM

2013-03-20 Thread Philipp Zabel
Hi, last time I posted was a bit close to the merge window, so I'm reposting now. Greg, Arnd, could you take the first two patches? These patches add support to configure on-chip SRAM via device-tree node or platform data and to obtain the resulting genalloc pool from the struct device pointer or

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

2013-03-20 Thread Sekhar Nori
Grant, On 3/20/2013 4:16 PM, Manjunathappa, Prakash wrote: Patch enables support for m25p64 SPI flash support on da850-EVM. With your ack, I would like to merge this series through davinci tree for v3.10. This will help manage dependencies for DT files. Thanks, Sekhar

Re: [PATCH 1/7] ARM: tegra: finalize USB EHCI and PHY bindings

2013-03-20 Thread kishon
Hi, On Monday 18 March 2013 05:59 PM, Venu Byravarasu wrote: The existing Tegra USB bindings have a few issues: 1) Many properties are documented as being part of the EHCI controller node, yet they apply more to the PHY device. They should be moved. 2) Some registers in PHY1 are shared with

[PATCH v6 0/5] Add DT support for davinci_mmc driver

2013-03-20 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 series under

[PATCH v6 1/5] mmc: davinci: allow driver to work without DMA resource

2013-03-20 Thread Manjunathappa, Prakash
Do not return probe failure with missing DMA resources, allow driver to work in PIO mode. Tested on da850-evm by mounting partition followed by file creation and deletion. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com Tested-by: Sekhar Nori nsek...@ti.com ---

[PATCH v6 2/5] ARM: davinci: mmc: derive version information from device name

2013-03-20 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.

[PATCH v6 3/5] mmc: davinci_mmc: add DT support

2013-03-20 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 prakash...@ti.com Reviewed-by: Mark Rutland

[PATCH v6 4/5] ARM: davinci: da850: add mmc DT entries

2013-03-20 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 prakash...@ti.com Cc:

[PATCH v6 5/5] ARM: davinci: da850: override mmc DT node device name

2013-03-20 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 prakash...@ti.com Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-ker...@vger.kernel.org Cc:

RE: [PATCH 0/7] USB: PHY: Tegra: registering TEGRA USB PHY as platform driver

2013-03-20 Thread Venu Byravarasu
-Original Message- From: Venu Byravarasu Sent: Wednesday, March 20, 2013 11:30 AM To: 'Stephen Warren' Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-ker...@vger.kernel.org; linux-te...@vger.kernel.org;

RE: [PATCH 1/7] ARM: tegra: finalize USB EHCI and PHY bindings

2013-03-20 Thread Venu Byravarasu
-Original Message- From: kishon [mailto:kis...@ti.com] Sent: Wednesday, March 20, 2013 4:49 PM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-ker...@vger.kernel.org; swar...@wwwdotorg.org;

RE: [PATCH 2/7] ARM: tegra: update device trees for USB binding rework

2013-03-20 Thread Venu Byravarasu
-Original Message- From: kishon [mailto:kis...@ti.com] Sent: Wednesday, March 20, 2013 4:53 PM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-ker...@vger.kernel.org; swar...@wwwdotorg.org;

RE: [PATCH 3/7] usb: phy: tegra: Get PHY mode using DT

2013-03-20 Thread Venu Byravarasu
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, March 20, 2013 1:29 AM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-ker...@vger.kernel.org;

Re: [PATCH 2/7] ARM: tegra: update device trees for USB binding rework

2013-03-20 Thread Felipe Balbi
On Wed, Mar 20, 2013 at 05:47:46PM +0530, Venu Byravarasu wrote: -Original Message- From: kishon [mailto:kis...@ti.com] Sent: Wednesday, March 20, 2013 4:53 PM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com;

RE: [PATCH 2/7] ARM: tegra: update device trees for USB binding rework

2013-03-20 Thread Venu Byravarasu
-Original Message- From: Felipe Balbi [mailto:ba...@ti.com] Sent: Wednesday, March 20, 2013 5:55 PM To: Venu Byravarasu Cc: kishon; gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-ker...@vger.kernel.org; swar...@wwwdotorg.org;

RE: [PATCH 7/7] usb: phy: registering tegra USB PHY as platform driver

2013-03-20 Thread Venu Byravarasu
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, March 20, 2013 1:51 AM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-ker...@vger.kernel.org;

Re: [PATCH v6 3/5] mmc: davinci_mmc: add DT support

2013-03-20 Thread Arnd Bergmann
On Wednesday 20 March 2013, Manjunathappa, Prakash wrote: 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. Shouldn't the binding

[PATCH 0/4] ARM: tegra: dalmore: add regulators

2013-03-20 Thread Laxman Dewangan
This series add the regulators for Dalmore platform. Dalmore also have the Palma PMIC as primary PMIC but dt population will be send later once DT documentation finalize. Laxman Dewangan (4): ARM: tegra: enable Tegra114 based platform PMICs ARM: tegra: dalmore: add cpu regulator's node ARM:

[PATCH 1/4] ARM: tegra: enable Tegra114 based platform PMICs

2013-03-20 Thread Laxman Dewangan
NVIDIA's Tegra114 have two reference platform, Dalmore and Pluto. Dalmore uses the following PMICs: - TPS65913 as primary PMIC. - TPS65090 as secondary PMIC used for switch regulators and battery charging. - TPS51632 for cpu regulator. Pluto uses the TPS65913 as the PMIC. Enable config variable

[PATCH 2/4] ARM: tegra: dalmore: add cpu regulator's node

2013-03-20 Thread Laxman Dewangan
Dalmore uses the TPS51632 as cpu regulator. This device is connected on I2C5. Add dt node for this device. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- arch/arm/boot/dts/tegra114-dalmore.dts | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git

[PATCH 3/4] ARM: tegra: dalmore: add dt node for TPS65090's regulators

2013-03-20 Thread Laxman Dewangan
NVIDIA's Tegra114 platform, Dalmore, uses the TPS65090 as secondary PMICs which mainly act as voltage switch controlled by I2C communication. Add regulator node for this device. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- .../devicetree/bindings/regulator/tps65090.txt |4 +-

[PATCH 4/4] ARM: tegra: dalmore: add fixed regulator's node

2013-03-20 Thread Laxman Dewangan
NVIDIA's Tegra114 platform Dalmore has some voltage switches which are controlled by the Tegra GPIOs. Add dt node for such fixed regulators. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- arch/arm/boot/dts/tegra114-dalmore.dts | 55 1 files changed,

Re: [PATCH v3] clk: add si5351 i2c common clock driver

2013-03-20 Thread michal . bachraty
Hi Sebastian, Thanks for writing this driver! I have tested your si5351 clock driver and his tuning capabilities. It works well, it generates proper clock frequency, but when new frequency is generated, little clock gap (1ms) is generated. Si5351 datasheet and WP claims, clock tuning can be

Re: RE: RE: [PATCH v6 00/16] clk: exynos4/5: migrate to common clock framework

2013-03-20 Thread Mike Turquette
Quoting Kukjin Kim (2013-03-19 21:50:05) Mike Turquette wrote: Quoting Kukjin Kim (2013-03-19 17:00:09) Mike Turquette wrote: [...] Thomas, Are you planning a V7 series which includes the clock alias bits from patch #1? Kukjin has

[PATCH 0/2] of: Create sysfs view of device tree nodes

2013-03-20 Thread Grant Likely
Hi all, This series reworks the device tree userspace view to be exposed via sysfs. I've been wanting to move to using kobjects to manage the device tree for a while now. It results in less code overall, and it gives us the userspace view for free. The first patch converts the device_nodes into

[PATCH 2/2] of: remove /proc/device-tree

2013-03-20 Thread Grant Likely
The same data is now available in sysfs, so we can remove the code that exports it in /proc and replace it with a symlink to the sysfs version. Tested on versatile qemu model and mpc5200 eval board. More testing would be appreciated. Signed-off-by: Grant Likely grant.lik...@secretlab.ca Cc: Rob

[PATCH 1/2] of: Make device nodes kobjects so they show up in sysfs

2013-03-20 Thread Grant Likely
Device tree nodes are already treated as objects, and we already want to expose them to userspace which is done using the /proc filesystem today. Right now the kernel has to do a lot of work to keep the /proc view in sync with the in-kernel representation. If device_nodes are switched to be

Re: [PATCH 1/2] of: Make device nodes kobjects so they show up in sysfs

2013-03-20 Thread Benjamin Herrenschmidt
On Wed, 2013-03-20 at 14:51 +, Grant Likely wrote: Device tree nodes are already treated as objects, and we already want to expose them to userspace which is done using the /proc filesystem today. Right now the kernel has to do a lot of work to keep the /proc view in sync with the

[PATCH] net: ethernet: davinci_emac: make local function emac_poll_controller() static

2013-03-20 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn emac_poll_controller() was not declared. It should be static. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/net/ethernet/ti/davinci_emac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] net: fec: make local function fec_poll_controller() static

2013-03-20 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn fec_poll_controller() was not declared. It should be static. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/net/ethernet/freescale/fec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 2/2] of: remove /proc/device-tree

2013-03-20 Thread Rob Herring
On 03/20/2013 09:51 AM, Grant Likely wrote: The same data is now available in sysfs, so we can remove the code that exports it in /proc and replace it with a symlink to the sysfs version. Tested on versatile qemu model and mpc5200 eval board. More testing would be appreciated. I would

Re: [PATCH 2/2] of: remove /proc/device-tree

2013-03-20 Thread Benjamin Herrenschmidt
On Wed, 2013-03-20 at 14:51 +, Grant Likely wrote: The same data is now available in sysfs, so we can remove the code that exports it in /proc and replace it with a symlink to the sysfs version. Tested on versatile qemu model and mpc5200 eval board. More testing would be appreciated.

Re: [PATCH -next] lpc_eth: fix error return code in lpc_eth_drv_probe()

2013-03-20 Thread David Miller
From: Wei Yongjun weiyj...@gmail.com Date: Wed, 20 Mar 2013 20:21:48 +0800 From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code from the error handling case instead of 0, as returned elsewhere in this function. Signed-off-by: Wei Yongjun

Re: [PATCH RFC v6] [media] Add common video interfaces OF bindings documentation

2013-03-20 Thread Sylwester Nawrocki
On 01/31/2013 07:41 PM, Sylwester Nawrocki wrote: From: Guennadi Liakhovetski g.liakhovet...@gmx.de This patch adds a document describing common OF bindings for video capture, output and video processing devices. It is curently mainly focused on video capture devices, with data busses

Re: [PATCH] net: ethernet: davinci_emac: make local function emac_poll_controller() static

2013-03-20 Thread Mugunthan V N
On 3/20/2013 8:31 PM, Wei Yongjun wrote: From: Wei Yongjunyongjun_...@trendmicro.com.cn emac_poll_controller() was not declared. It should be static. Signed-off-by: Wei Yongjunyongjun_...@trendmicro.com.cn Acked-by: Mugunthan V N mugunthan...@ti.com Regards Mugunthan V N

Re: [PATCH 2/2] of: remove /proc/device-tree

2013-03-20 Thread Daniel Mack
On Wed, Mar 20, 2013 at 4:19 PM, Rob Herring robherri...@gmail.com wrote: On 03/20/2013 09:51 AM, Grant Likely wrote: The same data is now available in sysfs, so we can remove the code that exports it in /proc and replace it with a symlink to the sysfs version. Tested on versatile qemu model

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

2013-03-20 Thread Naveen Krishna Ch
On 12 March 2013 18:43, Simon Glass s...@chromium.org wrote: [please excuse my mailer html confusion] Hi Naveen, On Mon, Mar 11, 2013 at 9:32 PM, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This

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

2013-03-20 Thread Naveen Krishna Chatradhi
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. Note: Added debugfs support for registers view, not tested. Signed-off-by: Taekgyun Ko taeggyun...@samsung.com Signed-off-by:

Re: [PATCH V3 2/2] dmaengine: OMAP: Register SDMA controller with Device Tree DMA driver

2013-03-20 Thread Tony Lindgren
* Jon Hunter jon-hun...@ti.com [130319 09:08]: Vinod, Tony, Benoit, On 02/26/2013 12:27 PM, Jon Hunter wrote: If the device-tree blob is present during boot, then register the SDMA controller with the device-tree DMA driver so that we can use device-tree to look-up DMA client

Re: [PATCH 2/2] of: remove /proc/device-tree

2013-03-20 Thread Grant Likely
On Wed, Mar 20, 2013 at 4:24 PM, Daniel Mack dan...@zonque.org wrote: On Wed, Mar 20, 2013 at 4:19 PM, Rob Herring robherri...@gmail.com wrote: On 03/20/2013 09:51 AM, Grant Likely wrote: The same data is now available in sysfs, so we can remove the code that exports it in /proc and replace it

Re: [PATCH v3] clk: add si5351 i2c common clock driver

2013-03-20 Thread Daniel Mack
Hi Michal, On 20.03.2013 14:55, michal.bachr...@gmail.com wrote: Thanks for writing this driver! I have tested your si5351 clock driver and his tuning capabilities. It works well, it generates proper clock frequency, but when new frequency is generated, little clock gap (1ms) is generated.

Re: [PATCH v3 4/6] ARM: OMAP: USB: Add phy binding information

2013-03-20 Thread Tony Lindgren
* Kishon Vijay Abraham I kis...@ti.com [130320 02:17]: --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c @@ -265,6 +266,7 @@ static void __init omap_2430sdp_init(void) omap_mux_init_signal(usb0hs_stp, OMAP_PULL_ENA | OMAP_PULL_UP);

Re: [PATCH 1/2] of: Make device nodes kobjects so they show up in sysfs

2013-03-20 Thread Greg Kroah-Hartman
On Wed, Mar 20, 2013 at 03:57:12PM +0100, Benjamin Herrenschmidt wrote: On Wed, 2013-03-20 at 14:51 +, Grant Likely wrote: Device tree nodes are already treated as objects, and we already want to expose them to userspace which is done using the /proc filesystem today. Right now the

Re: [PATCH 3/4] ARM: tegra: dalmore: add dt node for TPS65090's regulators

2013-03-20 Thread Rhyland Klein
On 3/20/2013 9:44 AM, Laxman Dewangan wrote: NVIDIA's Tegra114 platform, Dalmore, uses the TPS65090 as secondary PMICs which mainly act as voltage switch controlled by I2C communication. Add regulator node for this device. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com ---

Re: [PATCH] net: ethernet: davinci_emac: make local function emac_poll_controller() static

2013-03-20 Thread David Miller
From: Wei Yongjun weiyj...@gmail.com Date: Wed, 20 Mar 2013 23:01:45 +0800 From: Wei Yongjun yongjun_...@trendmicro.com.cn emac_poll_controller() was not declared. It should be static. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn Applied.

Re: [PATCH] net: fec: make local function fec_poll_controller() static

2013-03-20 Thread David Miller
From: Wei Yongjun weiyj...@gmail.com Date: Wed, 20 Mar 2013 23:06:11 +0800 From: Wei Yongjun yongjun_...@trendmicro.com.cn fec_poll_controller() was not declared. It should be static. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn Applied.

Re: [PATCH 1/7] ARM: tegra: finalize USB EHCI and PHY bindings

2013-03-20 Thread Stephen Warren
On 03/20/2013 06:15 AM, Venu Byravarasu wrote: -Original Message- From: kishon [mailto:kis...@ti.com] Sent: Wednesday, March 20, 2013 4:49 PM To: Venu Byravarasu Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org;

Re: [PATCH 2/7] ARM: tegra: update device trees for USB binding rework

2013-03-20 Thread Stephen Warren
On 03/20/2013 05:23 AM, kishon wrote: Hi, On Monday 18 March 2013 05:59 PM, Venu Byravarasu wrote: This patch updates all Tegra board files so that they contain all the properties required by the updated USB DT binding. Note that this patch only adds the new properties and does not yet

Re: [PATCH 0/7] USB: PHY: Tegra: registering TEGRA USB PHY as platform driver

2013-03-20 Thread Stephen Warren
On 03/20/2013 06:12 AM, Venu Byravarasu wrote: -Original Message- From: Venu Byravarasu Sent: Wednesday, March 20, 2013 11:30 AM To: 'Stephen Warren' Cc: gre...@linuxfoundation.org; st...@rowland.harvard.edu; ba...@ti.com; linux-...@vger.kernel.org; linux-ker...@vger.kernel.org;

Re: [PATCH 1/2] of: Make device nodes kobjects so they show up in sysfs

2013-03-20 Thread Benjamin Herrenschmidt
On Wed, 2013-03-20 at 09:56 -0700, Greg Kroah-Hartman wrote: Unfortunately they occasionally are... VPDs can be pretty big for example. If the attributes are binary blobs, use the binary file capability of sysfs to properly handle them. Except that we don't know that ... we have

Re: [PATCH 3/4] ARM: tegra: dalmore: add dt node for TPS65090's regulators

2013-03-20 Thread Laxman Dewangan
On Wednesday 20 March 2013 10:27 PM, Rhyland Klein wrote: On 3/20/2013 9:44 AM, Laxman Dewangan wrote: + regulators { + dcdc1 { + regulator-name = vdd-sys-5v0; +

Re: [PATCH v2] mfd: as3711: add OF support

2013-03-20 Thread Guennadi Liakhovetski
Hi all On Sat, 2 Mar 2013, Mark Brown wrote: On Mon, Feb 18, 2013 at 10:57:44AM +0100, Guennadi Liakhovetski wrote: Add device-tree bindings to the AS3711 regulator and backlight drivers. Reviwed-by: Mark Brown broo...@opensource.wolfsonmicro.com This patch has been submitted more than a

Re: [RFC PATCH v2] of/pci: Provide support for parsing PCI DT ranges property

2013-03-20 Thread Thomas Petazzoni
Hello, What is the status of the below patch? Both Marvell PCIe driver and Tegra PCIe driver need a way to parse the ranges = ... property of the PCI DT node. Would it be possible to get this patch merged for 3.10, or get some review comments that would allow us to rework it in time for 3.10 ?

Re: [PATCH 3/4] ARM: tegra: dalmore: add dt node for TPS65090's regulators

2013-03-20 Thread Stephen Warren
On 03/20/2013 07:44 AM, Laxman Dewangan wrote: NVIDIA's Tegra114 platform, Dalmore, uses the TPS65090 as secondary PMICs which mainly act as voltage switch controlled by I2C communication. diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts @@

Re: [PATCH 1/4] ARM: tegra: enable Tegra114 based platform PMICs

2013-03-20 Thread Stephen Warren
On 03/20/2013 07:44 AM, Laxman Dewangan wrote: NVIDIA's Tegra114 have two reference platform, Dalmore and Pluto. Dalmore uses the following PMICs: - TPS65913 as primary PMIC. - TPS65090 as secondary PMIC used for switch regulators and battery charging. - TPS51632 for cpu regulator. Pluto

Re: [PATCH v3 5/6] ARM: dts: omap: update usb_otg_hs data

2013-03-20 Thread Stephen Warren
On 03/20/2013 03:12 AM, Kishon Vijay Abraham I wrote: Updated the usb_otg_hs dt data to include the *phy* and *phy-names* binding in order for the driver to use the new generic PHY framework. Also updated the Documentation to include the binding information. diff --git

Re: [PATCH 1/2] of: Make device nodes kobjects so they show up in sysfs

2013-03-20 Thread Grant Likely
On Wed, Mar 20, 2013 at 2:57 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2013-03-20 at 14:51 +, Grant Likely wrote: Both of the above problems can be worked around by using sysfs_create_bin_file() instead of sysfs_create_file(), but doing so adds an additional 20 to

Re: [PATCH 2/2] of: remove /proc/device-tree

2013-03-20 Thread Grant Likely
On Wed, Mar 20, 2013 at 2:57 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2013-03-20 at 14:51 +, Grant Likely wrote: The same data is now available in sysfs, so we can remove the code that exports it in /proc and replace it with a symlink to the sysfs version.

Re: [PATCH v3 1/6] drivers: phy: add generic PHY framework

2013-03-20 Thread Sylwester Nawrocki
Hi Kishon, On 03/20/2013 10:12 AM, Kishon Vijay Abraham I wrote: The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without using

[PATCH 01/11] OF: add empty of_device_is_available for !OF

2013-03-20 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Add an empty version of of_device_is_available. Signed-off-by: Rob Herring rob.herr...@calxeda.com --- include/linux/of.h |5 + 1 file changed, 5 insertions(+) diff --git a/include/linux/of.h b/include/linux/of.h index a0f1292..6fe655b 100644

[PATCH 02/11] ARM: remove extra timer-sp control register clearing

2013-03-20 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com The timer-sp initialization code clears the control register before initializing the timers, so every platform doing this is redundant. For unused timers, we should not care what state they are in. Signed-off-by: Rob Herring rob.herr...@calxeda.com ---

[PATCH 03/11] ARM: timer-sp: convert to use CLKSRC_OF init

2013-03-20 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com This adds CLKSRC_OF based init for sp804 timer. The clock initialization is refactored to support retrieving the clock(s) from the DT. Signed-off-by: Rob Herring rob.herr...@calxeda.com --- arch/arm/Kconfig |1 +

[PATCH 04/11] ARM: highbank: use OF init for sp804 timer

2013-03-20 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Remove the highbank specific setup for the sp804 timer now that clocksource_of_init will do it. Signed-off-by: Rob Herring rob.herr...@calxeda.com --- arch/arm/mach-highbank/highbank.c | 19 --- 1 file changed, 19 deletions(-) diff

[PATCH 05/11] ARM: vexpress: remove sp804 OF init

2013-03-20 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Remove the vexpress specific setup for the sp804 timer now that clocksource_of_init will do it. Signed-off-by: Rob Herring rob.herr...@calxeda.com --- arch/arm/mach-vexpress/v2m.c | 11 --- 1 file changed, 11 deletions(-) diff --git

[PATCH 06/11] ARM: dts: vexpress: disable CA9 core tile sp804 timer

2013-03-20 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com The motherboard sp804 timer is used, but core tile sp804 timer is not. According to Russell King, the clock configuration is undocumented and defaults to 32kHz which is not desireable. So mark core tile sp804 timer as disabled. Signed-off-by: Rob Herring

[PATCH 09/11] ARM: integrator-cp: convert use CLKSRC_OF for timer init

2013-03-20 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Move the integrator-cp timer init to timer-sp.c and use CLKSRC_OF. There is no reason to use the aliases, so drop them from the init code. The integrator-cp timers are mistakenly called sp804 timers in the dts, but in fact they are not sp804 dual timers,

[PATCH 10/11] ARM: move sp804 and integrator timers to drivers/clocksource

2013-03-20 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Move timer-sp and integrator-ap timer code to drivers/clocksource and update timer-sp.h and arm_timer.h includes. This adds CLKSRC_OF support for the integrator-ap timer and removes the use of arm,timer-primary and arm,timer-secondary aliases. The timer

Re: [PATCH v6 0/6] Add ChromeOS Embedded Controller support

2013-03-20 Thread Simon Glass
Hi Samuel, On Wed, Mar 20, 2013 at 1:52 AM, Samuel Ortiz sa...@linux.intel.com wrote: Hi Simon, On Wed, Mar 20, 2013 at 09:14:56AM +0100, Samuel Ortiz wrote: On Tue, Mar 19, 2013 at 07:01:42PM -0700, Simon Glass wrote: Hi Samuel, On Tue, Mar 19, 2013 at 6:12 PM, Samuel Ortiz

Re: [PATCH 2/2] of: remove /proc/device-tree

2013-03-20 Thread Rob Landley
On 03/20/2013 11:24:54 AM, Daniel Mack wrote: On Wed, Mar 20, 2013 at 4:19 PM, Rob Herring robherri...@gmail.com wrote: On 03/20/2013 09:51 AM, Grant Likely wrote: The same data is now available in sysfs, so we can remove the code that exports it in /proc and replace it with a symlink to

Re: [PATCH 2/2] of: remove /proc/device-tree

2013-03-20 Thread Benjamin Herrenschmidt
On Wed, 2013-03-20 at 21:38 +, Grant Likely wrote: NAK. It should at the very least be a CONFIG option for a while before completely switching over. I'll modify patch 1 to create the symlink if CONFIG_PROC_DEVICETREE is not set. After the first patch can be applied we can leave it for

Re: [PATCH v3 1/6] drivers: phy: add generic PHY framework

2013-03-20 Thread kishon
Hi, On Thursday 21 March 2013 04:06 AM, Sylwester Nawrocki wrote: Hi Kishon, On 03/20/2013 10:12 AM, Kishon Vijay Abraham I wrote: The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without

Re: [PATCH v3 4/6] ARM: OMAP: USB: Add phy binding information

2013-03-20 Thread kishon
Hi, On Wednesday 20 March 2013 10:21 PM, Tony Lindgren wrote: * Kishon Vijay Abraham I kis...@ti.com [130320 02:17]: --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c @@ -265,6 +266,7 @@ static void __init omap_2430sdp_init(void)