[PATCH] DT: video: atmel_lcdc: Add example of fixed framebuffer memory

2014-03-31 Thread Alexander Stein
This drivers allows a fixed framebuffer memory to be set by an additional IORESOURCE_MEM resource. Thus add an example to the DT documentation. Signed-off-by: Alexander Stein --- Actually I stumbled myself over this wondering how can I use this specific feature. In the end I found it myself my co

[PATCH] of: fix of_update_property [v2]

2014-03-31 Thread Xiubo Li
The of_update_property() is intented to update a property in a node and if the property does not exist, will add it. The second search of the property is possibly won't be found, that maybe removed by other thread just before the second search begain. Using the __of_find_property() and __of_add_p

Re: [PATCH RFC v4 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-31 Thread Sascha Hauer
On Mon, Mar 31, 2014 at 06:04:54PM +0100, Ben Dooks wrote: > On 31/03/14 17:41, Sylwester Nawrocki wrote: > >This function adds a helper function to configure clock parents and rates > >as specified in clock-parents, clock-rates DT properties for a consumer > >device and a call to it before driver

Re: [RFC 0/5] of: Automatic console registration cleanups

2014-03-31 Thread Sascha Hauer
On Mon, Mar 31, 2014 at 10:41:24AM +0100, Grant Likely wrote: > On Mon, 31 Mar 2014 09:10:15 +0200, Sascha Hauer > wrote: > > On Fri, Mar 28, 2014 at 09:08:00AM -0700, Grant Likely wrote: > > > Hi all, > > > > > > This is a series that I've been playing with over the last few days to > > > clean

Re: [PATCH 2/2] arm: socfpga: Add support for Altera SoC SDRAM controller

2014-03-31 Thread Steffen Trumtrar
On Mon, Mar 31, 2014 at 05:07:07PM -0500, ttha...@altera.com wrote: > From: Thor Thayer > > Addition of the Altera SDRAM controller registers to the > Altera SoC project. These registers are shared by future > drivers such as ECC and the FPGA bridge. > > Signed-off-by: Thor Thayer > To: Rob Her

Re: [PATCH 1/2] dts: socfpga: Add bindings for Altera SoC SDRAM controller

2014-03-31 Thread Steffen Trumtrar
Hi! On Mon, Mar 31, 2014 at 05:07:06PM -0500, ttha...@altera.com wrote: > From: Thor Thayer > > Addition of the Altera SDRAM controller bindings and device > tree changes to the Altera SoC project. > > Signed-off-by: Thor Thayer > To: Rob Herring > To: Pawel Moll > To: Mark Rutland > To: Ia

Re: [PATCH v2 3/7] clk: exynos5420: Rename clock IDs

2014-03-31 Thread Shaik Ameer Basha
On Tue, Apr 1, 2014 at 10:12 AM, Shaik Ameer Basha wrote: > On Fri, Mar 28, 2014 at 1:19 AM, Gerhard Sittig wrote: >> On Thu, 2014-03-27 at 16:37 +0530, Shaik Ameer Basha wrote: >>> >>> From: Rahul Sharma >>> >>> This patch renames the clock IDs used for the DT bindings as >>> per Exynos5420 dat

Re: [PATCH v2 3/7] clk: exynos5420: Rename clock IDs

2014-03-31 Thread Shaik Ameer Basha
On Fri, Mar 28, 2014 at 1:19 AM, Gerhard Sittig wrote: > On Thu, 2014-03-27 at 16:37 +0530, Shaik Ameer Basha wrote: >> >> From: Rahul Sharma >> >> This patch renames the clock IDs used for the DT bindings as >> per Exynos5420 datasheet. >> >> Signed-off-by: Rahul Sharma >> Signed-off-by: Shaik

Re: [PATCH v3 1/2] i2c: Add driver for Cadence I2C controller

2014-03-31 Thread Wolfram Sang
On Tue, Mar 11, 2014 at 09:50:12AM -0700, Soren Brinkmann wrote: > Add a driver for the Cadence I2C controller. This controller is for > example found in Xilinx Zynq. > > Signed-off-by: Soren Brinkmann ... > +static irqreturn_t cdns_i2c_isr(int irq, void *ptr) > +{ > + unsigned int isr_stat

Re: [PATCH 1/2] watchdog: Add Cadence WDT driver

2014-03-31 Thread Guenter Roeck
On 03/28/2014 03:31 AM, Harini Katakam wrote: Add Cadence WDT driver. This is used by Xilinx Zynq. Signed-off-by: Harini Katakam --- drivers/watchdog/Kconfig |7 + drivers/watchdog/Makefile |1 + drivers/watchdog/cadence_wdt.c | 530 ++

Re: [PATCH 1/2] watchdog: Add Cadence WDT driver

2014-03-31 Thread Guenter Roeck
On 03/31/2014 03:30 AM, One Thousand Gnomes wrote: + wdt->cdns_wdt_notifier.notifier_call = &cdns_wdt_notify_sys; + /* Register the reboot notifier */ + ret = register_reboot_notifier(&wdt->cdns_wdt_notifier); + if (ret != 0) { + dev_err(&pdev->dev, "cannot

Re: Extending wdt-gpio to be used on non-of (no DT) platforms

2014-03-31 Thread Guenter Roeck
On Sat, Mar 29, 2014 at 12:54:40PM +0100, Rafał Miłecki wrote: > Hi guys, > > I've noticed gpio_wdt was added to the kernel to support some devices > based on devicetree. > We used to have our own (not mainlined) gpio_wdt in OpenWrt project: > http://git.openwrt.org/?p=openwrt.git;a=blob;f=target/

Re: [linux-nfc] [PATCH v3 1/2] NFC: pn544_i2c: Add device-tree (Open Firmware) support to PN544

2014-03-31 Thread Samuel Ortiz
Hi Clement, One more comment: On Mon, Mar 31, 2014 at 12:21:44PM +, Clement Perrochaud wrote: > + /* No platform data, using device tree. */ > + if (!pdata && client->dev.of_node) { > + r = pn544_hci_i2c_of_request_resources(client); > + if (r) { > +

Re: [PATCH] of: Add vendor prefix for Energy Micro

2014-03-31 Thread Wolfram Sang
> > > "Patches floating around" is not a very convincing argument why > > > "silabs" should not just be used instead. I have no problem taking > > > this, but if changing to silabs is possible, we may want to do that. > > I think energymicro is still the right prefix, because back when efm32 > > w

Re: [PATCHv4 0/7] omap hwspinlock dt support

2014-03-31 Thread Suman Anna
On 03/18/2014 08:35 AM, Ohad Ben-Cohen wrote: > Hi Suman, > > On Tue, Mar 18, 2014 at 1:46 AM, Suman Anna wrote: >> So far, we have not come across multiple controllers. I see your point, >> and I think this also depends on the semantics of how you exchange the >> lock id number. The agreement at

[PATCH 2/2] arm: socfpga: Add support for Altera SoC SDRAM controller

2014-03-31 Thread tthayer
From: Thor Thayer Addition of the Altera SDRAM controller registers to the Altera SoC project. These registers are shared by future drivers such as ECC and the FPGA bridge. Signed-off-by: Thor Thayer To: Rob Herring To: Pawel Moll To: Mark Rutland To: Ian Campbell To: Kumar Gala To: Rob La

[PATCH 1/2] dts: socfpga: Add bindings for Altera SoC SDRAM controller

2014-03-31 Thread tthayer
From: Thor Thayer Addition of the Altera SDRAM controller bindings and device tree changes to the Altera SoC project. Signed-off-by: Thor Thayer To: Rob Herring To: Pawel Moll To: Mark Rutland To: Ian Campbell To: Kumar Gala To: Rob Landley To: Russell King To: Dinh Nguyen Cc: devicetre

Re: [PATCH 5/9] ARM: shmbobile: r8a7790.dtsi: add pci0/1/2 nodes

2014-03-31 Thread Sergei Shtylyov
On 03/06/2014 09:01 PM, Ben Dooks wrote: s/shmbobile/shmobile/ in the subject. Add nodes for USB PCI bridge devices. Signed-off-by: Ben Dooks Reviewed-by: Ian Molton WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to major

Re: [PATCH] of: Add vendor prefix for Energy Micro

2014-03-31 Thread Uwe Kleine-König
Hello, On Tue, Mar 25, 2014 at 08:59:50PM +0100, Uwe Kleine-König wrote: > On Tue, Mar 25, 2014 at 11:51:33AM -0500, Rob Herring wrote: > > On Tue, Mar 25, 2014 at 9:11 AM, Uwe Kleine-König > > wrote: > > > There are already patches floating around to add > > > energymicro,efm32-{i2c,serial,spi}

[PATCH 3/4] pinctrl: msm: Add documentation for pinctrl-apq8064 binding

2014-03-31 Thread Bjorn Andersson
DT bindingdocumentation for qcom,apq8064-pinctrl driver. Signed-off-by: Bjorn Andersson --- .../bindings/pinctrl/qcom,apq8064-pinctrl.txt | 88 ++ 1 file changed, 88 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,apq8064-pinctrl.txt di

[PATCH 4/4] pinctrl: msm: Add definitions for the APQ8064 platform

2014-03-31 Thread Bjorn Andersson
This adds pinctrl definitions for the GPIO pins of the TLMM v2 block in the Qualcomm APQ8064 platform. Signed-off-by: Bjorn Andersson --- drivers/pinctrl/Kconfig | 8 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-apq8064.c | 567

[PATCH 1/4] pinctrl: msm: Correct interrupt code for TLMM v2

2014-03-31 Thread Bjorn Andersson
Acking interrupts are done differently between on v2 and v3, so add an extra attribute to the pingroup struct to let the platform definitions control this. Also make sure to start dual edge detection by detecting the rising edge. Signed-off-by: Bjorn Andersson --- drivers/pinctrl/pinctrl-msm.c |

[PATCH 2/4] pinctrl: msm: Make number of functions variable

2014-03-31 Thread Bjorn Andersson
The various pins may have different number of functions defined, so make this number definable per pin instead of just increasing it to the largest one for all of the platforms. Signed-off-by: Bjorn Andersson --- drivers/pinctrl/pinctrl-msm.c | 4 ++-- drivers/pinctrl/pinctrl-msm.h | 3 +

Re: [PATCH V4 1/1] iio: add Capella cm3218x ambient light sensor driver.

2014-03-31 Thread Jonathan Cameron
On March 31, 2014 5:47:08 PM GMT+01:00, Kevin Tsai wrote: >Hi Jonathan, > >I will separate device driver and resubmit. > >For the SMBus alert, is it possible to use the change address way for >the >temporary solution? Not if there is any hope of getting a better solution. In place. As the mer

Re: [PATCH 1/9] pci-rcar-gen2: add devicetree support

2014-03-31 Thread Sergei Shtylyov
Hello. On 03/30/2014 11:40 PM, Ben Dooks wrote: Add OF match table for pci-rcar-gen2 driver for device tree support. [...] diff --git a/drivers/pci/host/pci-rcar-gen2.c b/drivers/pci/host/pci-rcar-gen2.c index fd3e3ab..1216784 100644 --- a/drivers/pci/host/pci-rcar-gen2.c +++ b/drivers/pci/

Re: [PATCH RFC v4 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-31 Thread Greg KH
On Mon, Mar 31, 2014 at 06:41:56PM +0200, Sylwester Nawrocki wrote: > This function adds a helper function to configure clock parents and rates > as specified in clock-parents, clock-rates DT properties for a consumer > device and a call to it before driver is bound to a device. > > Signed-off-by:

[PATCH v2 3/3] arm64: Add APM X-Gene SoC RTC DTS entry

2014-03-31 Thread Loc Ho
This patch adds APM X-Gene SoC RTC DTS entry Signed-off-by: Rameshwar Prasad Sahu Signed-off-by: Loc Ho --- arch/arm64/boot/dts/apm-storm.dtsi | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/

[PATCH v2 2/3] rtc: Add APM X-Gene SoC RTC driver

2014-03-31 Thread Loc Ho
This patch adds support for the APM X-Gene SoC RTC driver. Signed-off-by: Rameshwar Prasad Sahu Signed-off-by: Loc Ho --- drivers/rtc/Kconfig |9 ++ drivers/rtc/Makefile|1 + drivers/rtc/rtc-xgene.c | 278 +++ 3 files changed, 288 ins

[PATCH v2 1/3] Documentation: Add documentation for the APM X-Gene SoC RTC DTS binding

2014-03-31 Thread Loc Ho
This patch adds documentation for the APM X-Gene SoC RTC DTS binding. Signed-off-by: Rameshwar Prasad Sahu Signed-off-by: Loc Ho --- .../devicetree/bindings/rtc/xgene-rtc.txt | 28 1 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 Documentatio

[PATCH v2 0/3] rtc: Add APM X-Gene SoC RTC driver

2014-03-31 Thread Loc Ho
This patch adds support for the APM X-Gene SoC RTC driver. v2 * Change function xgene_rtc_read_time to return rtc_valid_tm(tm) instead 0 v1 * Initial version Signed-off-by: Rameshwar Prasad Sahu Signed-off-by: Loc Ho --- Loc Ho (3): Documentation: Add documentation for the APM X-Gene SoC RTC

Re: [PATCH RFC v4 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-31 Thread Ben Dooks
On 31/03/14 17:41, Sylwester Nawrocki wrote: This function adds a helper function to configure clock parents and rates as specified in clock-parents, clock-rates DT properties for a consumer device and a call to it before driver is bound to a device. [snip] tree/bindings/clock/clock-bindings.t

Re: [PATCH V4 1/1] iio: add Capella cm3218x ambient light sensor driver.

2014-03-31 Thread Kevin Tsai
Hi Jonathan, I will separate device driver and resubmit. For the SMBus alert, is it possible to use the change address way for the temporary solution? Thanks. Kevin Tsai 03/31/14 - Original Message - From: "Jonathan Cameron" To: "Kevin Tsai" ; "Rob Herring" ; "Pawel Moll" ; "Mark

[PATCH RFC v4 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-31 Thread Sylwester Nawrocki
This function adds a helper function to configure clock parents and rates as specified in clock-parents, clock-rates DT properties for a consumer device and a call to it before driver is bound to a device. Signed-off-by: Sylwester Nawrocki --- Changes since v3: - added detailed description of th

[PATCH RFC v4 1/2] clk: Add function parsing arbitrary clock list DT property

2014-03-31 Thread Sylwester Nawrocki
The of_clk_get_by_property() function added by this patch is similar to of_clk_get(), except it allows to pass name of a DT property containing list of phandles and clock specifiers. For of_clk_get() this has been hard coded to "clocks". Signed-off-by: Sylwester Nawrocki --- Changes since v3: -

[PATCH RFC v4 0/2] clk: Support for DT assigned clock parents and rates

2014-03-31 Thread Sylwester Nawrocki
This patch set adds a DT binding documentation for new 'clock-parents' and 'clock-rates' DT properties and a helper function to parse them. The helper is now being called from within the driver core, similarly as it is done for the pins configuration binding to a device. Patch 1/2 adds a variant o

Re: [RFC] dt: bindings: add bindings for Broadcom bcm43xx sdio devices

2014-03-31 Thread Mark Brown
On Mon, Mar 31, 2014 at 10:24:00AM +0200, Ulf Hansson wrote: > Using a gpio regulator would simplify here, since the driver don't > need specific "SDIO hacks" but can use the mmc_regulator_get_supply() > API, which calculates the OCR mask, based upon the regulator's > supported voltages. If that

[PATCH] DT: add vendor prefix for EBV Elektronik

2014-03-31 Thread Steffen Trumtrar
Add vendor prefix for EBV Elektronik. Signed-off-by: Steffen Trumtrar --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index

Re: [PATCH 4/6] mfd: arizona: Update DT binding to support LDO1 init_data

2014-03-31 Thread Mark Rutland
On Mon, Mar 31, 2014 at 12:59:45PM +0100, Charles Keepax wrote: > Signed-off-by: Charles Keepax > --- > Documentation/devicetree/bindings/mfd/arizona.txt |7 +++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt > b/Doc

Re: [PATCH v3 2/2] NFC: pn544_i2c: Add DTS Documentation

2014-03-31 Thread Mark Rutland
On Mon, Mar 31, 2014 at 01:22:24PM +0100, Clement Perrochaud wrote: > Describe the properties used by the PN544 NFC controller driver. > > Signed-off-by: Clément Perrochaud > --- > .../devicetree/bindings/net/nfc/pn544.txt | 32 > ++ > 1 file changed, 32 insertions(

Re: [RFC PATCH 2/7] ARM: SMP: generic SMP spin-table method routines

2014-03-31 Thread Mark Rutland
Hi Alex, On Fri, Mar 28, 2014 at 09:12:55PM +, Alex Elder wrote: > Implement a centralized version of the spin table (a.k.a. "holding > pen") method of secondary CPU initialization. This is the first > step in removing a number of duplicate implementations of this code. > > The eventual goal

[PATCH V2 01/19] mmc: mmci: Convert to the mmc gpio API

2014-03-31 Thread Ulf Hansson
To avoid duplication of code while handling card detect and write protect GPIO pins/irqs, let's convert to use the mmc gpio API. Signed-off-by: Ulf Hansson --- drivers/mmc/host/mmci.c | 97 --- drivers/mmc/host/mmci.h |3 -- 2 files changed, 15 i

[PATCH V2 07/19] ARM: ux500: Add mmci signal directions and feeback clock in DT for href

2014-03-31 Thread Ulf Hansson
Signed-off-by: Ulf Hansson --- arch/arm/boot/dts/ste-href.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/ste-href.dtsi b/arch/arm/boot/dts/ste-href.dtsi index 6cb9b68..46dce42 100644 --- a/arch/arm/boot/dts/ste-href.dtsi +++ b/arch/arm/boot/dts/ste-href.dtsi @@

[PATCH V2 06/19] mmc: mmci: Use the common mmc DT parser

2014-03-31 Thread Ulf Hansson
Let mmci DT parser only handle the specific bindings related to mmci and extend the DT support by converting to the common mmc DT parser. While both DT and platform data exist, DT takes precedence. If there are supplied DT data, the card detect and write protect GPIOS are enforced to be provided t

[PATCH V2 13/19] ARM: ux500: Add the mmc capabilities flags to DT

2014-03-31 Thread Ulf Hansson
Signed-off-by: Ulf Hansson Acked-by: Linus Walleij --- arch/arm/boot/dts/ste-href.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/ste-href.dtsi b/arch/arm/boot/dts/ste-href.dtsi index 3f07c58..48ea4c1 100644 --- a/arch/arm/boot/dts/ste-href.dtsi +++ b/arch/arm

[PATCH V2 14/19] ARM: ux500: Add a vmmc regulator through DT for the poped eMMC for href

2014-03-31 Thread Ulf Hansson
Add a node in DT for the proper regulator which means we can move away from the mmci platform data which currently holds the corresponding OCR mask. The mmci driver can then calculate the OCR mask based on the voltages supported by the regulator, instead of relying on the platform data. Signed-of

[PATCH V2 03/19] mmc: mmci: Update DT documentation

2014-03-31 Thread Ulf Hansson
Document how to configure the regulator supplies and add an example of a typical mmci DT node. Signed-off-by: Ulf Hansson --- Documentation/devicetree/bindings/mmc/mmci.txt | 39 ++-- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bi

[PATCH V2 11/19] mmc: mmci: Mark the DT bindings for highspeed mode as deprecated

2014-03-31 Thread Ulf Hansson
The common mmc DT parser supports bindings for highspeed mode, thus there are no need for mmci to provide it's own versions for these. Mark them as deprecated in the documentation. Signed-off-by: Ulf Hansson --- Documentation/devicetree/bindings/mmc/mmci.txt | 10 ++ 1 file changed, 6

[PATCH V2 02/19] mmc: mmci: Convert to devm functions

2014-03-31 Thread Ulf Hansson
Converting to devm functions to simplify error handling in ->probe() and to cleanup ->remove(). Signed-off-by: Ulf Hansson --- drivers/mmc/host/mmci.c | 51 ++- 1 file changed, 19 insertions(+), 32 deletions(-) diff --git a/drivers/mmc/host/mmci.c b

[PATCH V2 09/19] ARM: nomadik: Convert to the common mmc DT bindings for highspeed mode

2014-03-31 Thread Ulf Hansson
The mmci host driver supports the common mmc DT parser, which enables us to use the use common names instead. Cc: Alessandro Rubini Signed-off-by: Ulf Hansson Acked-by: Linus Walleij --- arch/arm/boot/dts/ste-nomadik-stn8815.dtsi |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) di

[PATCH V2 19/19] mmc: mmci: Enforce max frequency configuration through DT

2014-03-31 Thread Ulf Hansson
Remove the option to provide a maximum frequency as platform data, enforce it through DT. Signed-off-by: Ulf Hansson --- drivers/mmc/host/mmci.c |5 + include/linux/amba/mmci.h |4 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/mmc/host/mmci.c b/drivers/

[PATCH V2 04/19] mmc: mmci: Add DT bindings for signal direction

2014-03-31 Thread Ulf Hansson
Some variants have support for indicating the bus signal directions, which currently are configured through platform data. Add corresponding DT bindings to enable us to move away from using the platform data. Signed-off-by: Ulf Hansson --- Documentation/devicetree/bindings/mmc/mmci.txt | 11 +

[PATCH V2 08/19] ARM: ux500: Convert to the common mmc DT bindings for highspeed mode

2014-03-31 Thread Ulf Hansson
The mmci host driver supports the common mmc DT parser, which enables us to use the use common names instead. Signed-off-by: Ulf Hansson Acked-by: Linus Walleij --- arch/arm/boot/dts/ste-ccu9540.dts |6 +++--- arch/arm/boot/dts/ste-href.dtsi|8 arch/arm/boot/dts/ste-snowba

[PATCH V2 05/19] mmc: mmci: Add DT bindings for feedback clock pin

2014-03-31 Thread Ulf Hansson
The ST Micro variant supports the option of using a feedback clock signal in favor of the clockout pin when latching incoming signals on the data bus. Since this is matter of how pins are being routed we need to provide a new DT binding to be able to configure this through DT. Signed-off-by: Ulf

[PATCH V2 17/19] mmc: mmci: Enforce mmc capabilities through DT

2014-03-31 Thread Ulf Hansson
Remove the option to provide the flags for mmc capabilities as platform data, enforce it through DT. Signed-off-by: Ulf Hansson --- drivers/mmc/host/mmci.c |2 -- include/linux/amba/mmci.h |5 - 2 files changed, 7 deletions(-) diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/hos

[PATCH V2 15/19] ARM: ux500: Remove redundant board file for mmci platform data

2014-03-31 Thread Ulf Hansson
Since all platform data has been transfered to DT, we don't need the container for the mmci platform data anymore. Remove the file and the corresponding references to it's data. Signed-off-by: Ulf Hansson Acked-by: Linus Walleij --- arch/arm/mach-ux500/Makefile |3 +- arch/arm/mac

[PATCH V2 00/19] mmc: mmci: Improve DT support

2014-03-31 Thread Ulf Hansson
Step by step, improve the DT support for the mmci host driver. This enables us to move the final pieces of platform data for mmci for ux500 into DT. We are then able to remove yet another machine specific file for ux500. This patchset needs to be merged together. I suggest we go through Russell's

[PATCH V2 16/19] mmc: mmci: Enforce DT for signal direction and feedback clock

2014-03-31 Thread Ulf Hansson
Remove the option to provide signal direction configuration and feeback clock as platform data, enforce it through DT. Signed-off-by: Ulf Hansson --- drivers/mmc/host/mmci.c | 34 ++ drivers/mmc/host/mmci.h | 11 +++ include/linux/amba/mmci.h | 1

[PATCH V2 12/19] mmc: mmci: Enable MMC_CAP_CMD23

2014-03-31 Thread Ulf Hansson
This is pure software configuration, which mmci has been supporting for a while. Let's enable it as default so we can take benefit from it. Signed-off-by: Ulf Hansson --- drivers/mmc/host/mmci.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/

[PATCH V2 10/19] ARM: u300: Convert to the common mmc DT bindings for highspeed mode

2014-03-31 Thread Ulf Hansson
The mmci host driver supports the common mmc DT parser, which enables us to use the use common names instead. Signed-off-by: Ulf Hansson Acked-by: Linus Walleij --- arch/arm/boot/dts/ste-u300.dts |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ste-u3

[PATCH V2 18/19] mmc: mmci: Enforce DMA configuration through DT

2014-03-31 Thread Ulf Hansson
Remove the option to provide DMA configuration as platform data, enforce it through DT. Signed-off-by: Ulf Hansson --- drivers/mmc/host/mmci.c | 24 +--- include/linux/amba/mmci.h | 17 - 2 files changed, 1 insertion(+), 40 deletions(-) diff --git a/dri

Re: [PATCH 2/4] pwm: sunxi: document OF bindings

2014-03-31 Thread maxime . ripard
On Mon, Mar 31, 2014 at 02:07:27PM +0200, Alexandre Belloni wrote: > This is the documentation for the Allwinner Socs PWM bindings. > > Signed-off-by: Alexandre Belloni > --- > Cc: devicetree@vger.kernel.org > Documentation/devicetree/bindings/pwm/pwm-sunxi.txt | 19 +++ > 1 file

Re: [PATCH 04/20] mmc: mmci: Move signal directions bits into DT include file

2014-03-31 Thread Ulf Hansson
On 28 March 2014 22:03, Linus Walleij wrote: > On Wed, Mar 26, 2014 at 12:05 AM, Ulf Hansson wrote: >> On 25 March 2014 22:22, Linus Walleij wrote: >>> On Fri, Mar 21, 2014 at 1:14 PM, Ulf Hansson wrote: >>> These bits is currently used from platform data, but will be needed from DT a

Re: [PATCH v6 00/11] reserved-memory regions/CMA in devicetree, again

2014-03-31 Thread Grant Likely
On Tue, Mar 11, 2014 at 10:37 AM, Grant Likely wrote: > Hi Ben, Russell and Catalin, > > I've got this series queued up, and I'd like to be ready to merge it > in the next merge window. I'm going to queue it up in linux-next. If > you have any concerns, please shout and it can be removed. I won't

Re: [PATCH RFC 3/3] nand: pl353: Add driver for arm pl353 smc nand interface

2014-03-31 Thread Michal Simek
On 03/31/2014 02:46 PM, Michal Simek wrote: > On 03/27/2014 07:21 PM, Punnaiah Choudary Kalluri wrote: >> Add driver for arm pl353 static memory controller nand interface. >> This controller is used in xilinx zynq soc for interfacing the nand >> flash memory. >> >> Signed-off-by: Punnaiah Choudary

Re: [PATCH RFC 3/3] nand: pl353: Add driver for arm pl353 smc nand interface

2014-03-31 Thread Michal Simek
On 03/27/2014 07:21 PM, Punnaiah Choudary Kalluri wrote: > Add driver for arm pl353 static memory controller nand interface. > This controller is used in xilinx zynq soc for interfacing the nand > flash memory. > > Signed-off-by: Punnaiah Choudary Kalluri > --- > drivers/mtd/nand/Kconfig |

[PATCH v3 2/2] NFC: pn544_i2c: Add DTS Documentation

2014-03-31 Thread Clement Perrochaud
Describe the properties used by the PN544 NFC controller driver. Signed-off-by: Clément Perrochaud --- .../devicetree/bindings/net/nfc/pn544.txt | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/nfc/pn544.txt diff --

[PATCH v3 1/2] NFC: pn544_i2c: Add device-tree (Open Firmware) support to PN544

2014-03-31 Thread Clement Perrochaud
Add functions to recover hardware resources from the device-tree when not provided by the platform data. Signed-off-by: Clément Perrochaud --- drivers/nfc/pn544/i2c.c | 162 +++- 1 file changed, 145 insertions(+), 17 deletions(-) diff --git a/drivers/

[PATCH v3 0/2] NFC: pn544_i2c: Add device-tree support to PN544

2014-03-31 Thread Clement Perrochaud
This patch brings device-tree support to the pn544_i2c device driver. It has been successfully tested on a BeagleBone Black board - a common ARM-Based SoC - both as a module and built-in. Testing involved enabling and disabling the chip, as well as reading a Type 4 NFC tag. Firmware download could

[PATCH 5/6] regulator: arizona-micsupp: Add processing of init_data from device tree

2014-03-31 Thread Charles Keepax
Signed-off-by: Charles Keepax --- drivers/regulator/arizona-micsupp.c | 53 +++ 1 files changed, 53 insertions(+), 0 deletions(-) diff --git a/drivers/regulator/arizona-micsupp.c b/drivers/regulator/arizona-micsupp.c index 6fdd9bf..5225470 100644 --- a/drivers/

[PATCH 2/4] pwm: sunxi: document OF bindings

2014-03-31 Thread Alexandre Belloni
This is the documentation for the Allwinner Socs PWM bindings. Signed-off-by: Alexandre Belloni --- Cc: devicetree@vger.kernel.org Documentation/devicetree/bindings/pwm/pwm-sunxi.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/

[PATCH 0/6] Arizona Regulator Updates v4

2014-03-31 Thread Charles Keepax
Hi, This series of patches are small fixes/improvements to the Arizona regulators. The main thing added is proper device tree bindings for getting the regulator init_data. Changes Since v3: - We now only process the DT information if there is no pdata, similar to arizona-core. - DT bindin

[PATCH 1/6] mfd: arizona: Factor out read of device tree GPIOs

2014-03-31 Thread Charles Keepax
This patch factors out the reading of GPIOs for the Arizona devices into a helper function. Signed-off-by: Charles Keepax --- drivers/mfd/arizona-core.c | 33 - include/linux/mfd/arizona/core.h |3 +++ 2 files changed, 27 insertions(+), 9 deletions(-)

[PATCH 6/6] mfd: arizona: Update DT binding to support MICVDD init_data

2014-03-31 Thread Charles Keepax
Signed-off-by: Charles Keepax --- Documentation/devicetree/bindings/mfd/arizona.txt |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt index c019e73..0bf69a9 100644 --

[PATCH 4/6] mfd: arizona: Update DT binding to support LDO1 init_data

2014-03-31 Thread Charles Keepax
Signed-off-by: Charles Keepax --- Documentation/devicetree/bindings/mfd/arizona.txt |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt index 0e295c9..c019e73 100644 -

[PATCH 2/6] regulator: arizona-ldo1: Move setup processing from arizona-core

2014-03-31 Thread Charles Keepax
It is more idiomatic to process things relating to the regulator in its driver. This patch moves both processing of device tree relating to the regulator and checking if the regulator is external from arizona-core into the regulator driver. Signed-off-by: Charles Keepax --- drivers/mfd/arizona-c

[PATCH 3/6] regulator: arizona-ldo1: Add processing of init_data from device tree

2014-03-31 Thread Charles Keepax
Signed-off-by: Charles Keepax --- drivers/regulator/arizona-ldo1.c | 47 +++-- 1 files changed, 44 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/arizona-ldo1.c b/drivers/regulator/arizona-ldo1.c index 211af83..e23a95f 100644 --- a/drivers/regulato

Re: [PATCH RFC v3 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-31 Thread Sylwester Nawrocki
Hi Laurent, On 28/03/14 17:49, Laurent Pinchart wrote: > On Thursday 27 March 2014 16:02:52 Sylwester Nawrocki wrote: >> > On 27/03/14 15:08, Laurent Pinchart wrote: >>> > > On Thursday 27 March 2014 14:57:56 Sylwester Nawrocki wrote: > >> On 27/03/14 14:24, Laurent Pinchart wrote: > > >>

Re: [RFC PATCH v2 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-31 Thread Sylwester Nawrocki
Hi Mike, On 25/03/14 23:54, Mike Turquette wrote: > Quoting Sylwester Nawrocki (2014-03-25 04:19:42) >> > On 03/03/14 19:22, Sylwester Nawrocki wrote: [...] >>> > > diff --git a/Documentation/devicetree/bindings/clock/clock-bindings.txt >>> > > b/Documentation/devicetree/bindings/clock/clock-bind

Re: [PATCH 2/2] ARM: sun7i/sun6i: irqchip: Disable NMI before registering the handler

2014-03-31 Thread Maxime Ripard
On Thu, Mar 27, 2014 at 06:02:39PM +0100, Carlo Caione wrote: > From: Hans de Goede > > It is advisable to disable the NMI before registering the IRQ handler as > registering the IRQ handler unmasks the IRQ on the GIC, so if U-Boot has > left the NMI enabled and the NMI pin is active we will imme

Re: [PATCH 1/2] ARM: sun7i/sun6i: dts: Fix IRQ number for sun6i NMI controller

2014-03-31 Thread Maxime Ripard
On Thu, Mar 27, 2014 at 06:02:38PM +0100, Carlo Caione wrote: > From: Hans de Goede > > The IRQ line used in sun6i-a31.dtsi for the NMI controller is wrong. > This causes a IRQ storm since the NMI controller is repeatedly fired. > This patch fixes this problem assigning the correct IRQ number to

Re: [PATCH 2/8] PCI: designware: split Exynos and i.MX bindings

2014-03-31 Thread Marek Vasut
On Monday, March 31, 2014 at 12:38:01 PM, Lucas Stach wrote: > Am Montag, den 31.03.2014, 11:36 +0200 schrieb Marek Vasut: > > On Monday, March 31, 2014 at 11:28:29 AM, Lucas Stach wrote: > > > Am Sonntag, den 30.03.2014, 19:36 +0200 schrieb Marek Vasut: > > > > On Friday, March 28, 2014 at 05:52:5

Re: [PATCH 2/8] PCI: designware: split Exynos and i.MX bindings

2014-03-31 Thread Lucas Stach
Am Montag, den 31.03.2014, 11:36 +0200 schrieb Marek Vasut: > On Monday, March 31, 2014 at 11:28:29 AM, Lucas Stach wrote: > > Am Sonntag, den 30.03.2014, 19:36 +0200 schrieb Marek Vasut: > > > On Friday, March 28, 2014 at 05:52:53 PM, Lucas Stach wrote: > > > > The glue around the core designware

Re: [PATCH V7 1/1] drivers/gpio: Altera soft IP GPIO driver and devicetree binding

2014-03-31 Thread Tien Hock Loh
On Sat, Mar 8, 2014 at 7:44 PM, Gerhard Sittig wrote: > On Mon, Mar 03, 2014 at 18:27 +0800, th...@altera.com wrote: >> >> From: Tien Hock Loh >> >> Add driver support for Altera GPIO soft IP, including interrupts and I/O. >> Tested on Altera CV SoC board using dipsw and LED using LED framework.

[PATCH v7 05/10] dt-bindings: pci: rcar pcie device tree bindings

2014-03-31 Thread Phil Edworthy
This patch adds the bindings for the R-Car PCIe driver. The driver resides under drivers/pci/host/pcie-rcar.c Signed-off-by: Phil Edworthy v7: - Change binding description of clocks to 'clock specifiers' v6: - Correct DT bindings description for reg and clocks v5: - Add PCIe bus clock refer

Re: [PATCH 1/2] watchdog: Add Cadence WDT driver

2014-03-31 Thread One Thousand Gnomes
> + wdt->cdns_wdt_notifier.notifier_call = &cdns_wdt_notify_sys; > + /* Register the reboot notifier */ > + ret = register_reboot_notifier(&wdt->cdns_wdt_notifier); > + if (ret != 0) { > + dev_err(&pdev->dev, "cannot register reboot notifier err=%d)\n", > +

Re: [PATCH/RFC v2 1/8] leds: Add sysfs and kernel internal API for flash LEDs

2014-03-31 Thread Richard Purdie
On Fri, 2014-03-28 at 16:28 +0100, Jacek Anaszewski wrote: > Some LED devices support two operation modes - torch and > flash. This patch provides support for flash LED devices > in the LED subsystem by introducing new sysfs attributes > and kernel internal interface. The attributes being > introdu

Re: [PATCH 2/5] iommu/ipmmu-vmsa: Add device tree bindings documentation

2014-03-31 Thread Laurent Pinchart
Hi Geert, On Monday 31 March 2014 10:39:48 Geert Uytterhoeven wrote: > On Sat, Mar 29, 2014 at 12:36 AM, Laurent Pinchart wrote: > > +Required Properties: > > + > > + - compatible: Must contain "renesas,ipmmu-vmsa". > > + - reg: Base address and size of the IPMMU registers. > > + - interrupts:

Re: [PATCH 2/7] gpio: rcar: Add optional functional clock to bindings

2014-03-31 Thread Laurent Pinchart
Hi Geert, On Monday 31 March 2014 11:55:52 Geert Uytterhoeven wrote: > On Fri, Mar 28, 2014 at 5:53 PM, Laurent Pinchart wrote: > >> --- a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt > >> +++ b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt > >> > >> @@ -21,6 +21,10

Re: [PATCH 2/7] gpio: rcar: Add optional functional clock to bindings

2014-03-31 Thread Geert Uytterhoeven
Hi Laurent, On Fri, Mar 28, 2014 at 5:53 PM, Laurent Pinchart wrote: >> --- a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt >> +++ b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt >> @@ -21,6 +21,10 @@ Required Properties: >> GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW

Re: [RFC 0/5] of: Automatic console registration cleanups

2014-03-31 Thread Grant Likely
On Mon, 31 Mar 2014 09:10:15 +0200, Sascha Hauer wrote: > On Fri, Mar 28, 2014 at 09:08:00AM -0700, Grant Likely wrote: > > Hi all, > > > > This is a series that I've been playing with over the last few days to > > clean up the selection of default console devices when using the device > > tree.

Re: [PATCH/RFC 4/8] media: Add registration helpers for V4L2 flash sub-devices

2014-03-31 Thread Sakari Ailus
Hi jacek, On Fri, Mar 28, 2014 at 04:30:49PM +0100, Jacek Anaszewski wrote: ... > >>+static int v4l2_flash_set_intensity(struct v4l2_flash *flash, > >>+ unsigned int intensity) > >>+{ > >>+ struct led_classdev *led_cdev = flash->led_cdev; > >>+ unsigned int fault;

Re: [PATCH 2/8] PCI: designware: split Exynos and i.MX bindings

2014-03-31 Thread Marek Vasut
On Monday, March 31, 2014 at 11:28:29 AM, Lucas Stach wrote: > Am Sonntag, den 30.03.2014, 19:36 +0200 schrieb Marek Vasut: > > On Friday, March 28, 2014 at 05:52:53 PM, Lucas Stach wrote: > > > The glue around the core designware IP is significantly > > > different between the Exynos and i.MX impl

Re: [PATCH] ARM: topology: Make it clear that all CPUs need to be described

2014-03-31 Thread Lorenzo Pieralisi
On Fri, Mar 28, 2014 at 02:21:07PM +, Mark Brown wrote: > From: Mark Brown > > The ARMv8 code will reject topologies that omit some CPUs (and it's not > clear that it's ever sensible to do so). Update the binding document to > make this clear. > > Since we're reformatting the text also fix i

Re: [PATCH 2/8] PCI: designware: split Exynos and i.MX bindings

2014-03-31 Thread Lucas Stach
Am Sonntag, den 30.03.2014, 19:36 +0200 schrieb Marek Vasut: > On Friday, March 28, 2014 at 05:52:53 PM, Lucas Stach wrote: > > The glue around the core designware IP is significantly > > different between the Exynos and i.MX implementation, > > which is reflected in the DT bindings. > > > > This

Re: [PATCH/RFC 1/8] leds: Add sysfs and kernel internal API for flash LEDs

2014-03-31 Thread Sakari Ailus
Hi Jacek, On Fri, Mar 28, 2014 at 04:30:19PM +0100, Jacek Anaszewski wrote: > Hi Sakari, > > Thanks for the review. > > On 03/24/2014 12:18 AM, Sakari Ailus wrote: > >Hi Jacek, > > > >Thanks for the patchset. It's very nice in general. I have a few comments > >below. > > [...] > > >>diff --git

Re: [PATCH 1/2] GPIO: Add driver for Zynq GPIO controller

2014-03-31 Thread Ulf Hansson
On 27 March 2014 16:25, Harini Katakam wrote: > Add support for GPIO controller used by Xilinx Zynq > > Signed-off-by: Harini Katakam > --- > drivers/gpio/Kconfig |7 + > drivers/gpio/Makefile|1 + > drivers/gpio/gpio-zynq.c | 690 > +

Re: [PATCH v2 3/3] [media] atmel-isi: add primary DT support

2014-03-31 Thread Josh Wu
Dear Guennadi On 3/31/2014 5:20 AM, Guennadi Liakhovetski wrote: Hi Josh, Please correct me if I'm wrong, but I don't see how this is going to work without the central part - building asynchronous V4L2 data structures from the DT, something that your earlier patch Here you mean Bryan Wu not m

Re: [PATCH 2/5] iommu/ipmmu-vmsa: Add device tree bindings documentation

2014-03-31 Thread Geert Uytterhoeven
Hi Laurent, On Sat, Mar 29, 2014 at 12:36 AM, Laurent Pinchart wrote: > +Required Properties: > + > + - compatible: Must contain "renesas,ipmmu-vmsa". > + - reg: Base address and size of the IPMMU registers. > + - interrupts: Specifier for the MMU fault interrupt. Does it make sense to have a

Re: [PATCH RFC v3 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-31 Thread Sascha Hauer
On Fri, Mar 28, 2014 at 05:44:17PM +0100, Laurent Pinchart wrote: > Hi Sascha, > > On Thursday 27 March 2014 15:47:12 Sascha Hauer wrote: > > On Thu, Mar 27, 2014 at 03:08:10PM +0100, Laurent Pinchart wrote: > > [snip] > > > > That's clearer indeed. Can the parents and rates depend on the board,

Re: [RFC] dt: bindings: add bindings for Broadcom bcm43xx sdio devices

2014-03-31 Thread Ulf Hansson
On 13 February 2014 17:22, Mark Brown wrote: > On Thu, Feb 13, 2014 at 01:35:41PM +0100, Tomasz Figa wrote: >> On 13.02.2014 13:07, Arend van Spriel wrote: >> >On 02/13/2014 10:13 AM, Tomasz Figa wrote: > >> >>The BCM43xx WLAN chips I used to work always have been controlled by a >> >>simple power

  1   2   >