Re: [PATCH v3 4/5] clk: Hi6220: add stub clock driver

2015-08-03 Thread Leo Yan
Hi Stephen, On Mon, Aug 03, 2015 at 02:37:52PM -0700, Stephen Boyd wrote: > On 08/03, Leo Yan wrote: > > diff --git a/drivers/clk/hisilicon/clk-hi6220-stub.c > > b/drivers/clk/hisilicon/clk-hi6220-stub.c > > new file mode 100644 > > index 000..0931666 > > --- /dev/null > > +++ b/drivers/clk/h

[PATCH v3 1/2] devicetree: add PulsedLight vendor + device docs

2015-08-03 Thread Matt Ranostay
Add pulsedlight vendor to vendor-prefixes.txt, and LIDAR device documentation to trivial-devices.txt Signed-off-by: Matt Ranostay --- Documentation/devicetree/bindings/i2c/trivial-devices.txt | 1 + Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 2 insertions(+)

[PATCH v3 0/2] iio: proximity: add PulsedLight LIDAR sensor support

2015-08-03 Thread Matt Ranostay
PulsedLight "blue label" v2 LIDAR sensor can be polled over 100HZ with the sysfs + hrtimer iio trigger, or using single raw measurment. This patchset adds support for this range finding LIDAR module, and reports distance back in meters to centimeter resolution with +/- 2.5 CM of accuracy at ~40 me

[PATCH v3 2/2] iio: proximity: add support for PulsedLight LIDAR

2015-08-03 Thread Matt Ranostay
Add support for the PulsedLight LIDAR rangefinder sensor which allows high speed (over 300Hz) distance measurements using Barker Coding within 40 meter range. Support only tested on the "blue label" rev 2, but may work using low sample frequencies on the original version. Signed-off-by: Matt Rano

Re: [PATCH v6] PCI: Store PCIe bus address in struct of_pci_range

2015-08-03 Thread Jingoo Han
On 2015. 8. 3., at PM 8:18, Gabriele Paoloni wrote: > > Rob, Kishon what about the following solution? > > --- > drivers/pci/host/pci-dra7xx.c | 12 > drivers/pci/host/pcie-designware.c | 9 +++-- Hi Paoloni, OK, it looks good. I want you to revert the following patch

Re: [PATCH v3 1/6] mmc: sdhci-esdhc-imx: add imx7d support and support HS400

2015-08-03 Thread Dong Aisheng
On Wed, Jul 29, 2015 at 05:03:52PM +0800, Haibo Chen wrote: > The imx7d usdhc is derived from imx6sx, the difference is that > imx7d support HS400. > > So introduce a new compatible string for imx7d and add HS400 > support for imx7d usdhc. > > Signed-off-by: Haibo Chen > --- > drivers/mmc/host/

Re: [PATCH v5] powerpc/rcpm: add RCPM driver

2015-08-03 Thread Chenhui Zhao
On Tue, Aug 4, 2015 at 4:23 AM, Scott Wood wrote: On Mon, 2015-08-03 at 19:14 +0800, Chenhui Zhao wrote: On Sat, Aug 1, 2015 at 8:45 AM, Scott Wood wrote: > On Fri, 2015-06-26 at 15:44 +0800, Yuantian.Tang@freescale.comwrote: > > +static void rcpm_v1_set_ip_power(bool enable, u32 *m

[PATCH] ARM64: dts: mt6795: enable basic SMP bringup for MT6795

2015-08-03 Thread Scott Shu
This patch adds support SMP on MediaTek MT6795 Cortex-A53 Octa-core SoC. The patch is based on v4.2-rc1 and following patch series: (1) Mars Cheng's "Add mt6795 basic chip support" [1] [1] https://lkml.org/lkml/2015/7/14/63 Signed-off-by: Scott Shu --- arch/arm64/boot/dts/mediatek/mt6795.dtsi

Re: [PATCH v2 06/10] usb: chipidea: add ahb burst configuration interface

2015-08-03 Thread Peter Chen
On Mon, Aug 03, 2015 at 09:04:27AM -0500, Rob Herring wrote: > On Sun, Aug 2, 2015 at 11:47 PM, Peter Chen wrote: > > The users can change it through dts or platform data if they > > want to change the default value. > > > > Signed-off-by: Peter Chen > > --- > > drivers/usb/chipidea/bits.h | 3

Re: [PATCH v8 00/23] usb gadget update for OTG 2.0

2015-08-03 Thread Li Jun
On Thu, Jul 30, 2015 at 09:10:06AM -0500, Felipe Balbi wrote: > On Thu, Jul 30, 2015 at 09:46:58AM +0800, Li Jun wrote: > > On Wed, Jul 29, 2015 at 09:11:41PM -0500, Felipe Balbi wrote: > > > On Thu, Jul 30, 2015 at 07:24:03AM +0800, Li Jun wrote: > > > > On Wed, Jul 29, 2015 at 10:04:27AM -0500, F

Re: [PATCH v3] ARM: shmobile: silk: initial device tree

2015-08-03 Thread Simon Horman
On Mon, Aug 03, 2015 at 06:13:38PM +0300, Sergei Shtylyov wrote: > Hello. > > On 08/03/2015 04:00 PM, Geert Uytterhoeven wrote: > > >>--- /dev/null > >>+++ renesas/arch/arm/boot/dts/r8a7794-silk.dts > >>@@ -0,0 +1,51 @@ > > >>+/ { > >>+ model = "SILK"; > >>+ compatible = "renesas,sil

Re: [PATCH] irqchip: bcm2836: Use a CPU notifier enable IPIs.

2015-08-03 Thread Eric Anholt
Thomas Gleixner writes: > On Mon, 27 Jul 2015, Eric Anholt wrote: >> +/* Unmasks the IPI on the CPU wen it's first brought online. */ > > when > >> +static int bcm2836_arm_irqchip_cpu_notify(struct notifier_block *nfb, >> + unsigned long action, void *hcpu) >>

Re: [PATCH 2/3] iio: temperature: add max6675 thermocouple converter driver

2015-08-03 Thread Matt Porter
On Mon, Aug 03, 2015 at 03:39:00PM -0700, Matt Ranostay Matt Ranostay wrote: > On Mon, Aug 3, 2015 at 1:56 PM, Matt Porter wrote: ... > > +static int max6675_probe(struct spi_device *spi) > > +{ > > + struct iio_dev *indio_dev; > > + struct max6675_state *st; > > + int ret = 0;

Re: [PATCH 2/3] iio: temperature: add max6675 thermocouple converter driver

2015-08-03 Thread Matt Ranostay
On Mon, Aug 3, 2015 at 1:56 PM, Matt Porter wrote: > Add a driver for the MAX6675 thermocouple converter. This > device interfaces with K-type thermocouples and provides > cold-junction compensated temperature readings via a > SPI interface. > > Signed-off-by: Matt Porter > --- > drivers/iio/tem

Re: [PATCH v3 1/5] clk: hisi: refine parameter checking for init

2015-08-03 Thread Stephen Boyd
On 08/03, Leo Yan wrote: > *of_iomap()* will check the device node pointer, and if the pointer is > NULL it will return error code. So refine clock's init flow by checking > the device node with this simple way; and polish a little for the print > out message. > > Signed-off-by: Leo Yan > --- Ap

[PATCH v2 2/2] ARM: shmobile: r8a7794: add GPIO DT support

2015-08-03 Thread Sergei Shtylyov
Describe GPIO[0-6] controllers in the R8A7794 device tree. Based on original patch by Hisashi Nakamura . Signed-off-by: Sergei Shtylyov Acked-by: Geert Uytterhoeven --- Changes in version 2: - fixed "gpio-ranges" property's last value for GPIO1/5/6; - added Geert's ACK. arch/arm/boot/dts/r8a

[PATCH v2 1/2] ARM: shmobile: r8a7794: add GPIO clocks

2015-08-03 Thread Sergei Shtylyov
Describe the GPIO clocks in the R8A7794 device tree. Based on the original patch by Koji Matsuoka . Signed-off-by: Sergei Shtylyov Acked-by: Geert Uytterhoeven Acked-by: Laurent Pinchart --- Changes in version 2: - refreshed the patch; - added Geert's and Laurent's ACKs. arch/arm/boot/dts/r

Re: [PATCH v3 4/5] clk: Hi6220: add stub clock driver

2015-08-03 Thread Stephen Boyd
On 08/03, Leo Yan wrote: > diff --git a/drivers/clk/hisilicon/clk-hi6220-stub.c > b/drivers/clk/hisilicon/clk-hi6220-stub.c > new file mode 100644 > index 000..0931666 > --- /dev/null > +++ b/drivers/clk/hisilicon/clk-hi6220-stub.c > @@ -0,0 +1,279 @@ > +/* > + * Hi6220 stub clock driver > + *

[PATCH v2 0/2] Add R8A7794 GPIO DT support

2015-08-03 Thread Sergei Shtylyov
Hello. Here's the set of 2 patches against Simon Horman's 'renesas.git' repo, 'renesas-devel-20150803-v4.2-rc5' tag. Here we add the GPIO device tree support for the R8A7794 SoC. [1/2] ARM: shmobile: r8a7794: add GPIO clocks [2/2] ARM: shmobile: r8a7794: ad

Re: [PATCH v2 3/4] touchscreen: colibri-vf50-ts: Add touchscreen support for Colibri VF50

2015-08-03 Thread Dmitry Torokhov
Hi Sanchayan, On Mon, Aug 03, 2015 at 08:55:44PM +0530, maitysancha...@gmail.com wrote: > Hello Dmitry, > > On 15-07-21 10:20:44, Dmitry Torokhov wrote: > > Hi Stefan, > > > > On Tue, Jul 21, 2015 at 04:43:36PM +0200, Stefan Agner wrote: > > > Hi Dmitry, > > > > > > As the original author of th

[PATCH 1/3] iio: temperature: add max6675 dt binding

2015-08-03 Thread Matt Porter
Add a DT binding for the MAX6675 SPI thermocouple converter. The datasheet for this device may be found at http://datasheets.maximintegrated.com/en/ds/MAX6675.pdf Signed-off-by: Matt Porter --- .../devicetree/bindings/iio/temperature/max6675.txt | 19 +++ 1 file changed, 19 ins

Re: [PATCH v3 5/5] arm: qcom: dts: Enable NAND node on IPQ8064 AP148 platform

2015-08-03 Thread Stephen Boyd
On 08/03, Archit Taneja wrote: > @@ -93,5 +115,19 @@ > sata@2900 { > status = "ok"; > }; > + > + nand@1ac0 { > + status = "ok"; > + > + pinctrl-0 = <&nand_pins>; > + pin

[PATCH 3/3] MAINTAINERS: add max6675 driver

2015-08-03 Thread Matt Porter
Add myself as the MAX6675 driver maintainer. Signed-off-by: Matt Porter --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index a226416..355cc09 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6543,6 +6543,13 @@ S: Maintained F: Docume

[PATCH 2/3] iio: temperature: add max6675 thermocouple converter driver

2015-08-03 Thread Matt Porter
Add a driver for the MAX6675 thermocouple converter. This device interfaces with K-type thermocouples and provides cold-junction compensated temperature readings via a SPI interface. Signed-off-by: Matt Porter --- drivers/iio/temperature/Kconfig | 11 +++ drivers/iio/temperature/Makefile |

[PATCH 0/3] MAX6675 IIO temperature driver

2015-08-03 Thread Matt Porter
This series adds a driver for the MAX6675 SPI thermocouple converter. The device supports temperature measurements via type-K thermocouples and implements cold-junction compensation within the part. The datasheet can be found at http://datasheets.maximintegrated.com/en/ds/MAX6675.pdf Matt Porter (

Re: [PATCH v5] powerpc/rcpm: add RCPM driver

2015-08-03 Thread Scott Wood
On Mon, 2015-08-03 at 19:14 +0800, Chenhui Zhao wrote: > On Sat, Aug 1, 2015 at 8:45 AM, Scott Wood > wrote: > > On Fri, 2015-06-26 at 15:44 +0800, Yuantian.Tang@freescale.comwrote: > > > +static void rcpm_v1_set_ip_power(bool enable, u32 *mask) > > > +{ > > > + if (enable) > > > +

Re: [PATCH v3 5/5] arm: qcom: dts: Enable NAND node on IPQ8064 AP148 platform

2015-08-03 Thread Andy Gross
On Mon, Aug 03, 2015 at 10:38:18AM +0530, Archit Taneja wrote: > Enable the NAND controller node on the AP148 platform. Provide pinmux > information. > > Cc: devicetree@vger.kernel.org > > Signed-off-by: Archit Taneja > --- > arch/arm/boot/dts/qcom-ipq8064-ap148.dts | 36 >

Re: [PATCH 1/2] ARM: dts: keystone: fix the clock node for mdio

2015-08-03 Thread santosh.shilim...@oracle.com
On 8/3/15 11:50 AM, Murali Karicheri wrote: On 08/03/2015 02:30 PM, santosh.shilim...@oracle.com wrote: On 8/3/15 11:22 AM, Murali Karicheri wrote: On 08/03/2015 02:11 PM, Murali Karicheri wrote: Currently the MDIO clock is pointing to clkpa instead of clkcpgmac. MDIO is part of the ethss an

Re: [PATCH 1/2] mfd: s2mps11: Add manual shutdown method for Odroid XU3

2015-08-03 Thread Anand Moon
Hi Krzysztof, On 3 August 2015 at 18:07, Krzysztof Kozlowski wrote: > On Odroid XU3 board (with S2MPS11 PMIC) the PWRHOLD bit in CTRL1 > register must be manually set to 0 before initiating power off sequence. > > One of usual power down methods for Exynos based devices looks like: > 1. PWRHOLD p

Re: [PATCH 1/2] ARM: dts: keystone: fix the clock node for mdio

2015-08-03 Thread Murali Karicheri
On 08/03/2015 02:30 PM, santosh.shilim...@oracle.com wrote: On 8/3/15 11:22 AM, Murali Karicheri wrote: On 08/03/2015 02:11 PM, Murali Karicheri wrote: Currently the MDIO clock is pointing to clkpa instead of clkcpgmac. MDIO is part of the ethss and the clock should be clkcpgmac. Signed-off-by

Re: [PATCH 1/2] ARM: dts: keystone: fix the clock node for mdio

2015-08-03 Thread santosh.shilim...@oracle.com
On 8/3/15 11:22 AM, Murali Karicheri wrote: On 08/03/2015 02:11 PM, Murali Karicheri wrote: Currently the MDIO clock is pointing to clkpa instead of clkcpgmac. MDIO is part of the ethss and the clock should be clkcpgmac. Signed-off-by: Murali Karicheri --- arch/arm/boot/dts/keystone.dtsi | 2

Re: [PATCH 3/3] MIPS: ath79: Add the reset controller to the AR9132 dtsi

2015-08-03 Thread Ralf Baechle
On Mon, Aug 03, 2015 at 07:23:53PM +0200, Alban Bedel wrote: Acked-by: Ralf Baechle Philipp, Feel free to take this through the reset tree. Or I can carry this in the MIPS tree which is probably better for testing. Just lemme know. Ralf -- To unsubscribe from this list: send the line "unsu

Re: [PATCH 1/2] ARM: dts: keystone: fix the clock node for mdio

2015-08-03 Thread Murali Karicheri
On 08/03/2015 02:11 PM, Murali Karicheri wrote: Currently the MDIO clock is pointing to clkpa instead of clkcpgmac. MDIO is part of the ethss and the clock should be clkcpgmac. Signed-off-by: Murali Karicheri --- arch/arm/boot/dts/keystone.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 delet

[PATCH 2/2] ARM: dts: keystone: Fix the mdio bindings by moving it to soc specific file

2015-08-03 Thread Murali Karicheri
Currently mdio bindings are defined in keystone.dtsi and this results in incorrect unit address for the node on K2E and K2L SoCs. Fix this by moving them to SoC specific DTS file. Signed-off-by: Murali Karicheri --- arch/arm/boot/dts/k2e.dtsi | 15 +++ arch/arm/boot/dts/k2hk.dts

[PATCH 1/2] ARM: dts: keystone: fix the clock node for mdio

2015-08-03 Thread Murali Karicheri
Currently the MDIO clock is pointing to clkpa instead of clkcpgmac. MDIO is part of the ethss and the clock should be clkcpgmac. Signed-off-by: Murali Karicheri --- arch/arm/boot/dts/keystone.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/keystone.dtsi

Re: [PATCH v14 1/3] drm/i2c: tda998x: Add support of a DT graph of ports

2015-08-03 Thread Russell King - ARM Linux
On Mon, Aug 03, 2015 at 05:56:17PM +0300, Jyri Sarha wrote: > On 05/08/15 11:18, Jean-Francois Moine wrote: > >Two kinds of ports may be declared in a DT graph of ports: video and audio. > >This patch accepts the port value from a video port as an alternative > >to the video-ports property. > >It a

Re: [PATCH v14 1/3] drm/i2c: tda998x: Add support of a DT graph of ports

2015-08-03 Thread Jean-Francois Moine
On Mon, 3 Aug 2015 17:56:17 +0300 Jyri Sarha wrote: > On 05/08/15 11:18, Jean-Francois Moine wrote: > > Two kinds of ports may be declared in a DT graph of ports: video and audio. > > This patch accepts the port value from a video port as an alternative > > to the video-ports property. > > It als

Re: [PATCH v4 0/4] GPIO support for BRCMSTB

2015-08-03 Thread Florian Fainelli
On 31/07/15 18:17, Gregory Fong wrote: > Adds interrupt support for the GPIO controller (UPG GIO) used on Broadcom's > various BRCMSTB SoCs (BCM7XXX and others). For all existing hardware, this > block hooks up to the BCM7120 L2 IRQ controller and so will require > CONFIG_BCM7120_L2_IRQ=y. For th

Re: [PATCH v4 4/4] ARM: dts: brcmstb: add BCM7445 GPIO nodes

2015-08-03 Thread Florian Fainelli
On 31/07/15 18:17, Gregory Fong wrote: > Need the aon_pm_l2_intc and irq0_aon_intc descriptions, so included > those as well. > > Signed-off-by: Gregory Fong Applied to devicetree/next, thanks! -- Florian -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a

[PATCH 3/3] MIPS: ath79: Add the reset controller to the AR9132 dtsi

2015-08-03 Thread Alban Bedel
Signed-off-by: Alban Bedel --- arch/mips/boot/dts/qca/ar9132.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/mips/boot/dts/qca/ar9132.dtsi b/arch/mips/boot/dts/qca/ar9132.dtsi index 4759cff..fb7734e 100644 --- a/arch/mips/boot/dts/qca/ar9132.dtsi +++ b/arch/mips/boot/dts/qc

Re: [PATCH v3 3/6] power: Add support for DA9150 Fuel-Gauge

2015-08-03 Thread Sebastian Reichel
Hi, On Mon, Aug 03, 2015 at 03:23:11PM +, Opensource [Adam Thomson] wrote: > > > +MODULE_LICENSE("GPL"); > > > > MODULE_LICENSE("GPL v2"); > > If I do this then I need to update the file license disclaimer at the top, as > right now they match and are correct as far as I can tell. Is this ch

[PATCH 1/3] devicetree: Add bindings for the ATH79 reset controller

2015-08-03 Thread Alban Bedel
Signed-off-by: Alban Bedel --- .../devicetree/bindings/reset/ath79-reset.txt| 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/ath79-reset.txt diff --git a/Documentation/devicetree/bindings/reset/ath79-reset.txt b/Docu

Re: [PATCH v3 00/16] ARM: shmobile: Add CPG/MSTP Clock Domain

2015-08-03 Thread Geert Uytterhoeven
On Wed, Jul 22, 2015 at 3:00 PM, Ulf Hansson wrote: > On 1 July 2015 at 17:57, Geert Uytterhoeven wrote: >> This patch series adds Clock Domain support to the Clock Pulse Generator >> (CPG) Module Stop (MSTP) Clocks driver using the generic PM Domain, to >> be used on shmobile SoCs without device

Re: [PATCH v5] dtb: Create a common home for cross-architecture dtsi files.

2015-08-03 Thread Frank Rowand
On 8/3/2015 9:06 AM, Ian Campbell wrote: > Commit 9ccd608070b6 ("arm64: dts: add device tree for ARM SMM-A53x2 on > LogicTile Express 20MG") added a new dts file to arch/arm64 which > included "../../../../arm/boot/dts/vexpress-v2m-rs1.dtsi", i.e. a > .dtsi supplied by arch/arm. > > Unfortunately

Re: [PATCH 0/2] DRA7 DSP MMU config support

2015-08-03 Thread Suman Anna
On 08/03/2015 11:31 AM, Joerg Roedel wrote: > On Tue, Jul 21, 2015 at 06:55:34PM -0500, Suman Anna wrote: >> The patches are baselined on 4.2-rc3 + the recent OMAP IOMMU >> cleanup series [1]. I will post the DTS patches separately to >> allow Tony to pick them up independently. > > From the discu

Re: [PATCH 0/2] DRA7 DSP MMU config support

2015-08-03 Thread Joerg Roedel
On Tue, Jul 21, 2015 at 06:55:34PM -0500, Suman Anna wrote: > The patches are baselined on 4.2-rc3 + the recent OMAP IOMMU > cleanup series [1]. I will post the DTS patches separately to > allow Tony to pick them up independently. >From the discussion it looks like some more work is necessary here

Re: [PATCH V3 2/6] of/slimbus: OF helper for SLIMbus

2015-08-03 Thread Rob Herring
On Mon, Aug 3, 2015 at 1:59 AM, Sagar Dharia wrote: > OF helper routine scans the SLIMbus DeviceTree, allocates resources, > and creates slim_devices according to the hierarchy. > > Signed-off-by: Sagar Dharia > --- > Documentation/devicetree/bindings/slimbus/bus.txt | 46 ++ > drive

[PATCH v5] dtb: Create a common home for cross-architecture dtsi files.

2015-08-03 Thread Ian Campbell
Commit 9ccd608070b6 ("arm64: dts: add device tree for ARM SMM-A53x2 on LogicTile Express 20MG") added a new dts file to arch/arm64 which included "../../../../arm/boot/dts/vexpress-v2m-rs1.dtsi", i.e. a .dtsi supplied by arch/arm. Unfortunately this causes some issues for the split device tree rep

[PATCH v4] dtb: Create a common home for cross-architecture dtsi files.

2015-08-03 Thread Ian Campbell
Commit 9ccd608070b6 ("arm64: dts: add device tree for ARM SMM-A53x2 on LogicTile Express 20MG") added a new dts file to arch/arm64 which included "../../../../arm/boot/dts/vexpress-v2m-rs1.dtsi", i.e. a .dtsi supplied by arch/arm. Unfortunately this causes some issues for the split device tree rep

Re: [PATCH v4] dtb: Create a common home for cross-architecture dtsi files.

2015-08-03 Thread Ian Campbell
On Mon, 2015-08-03 at 10:55 -0500, Rob Herring wrote: > On Mon, Aug 3, 2015 at 3:55 AM, Ian Campbell > wrote: > > Commit 9ccd608070b6 ("arm64: dts: add device tree for ARM SMM-A53x2 on > > LogicTile Express 20MG") added a new dts file to arch/arm64 which > > included "../../../../arm/boot/dts/vex

Re: [PATCH v4] dtb: Create a common home for cross-architecture dtsi files.

2015-08-03 Thread Rob Herring
On Mon, Aug 3, 2015 at 3:55 AM, Ian Campbell wrote: > Commit 9ccd608070b6 ("arm64: dts: add device tree for ARM SMM-A53x2 on > LogicTile Express 20MG") added a new dts file to arch/arm64 which > included "../../../../arm/boot/dts/vexpress-v2m-rs1.dtsi", i.e. a > .dtsi supplied by arch/arm. > > Unf

Re: [PATCH v2 04/10] thermal: Fix thermal_zone_of_sensor_register to match documentation

2015-08-03 Thread Guenter Roeck
On 08/03/2015 08:22 AM, Punit Agrawal wrote: thermal_zone_of_sensor_register is documented as returning a pointer to either a valid thermal_zone_device on success, or a corresponding ERR_PTR() value. In contrast, the function returns NULL when THERMAL_OF is configured off. Fix this. Signed-off-

Re: [PATCH v2 4/9] clocksource: mediatek: Use GPT as sched clock source

2015-08-03 Thread Daniel Lezcano
On 05/16/2015 09:58 AM, Yingjoe Chen wrote: When cpu is in deep idle, arch timer will stop counting. Setup GPT as sched clock source so it can keep counting in idle. Signed-off-by: Yingjoe Chen --- Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for A

Re: [PATCH v2 3/4] touchscreen: colibri-vf50-ts: Add touchscreen support for Colibri VF50

2015-08-03 Thread maitysanchayan
Hello Dmitry, On 15-07-21 10:20:44, Dmitry Torokhov wrote: > Hi Stefan, > > On Tue, Jul 21, 2015 at 04:43:36PM +0200, Stefan Agner wrote: > > Hi Dmitry, > > > > As the original author of the driver I have some remarks to your review > > > > On 2015-07-18 01:42, Dmitry Torokhov wrote: > > >> +

[PATCH v2 00/10] Platform support for thermal management on Juno

2015-08-03 Thread Punit Agrawal
Hi, The series adds support for thermal management on ARM Juno development platform. As part of this development, common infrastructure is added to support registering cpu cooling devices that work with the power allocator thermal governor. Patch 1 extends the CPU nodes binding to provide an opti

[PATCH v2 05/10] Documentation: add DT bindings for ARM SCPI sensors

2015-08-03 Thread Punit Agrawal
The System Control Processor (SCP) provides access to SoC sensors via the System Control and Power Interface (SCPI) Message Protocol. Add bindings to allow probing of these sensors. Also support referencing of the sensors for setting up thermal zones via the thermal DT bindings. Signed-off-by: Pun

RE: [PATCH v3 4/6] power: da9150: Add DT bindings documentation for Fuel-Gauge

2015-08-03 Thread Opensource [Adam Thomson]
On July 24, 2015 23:01, Sebastian Reichel wrote: > Hi, > > On Tue, Jul 07, 2015 at 05:34:21PM +0100, Adam Thomson wrote: > > diff --git a/Documentation/devicetree/bindings/power/da9150-fg.txt > b/Documentation/devicetree/bindings/power/da9150-fg.txt > > new file mode 100644 > > index 000..c3c

[PATCH v2 02/10] cpufreq-dt: Supply power coefficient when registering cooling devices

2015-08-03 Thread Punit Agrawal
Support registering cooling devices with dynamic power coefficient where provided by the device tree. This allows OF registered cooling devices driver to be used with the power_allocator thermal governor. Signed-off-by: Punit Agrawal Acked-by: Viresh Kumar Cc: Eduardo Valentin --- drivers/cpuf

[PATCH v2 06/10] firmware: arm_scpi: Extend to support sensors

2015-08-03 Thread Punit Agrawal
ARM System Control Processor (SCP) provides an API to query and use the sensors available in the system. Extend the SCPI driver to support sensor messages. Signed-off-by: Punit Agrawal Cc: Sudeep Holla --- drivers/firmware/arm_scpi.c | 60 +++ include/

[PATCH v2 04/10] thermal: Fix thermal_zone_of_sensor_register to match documentation

2015-08-03 Thread Punit Agrawal
thermal_zone_of_sensor_register is documented as returning a pointer to either a valid thermal_zone_device on success, or a corresponding ERR_PTR() value. In contrast, the function returns NULL when THERMAL_OF is configured off. Fix this. Signed-off-by: Punit Agrawal Cc: Guenter Roeck Cc: Eduar

[PATCH v2 03/10] cpufreq: arm_big_little: Add support to register a cpufreq cooling device

2015-08-03 Thread Punit Agrawal
Register passive cooling devices when initialising cpufreq on big.LITTLE systems. If the device tree provides a dynamic power coefficient for the CPUs then the bound cooling device will support the extensions that allow it to be used with all the existing thermal governors including the power alloc

[PATCH v2 09/10] arm64: dts: Add sensor node to Juno dt

2015-08-03 Thread Punit Agrawal
The SCP firmware on Juno provides access to SoC sensors via the SCPI. Add the sensor nodes to the device tree to enable this support. Signed-off-by: Punit Agrawal Cc: Rob Herring Cc: Mark Rutland Cc: Liviu Dudau Cc: Sudeep Holla --- arch/arm64/boot/dts/arm/juno-base.dtsi | 5 + 1 file ch

[PATCH v2 07/10] hwmon: Support sensors exported via ARM SCP interface

2015-08-03 Thread Punit Agrawal
Create a driver to add support for SoC sensors exported by the System Control Processor (SCP) via the System Control and Power Interface (SCPI). The supported sensor types is one of voltage, temperature, current, and power. The sensor labels and values provided by the SCP are exported via the hwmo

RE: [PATCH v3 3/6] power: Add support for DA9150 Fuel-Gauge

2015-08-03 Thread Opensource [Adam Thomson]
On July 25, 2015 18:27, Sebastian Reichel wrote: > Hi Adam, > > The driver looks mostly fine. I have a few comments, though: > > On Tue, Jul 07, 2015 at 05:34:19PM +0100, Adam Thomson wrote: > > Signed-off-by: Adam Thomson > > Please add a short description to the commit message. > Ok, I can

[PATCH v2 10/10] arm64: dts: Create SoC thermal zone for Juno

2015-08-03 Thread Punit Agrawal
Setup a thermal zone driven by the SoC temperature sensor on Juno r0. Create passive trip points and bind them to cpufreq cooling devices that support the power extensions. Signed-off-by: Punit Agrawal Cc: Rob Herring Cc: Mark Rutland Cc: Liviu Dudau Cc: Sudeep Holla --- arch/arm64/boot/dts/

[PATCH v2 01/10] devicetree: bindings: Add optional dynamic-power-coefficient property

2015-08-03 Thread Punit Agrawal
The dynamic power consumption of a device is proportional to the square of voltage (V) and the clock frequency (f). It can be expressed as Pdyn = dynamic-power-coefficient * V^2 * f. The dynamic-power-coefficient property represents an indicative running time dynamic power coefficient in fundamen

[PATCH v2 08/10] hwmon: Support registration of thermal zones for SCP temperature sensors

2015-08-03 Thread Punit Agrawal
Add support to create thermal zones based on the temperature sensors provided by the SCP. The thermal zones can be defined using the thermal DT bindings and should refer to the SCP sensor id to select the sensor. Signed-off-by: Punit Agrawal Cc: Jean Delvare Cc: Guenter Roeck Cc: Eduardo Valent

Re: [PATCH v3] ARM: shmobile: silk: initial device tree

2015-08-03 Thread Geert Uytterhoeven
Hi Sergei, On Mon, Aug 3, 2015 at 5:13 PM, Sergei Shtylyov wrote: > On 08/03/2015 04:00 PM, Geert Uytterhoeven wrote: >>> --- /dev/null >>> +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts >>> @@ -0,0 +1,51 @@ > >>> +/ { >>> + model = "SILK"; >>> + compatible = "renesas,silk", "renesas,

Re: [PATCH v3] ARM: shmobile: silk: initial device tree

2015-08-03 Thread Sergei Shtylyov
Hello. On 08/03/2015 04:00 PM, Geert Uytterhoeven wrote: --- /dev/null +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts @@ -0,0 +1,51 @@ +/ { + model = "SILK"; + compatible = "renesas,silk", "renesas,r8a7794"; WARNING: DT compatible string "renesas,silk" appears un-documented --

Re: [PATCH v14 1/3] drm/i2c: tda998x: Add support of a DT graph of ports

2015-08-03 Thread Jyri Sarha
On 05/08/15 11:18, Jean-Francois Moine wrote: Two kinds of ports may be declared in a DT graph of ports: video and audio. This patch accepts the port value from a video port as an alternative to the video-ports property. It also accepts audio ports in the case the transmitter is not used as a sla

Re: [PATCH v6] PCI: Store PCIe bus address in struct of_pci_range

2015-08-03 Thread Jingoo Han
On 2015. 8. 1., at AM 12:09, Gabriele Paoloni wrote: > >> -Original Message- >> From: Kishon Vijay Abraham I [mailto:kis...@ti.com] >> Sent: Friday, July 31, 2015 3:57 PM >> To: Gabriele Paoloni; Rob Herring >> Cc: Bjorn Helgaas; a...@arndb.de; lorenzo.pieral...@arm.com; Wangzhou >> (B);

Re: [PATCH v2 06/10] usb: chipidea: add ahb burst configuration interface

2015-08-03 Thread Rob Herring
On Sun, Aug 2, 2015 at 11:47 PM, Peter Chen wrote: > The users can change it through dts or platform data if they > want to change the default value. > > Signed-off-by: Peter Chen > --- > drivers/usb/chipidea/bits.h | 3 +++ > drivers/usb/chipidea/core.c | 14 ++ > include/linux/u

Re: [PATCH v2 04/10] Doc: usb: ci-hdrc-usb2: add ahb-burst-config for binding doc

2015-08-03 Thread Rob Herring
On Sun, Aug 2, 2015 at 11:47 PM, Peter Chen wrote: > It is used to change ahb burst configuration for platforms, it is > vendor specific. > > Signed-off-by: Peter Chen > --- > Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt | 4 > 1 file changed, 4 insertions(+) > > diff --git a/Docu

Re: [linux-sunxi] Re: [PATCH v2] ARM: dts: sunxi: Add regulators for LeMaker BananaPi

2015-08-03 Thread Hans de Goede
Hi, On 03-08-15 11:47, Maxime Ripard wrote: On Sun, Aug 02, 2015 at 06:18:25PM +0200, Timo Sigurdsson wrote: sun7i-a20-bananapi.dts doesn't contain regulator nodes for the AXP209 PMU driver, so add them to allow for voltage-scaling with cpufreq-dt. Signed-off-by: Timo Sigurdsson --- Changes s

Re: [PATCH 03/12] mtd: nand: omap: Move IRQ handling from GPMC to NAND driver

2015-08-03 Thread Tony Lindgren
* Roger Quadros [150731 03:24]: > > One more observation I've had is that using irqchip modelling for > the 2 NAND events causes a performance impact. > > Using mtd_oobtest I see the following on dra7-evm > > 1) v4.2-rc4 with prefetch-polled (no IRQs used) > mtd_speedtest: eraseblock write spee

Re: [PATCH v3] ARM: shmobile: silk: initial device tree

2015-08-03 Thread Geert Uytterhoeven
Hi Sergei, On Wed, Jul 29, 2015 at 12:14 AM, Sergei Shtylyov wrote: > --- /dev/null > +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts > @@ -0,0 +1,51 @@ > +/ { > + model = "SILK"; > + compatible = "renesas,silk", "renesas,r8a7794"; WARNING: DT compatible string "renesas,silk" appears

[PATCH 0/2] mfd/EXYNOS: Properly shutdown Odroid XU3

2015-08-03 Thread Krzysztof Kozlowski
Hi, This fixes shutdown of Odroid XU3 family. More details in patch 1. Patches are independent, please pick up freely. Best regards, Krzysztof Krzysztof Kozlowski (2): mfd: s2mps11: Add manual shutdown method for Odroid XU3 ARM: dts: Fix power off method on exynos5422-odroidxu3 Documentat

[PATCH 2/2] ARM: dts: Fix power off method on exynos5422-odroidxu3

2015-08-03 Thread Krzysztof Kozlowski
The Odroid XU3 family boards have ACOKB pin of PMIC grounded, instead of pulled up as usual. This means that PMIC must manually set PWRHOLD field in its CTRL1 register to low before initiating power down. This fixes Odroid XU3 powering off: [ 25.966053] reboot: Power down [ 25.967679] Power do

[PATCH 1/2] mfd: s2mps11: Add manual shutdown method for Odroid XU3

2015-08-03 Thread Krzysztof Kozlowski
On Odroid XU3 board (with S2MPS11 PMIC) the PWRHOLD bit in CTRL1 register must be manually set to 0 before initiating power off sequence. One of usual power down methods for Exynos based devices looks like: 1. PWRHOLD pin of PMIC is connected to PSHOLD of Exynos. 2. Exynos holds up this pin during

Re: [PATCH v3 1/6] mmc: sdhci-esdhc-imx: add imx7d support and support HS400

2015-08-03 Thread Dong Aisheng
On Sun, Aug 02, 2015 at 04:59:04PM +0800, Chen Haibo-B51421 wrote: > > > > -Original Message- > > From: Dong Aisheng [mailto:aisheng.d...@freescale.com] > > Sent: Friday, July 31, 2015 10:15 PM > > To: Chen Haibo-B51421 > > Cc: robh...@kernel.org; pawel.m...@arm.com; mark.rutl...@arm.com;

[PATCH v2 01/16] mmc: host: omap_hsmmc: use devm_regulator_get_optional() for vmmc

2015-08-03 Thread Kishon Vijay Abraham I
Since vmmc can be optional for some platforms, use devm_regulator_get_optional() for vmmc. Now return error only if the return value of devm_regulator_get_optional() is not the same as -ENODEV, since with -EPROBE_DEFER, the regulator can be obtained later and all other errors are fatal. Signed-off

[PATCH v2 07/16] mmc: host: omap_hsmmc: return error if any of the regulator APIs fail

2015-08-03 Thread Kishon Vijay Abraham I
Return error if any of the regulator APIs (regulator_enable, regulator_disable, regulator_set_voltage) fails in omap_hsmmc_set_power to avoid undefined behavior. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/omap_hsmmc.c | 52 +++-- 1 file chang

[PATCH v2 02/16] mmc: host: omap_hsmmc: return on fatal errors from omap_hsmmc_reg_get

2015-08-03 Thread Kishon Vijay Abraham I
Now return error only if the return value of devm_regulator_get_optional() is not the same as -ENODEV, since with -EPROBE_DEFER, the regulator can be obtained later and all other errors are fatal. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/omap_hsmmc.c | 22

[PATCH v2 04/16] mmc: host: omap_hsmmc: use the ocrmask provided by the vmmc regulator

2015-08-03 Thread Kishon Vijay Abraham I
If the vmmc regulator provides a valid ocrmask, use it. By this even if the pdata has a valid ocrmask, it will be overwritten with the ocrmask of the vmmc regulator. Also remove the unnecessary compatibility check between the ocrmask in the pdata and the ocrmask from the vmmc regulator. Signed-off

[PATCH v2 03/16] mmc: host: omap_hsmmc: cleanup omap_hsmmc_reg_get()

2015-08-03 Thread Kishon Vijay Abraham I
No functional change. Instead of using a local regulator variable in omap_hsmmc_reg_get() for holding the return value of devm_regulator_get_optional() and then assigning to omap_hsmmc_host regulator members: vcc, vcc_aux and pbias, directly use the omap_hsmmc_host regulator members. Signed-off-by

[PATCH v2 06/16] mmc: host: omap_hsmmc: remove unnecessary pbias set_voltage

2015-08-03 Thread Kishon Vijay Abraham I
Remove the unnecessary pbias regulator_set_voltage done after pbias regulator_disable in omap_hsmmc_set_power. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Roger Quadros --- drivers/mmc/host/omap_hsmmc.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b

[PATCH v2 05/16] mmc: host: omap_hsmmc: use mmc_host's vmmc and vqmmc

2015-08-03 Thread Kishon Vijay Abraham I
No functional change. Instead of using omap_hsmmc_host's vcc and vcc_aux members, use vmmc and vqmmc present in mmc_host which is present for the same purpose. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Roger Quadros --- drivers/mmc/host/omap_hsmmc.c | 63 ++---

[PATCH v2 11/16] mmc: host: omap_hsmmc: don't use ->set_power to set initial regulator state

2015-08-03 Thread Kishon Vijay Abraham I
If the regulator is enabled on boot (checked using regulator_is_enabled), invoke regulator_enable() so that the usecount reflects the correct state of the regulator and then disable the regulator so that the initial state of the regulator is disabled. Avoid using ->set_power, since set_power also t

[PATCH v2 10/16] mmc: host: omap_hsmmc: avoid pbias regulator enable on power off

2015-08-03 Thread Kishon Vijay Abraham I
Fix omap_hsmmc_set_power so that pbias regulator is not enabled during power off. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/omap_hsmmc.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c i

[PATCH v2 09/16] mmc: host: omap_hsmmc: add separate function to set pbias

2015-08-03 Thread Kishon Vijay Abraham I
No functional change. Cleanup omap_hsmmc_set_power by adding separate functions to set pbias and invoke it from omap_hsmmc_set_power. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/omap_hsmmc.c | 78 + 1 file changed, 48 insertions(+), 30 del

[PATCH v2 08/16] mmc: host: omap_hsmmc: add separate functions for enable/disable supply

2015-08-03 Thread Kishon Vijay Abraham I
No functional change. Cleanup omap_hsmmc_set_power by adding separate functions for enable/disable supply and invoke it from omap_hsmmc_set_power. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/omap_hsmmc.c | 101 +++-- 1 file changed, 66 insertio

[PATCH v2 16/16] mmc: host: omap_hsmmc: use "mmc_of_parse_voltage" to get ocr_avail

2015-08-03 Thread Kishon Vijay Abraham I
From: Roger Quadros For platforms that doesn't have explicit regulator control in MMC, populate voltage-ranges in MMC device tree node and use mmc_of_parse_voltage to get ocr_avail Signed-off-by: Roger Quadros Signed-off-by: Lokesh Vutla Signed-off-by: Murali Karicheri Signed-off-by: Franklin

[PATCH v2 15/16] mmc: host: omap_hsmmc: remove CONFIG_REGULATOR check

2015-08-03 Thread Kishon Vijay Abraham I
Now that support for platforms which have optional regulator is added, remove CONFIG_REGULATOR check in omap_hsmmc. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/omap_hsmmc.c | 35 +++ 1 file changed, 3 insertions(+), 32 deletions(-) diff --git a/d

[PATCH v2 14/16] mmc: host: omap_hsmmc: use ios->vdd for setting vmmc voltage

2015-08-03 Thread Kishon Vijay Abraham I
vdd voltage is set in mmc core to ios->vdd and vmmc should actually be set to this voltage. Modify omap_hsmmc_enable_supply to not take vdd as argument since now it's directly set to the voltage in ios->vdd. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/omap_hsmmc.c |7 ---

[PATCH v2 13/16] mmc: host: omap_hsmmc: use regulator_is_enabled to find pbias status

2015-08-03 Thread Kishon Vijay Abraham I
Use regulator_is_enabled of pbias regulator to find pbias regulator status instead of maintaining a custom bookkeeping pbias_enabled variable. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/omap_hsmmc.c |8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dr

[PATCH v2 12/16] mmc: host: omap_hsmmc: enable/disable vmmc_aux regulator based on previous state

2015-08-03 Thread Kishon Vijay Abraham I
enable vmmc_aux regulator only if it is in disabled state and disable vmmc_aux regulator only if it is in enabled state. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/omap_hsmmc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/omap_

[PATCH v2 00/16] omap_hsmmc: regulator usage cleanup and fixes

2015-08-03 Thread Kishon Vijay Abraham I
Changes from v1: *) return on -EPROBE_DEFER and other fatal errors. (Don't return only if the return value is -ENODEV) *) Remove the beagle x15 dts patch. It can be part of a different series. *) Avoid using regulator_is_enabled for vqmmc since if the regulator is shared and the other user

Re: [PATCH v5 2/2] ARM: dts: add property for maximum ADC clock frequencies

2015-08-03 Thread Stefan Agner
Hi Shawn, I guess this will go through your tree? Haven't seen it appear on imx/dt so far... -- Stefan On 2015-06-07 18:56, Jonathan Cameron wrote: > On 27/05/15 13:47, Stefan Agner wrote: >> The ADC clock frequency is limited depending on modes used. Add >> device tree property which allow to s

Re: [PATCH v3 6/6] mmc: sdhci-esdhc-imx: set back the burst_length_enable bit to 1

2015-08-03 Thread Dong Aisheng
On Mon, Aug 03, 2015 at 09:08:28AM +0800, Chen Haibo-B51421 wrote: > > > > -Original Message- > > From: Dong Aisheng [mailto:aisheng.d...@freescale.com] > > Sent: Friday, July 31, 2015 10:58 PM > > To: Chen Haibo-B51421 > > Cc: robh...@kernel.org; pawel.m...@arm.com; mark.rutl...@arm.com;

Re: [PATCH 00/17] omap_hsmmc: regulator usage cleanup and fixes

2015-08-03 Thread Kishon Vijay Abraham I
Hi, On Monday 03 August 2015 12:58 PM, Andreas Fenkart wrote: > Hi Kishon, > > Thanks for taking a look at the regulator code. Do you have a public > git repository so I can pull your patches instead of cherry picking > 1-by-1? I'll post v2 shortly. With that I'll have the patches in a git tree.

  1   2   >