Re: [External] : [PATCH v6 01/12] dt-bindings: mfd: gpio: Add MAX7360
From: Mathieu Dubois-Briand
Date: Thu Apr 10 2025 - 04:25:44 EST
On Wed Apr 9, 2025 at 5:22 PM CEST, ALOK TIWARI wrote:
>
>
> On 09-04-2025 20:25, Mathieu Dubois-Briand wrote:
>> Add device tree bindings for Maxim Integrated MAX7360 device with
>> support for keypad, rotary, gpios and pwm functionalities.
>>
>> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@xxxxxxxxxxx>
>> ---
>> .../bindings/gpio/maxim,max7360-gpio.yaml | 83 ++++++++++
>> .../devicetree/bindings/mfd/maxim,max7360.yaml | 171 +++++++++++++++++++++
>> 2 files changed, 254 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/gpio/maxim,max7360-gpio.yaml b/Documentation/devicetree/bindings/gpio/maxim,max7360-gpio.yaml
>> new file mode 100644
>> index 000000000000..21d603d9504c
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/gpio/maxim,max7360-gpio.yaml
>> @@ -0,0 +1,83 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +$id: https://urldefense.com/v3/__http://devicetree.org/schemas/gpio/maxim,max7360-gpio.yaml*__;Iw!!ACWV5N9M2RV99hQ!LySDuQZdU3DANTEmkRlntMCbFm69zp24O0wAwuujlnN1Zh9-xPEHZu7fj5d_O7vIxUHn9b6gqg9MHtd9ntPvXQvakCad_v0$
>> +$schema: https://urldefense.com/v3/__http://devicetree.org/meta-schemas/core.yaml*__;Iw!!ACWV5N9M2RV99hQ!LySDuQZdU3DANTEmkRlntMCbFm69zp24O0wAwuujlnN1Zh9-xPEHZu7fj5d_O7vIxUHn9b6gqg9MHtd9ntPvXQvacsB3d9k$
>> +
>> +title: Maxim MAX7360 GPIO controller
>> +
>> +maintainers:
>> + - Kamel Bouhara <kamel.bouhara@xxxxxxxxxxx>
>> + - Mathieu Dubois-Briand <mathieu.dubois-briand@xxxxxxxxxxx>
>> +
>> +description: |
>> + Maxim MAX7360 GPIO controller, in MAX7360 chipset
>> + https://urldefense.com/v3/__https://www.analog.com/en/products/max7360.html__;!!ACWV5N9M2RV99hQ!LySDuQZdU3DANTEmkRlntMCbFm69zp24O0wAwuujlnN1Zh9-xPEHZu7fj5d_O7vIxUHn9b6gqg9MHtd9ntPvXQvavZnHZJk$
>> +
>> + The device provide two series of GPIOs, referred here as GPIOs and GPOs.
> typo: The device provides two series of GPIOs,
>> +
>> + PORT0 to PORT7 pins can be used as GPIOs, with support for interrupts and
>> + constant-current mode. These pins will also be used by the torary encoder and
> typo: ie rotary encoder ?
>> + PWM functionalities.
>> +
>> + COL2 to COL7 pins can be used as GPOs, there is no input capability. COL pins
>> + will be partitionned, with the first pins being affected to the keypad
>> + functionality and the last ones as GPOs.
>> +
> typo: partitionned -> partitioned
Thanks for your review, I fixed all 3 typos.
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com