[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9d66c639-7f3e-86f3-e744-237b4be31d09@st.com>
Date: Thu, 22 Feb 2018 15:34:28 +0000
From: Amelie DELAUNAY <amelie.delaunay@...com>
To: Linus Walleij <linus.walleij@...aro.org>
CC: Lee Jones <lee.jones@...aro.org>, Rob Herring <robh+dt@...nel.org>,
"Mark Rutland" <mark.rutland@....com>,
Russell King <linux@...linux.org.uk>,
Alexandre TORGUE <alexandre.torgue@...com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 4/6] ARM: dts: stm32: add MFX support on I2C1 on
stm32746g-eval
On 02/22/2018 02:54 PM, Linus Walleij wrote:
> On Thu, Feb 8, 2018 at 3:27 PM, Amelie Delaunay <amelie.delaunay@...com> wrote:
>
>> MFX is used as gpio expander on stm32746g-eval.
>>
>> Signed-off-by: Amelie Delaunay <amelie.delaunay@...com>
>
> (...)
>> + mfx: mfx@42 {
>> + compatible = "st,mfx";
>> + reg = <0x42>;
>> + interrupts = <8 1>;
>> + interrupt-parent = <&gpioi>;
>> + interrupt-controller;
>> + #interrupt-cells = <1>;
>> +
>> + mfxgpio: mfx_gpio {
>> + compatible = "st,mfx-gpio";
>> + interrupts = <0>;
>> + interrupt-parent = <&mfx>;
>> + gpio-controller;
>> + #gpio-cells = <2>;
>
> So I think this node should contain some pin config states
> that can be referenced by the drivers to set up push/pull
> etc. Probably it can use just standard pin config properties
> like sx150x.
>
I will check that point.
Regards,
Amelie
> Yours,
> Linus Walleij
>
Powered by blists - more mailing lists