Re: [PATCHv6 2/2] ARM: dts: unuse the slot-node and deprecated supports-highspeed for dw-mmc.

2014-06-10 Thread Jaehoon Chung
Hi, Dinh. Thanks for pointing out. Will Fix it. Best Regards, Jaehoon Chung On 06/10/2014 12:53 AM, Dinh Nguyen wrote: > On Mon, 2014-06-09 at 12:34 +0900, Jaehoon Chung wrote: >> dw-mmc controller can support multiple slots. >> But, there are no use-cases anywhere. So we don't need to support t

[PATCH] arm, imx6, dts: add aristainetos board support

2014-06-10 Thread Heiko Schocher
This patch add support for the imx6dl based aristainetos board with following configuration: CPU: Freescale i.MX6DL rev1.1 at 792 MHz DRAM: 1 GiB NAND: 512 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 SF: Detected N25Q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB As this board can used

[PATCH 1/2 v3] spi: s3c64xx: use "cs-gpios" from spi node instead of "cs-gpio"

2014-06-10 Thread Naveen Krishna Chatradhi
Currently, spi-s3c64xx.c needs "cs-gpio" chip select GPIO to be defined under "controller-data" node under each slave node. &spi_x { cs-gpios <>; ... slave_node { controller-data { cs-gpio = <>; ...

[PATCH 2/2 v3] ARM: DTS: move "cs-gpio" from "controller-data" to under spi node

2014-06-10 Thread Naveen Krishna Chatradhi
This patch moves the "cs-gpio" field from "controller-data" child node to under the spi device node. Respective changes are preposed to spi-s3c64xx.c driver. Signed-off-by: Naveen Krishna Chatradhi Acked-by: Rob Herring Cc: Javier Martinez Canillas Cc: Doug Anderson Cc: Tomasz Figa --- Chang

Re: [PATCH 1/2 v2] spi: s3c64xx: use "cs-gpios" from spi node instead of "cs-gpio"

2014-06-10 Thread Naveen Krishna Ch
Hello Tomasz, On 11 June 2014 01:19, Tomasz Figa wrote: > Hi Naveen, > > On 10.06.2014 12:08, Naveen Krishna Chatradhi wrote: >> Currently, spi-s3c64xx.c needs "cs-gpio" chip select GPIO to be >> defined under "controller-data" node under each slave node. > > [snip] > >> @@ -85,6 +83,7 @@ Example

Re: [PATCH 1/2 v2] spi: s3c64xx: use "cs-gpios" from spi node instead of "cs-gpio"

2014-06-10 Thread Naveen Krishna Ch
Hello Doug, On 10 June 2014 23:56, Doug Anderson wrote: > Naveen, > > Not a full review, but a few quick things I happened to notice: > > On Tue, Jun 10, 2014 at 3:08 AM, Naveen Krishna Chatradhi > wrote: >> @@ -94,7 +93,6 @@ Example: >> spi-max-frequency = <1>; >> >>

[PATCH 1/3] clk: exynos-audss: Keep the parent of mout_audss always enabled

2014-06-10 Thread Tushar Behera
When the output clock of AUDSS mux is disabled, we are getting kernel oops while doing a clk_get() on other clocks provided by AUDSS. Though user manual doesn't specify this dependency, we came across this issue while disabling the parent of AUDSS mux clocks. Keeping the parents of AUDSS mux alway

[PATCH 2/3] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-06-10 Thread Tushar Behera
Currently CLK_FOUT_EPLL was set as one of the parents of AUDSS mux. As per the user manual, it should be CLK_MAU_EPLL. The problem surfaced when the bootloader in Peach-pit board set the EPLL clock as the parent of AUDSS mux. While booting the kernel, we used to get a system hang during late boot

[PATCH 3/3] ARM: dts: Enable audio support for Peach-pi board

2014-06-10 Thread Tushar Behera
Peach-pi board has MAX98090 audio codec connected on HSI2C-7 bus. Signed-off-by: Tushar Behera --- arch/arm/boot/dts/exynos5800-peach-pi.dts | 31 + 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5

[PATCH 0/3] Fix boot-hang on Peach-pit and Enable audio

2014-06-10 Thread Tushar Behera
With next-20140610, Peach-pit/Peach-pi board hangs during boot if we run 'sound init' during u-boot. The issue is fixed in following patches. While at it, also enable audio support for Peach-pi board. How to test audio on Peach-pi: * On top of exynos_defconfig, enable SND_SOC_SNOW and

Re: Unifying cape overlays into boot .dtb for BeagleBoard.org boards

2014-06-10 Thread Jason Kridner
Adding devicetree and linux-arm-kernel lists based on feedback on IRC... On Tue, Jun 10, 2014 at 12:46 PM, Jason Kridner wrote: > I'd like to discuss moving our current library of cape devicetree > overlay sources into a single tree, including the boot .dtb files for > BeagleBoard.org boards and

Re: [PATCH] of/platform: Fix microblaze build failure

2014-06-10 Thread Michal Simek
On 06/10/2014 08:59 PM, Guenter Roeck wrote: > Commit bf5db2f (microblaze: Use generic device.h) removes the > microblaze specific pdev_archdata and dma_mask. > > At the same time, commit 591c1ee (of: configure the platform > device dma parameters) initializes the just removed field. > This causes

[PATCHv2 1/2] regulator: of: Add support for parsing regulator_state for suspend state

2014-06-10 Thread Chanwoo Choi
The regulation_constraints structure includes specific field to support suspend state for global PMIC STANDBY/HIBERNATE mode. This patch add support for parsing regulator_state for suspend state. Signed-off-by: Chanwoo Choi --- drivers/regulator/of_regulator.c | 76 ++

[PATCHv2 2/2] dt-bindings: regulator: Add regulator suspend state for PM state

2014-06-10 Thread Chanwoo Choi
This patch add regulator suspend state to constraint in dt file. The regulation_ constraints structure already has regulator suspend state field as following. The regulator suspend state control the state of regulator according to PM (Power Management) state. - struct regulator_state state_disk - s

[PATCHv2 0/2] regulator: of: Add support for pasing regulator suspend state

2014-06-10 Thread Chanwoo Choi
The regulators would set different state/mode according to the kind of suspend state. So regulation_constraints structure has already regulator suspend state filed. This patch parse regulator suspend state from devicetree file. For example: ldoX_reg: LDOx { regulator-name

Re: [PATCH 02/24] drivercore: Bind/unbind power domain on probe/remove

2014-06-10 Thread Rafael J. Wysocki
On Tuesday, June 10, 2014 11:42:25 PM Tomasz Figa wrote: > On 10.06.2014 23:27, Greg Kroah-Hartman wrote: > > On Tue, Jun 10, 2014 at 11:27:45PM +0200, Rafael J. Wysocki wrote: > >> On Tuesday, June 10, 2014 02:53:26 PM Ulf Hansson wrote: > >>> On 10 June 2014 14:11, Rafael J. Wysocki wrote: > >>>

Re: [PATCH v2] ARM: shmobile: henninger: add I2C2 DT support

2014-06-10 Thread Simon Horman
This patch is against 'renesas-devel-v3.15-20140610' tag of Simon Horman's > 'renesas.git' repo. > > Changes in version 2: > - removed I2C devices, to be added by separate patches. > > arch/arm/boot/dts/r8a7791-henninger.dts | 13 + >

Re: [PATCH 0/2] Add VIN and ADV7180 DT support for R8A7791/Henninger board

2014-06-10 Thread Simon Horman
On Wed, Jun 11, 2014 at 03:04:18AM +0400, Sergei Shtylyov wrote: > Hello. > >Here's the set of 2 patches against Simon Horman's 'renesas.git' repo, > 'renesas-devel-v3.15-20140610' tag plus the Henninger I2C2 DT support patch > that I posted e

[PATCH 2/2] ARM: shmobile: henninger: add VIN0/ADV7180 DT support

2014-06-10 Thread Sergei Shtylyov
Define the Henninger board dependent part of the VIN0 device node. Add the device node for Analog Devices ADV7180 video decoder to I2C2 bus. Add the necessary subnodes to interconnect VIN0 and ADV7180 devices. Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7791-henninger.dts | 35 ++

[PATCH 1/2] ARM: shmobile: r8a7791: add VIN DT support

2014-06-10 Thread Sergei Shtylyov
Define the generic R8A7791 parts of the VIN[0-2] device nodes. Add aliases for the VIN[0-2] device nodes. Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7791.dtsi | 27 +++ 1 file changed, 27 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7791.dtsi ==

[PATCH 0/2] Add VIN and ADV7180 DT support for R8A7791/Henninger board

2014-06-10 Thread Sergei Shtylyov
Hello. Here's the set of 2 patches against Simon Horman's 'renesas.git' repo, 'renesas-devel-v3.15-20140610' tag plus the Henninger I2C2 DT support patch that I posted earlier. Here we add the VIN and ADV7180 video decoder device tree support on the R8A7791

[PATCH v2] ARM: shmobile: henninger: add I2C2 DT support

2014-06-10 Thread Sergei Shtylyov
Define the Henninger board dependent part of the I2C2 device node. Based on the Koelsch I2C2 device tree patch by Wolfram Sang. Signed-off-by: Sergei Shtylyov --- This patch is against 'renesas-devel-v3.15-20140610' tag of Simon Horman's 'renesas.git' repo. Changes in

[Patch v2] omap: Add devicetree for Gumstix Pepper board

2014-06-10 Thread Ash Charles
This adds the Gumstix Pepper[1] single-board computer based on the TI AM335x processor. Schematics are available [2]. [1] https://store.gumstix.com/index.php/products/344/ [2] https://pubs.gumstix.com/boards/PEPPER/ Signed-off-by: Ash Charles --- arch/arm/boot/dts/Makefile | 3 +- ar

Re: [PATCH] omap: Add devicetree for Gumstix Pepper board

2014-06-10 Thread Ash Charles
On Tue, Jun 10, 2014 at 8:59 AM, Florian Vaussard wrote: > It is not very common to add oneself as the maintainer of a single .dts > file. I could only found the am335x-nano.dts with such a way of doing. > Usually get_maintainer.pl will also take into account the commit author > and properly handl

Re: [PATCH 02/24] drivercore: Bind/unbind power domain on probe/remove

2014-06-10 Thread Ulf Hansson
On 10 June 2014 23:42, Tomasz Figa wrote: > On 10.06.2014 23:27, Greg Kroah-Hartman wrote: >> On Tue, Jun 10, 2014 at 11:27:45PM +0200, Rafael J. Wysocki wrote: >>> On Tuesday, June 10, 2014 02:53:26 PM Ulf Hansson wrote: On 10 June 2014 14:11, Rafael J. Wysocki wrote: > On Tue, Jun 10,

Re: [PATCH 02/24] drivercore: Bind/unbind power domain on probe/remove

2014-06-10 Thread Tomasz Figa
On 10.06.2014 23:27, Greg Kroah-Hartman wrote: > On Tue, Jun 10, 2014 at 11:27:45PM +0200, Rafael J. Wysocki wrote: >> On Tuesday, June 10, 2014 02:53:26 PM Ulf Hansson wrote: >>> On 10 June 2014 14:11, Rafael J. Wysocki wrote: On Tue, Jun 10, 2014 at 12:51 PM, Ulf Hansson wrote: >

Re: [PATCH 02/24] drivercore: Bind/unbind power domain on probe/remove

2014-06-10 Thread Greg Kroah-Hartman
On Tue, Jun 10, 2014 at 11:27:45PM +0200, Rafael J. Wysocki wrote: > On Tuesday, June 10, 2014 02:53:26 PM Ulf Hansson wrote: > > On 10 June 2014 14:11, Rafael J. Wysocki wrote: > > > On Tue, Jun 10, 2014 at 12:51 PM, Ulf Hansson > > > wrote: > > >> From: Tomasz Figa > > >> > > >> On a number o

Re: [PATCH 02/24] drivercore: Bind/unbind power domain on probe/remove

2014-06-10 Thread Rafael J. Wysocki
On Tuesday, June 10, 2014 02:53:26 PM Ulf Hansson wrote: > On 10 June 2014 14:11, Rafael J. Wysocki wrote: > > On Tue, Jun 10, 2014 at 12:51 PM, Ulf Hansson > > wrote: > >> From: Tomasz Figa > >> > >> On a number of platforms, devices are part of controllable power > >> domains, which need to b

Re: [PATCH 1/2 v2] spi: s3c64xx: use "cs-gpios" from spi node instead of "cs-gpio"

2014-06-10 Thread Rob Herring
On Tue, Jun 10, 2014 at 1:09 PM, Doug Anderson wrote: > Naveen / Sylwester, > > On Tue, Jun 10, 2014 at 4:00 AM, Naveen Krishna Ch > wrote: >>> Can we support both "cs-gpio" and "cs-gpios" for backward compatibility ? >>> After your change all DTBs using the original pattern will not work with >>

Re: [PATCH 1/2 v2] spi: s3c64xx: use "cs-gpios" from spi node instead of "cs-gpio"

2014-06-10 Thread Doug Anderson
Tomasz, On Tue, Jun 10, 2014 at 12:59 PM, Tomasz Figa wrote: > On 10.06.2014 21:58, Doug Anderson wrote: >> Tomasz, >> >> On Tue, Jun 10, 2014 at 12:49 PM, Tomasz Figa wrote: >>> This is wrong. The "cs-gpios" property is supposed to be an array, >>> indexed by chip select number of SPI devices (

Re: [PATCH 1/2 v2] spi: s3c64xx: use "cs-gpios" from spi node instead of "cs-gpio"

2014-06-10 Thread Tomasz Figa
On 10.06.2014 21:58, Doug Anderson wrote: > Tomasz, > > On Tue, Jun 10, 2014 at 12:49 PM, Tomasz Figa wrote: >> This is wrong. The "cs-gpios" property is supposed to be an array, >> indexed by chip select number of SPI devices (indicated by their "reg" >> properties). >> >> Moreover, is there a n

Re: [PATCH 1/2 v2] spi: s3c64xx: use "cs-gpios" from spi node instead of "cs-gpio"

2014-06-10 Thread Doug Anderson
Tomasz, On Tue, Jun 10, 2014 at 12:49 PM, Tomasz Figa wrote: > This is wrong. The "cs-gpios" property is supposed to be an array, > indexed by chip select number of SPI devices (indicated by their "reg" > properties). > > Moreover, is there a need to parse this manually in this driver? I can > se

Re: [PATCH 1/2 v2] spi: s3c64xx: use "cs-gpios" from spi node instead of "cs-gpio"

2014-06-10 Thread Tomasz Figa
Hi Naveen, On 10.06.2014 12:08, Naveen Krishna Chatradhi wrote: > Currently, spi-s3c64xx.c needs "cs-gpio" chip select GPIO to be > defined under "controller-data" node under each slave node. [snip] > @@ -85,6 +83,7 @@ Example: > #size-cells = <0>; > pinctrl-names = "

Re: [PATCH v5 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-10 Thread Wolfram Sang
Hi, compiling this driver gives me: drivers/i2c/busses/i2c-sun6i-p2wi.c: In function 'p2wi_probe': drivers/i2c/busses/i2c-sun6i-p2wi.c:272:2: error: implicit declaration of function 'devm_reset_control_get' [-Werror=implicit-function-declaration] drivers/i2c/busses/i2c-sun6i-p2wi.c:272:13: warni

Re: [PATCH 1/2 v2] spi: s3c64xx: use "cs-gpios" from spi node instead of "cs-gpio"

2014-06-10 Thread Tomasz Figa
On 10.06.2014 20:09, Doug Anderson wrote: > Naveen / Sylwester, > > On Tue, Jun 10, 2014 at 4:00 AM, Naveen Krishna Ch > wrote: >>> Can we support both "cs-gpio" and "cs-gpios" for backward compatibility ? >>> After your change all DTBs using the original pattern will not work with >>> new kernel

Re: [PATCH v5] i2c: add driver for Rockchip RK3xxx SoC I2C adapter

2014-06-10 Thread Wolfram Sang
Hi, On Sat, Jun 07, 2014 at 07:36:19PM +0200, Max Schwarz wrote: > Driver for the native I2C adapter found in Rockchip RK3xxx SoCs. > > Configuration is only possible through devicetree. The driver is > interrupt driven and supports the I2C_M_IGNORE_NAK mangling bit. > > Signed-off-by: Max Schwa

Re: [PATCH 1/2 v2] spi: s3c64xx: use "cs-gpios" from spi node instead of "cs-gpio"

2014-06-10 Thread Tomasz Figa
On 10.06.2014 20:26, Doug Anderson wrote: > Naveen, > > Not a full review, but a few quick things I happened to notice: > > On Tue, Jun 10, 2014 at 3:08 AM, Naveen Krishna Chatradhi > wrote: >> @@ -94,7 +93,6 @@ Example: >> spi-max-frequency = <1>; >> >>

Re: [RFC PATCH] dma: at_xdmac: creation of the atmel eXtended DMA Controller driver

2014-06-10 Thread Arnd Bergmann
On Tue, May 27, 2014 at 10:35:36AM +0200, Ludovic Desroches wrote: > +static struct dma_chan *at_xdmac_xlate(struct of_phandle_args *dma_spec, > +struct of_dma *of_dma) > +{ > + struct at_xdmac_chan*atchan; > + struct dma_chan *chan; > + d

[PATCH] of/platform: Fix microblaze build failure

2014-06-10 Thread Guenter Roeck
Commit bf5db2f (microblaze: Use generic device.h) removes the microblaze specific pdev_archdata and dma_mask. At the same time, commit 591c1ee (of: configure the platform device dma parameters) initializes the just removed field. This causes all microblaze builds to fail. Drop the unnecessary ini

[PATCH v2 8/8] ARM: keystone: add pcie related options

2014-06-10 Thread Murali Karicheri
Add pcie related options by default for keystone architecture Signed-off-by: Murali Karicheri CC: Santosh Shilimkar CC: Russell King CC: Grant Likely CC: Rob Herring CC: Mohit Kumar CC: Jingoo Han CC: Bjorn Helgaas CC: Pratyush Anand CC: Richard Zhu CC: Kishon Vijay Abraham I CC: Marek

[PATCH v2 1/8] PCI: designware: add rd[wr]_other_conf API

2014-06-10 Thread Murali Karicheri
v3.65 version of the designware h/w, requires application space registers to be configured to access the remote EP config space. To support this, add rd[wr]_other_conf API in the pcie_host_opts Signed-off-by: Murali Karicheri CC: Santosh Shilimkar CC: Russell King CC: Grant Likely CC: Rob Her

[PATCH v2 3/8] PCI: designware: update pcie core driver to work with dw hw version 3.65

2014-06-10 Thread Murali Karicheri
v3.65 version of the dw hw has MSI controller implemented in the application space. Add a version variable in the port struct to identify v3.65 hardware for different code treatment. This variable will have DW_V3_65 bit set when running on this hw version. The host init code is expected to set this

[PATCH v2 0/8] Add Keystone PCIe controller driver

2014-06-10 Thread Murali Karicheri
This patch adds a PCIe controller driver for Keystone SoCs. This is based on v1 of the series posted to the mailing list. CC: Santosh Shilimkar CC: Russell King CC: Grant Likely CC: Rob Herring CC: Mohit Kumar CC: Jingoo Han CC: Bjorn Helgaas CC: Pratyush Anand CC: Richard Zhu CC: Kishon

[PATCH v2 4/8] PCI: designware: add msi controller functions for v3.65 hw

2014-06-10 Thread Murali Karicheri
Add dw msi controller functions for v3.65 hw. This adds dw_v3_65_msi_chip and dw_v3_65_msi_domain_ops so that can be used on this version of the hw. This required since MSI irq registers reside in the application space for v3.65 hw. The functions are used by v3.65 dw pci core functions to support i

[PATCH v2 6/8] phy: Add serdes phy driver for keystone

2014-06-10 Thread Murali Karicheri
This phy driver added to support keystone PCI driver. This is a generic phy driver and can work with multiple hardware IPs available on Keystone SoC. The hw vendor that provides the phy hw published only registers and their values. So this driver uses these hard coded values to initialize the phy.

[PATCH v2 7/8] PCI: keystone: add pcie driver based on designware core driver

2014-06-10 Thread Murali Karicheri
keystone pcie hardware is based on designware version 3.65. This driver make use of the functions from pci-dw-old.c and pci-dw-old-msi.c to implement the driver. Driver mainly handle the platform specific part of the PCI driver and depends on DW Old driver to configure application specific registe

[PATCH v2 2/8] PCI: designware: refactor host init code to re-use on v3.65 DW pci hw

2014-06-10 Thread Murali Karicheri
Current DW PCI host init code has code specific to newer hw such as ATU port specific resource parsing and map. v3.65 DW PCI host has MSI controller in application space and requires different controller initialization code. So refactor the msi host controller code into a separate function. Other c

[PATCH v2 5/8] PCI: designware: add PCI controller functions for v3.65 DW hw

2014-06-10 Thread Murali Karicheri
Add common PCI controller functions for v3.65 DW hw version. This provides a function, dw_v3_65_pcie_host_init() to initialize the host. It check compatibility string dw,snps-pcie-v3.65 that is expected to be present in the device node of a v3.65 compliant hw and initialize the controller using oth

Re: [PATCH 1/2 v2] spi: s3c64xx: use "cs-gpios" from spi node instead of "cs-gpio"

2014-06-10 Thread Doug Anderson
Naveen, Not a full review, but a few quick things I happened to notice: On Tue, Jun 10, 2014 at 3:08 AM, Naveen Krishna Chatradhi wrote: > @@ -94,7 +93,6 @@ Example: > spi-max-frequency = <1>; > > controller-data { > -

[PATCH] pinctrl: msm: Add msm8960 definitions

2014-06-10 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- .../bindings/pinctrl/qcom,msm8960-pinctrl.txt | 108 ++ drivers/pinctrl/Kconfig|8 + drivers/pinctrl/Makefile |1 + drivers/pinctrl/pinctrl-msm8960.c | 1254

Re: [PATCH 1/2 v2] spi: s3c64xx: use "cs-gpios" from spi node instead of "cs-gpio"

2014-06-10 Thread Doug Anderson
Naveen / Sylwester, On Tue, Jun 10, 2014 at 4:00 AM, Naveen Krishna Ch wrote: >> Can we support both "cs-gpio" and "cs-gpios" for backward compatibility ? >> After your change all DTBs using the original pattern will not work with >> new kernels any more. At least I would expect such backward com

Re: [RFC PATCH] dma: at_xdmac: creation of the atmel eXtended DMA Controller driver

2014-06-10 Thread Arnd Bergmann
On Tuesday 10 June 2014 17:41:18 Maxime Ripard wrote: > > +DMA clients connected to the Atmel XDMA controller must use the format > > +described in the dma.txt file, using a three-cell specifier for each > > channel: > > +a phandle plus two integer cells. > > +The three cells in order are: > > + >

[PATCH] of: avoid format string parsing in kobject names

2014-06-10 Thread Kees Cook
This makes sure a format string cannot leak into the kobject name that is constructed. (And splits the >80 character line.) Signed-off-by: Kees Cook --- drivers/of/base.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index 8368d96a

Re: [PATCH] omap: Add devicetree for Gumstix Pepper board

2014-06-10 Thread Florian Vaussard
Hi Ash, On 06/06/2014 10:51 PM, Ash Charles wrote: > This adds the Gumstix Pepper[1] single-board computer based on the > TI AM335x processor. Schematics are available [2]. > > [1] https://store.gumstix.com/index.php/products/344/ > [2] https://pubs.gumstix.com/boards/PEPPER/ > > Signed-off-by:

Re: [RFC PATCH] dma: at_xdmac: creation of the atmel eXtended DMA Controller driver

2014-06-10 Thread Maxime Ripard
Hi Ludovic, On Tue, May 27, 2014 at 10:35:36AM +0200, Ludovic Desroches wrote: > Introduction of a new atmel DMA controller known as xdmac. > > Signed-off-by: Ludovic Desroches > --- > > Hi, > > All comments are welcomed to improve this driver! > > Thanks > > .../devicetree/bindings/dma/atm

Re: [PATCH v2 2/3] clk: exynos5420: Add IDs for clocks used in PD mfc

2014-06-10 Thread Tomasz Figa
Hi, On 26.05.2014 13:56, Shaik Ameer Basha wrote: > From: Arun Kumar K > > Adds IDs for MUX clocks to be used by power domain for MFC > for doing re-parenting while pd on/off. > > Signed-off-by: Arun Kumar K > Signed-off-by: Shaik Ameer Basha > --- > drivers/clk/samsung/clk-exynos5420.c |

Re: [PATCH v2 1/3] ARM: EXYNOS: Add support for clock handling in power domain

2014-06-10 Thread Tomasz Figa
Hi, On 26.05.2014 13:56, Shaik Ameer Basha wrote: > From: Prathyush K > > While powering on/off a local powerdomain in exynos5 chipsets, the input > clocks to each device gets modified. This behaviour is based on the > SYSCLK_SYS_PWR_REG registers. > E.g. SYSCLK_MFC_SYS_PWR_REG = 0x0, the parent

Re: [PATCH v5 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-10 Thread Arnd Bergmann
On Tuesday 10 June 2014 16:36:04 Maxime Ripard wrote: > On Tue, Jun 10, 2014 at 03:54:56PM +0200, Arnd Bergmann wrote: > > On Tuesday 10 June 2014 15:47:16 Boris BREZILLON wrote: > > > > > > +config I2C_SUN6I_P2WI > > > + tristate "Allwinner sun6i internal P2WI controller" > > > + depe

Re: [PATCH v5 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-10 Thread Maxime Ripard
Hi Arnd, On Tue, Jun 10, 2014 at 03:54:56PM +0200, Arnd Bergmann wrote: > On Tuesday 10 June 2014 15:47:16 Boris BREZILLON wrote: > > > > +config I2C_SUN6I_P2WI > > + tristate "Allwinner sun6i internal P2WI controller" > > + depends on ARCH_SUNXI > > + help > > + If you

Re: [PATCH v5 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-10 Thread Arnd Bergmann
On Tuesday 10 June 2014 15:47:16 Boris BREZILLON wrote: > > +config I2C_SUN6I_P2WI > + tristate "Allwinner sun6i internal P2WI controller" > + depends on ARCH_SUNXI > + help > + If you say yes to this option, support will be included for the > + P2WI (Push/Pull 2

Re: [RESEND2 PATCH v4 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-10 Thread Boris BREZILLON
Hello Paul, On 10/06/2014 10:56, Paul Carpenter wrote: > Wolfram Sang wrote: >> On Tue, Jun 03, 2014 at 10:49:52AM +0200, Boris BREZILLON wrote: >>> The P2WI looks like an SMBus controller which only supports byte data >>> transfers. But, it differs from standard SMBus protocol on several >>> aspe

[PATCH v5 1/2] i2c: sunxi: add P2WI DT bindings documentation

2014-06-10 Thread Boris BREZILLON
P2WI (Push/Pull 2 Wire Interface) is an SMBus like bus used to communicate with some PMICs (like the AXP221). Document P2WI DT bindings which are pretty much the same as the one defined for the marvell's mv64xxx controller. Signed-off-by: Boris BREZILLON --- .../devicetree/bindings/i2c/i2c-sunx

[PATCH v5 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-10 Thread Boris BREZILLON
The P2WI controller looks like an SMBus controller which only supports byte data transfers. But, it differs from standard SMBus protocol on several aspects: - it supports only one slave device, and thus drop the address field - it adds a parity bit every 8bits of data - only one read access is requ

[PATCH v5 0/2] i2c: sunxi: add P2WI controller support

2014-06-10 Thread Boris BREZILLON
Hello, This series adds support for the P2WI block used by some Allwinner boards to interface with the AXP221 PMIC. Best Regards, Boris Changes since v4: - add P2WI protocol description in driver header comment - remove unneeded i2c address check - remove unneeded irq field from p2wi struct Ch

Re: [PATCH v3 1/6] i2c: s3c2410: Handle i2c sys_cfg register in i2c driver

2014-06-10 Thread Tomasz Figa
Hi Pankaj, On 10.05.2014 09:20, Pankaj Dubey wrote: > Let's handle i2c interrupt re-configuration in i2c driver. This will > help us in removing some soc specific checks from machine files. > Since only Exynos5250, and Exynos5420 need to do this, added syscon > based phandle to i2c device nodes of

Re: [PATCH 02/24] drivercore: Bind/unbind power domain on probe/remove

2014-06-10 Thread Ulf Hansson
On 10 June 2014 14:11, Rafael J. Wysocki wrote: > On Tue, Jun 10, 2014 at 12:51 PM, Ulf Hansson wrote: >> From: Tomasz Figa >> >> On a number of platforms, devices are part of controllable power >> domains, which need to be enabled before such devices can be accessed >> and may be powered down w

[PATCH v3 2/4] crypto: Update makefile and Kconfig for Security System

2014-06-10 Thread LABBE Corentin
Add necessary changes for configuring and compiling the Security System driver. Signed-off-by: LABBE Corentin --- drivers/crypto/Kconfig | 91 + drivers/crypto/Makefile | 1 + 2 files changed, 92 insertions(+) diff --git a/drivers/crypto/Kconfig

[PATCH v3 1/4] crypto: Add Allwinner Security System crypto accelerator

2014-06-10 Thread LABBE Corentin
Add support for the Security System included in Allwinner SoC A20. The Security System is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG algorithms. Signed-off-by: LABBE Corentin --- drivers/crypto/sunxi-ss/Makefile | 19 ++ drivers/crypto/sunxi-ss/s

[PATCH v3 3/4] ARM: sun7i: dt: Add Security System to A20 SoC DTS

2014-06-10 Thread LABBE Corentin
The Security System is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG algorithms. It could be found on many Allwinner SoC. This patch enable the Security System on the Allwinner A20 SoC Device-tree. Signed-off-by: LABBE Corentin --- arch/arm/boot/dts/sun7i-a20.dtsi

[PATCH v3 4/4] ARM: sunxi: dt: Add DT bindings documentation for SUNXI Security System

2014-06-10 Thread LABBE Corentin
This patch adds documentation for Device-Tree bindings for the Security System cryptographic accelerator driver. Signed-off-by: LABBE Corentin --- Documentation/devicetree/bindings/crypto/sunxi-ss.txt | 9 + 1 file changed, 9 insertions(+) create mode 100644 Documentation/devicetree/bin

[PATCH v3] crypto: Add Allwinner Security System crypto accelerator

2014-06-10 Thread LABBE Corentin
Hello This is the driver for the Security System included in Allwinner SoC A20. The Security System (SS for short) is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG algorithms. It could be found on others Allwinner SoC: - A10s and A31 diagram speak about it with pre

Re: [PATCH v2 5/5] ARM: atmel: at91sam9n12ek: switch sound to CCF

2014-06-10 Thread Nicolas Ferre
On 09/06/2014 05:31, Bo Shen : > As the at91sam9n12ek has switch to CCF, so add clock for wm8904 > > Signed-off-by: Bo Shen > Reviwed-by: Mark Brown Acked-by: Nicolas Ferre Thanks. > --- > Changes in v2: > - None > > arch/arm/boot/dts/at91sam9n12ek.dts | 2 ++ > 1 file changed, 2 inserti

Re: [PATCH v2 4/5] ARM: atmel: sama5d3xek: switch sound to CCF

2014-06-10 Thread Nicolas Ferre
On 09/06/2014 05:31, Bo Shen : > As the sama5d3xek board has switch to CCF, so add clock for wm8904 > > Signed-off-by: Bo Shen > Reviwed-by: Mark Brown Acked-by: Nicolas Ferre And taken for next "dt" branch (maybe can go in before). Thanks. > --- > Changes in v2: > - None > > arch/arm/bo

Re: [PATCH 02/24] drivercore: Bind/unbind power domain on probe/remove

2014-06-10 Thread Rafael J. Wysocki
On Tue, Jun 10, 2014 at 12:51 PM, Ulf Hansson wrote: > From: Tomasz Figa > > On a number of platforms, devices are part of controllable power > domains, which need to be enabled before such devices can be accessed > and may be powered down when the device is idle to save some power. > This means

[PATCH v3 1/2] usb: doc: udc-xilinx: Add devicetree bindings

2014-06-10 Thread subbaraya.sundeep.bhatta
From: Subbaraya Sundeep Bhatta Add devicetree bindings for Xilinx axi udc driver. Signed-off-by: Subbaraya Sundeep Bhatta --- Changes for v3: - None Changes for v2: - replaced xlnx,include-dma with xlnx,has-builtin-dma .../devicetree/bindings/usb/udc-xilinx.txt | 20

Re: [PATCH 0/2] ARM: topology: Allow to set the frequency through a clock

2014-06-10 Thread Maxime Ripard
On Wed, May 21, 2014 at 09:33:14PM +0200, Maxime Ripard wrote: > Hi, > > This patch series add the possibility for the topology code to get the > CPU frequency through a DT clock handle instead of needing a > clock-frequency property. > > Indeed, this information can be quite redundant if the clo

[PATCH v2 2/4] pinctrl: Add NVIDIA Tegra XUSB pad controller support

2014-06-10 Thread Thierry Reding
From: Thierry Reding The XUSB pad controller found on NVIDIA Tegra SoCs provides several pads that lanes can be assigned to in order to support a variety of interface options: USB 2.0, USB 3.0, PCIe and SATA. In addition to the pin controller used to assign lanes to pads two PHYs are exposed to

[PATCH v2 3/4] ARM: tegra: tegra124: Add XUSB pad controller

2014-06-10 Thread Thierry Reding
From: Thierry Reding The device tree node in the SoC file contains only the resources (such as registers, resets, ...) but none of the lane assignment information since that's board specific and belongs in the board file. Signed-off-by: Thierry Reding --- Changes in v2: - include dt-bindings/pi

[PATCH v2 4/4] ARM: tegra: jetson-tk1: Add XUSB pad controller

2014-06-10 Thread Thierry Reding
From: Thierry Reding Assign lanes to the XUSB pads as used on the Jetson TK1. Signed-off-by: Thierry Reding --- arch/arm/boot/dts/tegra124-jetson-tk1.dts | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/tegra124-jetson-tk1.dts b/arch/arm/boot/d

[PATCH v2 1/4] of: Add NVIDIA Tegra XUSB pad controller binding

2014-06-10 Thread Thierry Reding
From: Thierry Reding This patch adds the device tree binding documentation for the XUSB pad controller found on NVIDIA Tegra SoCs. It exposes both pinmuxing and PHY capabilities. Signed-off-by: Thierry Reding --- Changes in v2: - move header file to this patch and refer to it in the binding - u

Re: [PATCH 1/2 v2] spi: s3c64xx: use "cs-gpios" from spi node instead of "cs-gpio"

2014-06-10 Thread Naveen Krishna Ch
Hello Sylwester, Thanks for the review. On 10 June 2014 16:09, Sylwester Nawrocki wrote: > On 10/06/14 12:08, Naveen Krishna Chatradhi wrote: >> Currently, spi-s3c64xx.c needs "cs-gpio" chip select GPIO to be >> defined under "controller-data" node under each slave node. >> >> &spi_x { >> c

Re: [PATCH 2/5] regulator: Add driver for Maxim 77802 PMIC regulators

2014-06-10 Thread Mark Brown
On Tue, Jun 10, 2014 at 01:29:17AM +0200, Javier Martinez Canillas wrote: > On 06/09/2014 09:38 PM, Mark Brown wrote: > > On Mon, Jun 09, 2014 at 11:37:47AM +0200, Javier Martinez Canillas wrote: > >> + case REGULATOR_MODE_STANDBY:/* switch off */ > >> + if (id != MAX

[PATCH 22/24] ARM: ux500: Enable Kconfig for the generic power domain

2014-06-10 Thread Ulf Hansson
Since ux500 uses genpd, this will enable the power domain support. Cc: Linus Walleij Cc: Tomasz Figa Cc: devicetree@vger.kernel.org Signed-off-by: Ulf Hansson --- arch/arm/mach-ux500/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux50

[PATCH 17/24] drivers: sh: Leave disabling of unused pm domains to genpd

2014-06-10 Thread Ulf Hansson
Since genpd at late init, will try to disable unused domains we don't need to handle it from here as well. Cc: Simon Horman Cc: Magnus Damm Signed-off-by: Ulf Hansson --- drivers/sh/pm_runtime.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/sh/pm_runtime.c b/drivers

[PATCH 13/24] PM / Domains: Remove genpd_queue_power_off_work() API

2014-06-10 Thread Ulf Hansson
There are no active users of this API. Let's remove it and if future needs shows up which could consider to have a get/put API instead. Signed-off-by: Ulf Hansson --- drivers/base/power/domain.c |5 - include/linux/pm_domain.h |2 -- 2 files changed, 4 insertions(+), 3 deletions(-)

[PATCH 21/24] ARM: ux500: Initial support for power domains

2014-06-10 Thread Ulf Hansson
The ux500 SoC uses the generic power domain and requires the domains to be specified through DT. Currently the callbacks for handling power gating are empty functions which shall be implemented once each device are handled properly from a runtime PM perspective. Cc: Linus Walleij Cc: Tomasz Figa

[PATCH 09/24] PM / Domains: Remove dev_irq_safe from genpd config

2014-06-10 Thread Ulf Hansson
The genpd dev_irq_safe configuration overlaps with the runtime PM pm_runtime_irq_safe() option. Let's remove it. Signed-off-by: Ulf Hansson --- drivers/base/power/domain.c |4 include/linux/pm_domain.h |1 - 2 files changed, 5 deletions(-) diff --git a/drivers/base/power/domain.c

[PATCH 15/24] ARM: exynos: Leave disabling of unused pm domains to genpd

2014-06-10 Thread Ulf Hansson
Since genpd at late init, will try to disable unused domains we don't need to handle it from here as well. Cc: Kukjin Kim Signed-off-by: Ulf Hansson --- arch/arm/mach-exynos/exynos.c |1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exyno

[PATCH 23/24] ARM: ux500: Add DT node for ux500 power domains

2014-06-10 Thread Ulf Hansson
Cc: Linus Walleij Cc: Tomasz Figa Cc: devicetree@vger.kernel.org Signed-off-by: Ulf Hansson --- arch/arm/boot/dts/ste-dbx5x0.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/ste-dbx5x0.dtsi b/arch/arm/boot/dts/ste-dbx5x0.dtsi index e41eedc..29a7013 100644 --- a

[PATCH 24/24] ARM: ux500: Add sdi[n] devices to VAPE power domain

2014-06-10 Thread Ulf Hansson
Since ux500 uses the mmci host driver for these devices and since that driver are well behaving from a runtime PM perspective, we can now add these device to the VAPE power domain. Cc: Linus Walleij Cc: Tomasz Figa Cc: devicetree@vger.kernel.org Signed-off-by: Ulf Hansson --- arch/arm/boot/dts

[PATCH 14/24] PM / Domains: Add late_initcall to disable unused domains

2014-06-10 Thread Ulf Hansson
As default behavior let genpd at late init try to disable the unused domains. Signed-off-by: Ulf Hansson --- drivers/base/power/domain.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index 825e81d..095a4fa4 100644 --- a/dr

[PATCH 11/24] PM / Domains: Remove legacy API for adding devices through DT

2014-06-10 Thread Ulf Hansson
There are no active clients of the legacy API and we now also have a sophisticated way, where driver core deals with adding devices to genpd while probing. So, let's remove the legacy API. Signed-off-by: Ulf Hansson --- drivers/base/power/domain.c | 33 - includ

[PATCH 16/24] ARM: s3c64xx: Leave disabling of unused pm domains to genpd

2014-06-10 Thread Ulf Hansson
Since genpd at late init, will try to disable unused domains we don't need to handle it from machine specific code as well. Cc: Ben Dooks Cc: Kukjin Kim Signed-off-by: Ulf Hansson --- arch/arm/mach-s3c64xx/common.c|5 - arch/arm/mach-s3c64xx/common.h|7 --- arch

[PATCH 20/24] dt: bindings: ux500: Add header for power domains specifiers

2014-06-10 Thread Ulf Hansson
Cc: Linus Walleij Cc: Tomasz Figa Cc: devicetree@vger.kernel.org Signed-off-by: Ulf Hansson --- include/dt-bindings/arm/ux500_pm_domains.h | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 include/dt-bindings/arm/ux500_pm_domains.h diff --git a/include/dt-bindings/ar

[PATCH 18/24] PM / Domains: Remove default_stop_ok() API

2014-06-10 Thread Ulf Hansson
There are currently no need to export default_stop_ok() as an API, instead let's keep it local to the domain governor. Signed-off-by: Ulf Hansson --- drivers/base/power/domain_governor.c |7 ++- include/linux/pm_domain.h|9 + 2 files changed, 3 insertions(+), 13 d

[PATCH 10/24] PM / Domains: Remove redundant check for CONFIG_PM

2014-06-10 Thread Ulf Hansson
CONFIG_PM_GENERIC_DOMAINS depends on CONFIG_PM, thus there are no need to check explicity for it. Signed-off-by: Ulf Hansson --- drivers/base/power/domain.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index a2ebc77..0362360

[PATCH 06/24] PM / Domains: Remove system PM callbacks from gpd_dev_ops

2014-06-10 Thread Ulf Hansson
There no users of these callbacks, let's simplify the generic power domain by removing them. Signed-off-by: Ulf Hansson --- drivers/base/power/domain.c | 64 ++- include/linux/pm_domain.h |8 -- 2 files changed, 8 insertions(+), 64 deletions(-)

[PATCH 08/24] ARM: shmobile: Drop dev_irq_safe from R-mobile genpd config

2014-06-10 Thread Ulf Hansson
The dev_irq_safe configuration is redundant, genpd don't have any special treatmeant for handling it. Let's remove it. Cc: Simon Horman Cc: Magnus Damm Signed-off-by: Ulf Hansson --- arch/arm/mach-shmobile/pm-rmobile.c |1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-shmobil

[PATCH 07/24] ARM: shmobile: Drop dev_irq_safe from r8a7779 genpd config

2014-06-10 Thread Ulf Hansson
The dev_irq_safe configuration is redundant, genpd don't have any special treatmeant for handling it. Let's remove it. Cc: Simon Horman Cc: Magnus Damm Signed-off-by: Ulf Hansson --- arch/arm/mach-shmobile/pm-r8a7779.c |1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-shmobil

[PATCH 12/24] PM / Domains: Remove pm_genpd_syscore_switch() API

2014-06-10 Thread Ulf Hansson
The pm_genpd_syscore_poweroff() API and pm_genpd_syscore_poweron() API makes the pm_genpd_syscore_switch() API redundant. Moreover, since there are no active users, let's just remove it. Signed-off-by: Ulf Hansson --- drivers/base/power/domain.c | 17 ++--- include/linux/pm_domain

  1   2   >