Re: [PATCH 5/8] pinctrl: qcom: spmi-mpp: Add support for setting analog output level

2015-06-24 Thread Ivan T. Ivanov
Hi Bjorn, On Wed, 2015-06-17 at 23:47 -0700, Bjorn Andersson wrote: When the MPP is configured for analog output the output level is selected by the AOUT_CTL register, this patch makes it possible to control this. snip } @@ -748,6 +765,10 @@ static int pmic_mpp_populate(struct

Re: [PATCH 1/2] dt-bindings: mediatek: Add MT8173 cpufreq driver binding

2015-06-24 Thread Pi-Cheng Chen
On Wed, Jun 24, 2015 at 9:06 AM, Viresh Kumar viresh.ku...@linaro.org wrote: Adding Mike's new email address.. On 23-06-15, 23:31, Pi-Cheng Chen wrote: On Mon, Jun 8, 2015 at 8:29 PM, Pi-Cheng Chen pi-cheng.c...@linaro.org wrote: This patch adds device tree binding document for MT8173

[PATCH v6] Mediatek SCPSYS power domain support

2015-06-24 Thread Sascha Hauer
Just a small update to this series with a memory corruption bug fixed. This series adds support for the MediaTek SCPSYS unit. The SCPSYS unit handles several power management related tasks such as thermal measurement, DVFS, interrupt filter and low level sleep control. The initial support only

[PATCH 2/4] dt-bindings: soc: Add documentation for the MediaTek SCPSYS unit

2015-06-24 Thread Sascha Hauer
This adds documentation for the MediaTek SCPSYS unit found in MT8173 SoCs. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- .../devicetree/bindings/soc/mediatek/scpsys.txt| 41 ++ 1 file changed, 41 insertions(+) create mode 100644

RE: [PATCH v5 08/23] usb: chipidea: set usb gadeget's otg capabilities

2015-06-24 Thread Peter Chen
For non-dt platform (eg i686), how it changes otg capabilities through their platform data? Directly override platdata-ci_otg_caps in its platform driver after ci_hdrc_add_device(). After ci_hdrc_add_device, the device may begin to enumerate, we need to make sure otg

Re: [PATCH 6/9] arm: twr-k70f120m: clock source drivers for Kinetis SoC

2015-06-24 Thread Thomas Gleixner
On Tue, 23 Jun 2015, Paul Osmialowski wrote: +/* + * Clock event device set mode function + */ +static void kinetis_clockevent_tmr_set_mode( + enum clock_event_mode mode, struct clock_event_device *clk) +{ + struct kinetis_clock_event_ddata *pit = + container_of(clk,

Re: [PATCH 0/8] Qualcomm PMIC pinctrl additions

2015-06-24 Thread Ivan T. Ivanov
On Wed, 2015-06-17 at 23:47 -0700, Bjorn Andersson wrote: This series starts out by fixing various issues found in the pm8941 mpp driver. While doing this work, and trying to use the mpp driver from device tree it, it became obvious that the current binding is not fit for neither the

Re: [PATCH v5 1/2] dt: add cap11xx LED documentation

2015-06-24 Thread Jacek Anaszewski
On 06/23/2015 08:07 PM, Dmitry Torokhov wrote: On Tue, Jun 23, 2015 at 10:23:57AM -0700, Matt Ranostay wrote: On Tue, Jun 23, 2015 at 1:36 AM, Jacek Anaszewski j.anaszew...@samsung.com wrote: On 06/22/2015 07:59 PM, Dmitry Torokhov wrote: On Wed, Jun 17, 2015 at 08:58:16PM -0700, Matt

Re: [PATCH 2/2] cpufreq: mediatek: Add MT8173 cpufreq driver

2015-06-24 Thread Viresh Kumar
On 24-06-15, 16:44, Pi-Cheng Chen wrote: One reason to put those initialization and resource allocation in probe is that it's easier to handle the return value -PROBE_DEFER from clock and regulator framework when trying to get clocks and regulators consumed by cpufreq driver. This is the

Re: [PATCH 2/2] cpufreq: mediatek: Add MT8173 cpufreq driver

2015-06-24 Thread Pi-Cheng Chen
On Wed, Jun 24, 2015 at 4:56 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 24-06-15, 16:44, Pi-Cheng Chen wrote: One reason to put those initialization and resource allocation in probe is that it's easier to handle the return value -PROBE_DEFER from clock and regulator framework when

Re: [PATCH v5 1/2] dt: add cap11xx LED documentation

2015-06-24 Thread Jacek Anaszewski
On 06/24/2015 09:28 AM, Jacek Anaszewski wrote: On 06/23/2015 08:07 PM, Dmitry Torokhov wrote: On Tue, Jun 23, 2015 at 10:23:57AM -0700, Matt Ranostay wrote: On Tue, Jun 23, 2015 at 1:36 AM, Jacek Anaszewski j.anaszew...@samsung.com wrote: On 06/22/2015 07:59 PM, Dmitry Torokhov wrote: On

[PATCH v2 0/2] Implement sample time consideration for Vybrid's ADC

2015-06-24 Thread Sanchayan Maity
Hello, This patchset adds a dt binding for specifying sample time for the vybrid adc driver and takes this into account for sampling frequency calculation and related configuration in the driver. The patchset is based on top of Stefan's patches here

Re: [PATCH v3 1/3] leds: netxbig: add device tree binding

2015-06-24 Thread Jacek Anaszewski
Hi Simon, On 06/23/2015 11:17 PM, Simon Guinot wrote: On Tue, Jun 23, 2015 at 02:11:54PM +0200, Jacek Anaszewski wrote: Hi Simon, Hi Jacek, Thanks again for taking care of this patch set. On 06/18/2015 04:59 PM, Simon Guinot wrote: This patch adds device tree support for the netxbig

Re: [PATCH 1/3] iio: adc: hi-843x: Holt HI-8435/8436/8437 descrete ADC

2015-06-24 Thread Vladimir Barinov
On 21.06.2015 17:14, Jonathan Cameron wrote: I'd call this a threshold detector. The device seems to have two comparators for each channel, one for the lower threshold, one for the upper threshold. If the voltage level goes above the upper threshold a FF is set, if it goes below the lower

[PATCH-v3 1/3] mfd: 88pm800: Add device tree support

2015-06-24 Thread Vaibhav Hiremath
Add DT support to the 88pm800 driver, along with compatible field for it's sub-devices (rtc, onkey and regulator) Signed-off-by: Chao Xie chao@marvell.com Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- drivers/mfd/88pm800.c | 25 + 1 file changed, 25

[PATCH-v3 3/3] mfd: devicetree: bindings: Add new 88pm800 mfd binding

2015-06-24 Thread Vaibhav Hiremath
With addition of DT support to 88pm800 mfd driver, this patch adds new DT binding documentation along with respective properties. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org Acked-by: Rob Herring r...@kernel.org --- Documentation/devicetree/bindings/mfd/88pm800.txt | 60

[PATCH 4/4] MIPS: BMIPS: bcm7362: add nodes for NAND

2015-06-24 Thread Jaedon Shin
Add NAND device nodes to BMIPS based BCM7362 platform. Signed-off-by: Jaedon Shin jaedon.s...@gmail.com --- arch/mips/boot/dts/brcm/bcm7362.dtsi | 22 ++ arch/mips/boot/dts/brcm/bcm97362svmb.dts | 23 +++ 2 files changed, 45 insertions(+) diff --git

[PATCH 3/4] MIPS: BMIPS: bcm7360: add nodes for NAND

2015-06-24 Thread Jaedon Shin
Add NAND device nodes to BMIPS based BCM7360 platform. Signed-off-by: Jaedon Shin jaedon.s...@gmail.com --- arch/mips/boot/dts/brcm/bcm7360.dtsi | 22 ++ arch/mips/boot/dts/brcm/bcm97360svmb.dts | 23 +++ 2 files changed, 45 insertions(+) diff --git

[PATCH 0/4] MIPS: BMIPS: dts: add NAND device nodes for bcm7xxx platforms

2015-06-24 Thread Jaedon Shin
Hi all, This patch series contain changing device nodes of the bcm7xxx platforms. Jaedon Shin (4): MIPS: BMIPS: bcm7346: add nodes for NAND MIPS: BMIPS: bcm7358: add nodes for NAND MIPS: BMIPS: bcm7360: add nodes for NAND MIPS: BMIPS: bcm7362: add nodes for NAND

[PATCH 2/4] MIPS: BMIPS: bcm7358: add nodes for NAND

2015-06-24 Thread Jaedon Shin
Add NAND device nodes to BMIPS based BCM7358 platform. Signed-off-by: Jaedon Shin jaedon.s...@gmail.com --- arch/mips/boot/dts/brcm/bcm7358.dtsi | 22 ++ arch/mips/boot/dts/brcm/bcm97358svmb.dts | 23 +++ 2 files changed, 45 insertions(+) diff --git

[PATCH 1/4] MIPS: BMIPS: bcm7346: add nodes for NAND

2015-06-24 Thread Jaedon Shin
Add NAND device nodes to BMIPS based BCM7346 platform. Signed-off-by: Jaedon Shin jaedon.s...@gmail.com --- arch/mips/boot/dts/brcm/bcm7346.dtsi | 22 ++ arch/mips/boot/dts/brcm/bcm97346dbsmb.dts | 23 +++ 2 files changed, 45 insertions(+) diff --git

Re: [PATCH] touchscreen: sun4i-ts: Really fix A10 temperature reporting

2015-06-24 Thread Hans de Goede
Hi, On 24-06-15 09:28, Maxime Ripard wrote: Hi, On Wed, Jun 24, 2015 at 09:16:54AM +0200, Hans de Goede wrote: Maxime I think we should send the mentioned dts patch to stable for 4.1 , do you agree ? Yep. We should definitely do that. You take care of this? Yes I'll try to do so later

[PATCH v2 1/2] iio: adc: Determine sampling frequencies by using minimum sample time

2015-06-24 Thread Sanchayan Maity
The driver currently does not take into account the minimum sample time as per the Figure 6-8 Chapter 9.1.1 12-bit ADC electrical characteristics. We set a static amount of cycles instead of considering the sample time as a given value, which depends on hardware characteristics. Determine

[PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample time

2015-06-24 Thread Sanchayan Maity
Add a device tree property which allows to specify the minimum sample time which can be used to calculate the actual ADC cycles required depending on the hardware. Signed-off-by: Sanchayan Maity maitysancha...@gmail.com --- arch/arm/boot/dts/vfxxx.dtsi | 2 ++ 1 file changed, 2 insertions(+)

Re: [PATCH 2/2] cpufreq: mediatek: Add MT8173 cpufreq driver

2015-06-24 Thread Pi-Cheng Chen
Hi Viresh, On Wed, Jun 24, 2015 at 8:57 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On 23-06-15, 23:25, Pi-Cheng Chen wrote: On Mon, Jun 22, 2015 at 7:45 PM, Viresh Kumar viresh.ku...@linaro.org wrote: +static struct mtk_cpu_dvfs_info *mtk_cpu_dvfs_info_get(int cpu) A very bad name

[PATCH 3/4] soc: Mediatek: Add SCPSYS power domain driver

2015-06-24 Thread Sascha Hauer
This adds a power domain driver for the Mediatek SCPSYS unit. The System Control Processor System (SCPSYS) has several power management related tasks in the system. The tasks include thermal measurement, dynamic voltage frequency scaling (DVFS), interrupt filter and lowlevel sleep control. The

[PATCH 1/4] soc: mediatek: Add infracfg misc driver support

2015-06-24 Thread Sascha Hauer
This adds support for some miscellaneous bits of the infracfg controller. The mtk_infracfg_set/clear_bus_protection functions are necessary for the scpsys power domain driver to handle the bus protection bits which are contained in the infacfg register space. Signed-off-by: Sascha Hauer

[PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node

2015-06-24 Thread Sascha Hauer
This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi

Re: [PATCH v5 08/23] usb: chipidea: set usb gadeget's otg capabilities

2015-06-24 Thread Li Jun
On Wed, Jun 24, 2015 at 11:49:23AM +0800, Peter Chen wrote: On Wed, Jun 24, 2015 at 11:34:23AM +0800, Li Jun wrote: On Wed, Jun 24, 2015 at 11:04:43AM +0800, Peter Chen wrote: On Wed, Jun 17, 2015 at 07:40:15PM +0800, Li Jun wrote: Set gadget's otg capabilities according to controller's

Re: [PATCH] arm64: dts: mt8173: add clock_null

2015-06-24 Thread James Liao
Hi Heiko, On Mon, 2015-06-22 at 14:53 +0200, Heiko Stübner wrote: Hi James, Am Montag, 22. Juni 2015, 11:38:37 schrieb James Liao: On Fri, 2015-06-19 at 13:36 +0200, Heiko Stuebner wrote: Some clocks such as clkph_mck_o, we don't really care where they come from and what frequencies

Re: [PATCH 2/2] power_supply: Add support for TI BQ25890 charger chip

2015-06-24 Thread Pavel Machek
On Wed 2015-06-24 10:32:54, Laurentiu Palcu wrote: On Sat, May 02, 2015 at 04:59:34PM +0200, Pavel Machek wrote: Should this link More details about the chip can be found here: http://www.ti.com/product/bq25890 @@ -0,0 +1,998 @@ +/* + * TI BQ25890 charger driver +

[PATCH-v3 2/3] mfd: 88pm800: Allow configuration of interrupt clear method

2015-06-24 Thread Vaibhav Hiremath
As per the spec, bit 1 (INT_CLEAR_MODE) of reg addr 0xe (page 0) controls the method of clearing interrupt status of 88pm800 family of devices; 0: clear on read 1: clear on write This patch allows to configure this field, through DT. Also, as suggested by Lee Jones renaming DT property and

Re: [PATCH] touchscreen: sun4i-ts: Really fix A10 temperature reporting

2015-06-24 Thread Hans de Goede
Hi, On 23-06-15 21:54, Dmitry Torokhov wrote: On Tue, Jun 23, 2015 at 09:46:20PM +0200, Hans de Goede wrote: Hi, On 06/23/2015 05:06 PM, m.silentcr...@gmail.com wrote: Hi Hans, is it possible that this patch (and the parent commit Input: sun4i-ts - allow controlling filter and sensitivity

Re: [PATCH 2/2] power_supply: Add support for TI BQ25890 charger chip

2015-06-24 Thread Laurentiu Palcu
On Sat, May 02, 2015 at 04:59:34PM +0200, Pavel Machek wrote: Should this link More details about the chip can be found here: http://www.ti.com/product/bq25890 @@ -0,0 +1,998 @@ +/* + * TI BQ25890 charger driver + * + * Copyright (C) 2015 Intel Corporation + * + * This

Re: [PATCH 7/8] cpufreq: st: Provide runtime initialised driver for ST's platforms

2015-06-24 Thread Lee Jones
On Tue, 23 Jun 2015, Paul Bolle wrote: On Tue, 2015-06-23 at 09:28 +0100, Lee Jones wrote: BTW, do you have a script that does this now, or are you still hand-rolling these? There was a script detecting Kconfig problems that is basically retired. (The messages I sent were always manually

Re: [linux-sunxi] Re: [PATCH] input: axp20x-pek: Fix reporting button state as inverted

2015-06-24 Thread Carlo Caione
On Wed, Jun 24, 2015 at 3:42 AM, Chen-Yu Tsai w...@csie.org wrote: On Tue, Jun 23, 2015 at 5:30 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Sun, Jun 14, 2015 at 12:42:21PM +0200, Hans de Goede wrote: Currently we are reporting the button state as inverted on all boards with an

[PATCH v6 2/2] cap11xx: add LED support

2015-06-24 Thread Matt Ranostay
Several cap11xx variants have LEDs that be can be controlled, this patchset implements this functionality. Signed-off-by: Matt Ranostay mranos...@gmail.com --- drivers/input/keyboard/cap11xx.c | 140 ++- 1 file changed, 137 insertions(+), 3 deletions(-) diff

[PATCH v6 1/2] dt: add cap11xx LED documentation

2015-06-24 Thread Matt Ranostay
Signed-off-by: Matt Ranostay mranos...@gmail.com --- Documentation/devicetree/bindings/input/cap11xx.txt | 19 +++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/input/cap11xx.txt b/Documentation/devicetree/bindings/input/cap11xx.txt index

Re: [PATCH 1/2] dt-bindings: mediatek: Add MT8173 cpufreq driver binding

2015-06-24 Thread Viresh Kumar
On 24-06-15, 16:57, Pi-Cheng Chen wrote: Yes. So should it be: - operating-points: Refer to Documentation/devicetree/bindings/power/opp.txt for details Right. -- viresh -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to

Re: [PATCH 2/2] power_supply: Add support for TI BQ25890 charger chip

2015-06-24 Thread Laurentiu Palcu
On Wed, Jun 24, 2015 at 10:30:58AM +0200, Pavel Machek wrote: On Wed 2015-06-24 10:32:54, Laurentiu Palcu wrote: On Sat, May 02, 2015 at 04:59:34PM +0200, Pavel Machek wrote: Should this link More details about the chip can be found here: http://www.ti.com/product/bq25890

Re: [PATCH v6 3/9] nvmem: Add nvmem_device based consumer apis.

2015-06-24 Thread Srinivas Kandagatla
On 23/06/15 21:28, Stefan Wahren wrote: @@ -26,6 +35,21 @@ void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell); void *nvmem_cell_read(struct nvmem_cell *cell, ssize_t *len); int nvmem_cell_write(struct nvmem_cell *cell, void *buf, ssize_t len); +/* direct nvmem device

Re: [PATCH v6 4/9] nvmem: Add bindings for simple nvmem framework

2015-06-24 Thread Srinivas Kandagatla
On 23/06/15 21:35, Stefan Wahren wrote: +Required properties: +reg: specifies the offset in byte within that storage device, start bit + in the byte and the length in bits of the data we care about. Is the second parameter really in bits, not bytes? Thanks for spotting this, I will fix this.

Re: [PATCH v6 2/9] nvmem: Add a simple NVMEM framework for consumers

2015-06-24 Thread Srinivas Kandagatla
On 23/06/15 21:16, Stefan Wahren wrote: + +struct device; Do we need forward declaration of struct device_node too? Yep, Will fix it in next version. --srini +/* consumer cookie */ [...] -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to

Re: [PATCH 03/17] phy: ti-pipe3: use *syscon* framework to set PCS value of the PHY

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:48 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Deprecate using phy-omap-control driver to set PCS value of the PHY and start using *syscon* framework to do the same. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

Re: [PATCH 05/17] phy: omap-usb2: Add a new compatible string for USB2 PHY2

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:50 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: The USB2 PHY2 has a different register map compared to USB2 PHY1 to power on/off the PHY. In order to handle it, add a new compatible string. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

Re: [PATCH v6 7/9] nvmem: qfprom: Add bindings for qfprom

2015-06-24 Thread Srinivas Kandagatla
On 23/06/15 10:25, Rajendra Nayak wrote: [].. +Example: + +qfprom: qfprom@0070 { +compatible = qcom,qfprom; +reg= 0x0070 0x8000; +... +/* Data cells */ +tsens_calibration: calib@404 { +reg = 0x4404 0x10; +};

Re: [PATCH 07/17] usb: musb: omap2430: use *syscon* framework to write to mailbox register

2015-06-24 Thread Tony Lindgren
* Kishon Vijay Abraham I kis...@ti.com [150623 05:02]: Deprecate using phy-omap-control driver to write to the mailbox register and start using *syscon* framework to do the same. All this stuff needs to go to some generic syscon USB phy driver. Let's not start adding phy specific stuff to a USB

Re: [PATCH 08/17] ARM: dts: dra7: Add dt node for the sycon pcie

2015-06-24 Thread Roger Quadros
On Wed, 24 Jun 2015 14:50:17 +0300 Roger Quadros rog...@ti.com wrote: On Tue, 23 Jun 2015 17:28:53 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add new device tree node for the control module register space where PCIe registers are present. Signed-off-by: Kishon Vijay Abraham I

Re: [PATCH v6 0/9] Add simple NVMEM Framework via regmap.

2015-06-24 Thread Srinivas Kandagatla
On 23/06/15 20:47, Stefan Wahren wrote: 0001000 i want to port OCOTP driver for MXS, which hasn't MMIO. From my understanding That's cool. hexdump would readout the complete register range defined in provider DT node. How can i achieve that hexdump only reads the data area within the

Re: [PATCH 7/9] arm: twr-k70f120m: IOMUX driver for Kinetis SoC

2015-06-24 Thread Paul Bolle
On Tue, 2015-06-23 at 23:19 +0200, Paul Osmialowski wrote: --- a/drivers/pinctrl/freescale/Kconfig +++ b/drivers/pinctrl/freescale/Kconfig +config PINCTRL_KINETIS + bool Kinetis pinctrl driver + depends on OF + depends on SOC_K70 + select PINMUX + help + Say Y

Re: [PATCH V3] added device tree support to gpio-generic driver

2015-06-24 Thread Masahiro Yamada
Just cosmetic comments. added device tree support to gpio-generic driver - Please use the present tense in your commit subject - Please prefix the subject with a word describing which area your patch is related to, in this case gpio: So, your patch subject can be improved as gpio: add

Re: [PATCH 17/17] ARM: dts: omap4: Use syscon-otghs instead of ctrl-module in USB node

2015-06-24 Thread Roger Quadros
On Wed, 24 Jun 2015 03:41:16 -0700 Tony Lindgren t...@atomide.com wrote: * Kishon Vijay Abraham I kis...@ti.com [150623 05:02]: --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -852,12 +852,6 @@ }; }; -

Re: [PATCH/RFC 02/15] ARM: shmobile: R-Car: Add DT support for PM domains

2015-06-24 Thread Geert Uytterhoeven
On Thu, Jun 4, 2015 at 8:53 PM, Geert Uytterhoeven geert+rene...@glider.be wrote: --- a/arch/arm/mach-shmobile/pm-rcar.c +++ b/arch/arm/mach-shmobile/pm-rcar.c @@ -51,11 +54,29 @@ static void __iomem *rcar_sysc_base; static DEFINE_SPINLOCK(rcar_sysc_lock); /* SMP CPUs + I/O devices */

Re: [PATCH 06/17] phy: omap-usb2: use *syscon* framework to power on/off the PHY

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 24 June 2015 05:03 PM, Roger Quadros wrote: On Tue, 23 Jun 2015 17:28:51 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Deprecate using phy-omap-control driver to power on/off the PHY, and use *syscon* framework to do the same. This handles powering on/off the PHY for

Re: [PATCH v6 8/9] nvmem: sunxi: Move the SID driver to the nvmem framework

2015-06-24 Thread Srinivas Kandagatla
On 23/06/15 21:44, Stefan Wahren wrote: Srinivas Kandagatla srinivas.kandaga...@linaro.org hat am 23. Juni 2015 um 01:09 geschrieben: From: Maxime Ripard maxime.rip...@free-electrons.com Now that we have the nvmem framework, we can consolidate the common driver code. Move the driver to

Re: [PATCH 06/17] phy: omap-usb2: use *syscon* framework to power on/off the PHY

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:51 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Deprecate using phy-omap-control driver to power on/off the PHY, and use *syscon* framework to do the same. This handles powering on/off the PHY for the USB2 PHYs used in various TI SoCs. Signed-off-by: Kishon

Re: [PATCH v5 03/11] nvmem: Add a simple NVMEM framework for nvmem providers

2015-06-24 Thread Srinivas Kandagatla
On 24/06/15 01:24, Stephen Boyd wrote: Can you assign the attributes to the device_type in the nvmem::struct device? I don't see why these attributes need to be part of the class. I will fix this. +{ +return class_register(nvmem_class); I thought class was on the way out? Aren't we

Re: [PATCH 17/17] ARM: dts: omap4: Use syscon-otghs instead of ctrl-module in USB node

2015-06-24 Thread Tony Lindgren
* Kishon Vijay Abraham I kis...@ti.com [150623 05:02]: --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -852,12 +852,6 @@ }; }; - omap_control_usbotg: control-phy@4a00233c { - compatible =

Re: [PATCH 04/17] phy: omap-usb2: use omap_usb_power_off to power off the PHY during probe

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:49 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: No functional change. Previously omap_control_phy_power() was used to power off the PHY during probe. But once phy-omap-usb2 driver is adapted to use syscon, omap_control_phy_power() cannot be used. Hence used

Re: [PATCH] added device tree support to gpio-generic driver

2015-06-24 Thread Geert Uytterhoeven
On Wed, Jun 10, 2015 at 10:42 AM, Linus Walleij linus.wall...@linaro.org wrote: On Fri, Jun 5, 2015 at 8:51 AM, Romain Baeriswyl romain.baeris...@alitech.com wrote: +Required properties: +- compatible : basic-mmio-gpio for little endian register access or + basic-mmio-gpio-be

Re: [PATCH 17/17] ARM: dts: omap4: Use syscon-otghs instead of ctrl-module in USB node

2015-06-24 Thread Kishon Vijay Abraham I
Hi Tony, On Wednesday 24 June 2015 04:11 PM, Tony Lindgren wrote: * Kishon Vijay Abraham I kis...@ti.com [150623 05:02]: --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -852,12 +852,6 @@ }; }; -

Re: [PATCH v2 3/4] mfd: axp20x: Add a cell for the usb power_supply part of the axp20x PMICs

2015-06-24 Thread Lee Jones
Add a cell for the usb power_supply part of the axp20x PMICs. Why are you duplicating the subject line? Note that this cell is only for the usb power_supply part and not the ac-power / battery-charger / rtc-backup-bat-charger bits. Depending on the board each of those must be enabled /

Re: [PATCH 02/17] phy: ti-pipe3: use *syscon* framework to power on/off the PHY

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Tuesday 23 June 2015 08:23 PM, Roger Quadros wrote: Hi Kishon, On Tue, 23 Jun 2015 17:28:47 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Deprecate using phy-omap-control driver to power on/off the PHY and use *syscon* framework to do the same. Signed-off-by: Kishon Vijay Abraham

Re: [PATCH 17/17] ARM: dts: omap4: Use syscon-otghs instead of ctrl-module in USB node

2015-06-24 Thread Tony Lindgren
* Kishon Vijay Abraham I kis...@ti.com [150624 04:23]: On Wednesday 24 June 2015 04:11 PM, Tony Lindgren wrote: * Kishon Vijay Abraham I kis...@ti.com [150623 05:02]: --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -852,12 +852,6 @@ };

Re: [PATCH v6 0/9] Add simple NVMEM Framework via regmap.

2015-06-24 Thread Stefan Wahren
Hi Srinivas, Am 24.06.2015 um 11:46 schrieb Srinivas Kandagatla: On 23/06/15 20:47, Stefan Wahren wrote: 0001000 i want to port OCOTP driver for MXS, which hasn't MMIO. From my understanding That's cool. hexdump would readout the complete register range defined in provider DT node.

Re: [PATCH v6] Mediatek SCPSYS power domain support

2015-06-24 Thread Daniel Kurtz
On Wed, Jun 24, 2015 at 2:17 PM, Sascha Hauer s.ha...@pengutronix.de wrote: Just a small update to this series with a memory corruption bug fixed. This series adds support for the MediaTek SCPSYS unit. The SCPSYS unit handles several power management related tasks such as thermal

Re: [PATCH v2 4/4] power: Add an axp20x-usb-power driver

2015-06-24 Thread Lee Jones
On Sat, 13 Jun 2015, Hans de Goede wrote: This adds a driver for the usb power_supply bits of the axp20x PMICs. I initially started writing my own driver, before coming aware of Bruno Prémont's excellent earlier RFC with a driver for this. My driver was lacking CURRENT_MAX and VOLTAGE_MIN

Re: [PATCH 1/2] spi: dw: Allow interface drivers to limit data I/O to word sizes

2015-06-24 Thread Andy Shevchenko
On Fri, 2015-06-19 at 10:43 +0200, Michael van der Westhuizen wrote: The commit dd11444327ce (spi: dw-spi: Convert 16bit accesses to 32bit accesses) changed all 16bit accesses in the DW_apb_ssi driver to 32bit. This, unfortunately, breaks data register access on picoXcell, where the DW

Re: [PATCH 11/17] ARM: dts: dra7: Use ti,dra7x-usb2-phy2 compatible string for USB2 PHY2

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:56 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: The USB2 PHY2 has a different register map compared to USB2 PHY1 to power on/off the PHY. In order to handle it, use the new compatible string ti,dra7x-usb2-phy2 for the second instance of USB2 PHY.

Re: [PATCH 08/17] ARM: dts: dra7: Add dt node for the sycon pcie

2015-06-24 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [150624 04:58]: On Wed, 24 Jun 2015 14:50:17 +0300 Roger Quadros rog...@ti.com wrote: On Tue, 23 Jun 2015 17:28:53 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add new device tree node for the control module register space where PCIe registers

[PATCH] regulator: da9210: Add optional interrupt support

2015-06-24 Thread Geert Uytterhoeven
Add optional interrupt support to the da9210 regulator driver, to handle over-current, under- and over-voltage, and over-temperature events. Only the interrupt sources for which we handle events are unmasked, to avoid interrupts we cannot handle. Signed-off-by: Geert Uytterhoeven

Re: [PATCH v6 0/9] Add simple NVMEM Framework via regmap.

2015-06-24 Thread Srinivas Kandagatla
On 24/06/15 13:30, Stefan Wahren wrote: If the question is just about hexdump, then hexdump itself can read file from given offset and size. yes, this is my question at first. Let me show the difference between the current implementation and my expectations as a user. $ hexdump

Re: [PATCH v6 1/9] nvmem: Add a simple NVMEM framework for nvmem providers

2015-06-24 Thread Srinivas Kandagatla
On 23/06/15 10:26, Pantelis Antoniou wrote: Hi Joe, On Jun 23, 2015, at 05:52 , Joe Perchesj...@perches.com wrote: On Tue, 2015-06-23 at 00:08 +0100, Srinivas Kandagatla wrote: This patch adds just providers part of the framework just to enable easy review. []

Re: [PATCH] arm64: dts: mt8173: add clock_null

2015-06-24 Thread Heiko Stübner
Hi James, Am Mittwoch, 24. Juni 2015, 15:54:15 schrieb James Liao: On Mon, 2015-06-22 at 14:53 +0200, Heiko Stübner wrote: Hi James, Am Montag, 22. Juni 2015, 11:38:37 schrieb James Liao: On Fri, 2015-06-19 at 13:36 +0200, Heiko Stuebner wrote: Some clocks such as clkph_mck_o,

Re: [PATCH 08/17] ARM: dts: dra7: Add dt node for the sycon pcie

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:53 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add new device tree node for the control module register space where PCIe registers are present. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/dra7.dtsi |5 + 1 file

Re: [PATCH 09/17] ARM: dts: dra7: Use syscon-phy-power instead of ctrl-module in SATA PHY node

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:54 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add syscon-phy-power property and remove the deprecated ctrl-module property from SATA PHY node. Since omap_control_sata note is no longer used, remove it. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com

Re: [PATCH 08/17] ARM: dts: dra7: Add dt node for the sycon pcie

2015-06-24 Thread Roger Quadros
On Wed, 24 Jun 2015 05:09:39 -0700 Tony Lindgren t...@atomide.com wrote: * Roger Quadros rog...@ti.com [150624 04:58]: On Wed, 24 Jun 2015 14:50:17 +0300 Roger Quadros rog...@ti.com wrote: On Tue, 23 Jun 2015 17:28:53 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add new

Re: [PATCH 08/17] ARM: dts: dra7: Add dt node for the sycon pcie

2015-06-24 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [150624 05:21]: On Wed, 24 Jun 2015 05:09:39 -0700 Tony Lindgren t...@atomide.com wrote: My take is we should only use regmap for the scm_conf area in general. +1 should we get rid of dra7_ctrl_core and dra7_ctrl_general? or move them to scm node?

Re: [PATCH v2 2/2] arm64: dts: mt8173: Add I2C device node

2015-06-24 Thread Daniel Kurtz
Hi Matthias, On Wed, Jun 24, 2015 at 4:04 AM, Matthias Brugger matthias@gmail.com wrote: On Monday, June 01, 2015 09:08:27 PM Eddie Huang wrote: Add MT8173 I2C device nodes, include I2C controllers and pins. MT8173 has six I2C controllers, from i2c0 to i2c6, exclude i2c5. The 6th I2C

Re: [PATCH v2 2/4] mfd: axp20x: Add missing registers, and mark more registers volatile

2015-06-24 Thread Lee Jones
On Sat, 13 Jun 2015, Hans de Goede wrote: From: Bruno Prémont bonb...@linux-vserver.org Add an extra set of registers which is necessary tu support the PMICs battery charger function, and mark registers which contain status bits, gpio status, and adc readings as volatile. Cc: Bruno

Re: [PATCH 07/17] usb: musb: omap2430: use *syscon* framework to write to mailbox register

2015-06-24 Thread Roger Quadros
On Tue, 23 Jun 2015 17:28:52 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Deprecate using phy-omap-control driver to write to the mailbox register and start using *syscon* framework to do the same. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

Re: [PATCH 09/17] ARM: dts: dra7: Use syscon-phy-power instead of ctrl-module in SATA PHY node

2015-06-24 Thread Roger Quadros
On Wed, 24 Jun 2015 15:06:02 +0300 Roger Quadros rog...@ti.com wrote: On Tue, 23 Jun 2015 17:28:54 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add syscon-phy-power property and remove the deprecated ctrl-module property from SATA PHY node. Since omap_control_sata note is no longer

Re: [linux-sunxi] [PATCH 2/8] mfd: axp20x: Add a cell for the usb power_supply part of the axp20x PMICs

2015-06-24 Thread Michal Suchanek
Hello, On 13 June 2015 at 15:50, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Wed, Jun 10, 2015 at 09:57:13AM +0200, Hans de Goede wrote: @@ -368,6 +392,12 @@ static struct mfd_cell axp20x_cells[] = { .resources = axp20x_pek_resources, }, {

Re: [PATCH v6 6/9] nvmem: qfprom: Add Qualcomm QFPROM support.

2015-06-24 Thread Stephen Boyd
On 06/22/2015 04:09 PM, Srinivas Kandagatla wrote: diff --git a/drivers/nvmem/qfprom.c b/drivers/nvmem/qfprom.c new file mode 100644 index 000..7f7a82f --- /dev/null +++ b/drivers/nvmem/qfprom.c @@ -0,0 +1,89 @@ + +#include linux/platform_device.h +#include linux/nvmem-provider.h

Re: [PATCHv5 2/2] mailbox: Adding driver for Xilinx LogiCORE IP mailbox.

2015-06-24 Thread Paul Bolle
On Tue, 2015-06-23 at 11:00 -0700, Moritz Fischer wrote: +MODULE_ALIAS(platform:xilinx-mailbox); So I think this MODULE_ALIAS() is only useful if, in short, there's a corresponding platform_device created. Ie, a platform_device with a name xilinx-mailbox that will fire of a

Re: [PATCH] ARM: BCM5301X: Enable UART0 for SmartRG SR-400AC

2015-06-24 Thread Tyler Baker
On 23 June 2015 at 16:51, Florian Fainelli f.faine...@gmail.com wrote: Enable the use of UART0 by overriding its default status property. Signed-off-by: Florian Fainelli f.faine...@gmail.com Thanks Florian! I've tested this patch atop next-20150624 on the smartrg-sr400ac, and confirmed UART0

Re: [PATCH] ARM: BCM5301X: Enable UART0 for SmartRG SR-400AC

2015-06-24 Thread Rafał Miłecki
On 24 June 2015 at 01:51, Florian Fainelli f.faine...@gmail.com wrote: Enable the use of UART0 by overriding its default status property. Give me 2-3 days to look at this, please. -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to

Re: [linux-sunxi] Re: [PATCH] input: axp20x-pek: Fix reporting button state as inverted

2015-06-24 Thread Dmitry Torokhov
On Wed, Jun 24, 2015 at 11:19:39AM +0200, Carlo Caione wrote: On Wed, Jun 24, 2015 at 3:42 AM, Chen-Yu Tsai w...@csie.org wrote: On Tue, Jun 23, 2015 at 5:30 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Sun, Jun 14, 2015 at 12:42:21PM +0200, Hans de Goede wrote: Currently we

Re: [PATCH 07/17] usb: musb: omap2430: use *syscon* framework to write to mailbox register

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 24 June 2015 05:09 PM, Roger Quadros wrote: On Tue, 23 Jun 2015 17:28:52 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Deprecate using phy-omap-control driver to write to the mailbox register and start using *syscon* framework to do the same. Signed-off-by: Kishon

Re: [PATCH v4 2/2] mfd: flexcom: add a driver for Atmel Flexible Serial Communication Unit

2015-06-24 Thread Lee Jones
On Mon, 22 Jun 2015, Cyrille Pitchen wrote: This driver supports the new Atmel Flexcom. The Flexcom is a wrapper which integrates one SPI controller, one I2C controller and one USART. Only one function can be enabled at a time. This driver selects the function once for all, when the Flexcom

Re: [PATCH 11/17] ARM: dts: dra7: Use ti,dra7x-usb2-phy2 compatible string for USB2 PHY2

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 24 June 2015 05:37 PM, Roger Quadros wrote: On Tue, 23 Jun 2015 17:28:56 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: The USB2 PHY2 has a different register map compared to USB2 PHY1 to power on/off the PHY. In order to handle it, use the new compatible string

[PATCH v2 0/9] cpufreq: Introduce support for ST's cpufreq functionality

2015-06-24 Thread Lee Jones
This driver reads very platform specific information in from Device Tree and translates it into frequency tables. The generic drivers then use the tables to conduct frequency and voltage scaling in the normal way. There are 'ARM' patches in the set which are not necessarily related to CPUFreq,

Re: [PATCH v3 6/7] mfd: arizona: Update DT doc for new mic detection bindings

2015-06-24 Thread Lee Jones
This requires a DT Ack. [... which would be pretty difficult, as you didn't Cc them] Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com --- Documentation/devicetree/bindings/mfd/arizona.txt | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff

Re: [PATCH 03/17] phy: ti-pipe3: use *syscon* framework to set PCS value of the PHY

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 24 June 2015 04:04 PM, Roger Quadros wrote: On Tue, 23 Jun 2015 17:28:48 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Deprecate using phy-omap-control driver to set PCS value of the PHY and start using *syscon* framework to do the same. Signed-off-by: Kishon Vijay

Re: [PATCH 08/17] ARM: dts: dra7: Add dt node for the sycon pcie

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 24 June 2015 05:20 PM, Roger Quadros wrote: On Tue, 23 Jun 2015 17:28:53 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add new device tree node for the control module register space where PCIe registers are present. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com

Re: [PATCH 05/17] phy: omap-usb2: Add a new compatible string for USB2 PHY2

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 24 June 2015 04:33 PM, Roger Quadros wrote: On Tue, 23 Jun 2015 17:28:50 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: The USB2 PHY2 has a different register map compared to USB2 PHY1 to power on/off the PHY. In order to handle it, add a new compatible string.

[PATCH v2 5/9] ARM: STi: Register CPUFreq device

2015-06-24 Thread Lee Jones
DT will not allow pseudo-devices. Only devices which represent real hardware are permitted. So we have to register the CPUFreq driver from platform code instead. Rather than create a new file, we're bundling this in with the SMP functionality and renaming it from 'smp' to the more generic

[PATCH v2 6/9] ARM: STi: STiH407: Move PWM nodes STiH407 = STiH407-family

2015-06-24 Thread Lee Jones
This also incorporates the STiH410. Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/stih407-family.dtsi | 29 + arch/arm/boot/dts/stih407.dtsi| 28 2 files changed, 29 insertions(+), 28 deletions(-) diff --git

[PATCH v2 1/9] ARM: STi: STiH407: Provide generic (safe) DVFS configuration

2015-06-24 Thread Lee Jones
You'll notice that the voltage cell is populated with 0's. Voltage information is very platform specific, even depends on 'cut' and 'substrate' versions. Thus it is left blank for a generic (safe) implementation. If other nodes/properties are provided by the bootloader, the ST CPUFreq driver

Re: [PATCH 08/17] ARM: dts: dra7: Add dt node for the sycon pcie

2015-06-24 Thread Kishon Vijay Abraham I
Hi, On Wednesday 24 June 2015 05:26 PM, Roger Quadros wrote: On Wed, 24 Jun 2015 14:50:17 +0300 Roger Quadros rog...@ti.com wrote: On Tue, 23 Jun 2015 17:28:53 +0530 Kishon Vijay Abraham I kis...@ti.com wrote: Add new device tree node for the control module register space where PCIe

  1   2   >