[PATCH 2/2] arm/layerscape: add RCPM device tree support for ls1021a.

2015-09-08 Thread Dongsheng Wang
From: Wang Dongsheng Signed-off-by: Wang Dongsheng diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 973a496..deb1271 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -139,6 +139,7 @@ sdhci,auto-cmd12;

[PATCH 1/2] fsl: Add binding for RCPM

2015-09-08 Thread Dongsheng Wang
From: Wang Dongsheng RCPM is the Run Control and Power Management module performs all device-level tasks associated with device run control and power management. Add this for freescale powerpc platform and layerscape platform. Signed-off-by: Chenhui Zhao Signed-off-by: Tang Yuantian Signed-of

Re: [PATCH v6 3/6] pci:host: Add Altera PCIe host controller driver

2015-09-08 Thread Ley Foon Tan
On Tue, Sep 8, 2015 at 5:19 PM, Lorenzo Pieralisi wrote: > On Fri, Sep 04, 2015 at 09:29:14AM +0100, Ley Foon Tan wrote: >> On Wed, Sep 2, 2015 at 12:33 AM, Lorenzo Pieralisi >> wrote: > > [...] > >> > > +static bool altera_pcie_valid_config(struct altera_pcie *pcie, >> > > +

Re: [PATCH 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-09-08 Thread Sascha Hauer
On Tue, Sep 08, 2015 at 05:49:55PM +0800, Bayi Cheng wrote: > add spi nor flash driver for mediatek controller > > Signed-off-by: Bayi Cheng > --- > drivers/mtd/spi-nor/Kconfig | 7 + > drivers/mtd/spi-nor/Makefile | 1 + > drivers/mtd/spi-nor/mtk_nor.c | 533 > ++

Re: [PATCH v4 2/2] dt: power: st: Provide bindings for ST's OPPs

2015-09-08 Thread Viresh Kumar
On 02-09-15, 13:58, Rob Herring wrote: > What do you expect here? It is your job to close it. Ultimately, this > will be your problem to deal with. If you have 10 different vendors > doing selection of OPPs in 10 different ways you will not be able to > change that easily later. Maybe if you can't

[RFC v3 4/4] iio: chemical: add SGX VZ89x VOC sensor support

2015-09-08 Thread Matt Ranostay
Add support for VZ89X sensors VOC and CO2 reporting channels in percentage which can be converted to part per million. Signed-off-by: Matt Ranostay --- .../ABI/testing/sysfs-bus-iio-chemical-vz89x | 30 +++ .../devicetree/bindings/i2c/trivial-devices.txt| 1 + drivers/iio/Kconfig

[RFC v3 3/4] devicetree: add SGX Sensortech vendor id

2015-09-08 Thread Matt Ranostay
Signed-off-by: Matt Ranostay --- 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 ac5f0c3..281e8f0 100644 --- a/Documentati

[RFC v3 0/4] iio: new chemical sensor framework and channel types

2015-09-08 Thread Matt Ranostay
Changes from RFC v2: * Proper usage of IIO_CHAN_INFO_OFFSET values for VOC and CO2 channels * Return CO2 offset that combines the 400 ppm offset and -13 value correction Matt Ranostay (4): iio: chemical: Add IIO_CONCENTRATION channel type iio: resistance: add IIO_RESISTANCE channel type devi

[RFC v3 2/4] iio: resistance: add IIO_RESISTANCE channel type

2015-09-08 Thread Matt Ranostay
Signed-off-by: Matt Ranostay --- Documentation/ABI/testing/sysfs-bus-iio | 7 +++ drivers/iio/industrialio-core.c | 1 + include/uapi/linux/iio/types.h | 1 + 3 files changed, 9 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/s

[RFC v3 1/4] iio: chemical: Add IIO_CONCENTRATION channel type

2015-09-08 Thread Matt Ranostay
There are air quality sensors that report data back in parts per million of VOC (Volatile Organic Compounds) which are usually indexed from CO2 or another common pollutant. This patchset adds an IIO_CONCENTRATION type that returns a percentage of substance because no other channels types fit this

Re: [PATCH v4 1/2] pinctrl: Add driver for Alphascale asm9260 pinctrl

2015-09-08 Thread Oleksij Rempel
Hi, finally i'm able to continue to work on it. Am 13.05.2015 um 13:00 schrieb Linus Walleij: > On Tue, May 12, 2015 at 6:25 PM, Oleksij Rempel > wrote: >> Am 05.05.2015 um 17:12 schrieb Linus Walleij: > >>> Just reference the statically defined array by a pointer instead, >>> this just takes u

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

2015-09-08 Thread Sascha Hauer
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 1/3] ARM: uniphier: add outer cache support

2015-09-08 Thread Rob Herring
On 09/08/2015 08:09 AM, Linus Walleij wrote: > On Fri, Aug 28, 2015 at 12:24 PM, Masahiro Yamada > wrote: >> 2015-08-26 22:39 GMT+09:00 Linus Walleij : > >>> cache-unified and cache-level are *not* optional and should be required. >> >> "cache-unified" is mentioned in "3.7.3 Internal (L1) Cache P

Re: [PATCH linux-next v5 4/5] Documentation: atmel-quadspi: add binding file for Atmel QSPI driver

2015-09-08 Thread Rob Herring
On 08/26/2015 07:30 AM, Cyrille Pitchen wrote: > This patch documents the DT bindings for the driver of the Atmel QSPI > controller embedded inside sama5d2x SoCs. > > Signed-off-by: Cyrille Pitchen > Acked-by: Nicolas Ferre > Acked-by: Marek Vasut Acked-by: Rob Herring > --- > .../devicetre

Re: [PATCH v6 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-09-08 Thread Rob Herring
On 09/07/2015 08:59 AM, Adriana Reus wrote: > Thanks for your feedback, some comments inline. > > On 31.08.2015 18:38, Rob Herring wrote: >> On Thu, Aug 27, 2015 at 3:23 PM, Jonathan Cameron >> wrote: >>> On 20/08/15 11:12, Adriana Reus wrote: Added entries in i2c/vendor-prefixes for the us5

Re: [PATCH linux-next v9 2/3] mfd: devicetree: add bindings for Atmel Flexcom

2015-09-08 Thread Rob Herring
On 09/01/2015 09:46 AM, Cyrille Pitchen wrote: > This patch documents the DT bindings for the Atmel Flexcom which will be > introduced by sama5d2x SoCs. These bindings will be used by the actual > Flexcom driver to be sent in another patch. > > Signed-off-by: Cyrille Pitchen > Acked-by: Boris Bre

Re: [PATCH v7 1/5] dt-bindings: Add usb3.0 phy binding for MT65xx SoCs

2015-09-08 Thread Rob Herring
On 09/08/2015 01:17 AM, Chunfeng Yun wrote: > add a DT binding documentation of usb3.0 phy for MT65xx > SoCs from Mediatek. > > Signed-off-by: Chunfeng Yun One comment, otherwise: Acked-by: Rob Herring > --- > .../devicetree/bindings/phy/phy-mt65xx-usb.txt | 69 > ++

Re: [PATCH v4 04/22] of: add function to allow probing a device from a OF node

2015-09-08 Thread Rob Herring
On 09/07/2015 07:23 AM, Tomeu Vizoso wrote: > Walks the OF tree up and finds the closest ancestor that has a struct > device associated with it, probing it if isn't bound to a driver yet. > > The above should ensure that the dependency represented by the passed OF > node is available, because prob

Re: [PATCH v4 0/22] On-demand device probing

2015-09-08 Thread Rob Herring
On 09/08/2015 02:30 AM, Tomeu Vizoso wrote: > On 7 September 2015 at 22:50, Rob Herring wrote: >> On Mon, Sep 7, 2015 at 7:23 AM, Tomeu Vizoso >> wrote: >>> Hello, >>> >>> I have a problem with the panel on my Tegra Chromebook taking longer >>> than expected to be ready during boot (Stéphane Mar

Re: [PATCHv2 1/3] of: Add vendor prefix for Analogix Semiconductor, Inc.

2015-09-08 Thread Rob Herring
On 09/08/2015 02:25 AM, Enric Balletbo i Serra wrote: > Analogix Semiconductor develops analog and mixed-signal devices for digital > media and communications interconnect applications. > > Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/v

Re: [PATCH-v2 2/7] mmc: sdhci-pxav3: binding: Add pxa1928 compatible support

2015-09-08 Thread Rob Herring
On 09/07/2015 06:18 AM, Vaibhav Hiremath wrote: > With support for pxa1928 family of devices , this patch > updates the binding document with compatible property > of "marvell,pxav3-1928-sdhci". > > Signed-off-by: Vaibhav Hiremath > --- > Documentation/devicetree/bindings/mmc/sdhci-pxa.txt | 2 +

Re: [PATCHv2 2/3] devicetree: Add new ANX7814 SlimPort transmitter binding.

2015-09-08 Thread Rob Herring
On 09/08/2015 02:25 AM, Enric Balletbo i Serra wrote: > The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter > designed for portable devices. > > You can add support to your board with current binding. > > Example: > > anx7814: anx7814@38 { > compatible =

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

2015-09-08 Thread Rob Herring
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 nor flash node >>> >>> Signed-off-by: Bayi Cheng >>> --- >>> arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ >>> 1 file

Re: [PATCH v7 2/5] dt-bindings: Add a binding for Mediatek xHCI host controller

2015-09-08 Thread Rob Herring
On 09/08/2015 01:18 AM, Chunfeng Yun wrote: > add a DT binding documentation of xHCI host controller for the > MT8173 SoC from Mediatek. > > Signed-off-by: Chunfeng Yun > --- > .../devicetree/bindings/usb/mt8173-xhci.txt| 52 > ++ > 1 file changed, 52 insertions(+) >

Re: [PATCH linux-next v9 1/3] mfd: atmel-flexcom: create include file with macros used by DT bindings

2015-09-08 Thread Rob Herring
On 09/01/2015 09:46 AM, Cyrille Pitchen wrote: > This patch defines some macros to be used as value for the > "atmel,flexcom-mode" DT property. This value is then written into > the Operating Mode (OPMODE) bit field of the Flexcom Mode Register. > > Signed-off-by: Cyrille Pitchen Acked-by: Rob H

Re: [PATCH 2/2] fbdev: ssd1307fb: add ssd1309 support

2015-09-08 Thread Rob Herring
On 09/08/2015 02:19 PM, Olliver Schinagl wrote: > The ssd1307fb driver supports a lot of chips from the ssd130xfb series. > This patch adds the ssd1309 chip, a 128x64 OLED driver chip. It is very > similar to the other chips and only has some definitions added to > support it. > > Signed-off-by: O

Re: [PATCH 1/2 v3] watchdog: bcm7038: add device tree binding documentation

2015-09-08 Thread Rob Herring
On 09/08/2015 12:45 PM, Justin Chen wrote: > Add device tree binding documentation for the watchdog hardware block > on bcm7038 and newer SoCs. > > Signed-off-by: Justin Chen > Acked-by: Guenter Roeck Some minor comments, otherwise: Acked-by: Rob Herring > --- > .../devicetree/bindings/wat

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

2015-09-08 Thread Krzysztof Kozlowski
On 09.09.2015 11:48, Andreas Dannenberg wrote: > On Wed, Sep 09, 2015 at 09:27:06AM +0900, Krzysztof Kozlowski wrote: >> On 09.09.2015 09:12, Andreas Dannenberg wrote: >>> Extend the bq2425x charger's device tree documentation to cover the >>> bq24250 and bq24257 devices as well as recent feature a

Re: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger

2015-09-08 Thread Krzysztof Kozlowski
On 09.09.2015 11:26, Andreas Dannenberg wrote: > On Mon, Sep 07, 2015 at 12:57:56PM +0900, Krzysztof Kozlowski wrote: >> 2015-09-07 2:23 GMT+09:00 Ramakrishna Pallala >> : >>> >>> Add new charger driver support for BQ24261 charger IC. >>> >>> BQ24261 charger driver relies on extcon notifications t

Re: [PATCH 1/3] sysfs: Fix is_visible() support for binary attributes

2015-09-08 Thread Guenter Roeck
On 09/08/2015 08:58 PM, Greg KH wrote: On Tue, Sep 08, 2015 at 06:10:16PM -0700, Guenter Roeck wrote: Hi Emilio, On 09/08/2015 05:51 PM, Emilio López wrote: Hi Greg & Guenter, [ ... ] Unless I am missing something, this is not explained anywhere, but it is not entirely trivial to understan

Re: [PATCH] of: add vendor prefix for Socionext Inc.

2015-09-08 Thread Masahiro Yamada
Hi Lee, Rob, 2015-08-25 0:11 GMT+09:00 Rob Herring : > On Mon, Aug 24, 2015 at 1:57 AM, Lee Jones wrote: >> On Wed, 29 Jul 2015, Masahiro Yamada wrote: >> >>> Signed-off-by: Masahiro Yamada >>> --- >>> >>> Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + >>> 1 file changed, 1 insert

Re: [PATCH 1/3] sysfs: Fix is_visible() support for binary attributes

2015-09-08 Thread Greg KH
On Tue, Sep 08, 2015 at 06:10:16PM -0700, Guenter Roeck wrote: > Hi Emilio, > > On 09/08/2015 05:51 PM, Emilio López wrote: > >Hi Greg & Guenter, > > > [ ... ] > > Unless I am missing something, this is not explained anywhere, but it is > not entirely trivial to understand. I think it

Re: [PATCH 2/2] ASoC: atmel-classd: DT binding for Class D audio amplifier driver

2015-09-08 Thread Wu, Songjun
On 9/8/2015 20:23, Mark Brown wrote: On Tue, Sep 08, 2015 at 05:36:13PM +0800, Wu, Songjun wrote: On 9/8/2015 00:25, Mark Brown wrote: Sure, there's no problem at all having that structure in software but it should be possible to do this without having to represent this structure in DT. It

Re: [PATCH 1/2] ASoC: atmel-classd: add the Audio Class D Amplifier code

2015-09-08 Thread Wu, Songjun
On 9/8/2015 20:23, Mark Brown wrote: On Tue, Sep 08, 2015 at 05:36:01PM +0800, Wu, Songjun wrote: On 9/8/2015 00:23, Mark Brown wrote: OK, so that's not actually what the code was doing - it had separate enums for bass, mid and treble. If you make this a single enum with all the above opti

Re: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger

2015-09-08 Thread Fabio Estevam
On Sun, Sep 6, 2015 at 2:23 PM, Ramakrishna Pallala wrote: > + chip->psy_usb = power_supply_register(&client->dev, > + &bq24261_charger_desc, &charger_cfg); > + if (IS_ERR(chip->psy_usb)) { > + dev_err(&client->dev, > +

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

2015-09-08 Thread Andreas Dannenberg
On Wed, Sep 09, 2015 at 09:27:06AM +0900, Krzysztof Kozlowski wrote: > On 09.09.2015 09:12, Andreas Dannenberg wrote: > > Extend the bq2425x charger's device tree documentation to cover the > > bq24250 and bq24257 devices as well as recent feature additions. > > > > Signed-off-by: Andreas Dannenbe

Re: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger

2015-09-08 Thread Andreas Dannenberg
On Mon, Sep 07, 2015 at 12:57:56PM +0900, Krzysztof Kozlowski wrote: > 2015-09-07 2:23 GMT+09:00 Ramakrishna Pallala : > > > > Add new charger driver support for BQ24261 charger IC. > > > > BQ24261 charger driver relies on extcon notifications to get the > > charger cable type and based on that it

Re: [PATCH v5 4/6] spi: bcm2835: new driver implementing auxiliar spi1/spi2 on the bcm2835 soc

2015-09-08 Thread Eric Anholt
ker...@martin.sperl.org writes: > From: Martin Sperl > > Implements spi master driver for the 2 auxiliar spi devices > supported by the bcm2835 SOC. > > The driver does not implement native chip-selects but uses > framework provided aribtrary GPIO-chip-selects. > > Requires soc-bcm2835-aux enable

Re: [PATCH v5 0/6] bcm2835: auxiliar device support for spi

2015-09-08 Thread Eric Anholt
ker...@martin.sperl.org writes: > From: Martin Sperl > > The BCM2835 contains 3 auxiliar devices: > * spi1 > * spi2 > * uart1 > > All of those 3 devices are enabled/disabled via a shared register, > which is set by default to be disabled. > > Access to this register needs to get serialized. > > S

Re: [PATCH 1/3] sysfs: Fix is_visible() support for binary attributes

2015-09-08 Thread Guenter Roeck
Hi Emilio, On 09/08/2015 05:51 PM, Emilio López wrote: Hi Greg & Guenter, [ ... ] Unless I am missing something, this is not explained anywhere, but it is not entirely trivial to understand. I think it should be documented. I agree. I couldn't find any mention of what this int was supposed

Re: [PATCH 1/3] sysfs: Fix is_visible() support for binary attributes

2015-09-08 Thread Emilio López
Hi Greg & Guenter, On 08/09/15 16:30, Guenter Roeck wrote: On Tue, Sep 08, 2015 at 12:10:02PM -0700, Greg KH wrote: On Tue, Sep 08, 2015 at 08:30:13AM -0700, Guenter Roeck wrote: Emilio, On Tue, Sep 08, 2015 at 09:07:44AM -0300, Emilio López wrote: According to the sysfs header file: "

Re: [PATCH] ARM: qcom: add memory node to IPQ806x/AP148

2015-09-08 Thread Stephen Boyd
On 08/18, Mathieu Olivari wrote: > On recent bootloaders, the bootloader patches the DT blob with memory > information. However, with old bootloader, this operation doesn't > happen, which leads the board to freeze in the early init code. > > This patch adds the memory node to the AP148 dts explic

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

2015-09-08 Thread Krzysztof Kozlowski
On 09.09.2015 09:12, Andreas Dannenberg wrote: > Extend the bq2425x charger's device tree documentation to cover the > bq24250 and bq24257 devices as well as recent feature additions. > > Signed-off-by: Andreas Dannenberg Hi, Thanks for updates. Everything pointed previous looks good. After loo

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

2015-09-08 Thread Andreas Dannenberg
Extend the bq2425x charger's device tree documentation to cover the bq24250 and bq24257 devices as well as recent feature additions. Signed-off-by: Andreas Dannenberg --- .../devicetree/bindings/power/bq24257.txt | 21 --- .../devicetree/bindings/power/bq2425x.txt | 70

[PATCH v2 12/13] power: bq24257: Renaming for consistency

2015-09-08 Thread Andreas Dannenberg
Rename files and refactor definitions, function names, etc as well as the driver name itself to reflect that this driver supports multiple devices and not just the bq24257. Signed-off-by: Andreas Dannenberg --- drivers/power/Kconfig | 2 +- drivers/power/Makefile

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

2015-09-08 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 the

[PATCH v2 03/13] power: bq24257: Allow manual setting of input current limit

2015-09-08 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 v2 11/13] power: bq24257: Add platform data based initialization

2015-09-08 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 | 95

[PATCH v2 10/13] power: bq24257: Add various device-specific sysfs properties

2015-09-08 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 v2 09/13] power: bq24257: Allow input current limit sysfs access

2015-09-08 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 v2 04/13] power: bq24257: Add SW-based approach for Power Good determination

2015-09-08 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 v2 08/13] power: bq24257: Add charge type setting support

2015-09-08 Thread Andreas Dannenberg
The bq2425x devices support charging with a configurable charge current i_chg or a specific fixed low-current in what's called Low Charge mode. This patch exposes access to the Low Charge mode through a POWER_ SUPPLY_PROP_CHARGE_TYPE sysfs property value of POWER_SUPPLY_CHARGE_ TYPE_TRICKLE. It als

[PATCH v2 05/13] power: bq24257: Add over voltage protection setting support

2015-09-08 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 v2 01/13] power: bq24257: Add bit definition for temp sense enable

2015-09-08 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 v2 07/13] power: bq24257: Extend scope of mutex protection

2015-09-08 Thread Andreas Dannenberg
This commit extends the use of the existing mutex to pave the way for using direct device access inside sysfs getter/setter routines in a way that the access during interrupts and timer routines does not interfere with device access by the CPU or between multiple cores. This also addresses a poten

[PATCH v2 06/13] power: bq24257: Add input DPM voltage threshold setting support

2015-09-08 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 v2 02/13] power: bq24257: Add basic support for bq24250/bq24251

2015-09-08 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 net-next 2/2] dtb: xgene: Add 2nd 10GbE node

2015-09-08 Thread Iyappan Subramanian
Adding the second 10GbE dt node for APM X-Gene SoC device tree Signed-off-by: Iyappan Subramanian --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-sto

[PATCH net-next 1/2] driver: net: xgene: Add support for 2nd 10GbE port

2015-09-08 Thread Iyappan Subramanian
Adding support for the second 10GbE port on APM X-Gene SoC Signed-off-by: Iyappan Subramanian --- drivers/net/ethernet/apm/xgene/xgene_enet_hw.c | 3 ++- drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 16 drivers/net/ethernet/apm/xgene/xgene_enet_main.h | 5 + 3 file

[PATCH net-next 0/2] driver: net: xgene: Enable 2nd 10GbE port on APM X-Gene SoC

2015-09-08 Thread Iyappan Subramanian
This patch adds support for 2nd 10GbE on APM X-Gene SoC --- Iyappan Subramanian (2): driver: net: xgene: Add support for 2nd 10GbE port dtb: xgene: Add 2nd 10GbE node arch/arm64/boot/dts/apm/apm-storm.dtsi | 28 drivers/net/ethernet/apm/xgene/xgene_enet_hw.

Re: [PATCH 0/4] Qualcomm Shared Memory State Machines

2015-09-08 Thread Bjorn Andersson
On Tue 08 Sep 05:20 PDT 2015, Linus Walleij wrote: > On Thu, Aug 27, 2015 at 7:37 PM, Bjorn Andersson > wrote: > > Let's discuss this a bit, looping in Mark Brown. > > > As some of these states on some platforms are passed as physical signals > > instead, the two drivers are modelled as gpio- a

[PATCH v4] Documentation: add Device tree bindings for hwmon/nct7802

2015-09-08 Thread Constantine Shulyupin
Add sensors' types configuration. --- Changed on v4: - Removed registers initialization by names - Added properties nuvoton,sensor*-type Changed in v3: - Fixed vendor prefix - Added short registers description, full registers description is available at https://www.nuvoton.com/hq/products/clou

Re: [PATCH 2/3] ARM: dts: sun5i: Add sun5i-q8-common.dtsi

2015-09-08 Thread Hans de Goede
Hi, On 09/08/2015 04:33 PM, Maxime Ripard wrote: On Sat, Sep 05, 2015 at 04:55:52PM +0200, Hans de Goede wrote: This is the sun5i / a13 version of sun8i-q8-common.dtsi for use in dts files for a13 q8 based tablets. Compared to sun8i this uses uart1 for the serial console, and PG0 for card-detec

Re: [PATCH v2 1/9] ARM: dts: imx6dql-nitrogen6x: add touchscreen support

2015-09-08 Thread Russell King - ARM Linux
On Tue, Sep 08, 2015 at 04:49:20PM +0200, Philipp Zabel wrote: > Am Dienstag, den 08.09.2015, 16:34 +0200 schrieb Gary Bisson: > > This patch adds the different touchscreens that can be connected using > > the displays available for this board. > > http://boundarydevices.com/product-category/displa

Re: [PATCH v2 04/10] doc/bindings: Update PCIe devicetree binding documentation for LS2080A

2015-09-08 Thread Li Yang
On Mon, Sep 7, 2015 at 6:32 AM, Arnd Bergmann wrote: > On Friday 04 September 2015 12:27:46 Bhupesh Sharma wrote: >> @@ -4,7 +4,8 @@ This PCIe host controller is based on the Synopsis >> Designware PCIe IP >> and thus inherits all the common properties defined in designware-pcie.txt. >> >> Requ

Re: [net-next PATCH v3] drivers: net: cpsw: Add support to drive gpios for ethernet to be functional

2015-09-08 Thread Tony Lindgren
* Mugunthan V N [150907 02:50]: > In DRA72x EVM, by default slave 1 is connected to the onboard > phy, but slave 2 pins are also muxed with video input module > which is controlled by pcf857x gpio and currently to select slave > 0 to connect to phy gpio hogging is used, but with > omap2plus_defcon

Re: [RFC PATCH 0/5] DT binding documents using text markup

2015-09-08 Thread Rob Herring
On Tue, Sep 8, 2015 at 9:36 AM, Matt Porter wrote: > On Tue, Sep 01, 2015 at 01:24:17PM -0500, Rob Herring wrote: >> On Tue, Sep 1, 2015 at 1:03 PM, Tim Bird wrote: >> > On Tue, Sep 1, 2015 at 10:35 AM, Frank Rowand >> > wrote: >> >> On 9/1/2015 10:14 AM, Tim Bird wrote: >> >>> On Fri, Aug 28,

Re: [PATCH 15/16] mtd: mtdcore: fix initcall level

2015-09-08 Thread Alexander Holler
Am 04.09.2015 um 06:00 schrieb Alexander Holler: Am 02.09.2015 um 07:34 schrieb Alexander Holler: Am 01.09.2015 um 23:19 schrieb Brian Norris: Hi Alexander, No judgment here for the rest of this series, but for this patch: On Wed, Aug 26, 2015 at 02:28:27PM +0200, Alexander Holler wrote: The

Re: [PATCH 1/3] sysfs: Fix is_visible() support for binary attributes

2015-09-08 Thread Guenter Roeck
On Tue, Sep 08, 2015 at 12:10:02PM -0700, Greg KH wrote: > On Tue, Sep 08, 2015 at 08:30:13AM -0700, Guenter Roeck wrote: > > Emilio, > > > > On Tue, Sep 08, 2015 at 09:07:44AM -0300, Emilio López wrote: > > > According to the sysfs header file: > > > > > > "The returned value will replace st

Re: [PATCH 1/4] clk: bcm2835: Move under bcm/ with other Broadcom SoC clk drivers.

2015-09-08 Thread Stephen Boyd
On 09/07, Lee Jones wrote: > On Sun, 06 Sep 2015, Eric Anholt wrote: > > > clk-bcm2835.c predates the drivers under bcm/, but all the new BCM > > drivers are going in there so let's follow them. > > > > Signed-off-by: Eric Anholt > > --- > > drivers/clk/Makefile | 1 - > > drivers/clk

[PATCH 1/2] fbdev: ssd1307fb: alphabetize headers

2015-09-08 Thread Olliver Schinagl
From: Olliver Schinagl This patch sorts the headers on ssd1307fb driver. Signed-off-by: Olliver Schinagl --- drivers/video/fbdev/ssd1307fb.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 3e

[PATCH 2/2] fbdev: ssd1307fb: add ssd1309 support

2015-09-08 Thread Olliver Schinagl
The ssd1307fb driver supports a lot of chips from the ssd130xfb series. This patch adds the ssd1309 chip, a 128x64 OLED driver chip. It is very similar to the other chips and only has some definitions added to support it. Signed-off-by: Olliver Schinagl --- Documentation/devicetree/bindings/vide

[PATCH 0/2] SSD1307fb updates

2015-09-08 Thread Olliver Schinagl
Having a few ssd1309 128x64 OLED displays laying around, I added support for it to the existing 1307fb driver. While doing this I noticed the headers where out of order so I fixed those as well. For this specific display, the following can be used in a i2c node for example. ssd1309: ole

Re: [PATCH 1/3] sysfs: Fix is_visible() support for binary attributes

2015-09-08 Thread Greg KH
On Tue, Sep 08, 2015 at 08:30:13AM -0700, Guenter Roeck wrote: > Emilio, > > On Tue, Sep 08, 2015 at 09:07:44AM -0300, Emilio López wrote: > > According to the sysfs header file: > > > > "The returned value will replace static permissions defined in > > struct attribute or struct bin_att

[PATCH v2] of_pci_irq: Silence bogus "of_irq_parse_pci() failed ..." messages.

2015-09-08 Thread David Daney
From: David Daney It is perfectly legitimate for a PCI device to have an PCI_INTERRUPT_PIN value of zero. This happens if the device doesn't use interrupts, or on PCIe devices, where only MSI/MSI-X are supported. Silence the annoying "of_irq_parse_pci() failed with rc=-19" error messages by mov

Re: [Linaro-acpi] [RFC 3/5] acpi/serial: add DBG2 earlycon support

2015-09-08 Thread Mark Salter
On Tue, 2015-09-08 at 18:17 +0100, Leif Lindholm wrote: > > > */ > > > - if (!buf || !buf[0]) > > > - if (IS_ENABLED(CONFIG_OF_FLATTREE)) > > > + if (!buf || !buf[0]) { > > > + if (!acpi_disabled) > > > > How do we know for sure that "acpi" has been parsed before "earl

[PATCH 0/2 v3 ] watchdog: driver for BCM7038 and newer chips.

2015-09-08 Thread Justin Chen
This driver is for a watchdog block contained in all Broadcom Set-top Box chips since BCM7038. BCM7038 was made public during the 2004 CES, and since then, many chips use this watchdog block including some cable modem chips. Changes since v2: Added clk_disable_unprepare if watchdog fails to regist

[PATCH 2/2 v3] watchdog: Watchdog driver for Broadcom Set-Top Box

2015-09-08 Thread Justin Chen
Watchdog driver for Broadcom 7038 and newer chips. Signed-off-by: Justin Chen Reviewed-by: Guenter Roeck --- drivers/watchdog/Kconfig | 8 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/bcm7038_wdt.c | 237 + 3 files changed, 246 inse

[PATCH 1/2 v3] watchdog: bcm7038: add device tree binding documentation

2015-09-08 Thread Justin Chen
Add device tree binding documentation for the watchdog hardware block on bcm7038 and newer SoCs. Signed-off-by: Justin Chen Acked-by: Guenter Roeck --- .../devicetree/bindings/watchdog/brcm,bcm7038-wdt.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documenta

Re: [Linaro-acpi] [RFC 3/5] acpi/serial: add DBG2 earlycon support

2015-09-08 Thread Mark Salter
On Tue, 2015-09-08 at 18:17 +0100, Leif Lindholm wrote: > On Tue, Sep 08, 2015 at 12:38:59PM -0400, Mark Salter wrote: > > On Tue, 2015-09-08 at 13:43 +0100, Leif Lindholm wrote: > > > The ACPI DBG2 table defines a debug console. Add support for parsing it > > > and using it to select earlycon dest

Re: [RFC PATCH 1/5] Documentation: dt-bindings: add documentation on new DT binding format

2015-09-08 Thread Matt Porter
On Sun, Aug 30, 2015 at 03:04:33PM -0700, Frank Rowand wrote: > On 8/27/2015 10:23 PM, Matt Porter wrote: > > Documentation explaining the syntax and format of the YAML-based DT binding > > documentation. > > > > Signed-off-by: Matt Porter > > --- > > .../devicetree/bindings/dt-binding-format.tx

Re: _DSD standardization note (WAS: Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.)

2015-09-08 Thread David Daney
On 09/05/2015 01:00 PM, Jon Masters wrote: Following up on this thread after finally seeing it...figured I would send something just for the archive mainly (we discussed this in person recently at a few different events and I think are aligned already). On 08/07/2015 08:28 PM, Rafael J. Wysocki

Re: [Linaro-acpi] [RFC 3/5] acpi/serial: add DBG2 earlycon support

2015-09-08 Thread Leif Lindholm
On Tue, Sep 08, 2015 at 12:38:59PM -0400, Mark Salter wrote: > On Tue, 2015-09-08 at 13:43 +0100, Leif Lindholm wrote: > > The ACPI DBG2 table defines a debug console. Add support for parsing it > > and using it to select earlycon destination when no arguments provided. > > > > Signed-off-by: Leif

Re: [RFC 3/5] acpi/serial: add DBG2 earlycon support

2015-09-08 Thread Leif Lindholm
On Tue, Sep 08, 2015 at 02:09:51PM +0100, Mark Rutland wrote: > On Tue, Sep 08, 2015 at 01:43:35PM +0100, Leif Lindholm wrote: > > The ACPI DBG2 table defines a debug console. Add support for parsing it > > and using it to select earlycon destination when no arguments provided. > > > > Signed-off-

Re: [PATCH v3 2/2] pwm: Add Broadcom BCM7038 PWM controller support

2015-09-08 Thread Florian Fainelli
On 07/09/15 12:15, Ariel D'Alessandro wrote: > Hi Florian, > > I wrote some observations below that maybe can be useful. > > El 28/08/15 a las 22:21, Florian Fainelli escribió: >> Add support for the BCM7038-style PWM controller found in all BCM7xxx STB >> SoCs. >> This controller has a hardcode

Re: [RFC 5/5] HACK: serial: move pl011 initcall to device_initcall

2015-09-08 Thread Leif Lindholm
On Tue, Sep 08, 2015 at 01:56:08PM +0100, Mark Rutland wrote: > On Tue, Sep 08, 2015 at 01:43:37PM +0100, Leif Lindholm wrote: > > --- > > drivers/tty/serial/amba-pl011.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/tty/serial/amba-pl011.c > > b/drivers/

Re: [RFC 2/5] of/serial: move earlycon early_param handling to serial

2015-09-08 Thread Leif Lindholm
On Tue, Sep 08, 2015 at 01:52:45PM +0100, Mark Rutland wrote: > On Tue, Sep 08, 2015 at 01:43:34PM +0100, Leif Lindholm wrote: > > We have multiple "earlycon" early_param handlers - merge the DT one into > > the main earlycon one. This means the earlycon early_param handler does > > not just return

Re: [PATCH v2] QEMU fw_cfg DMA interface documentation

2015-09-08 Thread Kevin O'Connor
On Mon, Sep 07, 2015 at 01:08:29PM +0200, Gerd Hoffmann wrote: > > It's just simplicity. If you want to read a few times from the same > > field (like in ACPI tables, read the data size and then the data), you > > need a way to enable and disable the selector and manage the current > > offset for t

Re: [Linaro-acpi] [RFC 3/5] acpi/serial: add DBG2 earlycon support

2015-09-08 Thread Mark Salter
On Tue, 2015-09-08 at 13:43 +0100, Leif Lindholm wrote: > The ACPI DBG2 table defines a debug console. Add support for parsing it > and using it to select earlycon destination when no arguments provided. > > Signed-off-by: Leif Lindholm > --- > arch/arm64/kernel/acpi.c | 2 + > drivers/ac

Re: [PATCH 1/3] Revert "ahci: added support for Freescale AHCI sata"

2015-09-08 Thread Tejun Heo
On Mon, Sep 07, 2015 at 10:52:14AM +0200, Hans de Goede wrote: > Hi, > > On 07-09-15 10:23, yuantian.t...@freescale.com wrote: > >From: Tang Yuantian > > > >This reverts commit 5163fb62541e > >("ahci: added support for Freescale AHCI sata") > > > >The reverted patch added Freescale QorIQ AHCI sat

Re: [PATCH linux-next v5 1/5] mtd: spi-nor: notify (Q)SPI controller about protocol change

2015-09-08 Thread Marek Vasut
On Tuesday, September 08, 2015 at 06:20:05 PM, Cyrille Pitchen wrote: > Hi Jonas, > > taking your comments into account I'm about to test a new series with > additional patches to handle the Read ID command in multiple I/O protocols > and relying on new members in the struct spi_nor: > > * @eras

Re: [PATCH v2 6/8] pinctrl: freescale: imx: add shared input select reg support

2015-09-08 Thread Alonso Adrian
Hi Shawn, See comments below. Regards Adrian From: Shawn Guo Sent: Sunday, September 6, 2015 9:12 PM To: Alonso Lazcano Adrian-B38018 Cc: linux-arm-ker...@lists.infradead.org; shawn@linaro.org; linus.wall...@linaro.org; lzn...@gmail.com; linux-g...@v

Re: [PATCH linux-next v9 0/3] mfd: flexcom: add a driver for Flexcom

2015-09-08 Thread Lee Jones
On Tue, 08 Sep 2015, Cyrille Pitchen wrote: > Hi all, > > Le 01/09/2015 16:46, Cyrille Pitchen a écrit : > > ChangeLog > > > > v9: > > - go back to v5 (use the new "atmel,flexcom-mode" DT property). > > - fix the name of the spi node in the DT example: from spi@f8034400 to > > spi@400 > > - al

Re: [PATCH v5 2/4] Documentation: arm64/arm: dt bindings for numa.

2015-09-08 Thread Ganapatrao Kulkarni
Hi Hanjun, On Tue, Sep 8, 2015 at 6:57 PM, Hanjun Guo wrote: > Hi Ganapatrao, > > > On 08/29/2015 10:56 PM, Ganapatrao Kulkarni wrote: >> >> Hi Thunder, >> >> On Sat, Aug 29, 2015 at 3:16 PM, Leizhen (ThunderTown) >> wrote: >>> >>> >>> >>> On 2015/8/28 22:02, Rob Herring wrote: +benh >

Re: [PATCH v2 5/8] pinctrl: freescale: imx: add ZERO_OFFSET_VALID flag

2015-09-08 Thread Alonso Adrian
Hi Shawn, See comments below Regards From: Shawn Guo Sent: Sunday, September 6, 2015 8:28 PM To: Alonso Lazcano Adrian-B38018 Cc: linux-arm-ker...@lists.infradead.org; shawn@linaro.org; linus.wall...@linaro.org; lzn...@gmail.com; devicetree@vger.kern

Re: [PATCH linux-next v5 1/5] mtd: spi-nor: notify (Q)SPI controller about protocol change

2015-09-08 Thread Cyrille Pitchen
Hi Jonas, taking your comments into account I'm about to test a new series with additional patches to handle the Read ID command in multiple I/O protocols and relying on new members in the struct spi_nor: * @erase_proto:the SPI protocol used by erase operations * @read_proto: th

Re: [PATCH v2 8/8] pinctrl: freescale: imx: imx7d iomuxc-lpsr devicetree bindings

2015-09-08 Thread Alonso Adrian
Hi Shawn, See comments below. Regards Adrian From: Shawn Guo Sent: Sunday, September 6, 2015 9:42 PM To: Alonso Lazcano Adrian-B38018 Cc: linux-arm-ker...@lists.infradead.org; shawn@linaro.org; linus.wall...@linaro.org; lzn...@gmail.com; linux-g...@v

Re: [PATCH linux-next v9 0/3] mfd: flexcom: add a driver for Flexcom

2015-09-08 Thread Cyrille Pitchen
Hi all, Le 01/09/2015 16:46, Cyrille Pitchen a écrit : > ChangeLog > > v9: > - go back to v5 (use the new "atmel,flexcom-mode" DT property). > - fix the name of the spi node in the DT example: from spi@f8034400 to > spi@400 > - align the fields of the struct platform_driver atmel_flexcom_driver

RE: [PATCH 2/3] Docs: dt: Add PCI MSI map bindings

2015-09-08 Thread Stuart Yoder
> -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Monday, September 07, 2015 1:05 PM > To: David Daney > Cc: Marc Zyngier; tirumalesh.chalama...@caviumnetworks.com; Richter, Robert; > Chintakuntla, Radha; > devicetree@vger.kernel.org; linux-ker...@vger.kernel

Re: [PATCH 2/2] arm64: dts: mt8173: Add thermal zone node for mt8173.

2015-09-08 Thread dawei chien
Hi Daniel, On Mon, 2015-09-07 at 12:05 +0800, Daniel Kurtz wrote: > On Mon, Sep 7, 2015 at 12:00 PM, Daniel Kurtz wrote: > > Hi Dawei, > > > > On Fri, Sep 4, 2015 at 5:01 PM, Dawei Chien > > wrote: > >> Add thermal zone node to mt8173.dtsi. > >> > >> Signed-off-by: Dawei Chien > >> --- > >> Thi

  1   2   3   >