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
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
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
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
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 not
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
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/
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
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
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
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
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
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
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/
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
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
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
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
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
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
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
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 @@
+*
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
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
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
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
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 +++
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:
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
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
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
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
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
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
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
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
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
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
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
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
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"
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>
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
.pin-controller: function 'du' not supported
sh-pfc e606.pin-controller: invalid function du in map table
rcar-du: probe of feb0.display failed with error -22
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
---
v1->v2:
- s/PCF/PFC/ in commit message according to Sergei Shtylyov'
Add IIO driver for Maxim MAX11100 single-channel ADC.
Add DT bindings documentation.
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
---
v1 -> v2:
- incorporated pmeerw's review comments
- retrieve vref from dts and use that to convert read_raw result
to mV
- add de
Add node to test MAX11100 ADC with LED28 connected to the chip input
line.
The ADC sits on a gpio-spi master.
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
---
Sending as RFC only, not for inclusion.
Used to test MAX11100 ADC driver currently connected to Koelsch GPIO
expander.
v1
Add IIO driver for Maxim MAX11100 single-channel ADC.
Support raw_read mode only.
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
---
drivers/iio/adc/Kconfig| 9 +++
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/max11100.c | 165 +
3
Hi Laurent, Chris,
On 10/01/2017 02:28, Laurent Pinchart wrote:
Hi Chris,
On Monday 09 Jan 2017 23:53:39 Chris Brandt wrote:
On Monday, January 09, 2017, Laurent Pinchart wrote:
Both the existing RZ/A model and the pinctrl model are in my opinion
improvements over the RZ/G and R-Car models.
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 correct
From: Magnus Damm <d...@opensource.se>
This is a squash of several commits, adding peripherals groups
configuration to r7s72100 device tree, and enabling some of them on
Genmai evaluation board
Signed-off-by: Jacopo Mondi <jacopo+rene...@j
Hello,
these patches are the result of a squash and forward porting of Magnus'
PFC and GPIO driver from
git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git tree
genmai-gpio-and-pfc branch to kernel v4.10
The PFC and GPIO driver have been forward ported to v4.10-rc1 with
From: Magnus Damm <d...@opensource.se>
This commit combines Magnus' original driver and minor fixes to
forward-port it to a more recent kernel version (v4.10)
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
gpio
last patch enables LVDS, which is a use case for selection of a non-direct
I/O mode.
Chris, as you have plans to work on LVDS enablement for Renesas' BSP, if you
have any time to test this settings and provide some feedback I would really
appreciate that :)
Thanks
j
Jacopo Mondi (3):
pinct
software I/O control, such as LVDS
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
drivers/pinctrl/sh-pfc/pfc-r7s72100.c | 124 +++---
1 file changed, 101 insertions(+), 23 deletions(-)
diff --git a/drivers/pinctrl/sh-pfc/pfc-r7s72100.c
b/drivers/pinc
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
configuring the pin in PORT mode
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
drivers/pinctrl/sh-pfc/pfc-r7s72100.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/pinctrl/sh-pfc/pfc-r7s72100.c
b/drivers/pinctrl/sh-pfc/pfc-r7s72100.c
index 7
The LVDS pin group has to be configured in software driven output
mode
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
drivers/pinctrl/sh-pfc/pfc-r7s72100.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/pinctrl/sh-pfc/pfc-r7s72100.c
b/d
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:
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
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);
+
+
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.
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
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
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
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
Hello,
these patches are the result of a squash and forward porting of Magnus'
PFC and GPIO driver from
git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git tree
genmai-gpio-and-pfc branch to kernel v4.10
The PFC and GPIO driver have been forward ported to v4.10-rc1 with
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
From: Geert Uytterhoeven
Add pinctrl for the existing rspi4 node on Genmai.
Signed-off-by: Geert Uytterhoeven
---
v5:
- Rebased, kept pinctrl only (RSPI nodes have been split off and
integrated before)
v4:
- No changes
v3:
- No
From: Magnus Damm
Configure the r7s72100 PINCTRL hardware and select pin function
for the SCIF2 serial console.
Signed-off-by: Magnus Damm
Acked-by: Laurent Pinchart
---
arch/arm/boot/dts/r7s72100-genmai.dts | 10
From: Magnus Damm <d...@opensource.se>
This commit combines Magnus' original driver and minor fixes to
forward-port it to a more recent kernel version (v4.10)
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
gpio
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
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
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>
[WIP] genmai sh_eth dts fixup
Signed-off-by: S
Hi Geert,
On 10/01/2017 16:07, Geert Uytterhoeven wrote:
Hi Jacopo,
On Mon, Jan 9, 2017 at 8:31 PM, Jacopo Mondi <jacopo+rene...@jmondi.org> wrote:
From: Magnus Damm <d...@opensource.se>
This is a squash of several commits, adding peripherals groups
configuration to r7s72100
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
Add pin configuration support for Gyro-ADC, named ADI on r8a7791 SoC.
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
---
Compiled only, not tested with an actual ADC.
For reference only, these are the changes introduced by Geert's private
review of first sketch of this patch:
* separa
signals (adi_chsel2 and adi_chsel2_b groups)
and up to 8 ADCs through 3 channel select signals (adi_chsel3 and
adi_chsel3_b groups)
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
---
Compiled only, not tested with an actual ADC.
For reference only, these are the changes introduced by Geert's p
signals (adi_chsel2 and adi_chsel2_b groups)
and up to 8 ADCs through 3 channel select signals (adi_chsel3 and
adi_chsel3_b groups)
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
---
Compiled only, not tested with an actual ADC.
For reference only, these are the changes introduced by G
he results of successive
analog-to-digital conversions and verifying they match the gpio863
output value.
Thanks
j
v1 -> v2:
* use "spidev" as compatible string in v1 [2/3] and drop [3/3]
consequentially.
* incorporate Geert's comments in [2/3] DTS file
Jacopo Mon
Add device node for the MAX11100 evaluation board connected to Genmai's
CN2.
The evaluation kit is connected to 3 GPIO lines configured as bitbanged
SPI master interface.
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 21 +
Fix invalid return value in gpio remove function
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
---
drivers/gpio/gpio-rz.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-rz.c b/drivers/gpio/gpio-rz.c
index a933dab..cb8f785 100644
--- a/drivers/gpi
Add device node for the MAX11100 evaluation board connected to Genmai's
CN2.
The evaluation kit is connected to 4 GPIO lines configured ad bitbanged
SPI master interface
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 22 ++
spidev is not meant to be configured directly from DTS anymore.
Since we're prototyping, add the "linux,spidev" compatibility string
back
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
---
drivers/spi/spidev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/sp
he results of successive
analog-to-digital conversions and verifying they match the gpio863
output value.
Thanks
j
Jacopo Mondi (3):
gpio-rz: Port to v3.18
dts: arm: genmai: Add MAXDESREF4x spidev
spidev: Add back "linux,spidev" as compatible
arch/arm/boot/dts/r7s7
Hi Jonathan,
On 30/12/2016 17:08, Jonathan Cameron wrote:
On 13/12/16 12:37, Jacopo Mondi wrote:
Add IIO driver for Maxim MAX11100 single-channel ADC.
Add DT bindings documentation.
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
A quick process related thing. Please don't post
documentation.
some more comments
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
---
v1 -> v2:
- incorporated pmeerw's review comments
- retrieve vref from dts and use that to convert read_raw result
to mV
- add device tree bindings documentation
---
.../devicetree/binding
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
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
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
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
- 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
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
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
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
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
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
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/
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
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/
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
1 - 100 of 819 matches
Mail list logo