[bd47e298a86a7d5547da1e64b134cfaa5d090526] Disable PMBus status check for DPS400 PSU controller

2016-07-21 Thread Vadim Pasternak
pmbus/dps400: disable PMBus status check through platform data structure to provide support for PSU DPS-460, DPS-800 from Delta Electronics, INC and for SGD009 from Acbel Polytech, INC. These devices do not support the STATUS_CML register, and reports communication error in response to this command

Re: [PATCH v2 3/4] mfd: add support for Allwinner SoCs ADC

2016-07-21 Thread Lee Jones
On Wed, 20 Jul 2016, Jonathan Cameron wrote: > On 19/07/16 08:31, Lee Jones wrote: > > On Mon, 18 Jul 2016, Jonathan Cameron wrote: > > > >> On 15/07/16 10:59, Quentin Schulz wrote: > >>> The Allwinner SoCs all have an ADC that can also act as a touchscreen > >>> controller and a thermal sensor.

Re: [PATCH v2 2/4] iio: adc: add support for Allwinner SoCs ADC

2016-07-21 Thread Quentin Schulz
On 20/07/2016 16:57, Jonathan Cameron wrote: > On 19/07/16 09:33, Quentin Schulz wrote: >> On 18/07/2016 15:18, Jonathan Cameron wrote: >>> On 15/07/16 10:59, Quentin Schulz wrote: [...] + enable_irq(info->temp_data_irq); >>> Is this hardware spitting out extra irqs? If not, much better to j

[patch] Disable PMBus status check for DPS400 PSU controller

2016-07-21 Thread Vadim Pasternak
pmbus/dps400: disable PMBus status check through platform data structure to provide support for PSU DPS-460, DPS-800 from Delta Electronics, INC and for SGD009 from Acbel Polytech, INC. These devices do not support the STATUS_CML register, and reports communication error in response to this command

Re: [patch] Disable PMBus status check for DPS400 PSU controller

2016-07-21 Thread Guenter Roeck
Hi Vadim, On 07/21/2016 07:55 AM, Vadim Pasternak wrote: pmbus/dps400: disable PMBus status check through platform data structure to provide support for PSU DPS-460, DPS-800 from Delta Electronics, INC and for SGD009 from Acbel Polytech, INC. These devices do not support the STATUS_CML register,

Re: [patch] Disable PMBus status check for DPS400 PSU controller

2016-07-21 Thread Guenter Roeck
On 07/21/2016 07:08 AM, Vadim Pasternak wrote: [ ... ] }; diff --git a/drivers/hwmon/pmbus/pmbus_core.c b/drivers/hwmon/pmbus/pmbus_core.c index ba59eae..3d98070 100644 --- a/drivers/hwmon/pmbus/pmbus_core.c +++ b/drivers/hwmon/pmbus/pmbus_core.c @@ -1931,8 +1931,11 @@ EXPORT_SYMBOL_GPL(pmb

RE: [patch] Disable PMBus status check for DPS400 PSU controller

2016-07-21 Thread Vadim Pasternak
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: Thursday, July 21, 2016 4:42 PM > To: Vadim Pasternak > Cc: jdelv...@suse.com; linux-hwmon@vger.kernel.org; linux- > ker...@vger.kernel.org; j...@resnulli.us > Subject: Re: [patch] Disable PMBus status check f

Re: [PATCH v2 3/4] mfd: add support for Allwinner SoCs ADC

2016-07-21 Thread Maxime Ripard
1;4205;0c On Thu, Jul 21, 2016 at 01:12:53PM +0100, Lee Jones wrote: > On Wed, 20 Jul 2016, Jonathan Cameron wrote: > > > On 19/07/16 08:31, Lee Jones wrote: > > > On Mon, 18 Jul 2016, Jonathan Cameron wrote: > > > > > >> On 15/07/16 10:59, Quentin Schulz wrote: > > >>> The Allwinner SoCs all hav

[PATCH v3 0/3] hwmon: xgene: Add support for X-Gene hwmon driver

2016-07-21 Thread Hoan Tran
This patch set adds hardware temperature and power reading support for APM X-Gene SoC using the mailbox communication interface. For device tree, it is the standard DT mailbox. For ACPI, it is the PCC mailbox. For ACPI, this patch is built on top and depends on patch[1]: [1] http://www.spinics.net

[PATCH v3 2/3] hwmon: xgene: Add hwmon driver

2016-07-21 Thread Hoan Tran
This patch adds hardware temperature and power reading support for APM X-Gene SoC using the mailbox communication interface. Signed-off-by: Hoan Tran --- Documentation/hwmon/xgene-hwmon | 30 ++ drivers/hwmon/Kconfig | 7 + drivers/hwmon/Makefile | 1 + drivers/hwmon/xgen

[PATCH v3 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation

2016-07-21 Thread Hoan Tran
This patch adds the APM X-Gene hwmon device tree node documentation. Signed-off-by: Hoan Tran Acked-by: Rob Herring --- .../devicetree/bindings/hwmon/apm-xgene-hwmon.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ap

[PATCH v3 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree

2016-07-21 Thread Hoan Tran
This patch adds DT node to enable hwmon driver for APM X-Gene SoC. Signed-off-by: Hoan Tran --- arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 5 + arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 + 2 files changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi

Re: [PATCH v3 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation

2016-07-21 Thread Guenter Roeck
On Thu, Jul 21, 2016 at 01:55:55PM -0700, Hoan Tran wrote: > This patch adds the APM X-Gene hwmon device tree node documentation. > > Signed-off-by: Hoan Tran > Acked-by: Rob Herring Applied to hwmon-next. Thanks, Guenter -- To unsubscribe from this list: send the line "unsubscribe linux-hwmon

Re: [PATCH v3 2/3] hwmon: xgene: Add hwmon driver

2016-07-21 Thread Guenter Roeck
On Thu, Jul 21, 2016 at 01:55:56PM -0700, Hoan Tran wrote: > This patch adds hardware temperature and power reading support for > APM X-Gene SoC using the mailbox communication interface. > > Signed-off-by: Hoan Tran > --- [ ... ] > + > + dev_info(&pdev->dev, "APM X-Gene SoC HW monitor driv

Re: [PATCH v3 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree

2016-07-21 Thread Guenter Roeck
On Thu, Jul 21, 2016 at 01:55:57PM -0700, Hoan Tran wrote: > This patch adds DT node to enable hwmon driver for APM X-Gene SoC. > > Signed-off-by: Hoan Tran Acked-by: Guenter Roeck > --- > arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 5 + > arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 +

Re: [PATCH v3 2/3] hwmon: xgene: Add hwmon driver

2016-07-21 Thread Hoan Tran
Hi Guenter, On Thu, Jul 21, 2016 at 3:09 PM, Guenter Roeck wrote: > On Thu, Jul 21, 2016 at 01:55:56PM -0700, Hoan Tran wrote: >> This patch adds hardware temperature and power reading support for >> APM X-Gene SoC using the mailbox communication interface. >> >> Signed-off-by: Hoan Tran >> ---

[PATCH v4 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation

2016-07-21 Thread Hoan Tran
This patch adds the APM X-Gene hwmon device tree node documentation. Signed-off-by: Hoan Tran Acked-by: Rob Herring --- .../devicetree/bindings/hwmon/apm-xgene-hwmon.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ap

[PATCH v4 0/3] hwmon: xgene: Add support for X-Gene hwmon driver

2016-07-21 Thread Hoan Tran
This patch set adds hardware temperature and power reading support for APM X-Gene SoC using the mailbox communication interface. For device tree, it is the standard DT mailbox. For ACPI, it is the PCC mailbox. For ACPI, this patch is built on top and depends on patch[1]: [1] http://www.spinics.net

[PATCH v4 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree

2016-07-21 Thread Hoan Tran
This patch adds DT node to enable hwmon driver for APM X-Gene SoC. Signed-off-by: Hoan Tran Acked-by: Guenter Roeck --- arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 5 + arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 + 2 files changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts

[PATCH v4 2/3] hwmon: xgene: Add hwmon driver

2016-07-21 Thread Hoan Tran
This patch adds hardware temperature and power reading support for APM X-Gene SoC using the mailbox communication interface. Signed-off-by: Hoan Tran Reviewed-by: Guenter Roeck --- Documentation/hwmon/xgene-hwmon | 30 ++ drivers/hwmon/Kconfig | 7 + drivers/hwmon/Makefile

Re: [PATCH v4 0/3] hwmon: xgene: Add support for X-Gene hwmon driver

2016-07-21 Thread Guenter Roeck
On 07/21/2016 03:37 PM, Hoan Tran wrote: This patch set adds hardware temperature and power reading support for APM X-Gene SoC using the mailbox communication interface. For device tree, it is the standard DT mailbox. For ACPI, it is the PCC mailbox. For ACPI, this patch is built on top and depe