Re: [PATCH V2 3/3] reset: hi6220: Reset driver for hisilicon hi6220 SoC

2015-09-11 Thread xuyiping
On 2015/9/11 16:18, Chen Feng wrote: Add reset driver for hi6220-hikey board,this driver supply deassert of IP. on hi6220 SoC. Signed-off-by: Chen Feng --- drivers/reset/Kconfig | 1 + drivers/reset/Makefile | 1 + drivers/reset/hisilicon/Kconfig

Re: [PATCH 2/2] Documentation: gpio: Update description for X-Gene standby GPIO controller DTS binding

2015-09-11 Thread Y Vo
On Fri, Sep 11, 2015 at 11:45 PM, Arnd Bergmann wrote: > On Friday 11 September 2015 22:06:58 Y Vo wrote: >> On Fri, Sep 11, 2015 at 9:47 PM, Arnd Bergmann wrote: >> > On Friday 11 September 2015 21:23:31 Y Vo wrote: >> >> Is that possible if we change to this approach: >> >> - Keep all GPIO as G

[PATCH] PCI: generic: Add support for Cavium ThunderX PCIe root complexes.

2015-09-11 Thread David Daney
From: David Daney The config space for external PCIe root complexes on some Cavium ThunderX SoCs is very similar to CAM and ECAM, but differs in the shift values that have to be applied to the bus and devfn numbers to compose that address window offset. These root complexes also have the interes

Re: [PATCH v18 0/4] ARM: rk3288: Add PM Domain support

2015-09-11 Thread Heiko Stübner
Am Freitag, 11. September 2015, 13:40:35 schrieb Kevin Hilman: > Caesar Wang writes: > > Thank you all for providing inputs and comments on previous versions of > > this patchset. > > Especially thanks to the (Kevin, Heiko, Dmitry, Doug, ULF, Michael). > > > > Add power domain drivers based o

[PATCH 4/6] PCI: generic: Correct, and avoid overflow, in bus_max calculation.

2015-09-11 Thread David Daney
From: David Daney There are two problems with the bus_max calculation: 1) The u8 data type can overflow for large config space windows. 2) The calculation is incorrect for a bus range that doesn't start at zero. Since the configuration space is relative to bus zero, make bus_max just be the

[PATCH 5/6] PCI: generic: Pass proper starting bus number to pci_scan_root_bus().

2015-09-11 Thread David Daney
From: David Daney If the bus is being configured with a bus-range that does not start at zero, pass that starting bus number to pci_scan_root_bus(). Passing the incorrect value of zero causes attempted config accesses outside of the supported range, which cascades to an OOPs spew and eventual ke

[PATCH 1/6] PCI: Make global and export pdev_fixup_irq().

2015-09-11 Thread David Daney
From: David Daney Follow-on patch will use pdev_fixup_irq(). So, make it visible and export it. Signed-off-by: David Daney --- drivers/pci/setup-irq.c | 7 --- include/linux/pci.h | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/pci/setup-irq.c b/drivers

[PATCH 3/6] PCI: generic: Quit clobbering our pci_ops.

2015-09-11 Thread David Daney
From: David Daney The pci-host-generic driver keeps a global struct pci_ops which it then patches with the .map_bus method appropriate for the bus device. A problem arises when the driver is used for two different types of bus devices, the .map_bus method for the last device probed clobbers the m

[PATCH 6/6] PCI: generic: Allow bus default MSI controller to be specified.

2015-09-11 Thread David Daney
From: David Daney If the device tree node for the bus has a "msi-parent" property, use that as the default MSI controller for devices on the bus. Add device tree binding documentation describing the new property. This allows the pci-host-generic driver to be used in systems with multiple MSI co

[PATCH 2/6] PCI: generic: Only fixup irqs for bus we are creating.

2015-09-11 Thread David Daney
From: David Daney Use pci_walk_bus() to restrict the fixup irq actions to only the bus being created. If we create multiple buses with pci-host-generic, or there are buses created by other drivers, we don't want to call pci_fixup_irqs() which operates on all devices, not just the devices on the

[PATCH 0/6] PCI: generic: Misc. bug fixes and enhanced support for MSI.

2015-09-11 Thread David Daney
From: David Daney While using the pci-host-generic driver to add PCI support for the Cavium ThunderX processors, several bugs were discovered. We also need the ability to specify a per-bus MSI controller, so support for that was added. David Daney (6): PCI: Make global and export pdev_fixup_i

[PATCH] pci-rcar-gen2: add R8A7794 support

2015-09-11 Thread Sergei Shtylyov
Add Renesas R8A7794 SoC support to the Renesas R-Car gen2 PCI driver. Signed-off-by: Sergei Shtylyov --- The patch is against the 'next' branch of Bjorn Helgaas' 'pci.git' repo. Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt |3 ++- drivers/pci/host/pci-rcar-gen2.c

[PATCH 2/2] ARM: dts: rockchip: Add dtb for the Radxa Rock 2 Square board

2015-09-11 Thread Sjoerd Simons
The Radxa Rock 2 Square board is a combination of the Radxa Rock 2 SoM with the Square baseboard. Add a dtsi for the SoM which can be included into the dts for the various baseboards (e.g. full and square) and a dts for the square board. Currently supported are serial console, wired networking, hd

[PATCH 1/2] pinctrl: rockchip: Define GPIO banks 7 and 8

2015-09-11 Thread Sjoerd Simons
Rockchip RK3288 has 9 GPIO banks (0 to 8) add definitions for the last two. Signed-off-by: Sjoerd Simons --- include/dt-bindings/pinctrl/rockchip.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/pinctrl/rockchip.h b/include/dt-bindings/pinctrl/rockchip.h index 743e66

Re: [PATCH 3/3] arm64: dts: mt8173: Add nor flash node

2015-09-11 Thread Brian Norris
On Fri, Sep 11, 2015 at 05:51:16PM +0800, bayi.cheng wrote: > On Tue, 2015-09-08 at 18:46 -0500, Rob Herring wrote: > > On 09/08/2015 10:18 AM, Ezequiel Garcia wrote: > > > On 8 September 2015 at 08:53, Jagan Teki wrote: > > >> On 8 September 2015 at 15:19, Bayi Cheng wrote: > > >>> Add Mediatek

Re: [PATCH 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-09-11 Thread Brian Norris
One more thing: On Tue, Sep 08, 2015 at 05:49:54PM +0800, Bayi Cheng wrote: > +- clocks: spi nor source clock ^^ you only list one clock here > +- clock-names: "spi_clk", "axi_clk", "mux_clk", "sf_clk" But you have 4 names here. ... > + clocks = <&pericfg CLK_PERI_SPI>, > + <&

Re: [PATCH 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-09-11 Thread Brian Norris
On Tue, Sep 08, 2015 at 05:49:54PM +0800, Bayi Cheng wrote: > Add device tree binding documentation for serial flash with > Mediatek serial flash controller > > Signed-off-by: Bayi Cheng > --- > Documentation/devicetree/bindings/mtd/mtk_nor.txt | 25 > +++ > 1 file changed,

Re: [PATCH v18 0/4] ARM: rk3288: Add PM Domain support

2015-09-11 Thread Kevin Hilman
Caesar Wang writes: > Thank you all for providing inputs and comments on previous versions of > this patchset. > Especially thanks to the (Kevin, Heiko, Dmitry, Doug, ULF, Michael). > > Add power domain drivers based on generic power domain for > Rockchip platform, and support RK3288 SoCs. N

Re: [PATCH v18 4/4] ARM: dts: add the support power-domain node on RK3288 SoCs

2015-09-11 Thread Kevin Hilman
Caesar Wang writes: > We can add more domains node in the future. > This patch add the needed clocks into power-controller. > As the discuess about all the device clocks being listed in > the power-domains itself. > > There are several reasons as follows: > > Firstly, the clocks need be turned of

Re: [PATCH v2 1/9] dmaengine: st_fdma: Add STMicroelectronics FDMA DT binding documentation

2015-09-11 Thread Arnd Bergmann
On Friday 11 September 2015 15:14:23 Peter Griffin wrote: > +- st,fdma-id : Must contain fdma controller number What for? > +Example: > + > + fdma1: fdma-app@8e4 { The name should be "dma-controller", not "fdma-app". > +Example: > + > + snd_uni_player2: snd-uni-player@2 { > +

Re: [PATCH v2 2/9] dmaengine: st_fdma: Add st fdma platform specific header

2015-09-11 Thread Arnd Bergmann
On Friday 11 September 2015 15:14:24 Peter Griffin wrote: > Signed-off-by: Ludovic Barre > Signed-off-by: Peter Griffin > --- > include/linux/platform_data/dma-st_fdma.h | 72 > +++ > 1 file changed, 72 insertions(+) > create mode 100644 include/linux/platform_data/

Re: [PATCH v2 4/9] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support

2015-09-11 Thread Arnd Bergmann
On Friday 11 September 2015 15:14:26 Peter Griffin wrote: > + > +#include "st_fdma.h" Just move the contents of that file here, no other driver should be including it. > +static struct dma_chan *st_fdma_of_xlate(struct of_phandle_args *dma_spec, > + struct of_

[PATCH v3 10/10] power: bq24257: Add platform data based initialization

2015-09-11 Thread Andreas Dannenberg
The patch adds a way to setup and initialize the device through the use of platform data with configuration options equivalent to when using device firmware (DT or ACPI) for systems where this is not available. Signed-off-by: Andreas Dannenberg --- drivers/power/bq24257_charger.c | 119 +++

[PATCH v3 09/10] power: bq24257: Add various device-specific sysfs properties

2015-09-11 Thread Andreas Dannenberg
This patch adds support to enable/disable some device specific features through device properties at boot time or sysfs properties at runtime depending on whether they should be accessible during runtime or not. The use of those features is be optional however they might be helpful in certain scena

[PATCH v3 07/10] power: bq24257: Add input DPM voltage threshold setting support

2015-09-11 Thread Andreas Dannenberg
A new optional device property called "ti,in-dpm-voltage" is introduced to allow configuring the input voltage threshold for the devices' dynamic power path management (DPM) feature. In short, it can be used to prevent the input voltage from dropping below a certain value as current is drawn to cha

[PATCH v3 01/10] dt: power: bq24257-charger: Cover additional devices

2015-09-11 Thread Andreas Dannenberg
Extend the bq24257 charger's device tree documentation to cover the bq24250 and bq24251 devices as well feature additions. Signed-off-by: Andreas Dannenberg --- .../devicetree/bindings/power/bq24257.txt | 59 -- 1 file changed, 54 insertions(+), 5 deletions(-) diff

[PATCH v3 08/10] power: bq24257: Allow input current limit sysfs access

2015-09-11 Thread Andreas Dannenberg
This patch allows reading (and writing, if the D+/D- USB signal-based charger type detection is disabled) of the input current limit through the POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT sysfs property. This allows userspace to see what charger was detected and to re-configure the maximum current drawn

[PATCH v3 06/10] power: bq24257: Add over voltage protection setting support

2015-09-11 Thread Andreas Dannenberg
A new optional device property called "ti,ovp-voltage" is introduced to allow configuring the input over voltage protection setting. This commit also adds the basic sysfs support for custom properties which is being used to allow userspace to read the current ovp-voltage setting. Signed-off-by: A

[PATCH v3 04/10] power: bq24257: Allow manual setting of input current limit

2015-09-11 Thread Andreas Dannenberg
A new optional device property called "ti,current-limit" is introduced to allow disabling the D+/D- USB signal-based charger type auto- detection algorithm used to set the input current limit and instead to use a fixed input current limit. Signed-off-by: Andreas Dannenberg --- drivers/power/bq24

[PATCH v3 02/10] power: bq24257: Add basic support for bq24250/bq24251

2015-09-11 Thread Andreas Dannenberg
This patch adds basic support for bq24250 and bq24251 which are very similar to the bq24257 the driver was originally written for. Basic support means the ability to select a device through Kconfig, DT and ACPI, an instance variable allowing to check which chip is active, and the reporting back of

[PATCH v3 05/10] power: bq24257: Add SW-based approach for Power Good determination

2015-09-11 Thread Andreas Dannenberg
A software-based approach for determining the charger's input voltage "Power Good" state is introduced for devices like the bq24250 which don't have a dedicated hardware pin for that purpose. This SW-based approach is also used for other devices (with dedicated PG pin) as a fall back solution if th

[PATCH v3 03/10] power: bq24257: Add bit definition for temp sense enable

2015-09-11 Thread Andreas Dannenberg
Adding a missing bit definition for the sake of consistency device model vs. bit field representation. No change in functionality. Signed-off-by: Andreas Dannenberg --- drivers/power/bq24257_charger.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/power/bq24257_cha

[PATCH v3 00/10] power: bq24257: Add support for bq24250/bq24251

2015-09-11 Thread Andreas Dannenberg
This patch series extends the driver to also support bq24250/bq24251. The bq24250/251/257 devices have a very similar feature set and are virtually identical from a control register point of view so it made sense to extend the existing driver rather than submitting a new driver. In addition to th

[PATCH 0/6] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-11 Thread Lee Jones
The main aim of this set is to allow users to access ST's hardware random number generator. It's a simple device, which only requires a simple driver. We're also taking the liberty to update some out of date HWRNG documentation and making the sysfs interface a little easier to use by ignoring any

[PATCH 2/6] hwrng: core: Simplify RNG switching from sysfs

2015-09-11 Thread Lee Jones
If we attempt to use sysfs to change the current RNG in the usual way i.e. issuing something like: `echo 8a8a000.rng > /sys/devices/virtual/misc/hw_random/rng_current` ... it will fail because the code doesn't currently take the '\n' into consideration. Well, now it does. Signed-off-by: Lee Jon

[PATCH 3/6] hwrng: st: Provide DT bindings for ST's Random Number Generator

2015-09-11 Thread Lee Jones
Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/rng/st,rng.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/st,rng.txt diff --git a/Documentation/devicetree/bindings/rng/st,rng.txt b/Documentation/devicetree/bind

[PATCH 1/6] Documentation: hw_random: Fix device node name /dev/hw_random => /dev/hwrng

2015-09-11 Thread Lee Jones
In April 2099, commit d405640 ("Driver Core: misc: add node name support for misc devices.") inadvertently changed the device node name from /dev/hw_random to /dev/hwrng. Since 6 years has passed since the change it seems unpractical to change it back now, as this node name is probably considered

[PATCH 5/6] ARM: STi: STiH407: Enable the 2 HW Random Number Generators for STiH4{07,10}

2015-09-11 Thread Lee Jones
Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 838b812..9452b42 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arc

[PATCH 6/6] MAINTAINERS: Add ST's Random Number Generator to the ST entry

2015-09-11 Thread Lee Jones
Signed-off-by: Lee Jones --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index fd60784..b084d69 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1502,6 +1502,7 @@ W:http://www.stlinux.com S: Maintained F: arch/arm/mach-sti/ F: arc

[PATCH 4/6] hwrng: st: Add support for ST's HW Random Number Generator

2015-09-11 Thread Lee Jones
Signed-off-by: Pankaj Dev Signed-off-by: Lee Jones --- drivers/char/hw_random/Kconfig | 10 +++ drivers/char/hw_random/Makefile | 1 + drivers/char/hw_random/st-rng.c | 142 3 files changed, 153 insertions(+) create mode 100644 drivers/char/hw_random

Re: [PATCH v2 7/9] ARM: STi: DT: STiH407: Add FDMA driver dt nodes.

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > On Fri, 11 Sep 2015, Lee Jones wrote: > > On Fri, 11 Sep 2015, Peter Griffin wrote: > > > On Fri, 11 Sep 2015, Lee Jones wrote: > > > > On Fri, 11 Sep 2015, Peter Griffin wrote: > > > > > > > > > These nodes are required to get the fdma driver working >

Re: [RFC PATCH 3/3] devicetree: macb: Add optional property tsu-clk

2015-09-11 Thread Sören Brinkmann
Hi Harini, On Fri, 2015-09-11 at 01:27PM +0530, Harini Katakam wrote: > Add TSU clock frequency to be used for 1588 support in macb driver. > > Signed-off-by: Harini Katakam > --- > Documentation/devicetree/bindings/net/macb.txt |3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Do

Re: [PATCH-v5 RESEND 3/5] i2c: pxa: Add support for pxa910/988 & new configuration features

2015-09-11 Thread Wolfram Sang
On Mon, Aug 24, 2015 at 11:29:36AM +0530, Vaibhav Hiremath wrote: > TWSI_ILCR & TWSI_IWCR registers are used to adjust clock rate > of standard & fast mode in pxa910/988; so this patch adds these two new > entries to "struct pxa_reg_layout" and "struct pxa_i2c". > > As discussed in the previous pa

Re: [PATCH-v5 RESEND 2/5] i2c: pxa: enable/disable i2c module across msg xfer

2015-09-11 Thread Wolfram Sang
On Mon, Aug 24, 2015 at 11:29:35AM +0530, Vaibhav Hiremath wrote: > From: Yi Zhang > > Enable i2c module/unit before transmission and disable when it > finishes. > > why? > It's because the i2c bus may be disturbed if the slave device, > typically a touch, powers on. I am not convinced, "may di

Re: [PATCH v2 7/9] ARM: STi: DT: STiH407: Add FDMA driver dt nodes.

2015-09-11 Thread Peter Griffin
Hi Lee, On Fri, 11 Sep 2015, Lee Jones wrote: > On Fri, 11 Sep 2015, Peter Griffin wrote: > > On Fri, 11 Sep 2015, Lee Jones wrote: > > > On Fri, 11 Sep 2015, Peter Griffin wrote: > > > > > > > These nodes are required to get the fdma driver working > > > > on STiH407 based silicon. > > > > > >

Re: [PATCH 01/11] ARM: STi: DT: STiH407: Add a cec0 pin definition

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > This pin setup provides the correct configuration in order to > interact with the CEC HW. > > Signed-off-by: Erwan Le Ray > Signed-off-by: Nicolas Vanhaelewyn > Acked-by: Patrice Chotard > Signed-off-by: Patrice Chotard Duplicate. > Signed-off-by:

Re: [PATCH 02/11] ARM: STi: DT: STiH407: Add i2c3 alternate pin configs

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > i2c3 controller can use several sets of pins depending > on board design. This patch adds the missing alternate > pinconfigs. > > Signed-off-by: Seraphin Bonnaffe > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-pinctrl.dtsi | 14

Re: [PATCH 03/11] ARM: DT: STiH407: Add SPI 3 wire and 4 wire pinctrl configs

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > This patch adds the spi pinctrl configurations for all SPI > controllers, and also the alternate muxings which > can be used depending on board design. > > Signed-off-by: Christophe Kerello > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/sti

Re: [PATCH 04/11] ARM: DT: STiH407: Add serial3 pinctrl configuration

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > Add missing serial 3 pinctrl config. This can be used > on b2206 HVK, where it defaults to PIO31[3] & PIO31[4], > alternate 1. > > Signed-off-by: Erwan Le Ray > Signed-off-by: Fabrice Gasnier > Acked-by: Carmelo Amoroso > Acked-by: Patrice Chotard >

Re: [PATCH 05/11] ARM: DT: STiH407: Add SPI FSM (NOR Flash) Controller pin config

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > This patch adds the pin configuration for the NOR flash controller. > > Signed-off-by: Patrice Chotard > Signed-off-by: Christophe Kerello > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-pinctrl.dtsi | 13 + > 1 file cha

Re: [PATCH 06/11] ARM: DT: STiH407: Add NAND flash controller pin configuration

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > This patch adds NAND flash support controller pin configuration > for STiH407 family silicon. > > Signed-off-by: Patrice Chotard > Signed-off-by: Christophe Kerello > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-pinctrl.dtsi | 23 +

Re: [PATCH 07/11] ARM: DT: STiH407: Add systrace pin configuration

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > This patch adds the pin config for systrace for > STiH407 family silicon. > > Signed-off-by: Patrice Chotard > Signed-off-by: Fabrice Gasnier > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-pinctrl.dtsi | 12 > 1 file c

Re: [PATCH 08/11] ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > This patch adds the missing SD pinctrl config > for mmc/sd controller 0. This is required to enable the > B2144A daughter board that exposes this controller as a sd > slot. > > Signed-off-by: Nebil BEN MEFTEH > Signed-off-by: Nebil BEN MEFTEH Duplica

Re: [PATCH 09/11] ARM: DT: STiH407: Add pinconfig for IRB UHF and IRB TX

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > This patch adds the pinconfig for IRB TX and IRB UHF. > > Signed-off-by: M'boumba Cedric Madianga > Acked-by: Patrice Chotard > Signed-off-by: Patrice Chotard I'd take out the Ack here. > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/sti

Re: [PATCH 10/11] ARM: DT: STiH407: Add RMII pinctrl support

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > This patch adds the RMII pinctrl support for the Synopsys > MAC on STiH407 SoCs. > > Signed-off-by: Giuseppe Cavallaro > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-pinctrl.dtsi | 27 +++ > 1 file changed, 2

Re: [PATCH 11/11] ARM: STi: STiH407: Add spi default pinctrl groups.

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > Now we have default pinconfig groups for each SPI > controller ensure it is used by the SPI controller > node. > > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-family.dtsi | 14 ++ > 1 file changed, 14 insertions(+) Acke

Re: [PATCH v2 7/9] ARM: STi: DT: STiH407: Add FDMA driver dt nodes.

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > On Fri, 11 Sep 2015, Lee Jones wrote: > > On Fri, 11 Sep 2015, Peter Griffin wrote: > > > > > These nodes are required to get the fdma driver working > > > on STiH407 based silicon. > > > > > > Signed-off-by: Peter Griffin > > > --- > > > arch/arm/boo

[PATCH] of: Check for overlap in reserved memory regions

2015-09-11 Thread Mitchel Humpherys
Any overlap in the reserved memory regions (those specified in the reserved-memory DT node) is a bug. These bugs might go undetected as long as the contested region isn't used simultaneously by multiple software agents, which makes such bugs hard to debug. Fix this by printing a scary warning dur

[PATCH 00/11] ARM: STi: STiH407: Pinctrl updates

2015-09-11 Thread Peter Griffin
Hi Maxime / Patrice / Srini, This series makes a series of updates to the stih407 pinctrl groups and makes the upstream kernel more closely aligned in terms of pin configuration to the vendor kernel. A number of new periphs are added such as spi fsm, nand, cec0, and for others such as SPI the var

[PATCH 03/11] ARM: DT: STiH407: Add SPI 3 wire and 4 wire pinctrl configs

2015-09-11 Thread Peter Griffin
This patch adds the spi pinctrl configurations for all SPI controllers, and also the alternate muxings which can be used depending on board design. Signed-off-by: Christophe Kerello Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 239 -

[PATCH 02/11] ARM: STi: DT: STiH407: Add i2c3 alternate pin configs

2015-09-11 Thread Peter Griffin
i2c3 controller can use several sets of pins depending on board design. This patch adds the missing alternate pinconfigs. Signed-off-by: Seraphin Bonnaffe Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-)

[PATCH 04/11] ARM: DT: STiH407: Add serial3 pinctrl configuration

2015-09-11 Thread Peter Griffin
Add missing serial 3 pinctrl config. This can be used on b2206 HVK, where it defaults to PIO31[3] & PIO31[4], alternate 1. Signed-off-by: Erwan Le Ray Signed-off-by: Fabrice Gasnier Acked-by: Carmelo Amoroso Acked-by: Patrice Chotard Signed-off-by: Patrice Chotard Signed-off-by: Peter Griffin

[PATCH 08/11] ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller

2015-09-11 Thread Peter Griffin
This patch adds the missing SD pinctrl config for mmc/sd controller 0. This is required to enable the B2144A daughter board that exposes this controller as a sd slot. Signed-off-by: Nebil BEN MEFTEH Signed-off-by: Nebil BEN MEFTEH Acked-by: Giuseppe Cavallaro Acked-by: Patrice Chotard Signed-o

[PATCH 01/11] ARM: STi: DT: STiH407: Add a cec0 pin definition

2015-09-11 Thread Peter Griffin
This pin setup provides the correct configuration in order to interact with the CEC HW. Signed-off-by: Erwan Le Ray Signed-off-by: Nicolas Vanhaelewyn Acked-by: Patrice Chotard Signed-off-by: Patrice Chotard Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 8

[PATCH 06/11] ARM: DT: STiH407: Add NAND flash controller pin configuration

2015-09-11 Thread Peter Griffin
This patch adds NAND flash support controller pin configuration for STiH407 family silicon. Signed-off-by: Patrice Chotard Signed-off-by: Christophe Kerello Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 23 +++ 1 file changed, 23 insertions(+) d

[PATCH 05/11] ARM: DT: STiH407: Add SPI FSM (NOR Flash) Controller pin config

2015-09-11 Thread Peter Griffin
This patch adds the pin configuration for the NOR flash controller. Signed-off-by: Patrice Chotard Signed-off-by: Christophe Kerello Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/stih

[PATCH 07/11] ARM: DT: STiH407: Add systrace pin configuration

2015-09-11 Thread Peter Griffin
This patch adds the pin config for systrace for STiH407 family silicon. Signed-off-by: Patrice Chotard Signed-off-by: Fabrice Gasnier Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/stih

[PATCH 09/11] ARM: DT: STiH407: Add pinconfig for IRB UHF and IRB TX

2015-09-11 Thread Peter Griffin
This patch adds the pinconfig for IRB TX and IRB UHF. Signed-off-by: M'boumba Cedric Madianga Acked-by: Patrice Chotard Signed-off-by: Patrice Chotard Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git

[PATCH 10/11] ARM: DT: STiH407: Add RMII pinctrl support

2015-09-11 Thread Peter Griffin
This patch adds the RMII pinctrl support for the Synopsys MAC on STiH407 SoCs. Signed-off-by: Giuseppe Cavallaro Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/stih407-pin

[PATCH 11/11] ARM: STi: STiH407: Add spi default pinctrl groups.

2015-09-11 Thread Peter Griffin
Now we have default pinconfig groups for each SPI controller ensure it is used by the SPI controller node. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-family.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/

Re: [PATCH v2 7/9] ARM: STi: DT: STiH407: Add FDMA driver dt nodes.

2015-09-11 Thread Peter Griffin
Hi Lee, On Fri, 11 Sep 2015, Lee Jones wrote: > On Fri, 11 Sep 2015, Peter Griffin wrote: > > > These nodes are required to get the fdma driver working > > on STiH407 based silicon. > > > > Signed-off-by: Peter Griffin > > --- > > arch/arm/boot/dts/stih407-family.dtsi | 51 > > ++

Re: [PATCH 2/2] Documentation: gpio: Update description for X-Gene standby GPIO controller DTS binding

2015-09-11 Thread Arnd Bergmann
On Friday 11 September 2015 22:06:58 Y Vo wrote: > On Fri, Sep 11, 2015 at 9:47 PM, Arnd Bergmann wrote: > > On Friday 11 September 2015 21:23:31 Y Vo wrote: > >> Is that possible if we change to this approach: > >> - Keep all GPIO as GPIO mode by default. > >> - If anyone want to use them as inte

Re: [PATCH] efi/libstub/fdt: Standardize the names of EFI stub parameters

2015-09-11 Thread Mark Rutland
> >> Considering that the EFI support is just for Dom0, and Dom0 (at > >> the time) had to be PV anyway, it was the more natural solution to > >> expose the interface via hypercalls, the more that this allows better > >> control over what is and primarily what is not being exposed to > >> Dom0. Wit

Re: [PATCH] efi/libstub/fdt: Standardize the names of EFI stub parameters

2015-09-11 Thread Mark Rutland
> It feels like this discussion is going in circles. > > When we discussed this six months ago, we already concluded that, > since UEFI is the only specified way that the presence of ACPI is > advertised on an ARM system, we need to emulate UEFI to some extent. My understanding from the last time

Re: [PATCH v2 7/9] ARM: STi: DT: STiH407: Add FDMA driver dt nodes.

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > These nodes are required to get the fdma driver working > on STiH407 based silicon. > > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-family.dtsi | 51 > +++ > 1 file changed, 51 insertions(+) > > dif

Re: [PATCH] efi/libstub/fdt: Standardize the names of EFI stub parameters

2015-09-11 Thread Mark Rutland
On Fri, Sep 11, 2015 at 01:46:43PM +0100, Daniel Kiper wrote: > On Thu, Sep 10, 2015 at 05:23:02PM +0100, Mark Rutland wrote: > > > > C) When you could go: > > > > > > > >DT -> Discover Xen -> Xen-specific stuff -> Xen-specific EFI/ACPI > > > > discovery > > > > > > I take you mean discovering

Re: [PATCH v2 8/9] MAINTAINERS: Add FDMA driver files to STi section.

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > This patch adds the FDMA driver files to the STi > section of the maintainers file. > > Signed-off-by: Peter Griffin > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) Acked-by: Lee Jones > diff --git a/MAINTAINERS b/MAINTAINERS > index b6

Re: [PATCH v2 9/9] ARM: multi_v7_defconfig: Enable STi FDMA driver

2015-09-11 Thread Lee Jones
On Fri, 11 Sep 2015, Peter Griffin wrote: > This DMA controller is found on all STi chipsets. > > Signed-off-by: Peter Griffin > --- > arch/arm/configs/multi_v7_defconfig | 1 + > 1 file changed, 1 insertion(+) Acked-by: Lee Jones > diff --git a/arch/arm/configs/multi_v7_defconfig > b/arch/

Re: [PATCH] efi/libstub/fdt: Standardize the names of EFI stub parameters

2015-09-11 Thread Daniel Kiper
On Fri, Sep 11, 2015 at 03:30:15PM +0200, Ard Biesheuvel wrote: > On 11 September 2015 at 15:14, Stefano Stabellini > wrote: > > On Fri, 11 Sep 2015, Daniel Kiper wrote: > >> On Thu, Sep 10, 2015 at 05:23:02PM +0100, Mark Rutland wrote: > >> > > > C) When you could go: > >> > > > > >> > > >DT

Re: [PATCH v3 02/18] of/platform: add of_platform_probe

2015-09-11 Thread Mark Brown
On Fri, Sep 11, 2015 at 04:06:07PM +0200, Tomeu Vizoso wrote: > Once a platform device (with the platform bus as its parent) is > retrieved from the deferred queue, both the parent and the device in > question are locked (because of the USB stuff mentioned below). If > that device depends on anoth

Re: [PATCH v4 5/6] iommu/mediatek: Add mt8173 IOMMU driver

2015-09-11 Thread Robin Murphy
On 03/08/15 11:21, Yong Wu wrote: This patch adds support for mediatek m4u (MultiMedia Memory Management Unit). Signed-off-by: Yong Wu --- [...] +/* + * There is only one iommu domain called the m4u domain that + * all Multimedia modules share. + */ +static struct mtk_iommu_domain *m4udom;

Re: [PATCH 2/2] Documentation: gpio: Update description for X-Gene standby GPIO controller DTS binding

2015-09-11 Thread Y Vo
On Fri, Sep 11, 2015 at 9:47 PM, Arnd Bergmann wrote: > On Friday 11 September 2015 21:23:31 Y Vo wrote: >> >> /* Board-specific: exclude GPIO_DS8 to leave it as GPIO */ >> >> &sbgpio { >> >>interrupts =<0x0 0x29 0x1>, /* GPIO_DS9 */ >> >><0x0 0x2a 0x1>,

Re: [PATCH v2 00/13] power: bq24257: Add support for bq24250/bq24251

2015-09-11 Thread Andreas Dannenberg
On Thu, Sep 10, 2015 at 04:26:26PM -0500, Andreas Dannenberg wrote: > On Thu, Sep 10, 2015 at 03:26:16PM +0300, Laurentiu Palcu wrote: > > On Tue, Sep 08, 2015 at 07:12:24PM -0500, Andreas Dannenberg wrote: > > > v2: [...] > > > - Renamed/refactored filenames/symbols from bq24257 to bq2425x to > >

Re: [PATCH v2 13/13] dt: power: bq2425x-charger: Cover additional devices

2015-09-11 Thread Andreas Dannenberg
On Fri, Sep 11, 2015 at 09:34:10AM +0900, Krzysztof Kozlowski wrote: > On 11.09.2015 05:57, Andreas Dannenberg wrote: > > On Thu, Sep 10, 2015 at 09:15:09AM +0900, Krzysztof Kozlowski wrote: > > (...) > > > > bq2415x.txt - ti,current-limit - maximum current to be drawn in mA > >

Re: [PATCH 2/2] Documentation: gpio: Update description for X-Gene standby GPIO controller DTS binding

2015-09-11 Thread Arnd Bergmann
On Friday 11 September 2015 21:23:31 Y Vo wrote: > >> /* Board-specific: exclude GPIO_DS8 to leave it as GPIO */ > >> &sbgpio { > >>interrupts =<0x0 0x29 0x1>, /* GPIO_DS9 */ > >><0x0 0x2a 0x1>, /* GPIO_DS10 */ > >><0x0 0x2

[PATCH][resend] rc: gpio-ir-recv: allow flush space on idle

2015-09-11 Thread Eric Nelson
Many decoders require a trailing space (period without IR illumination) to be delivered before completing a decode. Since the gpio-ir-recv driver only delivers events on gpio transitions, a single IR symbol (caused by a quick touch on an IR remote) will not be properly decoded without the use of a

[PATCH v2 7/9] ARM: STi: DT: STiH407: Add FDMA driver dt nodes.

2015-09-11 Thread Peter Griffin
These nodes are required to get the fdma driver working on STiH407 based silicon. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih407-family.dtsi | 51 +++ 1 file changed, 51 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot

Re: [PATCH 2/2] Documentation: gpio: Update description for X-Gene standby GPIO controller DTS binding

2015-09-11 Thread Y Vo
On Fri, Sep 11, 2015 at 7:46 PM, Arnd Bergmann wrote: > On Friday 11 September 2015 18:24:47 Y Vo wrote: >> On Fri, Sep 11, 2015 at 4:35 PM, Arnd Bergmann wrote: >> > On Friday 11 September 2015 16:22:12 Y Vo wrote: >> >> There are 20 GPIO pins from 0..21. There is no GPIO_DS14 or GPIO_DS15, >>

[PATCH v2 1/9] dmaengine: st_fdma: Add STMicroelectronics FDMA DT binding documentation

2015-09-11 Thread Peter Griffin
This patch adds the DT binding documentation for the FDMA constroller found on STi based chipsets from STMicroelectronics. Signed-off-by: Ludovic Barre Signed-off-by: Peter Griffin --- Documentation/devicetree/bindings/dma/st_fdma.txt | 78 +++ 1 file changed, 78 insertions(

[PATCH v2 8/9] MAINTAINERS: Add FDMA driver files to STi section.

2015-09-11 Thread Peter Griffin
This patch adds the FDMA driver files to the STi section of the maintainers file. Signed-off-by: Peter Griffin --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index b60e2b2..b3cdd5b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1504,6 +1504,7 @@ S:

[PATCH v2 4/9] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support

2015-09-11 Thread Peter Griffin
This patch adds support for the Flexible Direct Memory Access (FDMA) core driver. The FDMA is a slim core CPU with a dedicated firmware. It is a general purpose DMA controller capable of supporting 16 independent DMA channels. Data moves maybe from memory to memory or between memory and paced laten

[PATCH v2 6/9] dmaengine: st_fdma: Add fdma suspend and resume callbacks.

2015-09-11 Thread Peter Griffin
This patch adds the functions to gate the xp70 clock on suspend and resume. Signed-off-by: Ludovic Barre Signed-off-by: Peter Griffin --- drivers/dma/st_fdma.c | 46 ++ 1 file changed, 46 insertions(+) diff --git a/drivers/dma/st_fdma.c b/drivers/dma

[PATCH v2 2/9] dmaengine: st_fdma: Add st fdma platform specific header

2015-09-11 Thread Peter Griffin
Signed-off-by: Ludovic Barre Signed-off-by: Peter Griffin --- include/linux/platform_data/dma-st_fdma.h | 72 +++ 1 file changed, 72 insertions(+) create mode 100644 include/linux/platform_data/dma-st_fdma.h diff --git a/include/linux/platform_data/dma-st_fdma.h b/

[PATCH v2 5/9] dmaengine: st_fdma: Add xp70 firmware loading mechanism.

2015-09-11 Thread Peter Griffin
This patch adds the code to load the xp70 fdma firmware using the asynchronous request_firmware_nowait call so as not to delay bootup of builtin code. Signed-off-by: Peter Griffin --- drivers/dma/st_fdma.c | 199 ++ 1 file changed, 199 insertions(+

[PATCH v2 9/9] ARM: multi_v7_defconfig: Enable STi FDMA driver

2015-09-11 Thread Peter Griffin
This DMA controller is found on all STi chipsets. Signed-off-by: Peter Griffin --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 5fd8df6..ce3c8c1 100644 --- a/arch/arm/confi

[PATCH v2 3/9] dmaengine: st_fdma: Add STMicroelectronics FDMA driver header file

2015-09-11 Thread Peter Griffin
Signed-off-by: Ludovic Barre Signed-off-by: Peter Griffin --- drivers/dma/st_fdma.h | 237 ++ 1 file changed, 237 insertions(+) create mode 100644 drivers/dma/st_fdma.h diff --git a/drivers/dma/st_fdma.h b/drivers/dma/st_fdma.h new file mode 1006

[PATCH v2 0/9] Add support for FDMA DMA controller found on STi chipsets

2015-09-11 Thread Peter Griffin
Hi Vinod, This patchset adds support for the Flexible Direct Memory Access (FDMA) core found on STi chipsets from STMicroelectronics. The FDMA is a slim (xp70) core CPU with a dedicated firmware. It is a general purpose DMA controller supporting 16 independent channels and data can be moved from

Re: [PATCH v3 02/18] of/platform: add of_platform_probe

2015-09-11 Thread Tomeu Vizoso
On 11 September 2015 at 11:57, Mark Brown wrote: > On Mon, Sep 07, 2015 at 02:31:06PM +0200, Tomeu Vizoso wrote: >> On 11 August 2015 at 11:37, Tomeu Vizoso wrote: >> > On 7 August 2015 at 14:19, Mark Brown wrote: > >> >> This sounds like it's going to break in the case where we have MFDs that >

Re: [PATCH] ahci: qoriq: fixed using uninitialized variable warnings

2015-09-11 Thread Tejun Heo
Hello, Yuantian. On Fri, Sep 11, 2015 at 05:27:25AM +, Yuantian Tang wrote: > Hi Tejun, > > Could you please take the version 1 patch? > The version 2 patch can't address these warnings, and the version 1 can > definitely remove them. > In this case, that would cause any hidden bugs, so no w

[PATCH] drivers: of: check input parameter name for __of_find_property

2015-09-11 Thread Peng Fan
Check input parameter 'name' for __of_find_property. If name is NULL, of_prop_cmp->strcasecmp may trigger panic. Signed-off-by: Peng Fan Cc: Rob Herring Cc: Frank Rowand Cc: Grant Likely --- drivers/of/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/base.

  1   2   >