2020-02-10 10:36:46

by Alexandre GRIVEAUX

[permalink] [raw]
Subject: [PATCH] ARM: dts: sun5i: Add dts for inet86v_rev2

From: Alexandre GRIVEAUX <[email protected]>

Add Inet 86V Rev 2 support, based upon Inet 86VS.

Missing things:
- Accelerometer (MXC6225X)
- Touchpanel (Sitronix SL1536)
- Nand (29F32G08CBACA)
- Camera (HCWY0308)

Signed-off-by: Alexandre GRIVEAUX <[email protected]>
---
.../devicetree/bindings/arm/sunxi.yaml | 5 +++++
arch/arm/boot/dts/sun5i-a13-inet-86v-rev2.dts | 17 +++++++++++++++++
2 files changed, 22 insertions(+)
create mode 100644 arch/arm/boot/dts/sun5i-a13-inet-86v-rev2.dts

diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml
index 327ce6730823..af0db1fe69c9 100644
--- a/Documentation/devicetree/bindings/arm/sunxi.yaml
+++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
@@ -282,6 +282,11 @@ properties:
- const: primux,inet86dz
- const: allwinner,sun8i-a23

+ - description: iNet-86V Rev 02
+ items:
+ - const: primux,inet86v-rev2
+ - const: allwinner,sun5i-a13
+
- description: iNet-9F Rev 03
items:
- const: inet-tek,inet9f-rev03
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..9b4c5349f048
--- /dev/null
+++ b/arch/arm/boot/dts/sun5i-a13-inet-86v-rev2.dts
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright 2020 Alexandre Griveaux <[email protected]>
+ *
+ * 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 = "primux,inet86v-rev2", "allwinner,sun5i-a13";
+
+};
--
2.20.1


2020-02-11 13:17:12

by Maxime Ripard

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: sun5i: Add dts for inet86v_rev2

On Mon, Feb 10, 2020 at 11:35:52AM +0100, [email protected] wrote:
> From: Alexandre GRIVEAUX <[email protected]>
>
> Add Inet 86V Rev 2 support, based upon Inet 86VS.
>
> Missing things:
> - Accelerometer (MXC6225X)
> - Touchpanel (Sitronix SL1536)
> - Nand (29F32G08CBACA)
> - Camera (HCWY0308)
>
> Signed-off-by: Alexandre GRIVEAUX <[email protected]>

Please read the documentation I sent you yesterday. In particular,
when submitting multiple versions, you should remove have the version
number in the title and a changelog.

Also, please ask questions if you're unsure about something, or
discuss something you do not agree with instead of ignoring the
comment.

Maxime


Attachments:
(No filename) (713.00 B)
signature.asc (235.00 B)
Download all attachments

2020-02-12 09:45:22

by Alexandre GRIVEAUX

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: sun5i: Add dts for inet86v_rev2

Le 11/02/2020 à 14:15, Maxime Ripard a écrit :
> On Mon, Feb 10, 2020 at 11:35:52AM +0100, [email protected] wrote:
>> From: Alexandre GRIVEAUX <[email protected]>
>>
>> Add Inet 86V Rev 2 support, based upon Inet 86VS.
>>
>> Missing things:
>> - Accelerometer (MXC6225X)
>> - Touchpanel (Sitronix SL1536)
>> - Nand (29F32G08CBACA)
>> - Camera (HCWY0308)
>>
>> Signed-off-by: Alexandre GRIVEAUX <[email protected]>
> Please read the documentation I sent you yesterday. In particular,
> when submitting multiple versions, you should remove have the version
> number in the title and a changelog.
>
> Also, please ask questions if you're unsure about something, or
> discuss something you do not agree with instead of ignoring the
> comment.
>
> Maxime

Hello,


Seem I misusing 'git send-email' because i already changed the subject
line (same apply to u-boot):

git send-email --from [email protected] --to
[email protected],[email protected],[email protected],[email protected]
--cc
[email protected],[email protected],[email protected]
--subject '[v2] ARM: dts: sun5i: Add dts for inet86v_rev2' --compose
/tmp/linux/0001-ARM-dts-sun5i-Add-dts-for-inet86v_rev2.patch

It's the first time i use git send-email, previously i used mutt to send
patchsets (on mips mostly).


Effectively i've forgot the changelog...


At why do we need another device tree:

inet86vs use a GSL1680 touchpanel controller and 4GB nand [0]

inet86vsuse a Sitonix SL1536 touchpanel controller and 8GB nand (can
have 16GB nand)[1]


Seem i've forgot to use:

git format-patch --subject-prefix="PATCH v2"


Thanks.

[0]https://fccid.io/2AARJ-AP7S118/Schematics/Schematics-2042312.pdfinet86vs
schematic

[1]https://fccid.io/XHW026/Schematics/Schematics-1820577.pdfinet86v
schematic

2020-02-14 13:19:05

by Maxime Ripard

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: sun5i: Add dts for inet86v_rev2

Hi,

On Wed, Feb 12, 2020 at 10:45:03AM +0100, Alexandre GRIVEAUX wrote:
> Le 11/02/2020 ? 14:15, Maxime Ripard a ?crit?:
> > On Mon, Feb 10, 2020 at 11:35:52AM +0100, [email protected] wrote:
> >> From: Alexandre GRIVEAUX <[email protected]>
> >>
> >> Add Inet 86V Rev 2 support, based upon Inet 86VS.
> >>
> >> Missing things:
> >> - Accelerometer (MXC6225X)
> >> - Touchpanel (Sitronix SL1536)
> >> - Nand (29F32G08CBACA)
> >> - Camera (HCWY0308)
> >>
> >> Signed-off-by: Alexandre GRIVEAUX <[email protected]>
> > Please read the documentation I sent you yesterday. In particular,
> > when submitting multiple versions, you should remove have the version
> > number in the title and a changelog.
> >
> > Also, please ask questions if you're unsure about something, or
> > discuss something you do not agree with instead of ignoring the
> > comment.
> >
> > Maxime
>
>
> Seem I misusing 'git send-email' because i already changed the subject
> line (same apply to u-boot):
>
> git send-email --from [email protected] --to
> [email protected],[email protected],[email protected],[email protected]
> --cc
> [email protected],[email protected],[email protected]
> --subject '[v2] ARM: dts: sun5i: Add dts for inet86v_rev2' --compose
> /tmp/linux/0001-ARM-dts-sun5i-Add-dts-for-inet86v_rev2.patch
>
> It's the first time i use git send-email, previously i used mutt to send
> patchsets (on mips mostly).
>
>
> Effectively i've forgot the changelog...

A simpler way, especially for a single patch, would be to use

git send-email -v2 --to $recipients --annotate $COMMIT^..$COMMIT

You can even keep the change log in the commit log itself by using ---
as a separator, so something like:

ARM: dts: my super title

Some nice awesome change

---

Changes from v1:
- Whatever.

> At why do we need another device tree:
>
> inet86vs use a GSL1680 touchpanel controller and 4GB nand [0]
>
> inet86vsuse a Sitonix SL1536 touchpanel controller and 8GB nand (can
> have 16GB nand)[1]

NAND size will be discovered so it's not really a concern. For the
touchscreen, you should make that clear in your commit log.

Maxime


Attachments:
(No filename) (2.18 kB)
signature.asc (235.00 B)
Download all attachments