lkml.org 
[lkml]   [2018]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 4/6] ARM: dts: stm32: add MFX support on I2C1 on stm32746g-eval
Date


On 02/22/2018 02:54 PM, Linus Walleij wrote:
> On Thu, Feb 8, 2018 at 3:27 PM, Amelie Delaunay <amelie.delaunay@st.com> wrote:
>
>> MFX is used as gpio expander on stm32746g-eval.
>>
>> Signed-off-by: Amelie Delaunay <amelie.delaunay@st.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
>
\
 
 \ /
  Last update: 2018-02-22 16:35    [W:0.236 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site