Re: [PATCH v3 2/7] dt-bindings: pinctrl: Add RZ/A1 bindings doc

2017-03-31 Thread jacopo
Hi Rob, thanks for the ack On Thu, Mar 30, 2017 at 05:39:03PM -0500, Rob Herring wrote: > On Fri, Mar 24, 2017 at 04:22:09PM +0100, Jacopo Mondi wrote: > > Add device tree bindings documentation for Renesas RZ/A1 gpio and pin > > controller. > > > > Signed-off-by

Re: [PATCH v3 3/7] arm: dts: dt-bindings: Add Renesas RZ pinctrl header

2017-03-29 Thread jacopo
Hi Linus, another reply to your email, please don't feel assaulted :) On Wed, Mar 29, 2017 at 03:22:23PM +0200, Linus Walleij wrote: > On Fri, Mar 24, 2017 at 4:22 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> > wrote: > > > Add dt-bindings for Renesas r7s72100 pin c

Re: [PATCH v3 4/7] arm: dts: r7s72100: Add pin controller node

2017-03-29 Thread jacopo
Hi Chris, On Mon, Mar 27, 2017 at 05:12:04PM +, Chris Brandt wrote: > Hi Jacopo, > > > On Friday, March 24, 2017, Jacopo Mondi > > + pinctrl: pinctrl@fcfe3000 { > > + compatible = "renesas,r7s72100-ports"; > > + > > + #

Re: [PATCH v2 2/7] dt-bindings: pinctrl: Add RZ/A1 bindings doc

2017-03-29 Thread jacopo
Hi Geert, Linus On Wed, Mar 29, 2017 at 01:20:39PM +0200, Geert Uytterhoeven wrote: > Hi Linus, > > On Wed, Mar 29, 2017 at 12:15 PM, Linus Walleij > wrote: > > On Wed, Mar 29, 2017 at 9:35 AM, Geert Uytterhoeven > > wrote: > >>> See for example:

Re: [PATCH v2 2/7] dt-bindings: pinctrl: Add RZ/A1 bindings doc

2017-03-28 Thread jacopo
Hi Linus, On 2017-03-28 11:46, Linus Walleij wrote: On Thu, Mar 23, 2017 at 5:02 PM, jacopo <jac...@jmondi.org> wrote: > + Required properties: > +- renesas,pins Just "pins"? You know, I've been thinking about this, bu the "pins" proper

[PATCH v4 1/4] Documentation: dt-bindings: iio: Add max9611 ADC

2017-03-27 Thread Jacopo Mondi
Add device tree bindings documentation for Maxim max9611/max9612 current sense amplifier. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- .../devicetree/bindings/iio/adc/max9611.txt| 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documen

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

2017-03-27 Thread Jacopo Mondi
Add iio driver for Maxim max9611 and max9612 current-sense amplifiers with 12-bits ADC interface. Datasheet publicly available at: https://datasheets.maximintegrated.com/en/ds/MAX9611-MAX9612.pdf Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- Output of iio_info on Salvator-X

[PATCH v4 0/4] iio: adc: Maxim max9611 driver

2017-03-27 Thread Jacopo Mondi
es for device name - Change temperature scale to have a value in milli Celsius - Simplify init routine using read_single Jacopo Mondi (4): Documentation: dt-bindings: iio: Add max9611 ADC iio: Documentation: Add max9611 sysfs documentation iio: adc: Add Maxim max9611 ADC driver arm64: dts: s

Re: [PATCH v3 3/4] iio: adc: Add Maxim max9611 ADC driver

2017-03-26 Thread jacopo
Hi Jonathan, On Sat, Mar 25, 2017 at 05:37:52PM +, Jonathan Cameron wrote: > On 25/03/17 17:21, jacopo wrote: > > Hi Jonathan, > > thanks for review [snip] > >>> + > >>> + indio_dev->dev.parent = >dev; > >>> + indio_dev->

Re: [PATCH v3 3/4] iio: adc: Add Maxim max9611 ADC driver

2017-03-25 Thread jacopo
Hi Jonathan, thanks for review On Sat, Mar 25, 2017 at 03:45:05PM +, Jonathan Cameron wrote: > On 24/03/17 15:28, Jacopo Mondi wrote: > > Add iio driver for Maxim max9611 and max9612 current-sense amplifiers > > with 12-bits ADC interface. > > > > D

Re: [PATCH v3 1/7] pinctrl: Renesas RZ/A1 pin and gpio controller

2017-03-24 Thread jacopo
Hi Linus, On Fri, Mar 24, 2017 at 04:42:47PM +0100, Linus Walleij wrote: > On Fri, Mar 24, 2017 at 4:22 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> > wrote: > > I assume Geert will queue this driver even if it is outside of sh-pfc? > > > Add combined gpio and pin co

[PATCH v3 1/4] Documentation: dt-bindings: iio: Add max9611 ADC

2017-03-24 Thread Jacopo Mondi
Add device tree bindings documentation for Maxim max9611/max9612 current sense amplifier. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- .../devicetree/bindings/iio/adc/max9611.txt| 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documen

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

2017-03-24 Thread Jacopo Mondi
Add iio driver for Maxim max9611 and max9612 current-sense amplifiers with 12-bits ADC interface. Datasheet publicly available at: https://datasheets.maximintegrated.com/en/ds/MAX9611-MAX9612.pdf Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/iio/adc/Kconfig

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

2017-03-24 Thread Jacopo Mondi
Add documentation for max9611 driver. Document attributes describing value of shunt resistor installed between RS+ and RS- voltage sense inputs. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 | 16 1 file c

[PATCH v3 0/4] iio: adc: Maxim max9611 driver

2017-03-24 Thread Jacopo Mondi
quot; to "shunt-resistor-uohm" - Update documentation accordingly to the two previous changes Jacopo Mondi (4): Documentation: dt-bindings: iio: Add max9611 ADC iio: Documentation: Add max9611 sysfs documentation iio: adc: Add Maxim max9611 ADC driver arm64: dts: salvator-x: Add cur

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

2017-03-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 <jacopo+rene...@jmondi.org> --- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm6

[PATCH v3 0/8] Renesas RZ/A1 pin and gpio controller

2017-03-24 Thread Jacopo Mondi
unlock - use devm_ version of kasprintf (memory returned was not properly free) - use bitops.h operation ffs and fls to make sure a single bit is set in pmx mask - Add Geert's reviewed-by to DTS patches Jacopo Mondi (8): pinctrl: Renesas RZ/A1 pin and gpio controller dt-bindings: pinctrl: Add RZ/A1 b

[PATCH v3 1/7] pinctrl: Renesas RZ/A1 pin and gpio controller

2017-03-24 Thread Jacopo Mondi
Add combined gpio and pin controller driver for Renesas RZ/A1 r7s72100 SoC. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/pinctrl/Kconfig| 10 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-rza1.c

[PATCH v3 2/7] dt-bindings: pinctrl: Add RZ/A1 bindings doc

2017-03-24 Thread Jacopo Mondi
Add device tree bindings documentation for Renesas RZ/A1 gpio and pin controller. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- .../bindings/pinctrl/renesas,rza1-pinctrl.txt | 143 + 1 file changed, 143 insertions(+) create mode 100644 Documen

[PATCH v3 6/7] arm: dts: genmai: Add RIIC2 pin group

2017-03-24 Thread Jacopo Mondi
Add pin configuration subnode for RIIC2 interface. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- arch/arm/boot/dts/r7s72100-genmai.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/

[PATCH v3 5/7] arm: dts: genmai: Add SCIF2 pin group

2017-03-24 Thread Jacopo Mondi
Add pin configuration subnode for SCIF2 serial debug interface. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- arch/arm/boot/dts/r7s72100-genmai.dts | 13 + 1 file changed, 13 insertions(+) diff --gi

[PATCH v3 4/7] arm: dts: r7s72100: Add pin controller node

2017-03-24 Thread Jacopo Mondi
Add pin controller node with 12 gpio controller sub-nodes to r7s72100 dtsi. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- arch/arm/boot/dts/r7s72100.dtsi | 80 + 1 file

[PATCH v3 7/7] arm: dts: genmai: Add user led device nodes

2017-03-24 Thread Jacopo Mondi
Add device nodes for user leds on Genmai board. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> --- arch/arm/boot/dts/r7s72100-genmai.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/

Re: [PATCH v2 4/7] arm: dts: r7s72100: Add pin controller node

2017-03-23 Thread jacopo
Hi Geert, On Wed, Mar 22, 2017 at 02:12:04PM +0100, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Mon, Mar 20, 2017 at 5:14 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> > wrote: > > Add pin controller node with 12 gpio controller sub-nodes to > > r7s72100 dtsi.

Re: [PATCH v2 2/7] dt-bindings: pinctrl: Add RZ/A1 bindings doc

2017-03-23 Thread jacopo
Hi Geert, thanks for review On Wed, Mar 22, 2017 at 11:33:50AM +0100, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Mon, Mar 20, 2017 at 5:14 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> > wrote: > > Add device tree bindings documentation for Renesas RZ/A1 gpio and

Re: [PATCH v2 1/7] pinctrl: Renesas RZ/A1 pin and gpio controller

2017-03-23 Thread jacopo
Hi Geert, thanks for detailed review On Wed, Mar 22, 2017 at 11:26:58AM +0100, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Mon, Mar 20, 2017 at 5:14 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> > wrote: > > Add combined gpio and pin controller driver for Renesa

[PATCH v2 1/4] Documentation: dt-bindings: iio: Add max9611 ADC

2017-03-23 Thread Jacopo Mondi
Add device tree bindings documentation for Maxim max9611/max9612 current sense amplifier. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- .../devicetree/bindings/iio/adc/max9611.txt| 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documen

[PATCH v2 0/4] iio: adc: Maxim max9611 driver

2017-03-23 Thread Jacopo Mondi
- Remove wrapper functions around i2c buffer access - Add locking in read_raw() - Make 2 separate attributes for shunt resistor: current and power - Renamed shunt resistor attribute - Fixed several review comments Jacopo Mondi (4): Documentation: dt-bindings: iio: Add max9611 ADC iio: Documentation: A

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

2017-03-23 Thread Jacopo Mondi
Add documentation for max9611 driver. Document attributes describing value of shunt resistor installed between RS+ and RS- voltage sense inputs. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 | 16 1 file c

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

2017-03-23 Thread Jacopo Mondi
Add iio driver for Maxim max9611 and max9612 current-sense amplifiers with 12-bits ADC interface. Datasheet publicly available at: https://datasheets.maximintegrated.com/en/ds/MAX9611-MAX9612.pdf Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/iio/adc/Kconfig

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

2017-03-23 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 <jacopo+rene...@jmondi.org> --- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm6

Re: [PATCH v2 2/7] dt-bindings: pinctrl: Add RZ/A1 bindings doc

2017-03-22 Thread jacopo
Hi Geert, thanks for reviews On Wed, Mar 22, 2017 at 02:20:08PM +0100, Geert Uytterhoeven wrote: > On Wed, Mar 22, 2017 at 11:33 AM, Geert Uytterhoeven > <ge...@linux-m68k.org> wrote: > > On Mon, Mar 20, 2017 at 5:14 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> &g

[PATCH v2 2/7] dt-bindings: pinctrl: Add RZ/A1 bindings doc

2017-03-20 Thread Jacopo Mondi
Add device tree bindings documentation for Renesas RZ/A1 gpio and pin controller. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- .../bindings/pinctrl/renesas,rza1-pinctrl.txt | 144 + 1 file changed, 144 insertions(+) create mode 100644 Documen

[PATCH v2 1/7] pinctrl: Renesas RZ/A1 pin and gpio controller

2017-03-20 Thread Jacopo Mondi
Add combined gpio and pin controller driver for Renesas RZ/A1 r7s72100 SoC. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/pinctrl/Kconfig| 10 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-rza1.c

[PATCH v2 5/7] arm: dts: genmai: Add SCIF2 pin group

2017-03-20 Thread Jacopo Mondi
Add pin configuration subnode for SCIF2 serial debug interface. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm/boot/dts/r7s72100-genmai.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts b/arch/arm/boot/dts/r7

[PATCH v2 3/7] arm: dts: dt-bindings: Add Renesas RZ pinctrl header

2017-03-20 Thread Jacopo Mondi
Add dt-bindings for Renesas r7s72100 pin controller header file. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- include/dt-bindings/pinctrl/r7s72100-pinctrl.h | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 include/dt-bindings/pinctrl/r7

[PATCH v2 4/7] arm: dts: r7s72100: Add pin controller node

2017-03-20 Thread Jacopo Mondi
Add pin controller node with 12 gpio controller sub-nodes to r7s72100 dtsi. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm/boot/dts/r7s72100.dtsi | 80 + 1 file changed, 80 insertions(+) diff --git a/arch/arm/boot/dts/r7s72100.

[PATCH v2 7/7] arm: dts: genmai: Add user led device nodes

2017-03-20 Thread Jacopo Mondi
Add device nodes for user leds on Genmai board. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm/boot/dts/r7s72100-genmai.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts b/arch/arm/boot/dts/r7s72100-genm

[PATCH v2 0/7] Renesas RZ/A1 pin and gpio controller

2017-03-20 Thread Jacopo Mondi
ess verbose Jacopo Mondi (7): pinctrl: Renesas RZ/A1 pin and gpio controller dt-bindings: pinctrl: Add RZ/A1 bindings doc arm: dts: dt-bindings: Add Renesas RZ pinctrl header arm: dts: r7s72100: Add pin controller node arm: dts: genmai: Add SCIF2 pin group arm: dts: genmai: Add RIIC2 pin gr

Re: [PATCH 4/7] arm: dts: r7s72100: Add pin controller node

2017-03-20 Thread jacopo
Hi Chris, Geert, On Fri, Mar 03, 2017 at 01:24:51PM +, Chris Brandt wrote: > Hi Geert, > > On Friday, March 03, 2017, Geert Uytterhoeven wrote: > > > Is it possible to change the number of port pins in the board dts file? > > > For example: > > > RZ/A1H: P5_0 - P5_10 > > > RZ/A1L: P5_0 -

Re: [PATCH 3/7] arm: dts: dt-bindings: Add Renesas RZ pinctrl header

2017-03-16 Thread jacopo mondi
Hi Chris, On 09/03/2017 15:54, Chris Brandt wrote: Hi Jacopo, On Monday, February 20, 2017, Jacopo Mondi wrote: Add dt-bindings for Renesas r7s72100 pin controller header file. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- include/dt-bindings/pinctrl/r7s72100-pinctrl.

Re: [PATCH 1/7] pinctrl: Renesas RZ/A1 pin and gpio controller

2017-03-16 Thread jacopo mondi
Hi Chris, thanks for looking into this... On 09/03/2017 15:55, Chris Brandt wrote: Hi Jacopo, On Monday, February 20, 2017, Jacopo Mondi wrote: Add combined gpio and pin controller driver for Renesas RZ/A1 r7s72100 SoC. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- d

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

2017-03-07 Thread jacopo mondi
Hi Jonathan, + Neil Amstrong from Baylibre On 05/03/2017 11:49, Jonathan Cameron wrote: On 27/02/17 09:09, jacopo mondi wrote: Hi Jonathan, On 25/02/2017 17:09, Jonathan Cameron wrote: On 24/02/17 15:05, Jacopo Mondi wrote: Hello! This series adds driver and documentation for Maxim

[PATCH] drm: rcar-du: Make sure planes are created by VSP

2017-03-03 Thread Jacopo Mondi
On Gen3 platforms compositing planes are allocated by VSP on behalf of DRM/KMS. If VSP support is not compiled in, vsp initialization stub routine is called. Return an error from that stub to fail explicitly, otherwise accessing planes leads to invalid memory errors. Signed-off-by: Jacopo Mondi

Re: [PATCH] drm: rcar-du: Make sure DRM planes are created by VSP1

2017-03-03 Thread jacopo mondi
HI Laurent, On 03/03/2017 12:26, Laurent Pinchart wrote: Hi Jacopo, Thank you for the patch. On Friday 03 Mar 2017 09:09:38 Jacopo Mondi wrote: On Gen3 platforms compositing planes are allocated by VSP on behalf of DRM/KMS. If VSP support is not compiled in, vsp1 initialization stub routine

[PATCH] drm: rcar-du: Make sure DRM planes are created by VSP1

2017-03-03 Thread Jacopo Mondi
created. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/gpu/drm/rcar-du/rcar_du_kms.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_kms.c b/drivers/gpu/drm/rcar-du/rcar_du_kms.c index b5d3f16..7f56c09 100644 --- a/drivers/gpu/dr

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

2017-02-27 Thread jacopo mondi
Hi Jonathan, On 25/02/2017 17:09, Jonathan Cameron wrote: On 24/02/17 15:05, Jacopo Mondi wrote: 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

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

2017-02-26 Thread jacopo mondi
Hi Jonathan, thanks for review On 25/02/2017 16:53, Jonathan Cameron wrote: On 24/02/17 15:05, Jacopo Mondi wrote: Add iio driver for Maxim max9611/9612 current-sense amplifiers with 12-bits ADC. Data sheet link always good Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>

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 <jacopo+rene...@jmondi.org> wrote: --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/max961x.txt @@ -0,0 +1,27 @@ +*

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 <jacopo+rene...@jmondi.org> wrote: Add device tree bindings documentation for Maxim max961x current sense amplifier. Signed-off-by: Jacopo

[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 <jacopo+rene...@jmondi.org> --- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm6

[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 <jacopo+rene...@jmondi.org> --- drivers/iio/adc/Kconfig | 10 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/max961x.c | 648 +++

[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 <jacopo+rene...@jmondi.org> --- .../devicetree/bindings/iio/adc/max961x.txt| 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documen

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

2017-02-24 Thread Jacopo Mondi
xposed though some other attributes which are not _raw and _scale, or if their calculation should be completely left to userspace tools. Thanks j Jacopo Mondi (4): Documentation: dt-bindings: iio: Add max961x iio: Documentation: Add max961x sysfs documentation iio: adc: Add max9611/96

[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 <jacopo+rene...@jmondi.org> --- Documentation/ABI/testing/sysfs-bus-iio-adc-max961x | 5 + 1 file changed, 5 insertions(+) create mode

Re: [PATCH 1/7] pinctrl: Renesas RZ/A1 pin and gpio controller

2017-02-21 Thread jacopo mondi
Hello, small self-review On 20/02/2017 18:13, Jacopo Mondi wrote: [snip] +/** + * rza1_pinctrl_register() - Enumerate pins, ports, gpiochips and functions and + * register to pinctrl and gpio cores + * + * @rza1_pctl: RZ/A1 pin controller device + */ +static int

Re: [PATCH 4/7] arm: dts: r7s72100: Add pin controller node

2017-02-21 Thread jacopo mondi
Hello, self-review to save you all some time On 20/02/2017 18:13, Jacopo Mondi wrote: Add pin controller node with 12 gpio controller sub-nodes to r7s72100 dtsi. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm/boot/dts/r7s72100.dts

[PATCH 6/7] arm: dts: genmai: Add RIIC2 pin group

2017-02-20 Thread Jacopo Mondi
Add pin configuration subnode for RIIC2 interface. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm/boot/dts/r7s72100-genmai.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts b/arch/arm/boot/dts/r7s72100-genmai.dts

[PATCH 3/7] arm: dts: dt-bindings: Add Renesas RZ pinctrl header

2017-02-20 Thread Jacopo Mondi
Add dt-bindings for Renesas r7s72100 pin controller header file. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- include/dt-bindings/pinctrl/r7s72100-pinctrl.h | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 include/dt-bindings/pinctrl/r7

Re: [RFC 1/5] pinctrl: rz-pfc: Add Renesas RZ pinctrl core module

2017-02-07 Thread jacopo mondi
Hi Tony, On 06/02/2017 19:28, Tony Lindgren wrote: * jacopo mondi <jac...@jmondi.org> [170206 10:16]: Currently there is no generic pinctrl and pinmux function to retrieve a group or function by name, but only by their id (selector). It would take 10minutes to add them, but I wonder if

Re: [RFC 1/5] pinctrl: rz-pfc: Add Renesas RZ pinctrl core module

2017-02-06 Thread jacopo mondi
Hi Laurent, On 01/02/2017 16:21, Laurent Pinchart wrote: Hi Jacopo, [snip] +} + +/** + * rz_dt_node_to_map() - Parse device tree nodes and collect pins, groups and + * functions I don't think we have groups and functions, do we ? Sort of.. The hardware does

Re: [RFC 4/5] arm: dts: r7s1000: Add pincontroller node

2017-01-31 Thread jacopo mondi
Hi Geert, On 26/01/2017 20:54, Geert Uytterhoeven wrote: Hi Jacopo, On Wed, Jan 25, 2017 at 7:09 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> wrote: Add pincontroller node compatible with the new Renesas RZ/A1 pincontroller driver. Signed-off-by: Jacopo Mondi <jacopo+rene...@j

Re: [RFC 3/5] arm: dts: dt-bindings: Add Renesas RZ pinctrl header

2017-01-31 Thread jacopo mondi
Hi Geert, Laurent, On 30/01/2017 19:30, Laurent Pinchart wrote: On Thursday 26 Jan 2017 20:52:33 Geert Uytterhoeven wrote: On Wed, Jan 25, 2017 at 7:09 PM, Jacopo Mondi wrote: Add dt-bindings header for Renesas RZ pincontroller. The header defines macros for pin description and alternate

Re: [RFC 1/5] pinctrl: rz-pfc: Add Renesas RZ pinctrl core module

2017-01-31 Thread jacopo mondi
Hi Chris, On 30/01/2017 20:19, Chris Brandt wrote: Hi Jacopo, On Wednesday, January 25, 2017, Jacopo Mondi wrote: + + return 0; + +free_map: + devm_kfree(rz_pinctrl->dev, *map); +free_fngrps: + devm_kfree(rz_pinctrl->dev, fngrps); +free_pins: + devm_kfree(rz_p

Re: [RFC 0/5] Renesas RZ series pinctrl driver

2017-01-30 Thread jacopo mondi
Hi Tony, On 30/01/2017 16:53, Tony Lindgren wrote: * Linus Walleij <linus.wall...@linaro.org> [170130 05:53]: On Wed, Jan 25, 2017 at 7:09 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> wrote: after having discussed in great detail the RZ series per-pin PFC hardware p

Re: [RFC fixes 0/2] FIX: Renesas RZ series pinctrl driver

2017-01-30 Thread jacopo mondi
Hi Chris, thanks for testing the series On 27/01/2017 22:09, Chris Brandt wrote: Hi Jacopo, On Friday, January 27, 2017, Jacopo Mondi wrote: Hello, sorry if I'm sending 2 patches on top of an RFC series with comments still pending, but these patches enabled me to properly test pin

[RFC fixes 2/2] pinctrl: rz-pfc: Fix RZ/A1 pin function configuration

2017-01-27 Thread Jacopo Mondi
through RIIC2 interface. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/pinctrl/rz-pfc/pinctrl-rza1.c | 55 +++ 1 file changed, 36 insertions(+), 19 deletions(-) diff --git a/drivers/pinctrl/rz-pfc/pinctrl-rza1.c b/drivers/pinctrl/

[RFC fixes 0/2] FIX: Renesas RZ series pinctrl driver

2017-01-27 Thread Jacopo Mondi
driver which [2/2] applies on. When sending v2 of the whole series I'll probably squash these, but if someone is testing the RFC series I wanted to make sure he does not waste his time with a broken driver. Thanks j Jacopo Mondi (2): arm: dts: genmai: Configure RIIC2 pins pinctrl: rz-pfc

[RFC fixes 1/2] arm: dts: genmai: Configure RIIC2 pins

2017-01-27 Thread Jacopo Mondi
Add pin configuration for RIIC2 pins interface. The i2c2 is connected to internal eeprom. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm/boot/dts/r7s72100-genmai.dts | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/r7

Re: [RFC 1/5] pinctrl: rz-pfc: Add Renesas RZ pinctrl core module

2017-01-26 Thread jacopo mondi
Hi Chris, On 26/01/2017 03:58, Chris Brandt wrote: Hi Jacopo, On Wednesday, January 25, 2017, Jacopo Mondi wrote: drivers/pinctrl/Kconfig | 1 + drivers/pinctrl/Makefile| 1 + drivers/pinctrl/rz-pfc/Kconfig | 18 ++ drivers/pinctrl/rz-pfc/Makefile | 1

[RFC 1/5] pinctrl: rz-pfc: Add Renesas RZ pinctrl core module

2017-01-25 Thread Jacopo Mondi
Add core module for per-pin Renesas RZ series pin controller. The core module allows SoC driver to register their pins and SoC specific operations and interfaces with pinctrl and pinmux core on their behalf. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/pinctrl/K

[RFC 3/5] arm: dts: dt-bindings: Add Renesas RZ pinctrl header

2017-01-25 Thread Jacopo Mondi
Add dt-bindings header for Renesas RZ pincontroller. The header defines macros for pin description and alternate function numbers. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- include/dt-bindings/pinctrl/pinctrl-renesas-rz.h | 19 +++ 1 file changed, 19 inse

[RFC 0/5] Renesas RZ series pinctrl driver

2017-01-25 Thread Jacopo Mondi
send out (so please bear with me on this :) Thank you j Jacopo Mondi (5): pinctrl: rz-pfc: Add Renesas RZ pinctrl core module pinctrl: rz-pfc: Add Renesas RZ/A1 pinctrl driver arm: dts: dt-bindings: Add Renesas RZ pinctrl header arm: dts: r7s1000: Add pincontroller node arm: d

[RFC 5/5] arm: dts: genmai: Add SCIF2 pin group

2017-01-25 Thread Jacopo Mondi
Add TxD and RxD pin configuration for SCIF2 serial communication interface on r7s72100 Genmai board. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm/boot/dts/r7s72100-genmai.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/r7

[RFC 2/5] pinctrl: rz-pfc: Add Renesas RZ/A1 pinctrl driver

2017-01-25 Thread Jacopo Mondi
Add pin controller driver for Renesas RZ/A1 SoC. The SoC driver registers to rz-pfc core module and provides pin description array and SoC specific pin mux operation. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/pinctrl/rz-pfc/Kconfig| 7 + drivers/pinctrl/

Re: [PATCH v3] pinctrl: sh-pfc: r8a7791: Add ADI pinconf support

2017-01-19 Thread jacopo mondi
Hi Marek, On 19/01/2017 17:06, Marek Vasut wrote: Please add my Tested-by: Marek Vasut Thanks! Sending to renesas-soc list as well as, if I'm not wrong, PFC patches go through Geert's tree -- To unsubscribe from this list: send the line "unsubscribe linux-gpio"

[PATCH v5 0/2] iio: adc: Add Maxim MAX11100 driver

2017-01-18 Thread Jacopo Mondi
o the list of required properties and use a better namimg for the adc device node in bindings documentation as suggested by Geert. v4 -> v5: - make spi_read() destination buffer cacheline aligned - add indio_dev->name attribute. Jacopo Mondi (2): iio: adc: Add Maxim M

[PATCHv5 2/2] dt-bindings: iio: document MAX11100 ADC

2017-01-18 Thread Jacopo Mondi
Add device tree bindings documentation for Maxim MAX11100 single-channel ADC Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> Acked-by: Wolfram Sang <wsa+rene...@sang-engineering.com> --- .../devicetree/binding

[PATCHv5 1/2] iio: adc: Add Maxim MAX11100 driver

2017-01-18 Thread Jacopo Mondi
From: Jacopo Mondi <jac...@jmondi.org> Add iio driver for Maxim MAX11100 single-channel ADC. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Tested-by: Marek Vasut <marek.va...@gmail.com> --- drivers/iio/adc/Kconfig| 9 +++ drivers/iio/adc/Makefile | 1

Re: [PATCH v3 3/8] gpio: gpio-rz: GPIO driver for Renesas RZ series

2017-01-18 Thread jacopo mondi
Hi Linus, thanks for review On 18/01/2017 14:58, Linus Walleij wrote: On Mon, Jan 16, 2017 at 1:12 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> wrote: From: Magnus Damm <d...@opensource.se> This commit combines Magnus' original driver and minor fixes to forward-port it to a

[PATCH v3 5/8] arm: dts: r7s72100-genmai: SCIF2 PINCTRL configuration

2017-01-16 Thread Jacopo Mondi
From: Magnus Damm <d...@opensource.se> Configure the r7s72100 PINCTRL hardware and select pin function for the SCIF2 serial console. Signed-off-by: Magnus Damm <d...@opensource.se> Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Acked-by: Laurent Pinch

[PATCH v3 6/8] arm: dts: r7s72100-genmai: LED1 and LED2 support

2017-01-16 Thread Jacopo Mondi
From: Magnus Damm Add support for Genmai board LED1 and LED2 via gpio-leds. Signed-off-by: Magnus Damm Acked-by: Laurent Pinchart --- arch/arm/boot/dts/r7s72100-genmai.dts | 11 +++ 1 file changed, 11

[PATCH v3 4/8] arm: dts: r7s72100: GPIO and PFC device nodes

2017-01-16 Thread Jacopo Mondi
From: Magnus Damm <d...@opensource.se> Add support for r7s72100 PFC and GPIO device nodes port0 -> port11 and jtagport0. Signed-off-by: Magnus Damm <d...@opensource.se> Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm/boot/dt

[PATCH v3 1/8] pinctrl: sh-pfc: Add r7s72100 PFC driver

2017-01-16 Thread Jacopo Mondi
re recent kernel (v4.10) Signed-off-by: Magnus Damm <d...@opensource.se> Signed-off-by: Wolfram Sang <w...@sang-engineering.com> Signed-off-by: Simon Horman <horms+rene...@verge.net.au> Signed-off-by: Geert Uytterhoeven <geert+rene...@glider.be> Signed-off-by:

[PATCH v3 0/8] Renesas RZ PFC and GPIO driver

2017-01-16 Thread Jacopo Mondi
ot;renesas" prefix from "groups" and "function" attributes as suggested by Geert. --- Geert Uytterhoeven (1): arm: dts: r7s72100-genmai: Add pinctrl for RSPI Jacopo Mondi (1): pinctrl: sh-pfc: r7s72100: Configure I/O mode Magnus Damm (5): pinctrl: sh-pfc: Add r7s7210

[PATCH v3 2/8] pinctrl: sh-pfc: r7s72100: Configure I/O mode

2017-01-16 Thread Jacopo Mondi
and bidirection control for port mode configuration. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/pinctrl/sh-pfc/pfc-r7s72100.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/pinctrl/sh-pfc/pfc-r7s72100.c b/drivers/pinctrl/sh-p

[PATCH v3 3/8] gpio: gpio-rz: GPIO driver for Renesas RZ series

2017-01-16 Thread Jacopo Mondi
Series processors. Signed-off-by: Magnus Damm <d...@opensource.se> Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- drivers/gpio/Kconfig | 6 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-rz.c | 211 + 3 files chang

[PATCH v3 7/8] arm: dts: r7s72100-genmai:Add ethernet PFC node

2017-01-16 Thread Jacopo Mondi
From: Simon Horman <horms+rene...@verge.net.au> Squash Simon's original commit with his fixup of sh_eth pin names Signed-off-by: Simon Horman <horms+rene...@verge.net.au> Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- arch/arm/boot/dts/r7s721

Re: [PATCH v4 0/2] iio: adc: Add Maxim MAX11100 driver

2017-01-15 Thread jacopo mondi
Hi Jonathan, On 15/01/2017 15:31, Jonathan Cameron wrote: On 15/01/17 14:13, jacopo mondi wrote: Hi Jonathan, thanks for review, On 13/01/2017 10:50, Jacopo Mondi wrote: Hello, sending out v4 splitting device tree bindings documentation and actual ADC driver. No changes in driver code

Re: [PATCH v4 0/2] iio: adc: Add Maxim MAX11100 driver

2017-01-15 Thread jacopo mondi
Hi Jonathan, thanks for review, On 13/01/2017 10:50, Jacopo Mondi wrote: Hello, sending out v4 splitting device tree bindings documentation and actual ADC driver. No changes in driver code since v3. Same question for iio maintainers here: I would like to have clarified the measure unit

[PATCH v4 2/2] dt-bindings: iio: document MAX11100 ADC

2017-01-13 Thread Jacopo Mondi
Add device tree bindings documentation for Maxim MAX11100 single-channel ADC Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> --- .../devicetree/bindings/iio/adc/max11100.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devi

[PATCH v4 1/2] iio: adc: Add Maxim MAX11100 driver

2017-01-13 Thread Jacopo Mondi
From: Jacopo Mondi <jac...@jmondi.org> Add iio driver for Maxim MAX11100 single-channel ADC. Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org> Tested-by: Marek Vasut <marek.va...@gmail.com> --- drivers/iio/adc/Kconfig| 9 +++ drivers/iio/adc/Makefile | 1

[PATCH v4 0/2] iio: adc: Add Maxim MAX11100 driver

2017-01-13 Thread Jacopo Mondi
tation as suggested by Geert. Jacopo Mondi (2): iio: adc: Add Maxim MAX11100 driver dt-bindings: iio: document MAX11100 ADC .../devicetree/bindings/iio/adc/max11100.txt | 19 +++ drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile

Re: [PATCH v3] iio: adc: Add Maxim MAX11100 driver

2017-01-13 Thread jacopo mondi
Hi Geert, On 13/01/2017 09:27, Geert Uytterhoeven wrote: Hi Jacopo, On Thu, Jan 12, 2017 at 11:51 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> wrote: From: Jacopo Mondi <jac...@jmondi.org> Add IIO driver for Maxim MAX11100 single-channel ADC. Add DT bindings documentation.

[PATCH v3] iio: adc: Add Maxim MAX11100 driver

2017-01-12 Thread Jacopo Mondi
From: Jacopo Mondi <jac...@jmondi.org> Add IIO driver for Maxim MAX11100 single-channel ADC. Add DT bindings documentation. Signed-off-by: Jacopo Mondi <jac...@jmondi.org> Tested-by: Marek Vasut <marek.va...@gmail.com> --- Sending v3 incorporating last comments from revie

Re: [PATCH 2/3] gpio: gpio-rz: GPIO driver for Renesas RZ series

2017-01-12 Thread jacopo mondi
Hi Chris, On 12/01/2017 15:39, Chris Brandt wrote: Hi Jacopo, On Thursday, January 12, 2017, jacopo mondi wrote: To read the pin direction I would need to add one more register to the "reg" property range provided in the DTS. This is of course doable, but I would have two ques

Re: [PATCH 2/3] gpio: gpio-rz: GPIO driver for Renesas RZ series

2017-01-12 Thread jacopo mondi
Hi Linus, thanks for review On 11/01/2017 15:55, Linus Walleij wrote: On Mon, Jan 9, 2017 at 8:31 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> wrote: +static void rz_gpio_free(struct gpio_chip *chip, unsigned offset) +{ + pinctrl_free_gpio(chip->base + offset); + +

Re: [PATCH 0/3] Renesas RZ PFC and GPIO driver

2017-01-11 Thread jacopo mondi
Hi Laurent, On 11/01/2017 17:31, Laurent Pinchart wrote: Hi Jacopo, [snip] I was wondering if that should not be be turned into something more similar to the pinctrl-single defined ABI. In that case it would look like this (please excuse the pseduo-dts syntax here) scif2_pins

Re: [PATCH 0/3] Renesas RZ PFC and GPIO driver

2017-01-11 Thread jacopo mondi
Hi Laurent, On 11/01/2017 12:22, Laurent Pinchart wrote: Hi Jacopo, [snip] Here is my general question: Which of these 2 approaches are better? A) In the DT, the user ask "enable Ethernet please" and magic happens in the pfc driver. B) In the DT, the user looks up the c

[PATCH v2 1/7] pinctrl: sh-pfc: Add r7s72100 PFC driver

2017-01-11 Thread Jacopo Mondi
From: Magnus Damm <d...@opensource.se> Squash commits in Geert's renesas-driver/genmai-gpio-and-pfc branch that add support for r7s72100 PFC. This squash combines commits for Magnus' original driver and minor fixes to forward-port it to a more recent kernel (v4.10) Signed-off-by: Jacopo

<    3   4   5   6   7   8   9   >