Re: [PATCHv2] Checkpatch fixes for staging/drivers/ks7010.

2017-02-24 Thread Greg KH
On Wed, Feb 22, 2017 at 01:52:58PM -0800, Matthew Giassa wrote: > Wrapping complex macros with parentheses. > Adding extra spaces between macros and integer literals. > Indentation changes to remove checkpatch warnings. > Swapping out C++-style comments with C-style comments. > > Signed-off-by:

Re: [PATCH 1/4] Documentation: dt-bindings: iio: Add max961x

2017-02-24 Thread Geert Uytterhoeven
Hi Jacopo, On Fri, Feb 24, 2017 at 4:50 PM, jacopo mondi wrote: > On 24/02/2017 16:29, Geert Uytterhoeven wrote: >> On Fri, Feb 24, 2017 at 4:05 PM, Jacopo Mondi >> wrote: >>> --- /dev/null >>> +++

Re: [PATCH 1/4] Documentation: dt-bindings: iio: Add max961x

2017-02-24 Thread jacopo mondi
Hi Lars-Peter, On 24/02/2017 16:33, Lars-Peter Clausen wrote: On 02/24/2017 04:22 PM, Geert Uytterhoeven wrote: On Fri, Feb 24, 2017 at 4:05 PM, Jacopo Mondi wrote: --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/max961x.txt @@ -0,0 +1,27 @@ +* Maxim

Re: [PATCH 1/4] Documentation: dt-bindings: iio: Add max961x

2017-02-24 Thread jacopo mondi
Hi Geert, On 24/02/2017 16:29, Geert Uytterhoeven wrote: Hi Jacopo, [fixed Peter Meerwald's address] On Fri, Feb 24, 2017 at 4:05 PM, Jacopo Mondi wrote: Add device tree bindings documentation for Maxim max961x current sense amplifier. Signed-off-by: Jacopo Mondi

Re: [PATCH 1/4] Documentation: dt-bindings: iio: Add max961x

2017-02-24 Thread Geert Uytterhoeven
Hi Jacopo, [fixed Peter Meerwald's address] On Fri, Feb 24, 2017 at 4:05 PM, Jacopo Mondi wrote: > Add device tree bindings documentation for Maxim max961x current sense > amplifier. > > Signed-off-by: Jacopo Mondi > --- >

Re: [PATCH 1/4] Documentation: dt-bindings: iio: Add max961x

2017-02-24 Thread Lars-Peter Clausen
On 02/24/2017 04:22 PM, Geert Uytterhoeven wrote: > On Fri, Feb 24, 2017 at 4:05 PM, Jacopo Mondi > wrote: >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/iio/adc/max961x.txt >> @@ -0,0 +1,27 @@ >> +* Maxim max9611/max9612 current sense amplifier with

Re: [PATCH 1/4] Documentation: dt-bindings: iio: Add max961x

2017-02-24 Thread Geert Uytterhoeven
On Fri, Feb 24, 2017 at 4:05 PM, Jacopo Mondi wrote: > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/max961x.txt > @@ -0,0 +1,27 @@ > +* Maxim max9611/max9612 current sense amplifier with 12-bits ADC interface > + > +Maxim max9611/max9612 is an

[PATCH 4/4] arm64: dts: salvator-x: Add current sense amplifiers

2017-02-24 Thread Jacopo Mondi
Add device nodes for two Maxim max961x current sense amplifiers sensing VDD_08 and DVFS_08 lines. Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 17 + 1 file changed, 17 insertions(+) diff --git

[PATCH 3/4] iio: adc: Add max9611/9612 ADC driver

2017-02-24 Thread Jacopo Mondi
Add iio driver for Maxim max9611/9612 current-sense amplifiers with 12-bits ADC. Signed-off-by: Jacopo Mondi --- drivers/iio/adc/Kconfig | 10 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/max961x.c | 648 ++ 3

[PATCH 1/4] Documentation: dt-bindings: iio: Add max961x

2017-02-24 Thread Jacopo Mondi
Add device tree bindings documentation for Maxim max961x current sense amplifier. Signed-off-by: Jacopo Mondi --- .../devicetree/bindings/iio/adc/max961x.txt| 27 ++ 1 file changed, 27 insertions(+) create mode 100644

[PATCH 0/4] iio: adc: Maxim max961x driver

2017-02-24 Thread Jacopo Mondi
Hello! This series adds driver and documentation for Maxim max9611/max9612 high-side current sense amplifier with 12-bit ADC and I2c interface. It also registers two devices installed on VDD_0.8V and DVFS_0.8V lines in Renesas r87796 Salvator-X board. The device provides several functionalities,

[PATCH 2/4] iio: Documentation: Add max961x sysfs documentation

2017-02-24 Thread Jacopo Mondi
Add documentation for max961x driver. The only attribute to document is the current sense shunt resistor value. Signed-off-by: Jacopo Mondi --- Documentation/ABI/testing/sysfs-bus-iio-adc-max961x | 5 + 1 file changed, 5 insertions(+) create mode 100644

[PATCH v4 0/2] arm64: dts: r8a7795: Add Cortex-A53 CPU cores and PMU

2017-02-24 Thread Geert Uytterhoeven
Hi Simon, Magnus, This patch series adds the Cortex-A53 CPU cores and PMU on the Renesas R-Car H3 SoC to its DTS file. Note that these patches describes the hardware; actual enabling of the CPU depends on the PSCI firmware. With the current firmware version (v2.16.0), only the CA57 CPU

[PATCH v4 2/2] arm64: dts: r8a7795: Add Cortex-A53 PMU node

2017-02-24 Thread Geert Uytterhoeven
Enable the performance monitor unit for the Cortex-A53 cores on the R8A7795 SoC. Extracted from a patch by Takeshi Kihara in the BSP. Signed-off-by: Geert Uytterhoeven --- v4: - New. --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 12 1 file changed, 12

[PATCH v4 1/2] arm64: dts: r8a7795: Add Cortex-A53 CPU cores

2017-02-24 Thread Geert Uytterhoeven
This patch adds Cortex-A53 CPU cores to r8a7795 SoC for a total of 8 cores (4 x Cortex-A57 + 4 x Cortex-A53). Based on work by Takeshi Kihara and Dirk Behme. Signed-off-by: Geert Uytterhoeven --- v4: - Drop bogus links from the pmu_a57 node to the CA53 nodes, v3: -

[PATCH v2 0/2] arm64: dts: renesas: Upgrade to PSCI v1.0 to support Suspend-to-RAM

2017-02-24 Thread Geert Uytterhoeven
Hi Simon, Magnus, This patch series upgrades the version of the PSCI firmware, as advertised in DT on Renesas R-Car Gen3 systems, from v0.2 to v1.0. Note that this series does not have any runtime effects: as of PSCI v0.2, PSCI provides a VERSION API. Hence Linux always detected the

[PATCH v2 1/2] arm64: dts: r8a7795: Upgrade to PSCI v1.0 to support Suspend-to-RAM

2017-02-24 Thread Geert Uytterhoeven
From: Khiem Nguyen >From PSCI v1.0, Suspend-to-RAM is supported via SYSTEM_SUSPEND PSCI function call. Hence, upgrade PSCI version for R-Car H3 to support Suspend-to-RAM. The Suspend-to-RAM is highly dependent on ARM Trusted Firwmare support since necessary callback

[PATCH v2 2/2] arm64: dts: r8a7796: Upgrade to PSCI v1.0 to support Suspend-to-RAM

2017-02-24 Thread Geert Uytterhoeven
From: Khiem Nguyen >From PSCI v1.0, Suspend-to-RAM is supported via SYSTEM_SUSPEND PSCI function call. Hence, upgrade PSCI version for R-Car M3-W to support Suspend-to-RAM. The Suspend-to-RAM is highly dependent on ARM Trusted Firwmare support since necessary