lkml.org 
[lkml]   [2021]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] ARM: dts: sun5i: Add dts for inet86v_rev2
On Thu, Jan 28, 2021 at 06:23:29PM +0100, Maxime Ripard wrote:
> Hi,
Hi,
>
> On Sun, Jan 24, 2021 at 08:39:03PM +0100, Alexandre GRIVEAUX wrote:
> > Add Inet 86V Rev 2 support, based upon Inet 86VS.
> >
> > The Inet 86V use SL1536 touchpanel controller, the Inet 86VS a GSL1680,
> > which make them both incompatible.
> >
> > Missing things:
> > - Accelerometer (MXC6225X)
> > - Touchpanel (Sitronix SL1536)
> > - Nand (29F32G08CBACA)
> > - Camera (HCWY0308)
> >
> > Signed-off-by: Alexandre GRIVEAUX <agriveaux@deutnet.info>
> > ---
> > arch/arm/boot/dts/sun5i-a13-inet-86v-rev2.dts | 17 +++++++++++++++++
>
> You have to add it to the Makefile
>
Ok.
> > 1 file changed, 17 insertions(+)
> > create mode 100644 arch/arm/boot/dts/sun5i-a13-inet-86v-rev2.dts
> >
> > diff --git a/arch/arm/boot/dts/sun5i-a13-inet-86v-rev2.dts b/arch/arm/boot/dts/sun5i-a13-inet-86v-rev2.dts
> > new file mode 100644
> > index 000000000000..581083e932d8
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/sun5i-a13-inet-86v-rev2.dts
> > @@ -0,0 +1,17 @@
> > +// SPDX-License-Identifier: GPL-2.0+
> > +/*
> > + * Copyright 2021 Alexandre Griveaux <agriveaux@deutnet.info>
> > + *
> > + * Minimal dts file for the iNet 86V
> > + */
> > +
> > +/dts-v1/;
> > +
> > +#include "sun5i-a13.dtsi"
> > +#include "sun5i-reference-design-tablet.dtsi"
> > +
> > +/ {
> > + model = "iNET 86V Rev 02";
> > + compatible = "inet,86v-rev2", "allwinner,sun5i-a13";
>
> inet should be documented in the vendor prefixes, and that compatible
> should be documented in Documentation/devicetree/bindings/arm/sunxi.yaml
>

I forgot, but should be:

- description: iNet-86V Rev 02
items:
- const: primux,inet86v-rev2
- const: allwinner,sun5i-a13

> Having the first rev compatible would be good too

Unfortunatly, I didn't find inet86v rev1 on FCC website and on
linux-sunxi.

>
> > +
> > +};
>
> But I'm wondering. If there's nothing here to add, why would we need
> that DT in the first place?
>
I prefer to add often instead of bulk adding, and to show there are some
board to add missing things like those above.

> Maxime

Thanks,
Alexandre.

\
 
 \ /
  Last update: 2021-02-01 18:20    [W:0.270 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site