lkml.org 
[lkml]   [2022]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] arm64: dts: ti: k3-am642-sk: Add DT entry for onboard LEDs
On 07:55-20220223, Nishanth Menon wrote:
> On 14:02-20220223, Aparna M wrote:
> > AM642 SK has 8 leds connected to tpic2810 onboard. Add support for these
> > gpio leds.
> >
> > Signed-off-by: Aparna M <a-m1@ti.com>
> > ---
> > arch/arm64/boot/dts/ti/k3-am642-sk.dts | 70 ++++++++++++++++++++++++++
> > 1 file changed, 70 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.dts b/arch/arm64/boot/dts/ti/k3-am642-sk.dts
> > index 6b04745147be..31e45bafa49e 100644
> > --- a/arch/arm64/boot/dts/ti/k3-am642-sk.dts
> [...]
>
> > +
> > + exp2: gpio@60 {
> > + compatible = "ti,tpic2810";
>
> Sorry, but no.
> please convert
> Documentation/devicetree/bindings/gpio/gpio-tpic2810.txt to yaml
>
> prior to any patches that enable it. (dtbs_check should have already
> warned you about this).

A patch for changing binding to yaml has already been sent.
Link to patchwork: https://patchwork.ozlabs.org/project/linux-gpio/patch/20220223072308.31868-1-a-m1@ti.com/

>
> > + reg = <0x60>;
> > + gpio-controller;
> > + #gpio-cells = <2>;
> > + gpio-line-names = "LED1","LED2","LED3","LED4","LED5","LED6","LED7","LED8";
> > + };
> > };
> >
> > &main_i2c3 {
> > --
> > 2.17.1
> >
>
> --
> Regards,
> Nishanth Menon
> Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D

Thanks,
Aparna M

\
 
 \ /
  Last update: 2022-02-23 17:19    [W:0.033 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site