From: Rob Herring <robh@kernel.org> To: Giulio Benetti <giulio.benetti@micronovasrl.com> Cc: Thierry Reding <thierry.reding@gmail.com>, devicetree@vger.kernel.org, David Airlie <airlied@linux.ie>, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Chen-Yu Tsai <wens@csie.org>, Maxime Ripard <maxime.ripard@free-electrons.com>, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 6/7] ARM: dts: sun7i: Add dts file for the A20-linova1-4_3 HMI Date: Mon, 26 Mar 2018 17:24:37 -0500 [thread overview] Message-ID: <20180326064506.rdrxk5inuyv73oej@rob-hp-laptop> (raw) In-Reply-To: <1521662593-25468-6-git-send-email-giulio.benetti@micronovasrl.com> On Wed, Mar 21, 2018 at 09:03:12PM +0100, Giulio Benetti wrote: > The A20-Linova1-4_3 HMI, also called Q027_2_A which is printed on > production label, is an industrial Human Machine Interface. > It features: > - 512MB DDR RAM > - 1 Sd-card >= 4GB > - 1 Usb otg(programmable via software) with A-Usb Connector > - 1 Usb host > - 1 Buzzer > - 1 Input for LiPo > - 1 Relay to signal absence of power supply > - 1 External Rtc with 56 bytes of ram + CR2032 battery > - 1 4.3" 24-bits Tft 480x272 with PCap on > - 1 Mono audio 1-watt amplifier > - 1 RS485 port > - 1 Power On Line through +12Vdc reaching 57.600baud, > from where it can be supplied and placed in a network of 50 units > - exposed jtag pins > > HMI is supplied from +12Vdc. > Ethernet is absent, so for debugging, need to enable rndis on Usb otg > port through an A-A usb cable. > It comes in different flavours for connector types and can be found with > umounted features as requested by customers. > > Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com> > --- > .../devicetree/bindings/arm/micronova.txt | 6 + > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/sun7i-a20-linova1-ctp-4_3i.dts | 192 +++++++++++++++++++++ > 3 files changed, 199 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/micronova.txt > create mode 100644 arch/arm/boot/dts/sun7i-a20-linova1-ctp-4_3i.dts > > diff --git a/Documentation/devicetree/bindings/arm/micronova.txt b/Documentation/devicetree/bindings/arm/micronova.txt > new file mode 100644 > index 0000000..35c4127 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/micronova.txt > @@ -0,0 +1,6 @@ > +Micronova Device Tree Bindings > +--------------------------- > + > +A20-LiNova1-4_3 HMI > +Required root node properties: > + - compatible = "micronova,a20-linova1-ctp-4_3i", "allwinner,sun7i-a20"; I'd prefer that board compatibles are documented where the SoC compatibles are documented, but it seems mostly allwinner platforms have not done this. > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index ade7a38..c45a4f25 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -941,6 +941,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \ > sun7i-a20-lamobo-r1.dtb \ > sun7i-a20-m3.dtb \ > sun7i-a20-mk808c.dtb \ > + sun7i-a20-linova1-ctp-4_3i.dtb\ > sun7i-a20-olimex-som-evb.dtb \ > sun7i-a20-olinuxino-lime.dtb \ > sun7i-a20-olinuxino-lime2.dtb \ > diff --git a/arch/arm/boot/dts/sun7i-a20-linova1-ctp-4_3i.dts b/arch/arm/boot/dts/sun7i-a20-linova1-ctp-4_3i.dts > new file mode 100644 > index 0000000..cd4ac73 > --- /dev/null > +++ b/arch/arm/boot/dts/sun7i-a20-linova1-ctp-4_3i.dts > @@ -0,0 +1,192 @@ > +/* > + * This is based on sun7i-a20-linova1-ctp-4_3i.dts > + * > + * Copyright 2014 - Hans de Goede <hdegoede@redhat.com> > + * Copyright (c) 2014 FUKAUMI Naoki <naobsd@gmail.com> > + * Copyright (c) 2018 Giulio Benetti <giulio.benetti@micronovasrl.com> > + * > + * This file is dual-licensed: you can use it either under the terms > + * of the GPL or the X11 license, at your option. Note that this dual > + * licensing only applies to this file, and not this project as a > + * whole. > + * > + * a) This file is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License as > + * published by the Free Software Foundation; either version 2 of the > + * License, or (at your option) any later version. > + * > + * This file is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * Or, alternatively, > + * > + * b) Permission is hereby granted, free of charge, to any person > + * obtaining a copy of this software and associated documentation > + * files (the "Software"), to deal in the Software without > + * restriction, including without limitation the rights to use, > + * copy, modify, merge, publish, distribute, sublicense, and/or > + * sell copies of the Software, and to permit persons to whom the > + * Software is furnished to do so, subject to the following > + * conditions: > + * > + * The above copyright notice and this permission notice shall be > + * included in all copies or substantial portions of the Software. > + * > + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, > + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES > + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND > + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT > + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, > + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > + * OTHER DEALINGS IN THE SOFTWARE. Use SPDX tag instead of license text. checkpatch.pl will now tell you this. > + */ > + > +/dts-v1/; > +#include "sun7i-a20.dtsi" > +#include "sunxi-common-regulators.dtsi" > + > +#include <dt-bindings/gpio/gpio.h> > +#include <dt-bindings/interrupt-controller/irq.h> > + > +/ { > + model = "Micronova srl LiNova1 CTP 4.3i"; > + compatible = "micronova,a20-linova1-ctp-4_3i", "allwinner,sun7i-a20"; > + > + aliases { > + serial0 = &uart0; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > + > + panel: panel { > + compatible = "cdtech,s043wq26h-ct7", "simple-panel"; > + power-supply = <®_vcc3v3>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + panel_input: endpoint@0 { > + reg = <0>; reg is not needed if there is only one child. > + remote-endpoint = <&tcon0_out_panel>; > + }; > + }; > + }; > +};
WARNING: multiple messages have this Message-ID (diff)
From: robh@kernel.org (Rob Herring) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 6/7] ARM: dts: sun7i: Add dts file for the A20-linova1-4_3 HMI Date: Mon, 26 Mar 2018 17:24:37 -0500 [thread overview] Message-ID: <20180326064506.rdrxk5inuyv73oej@rob-hp-laptop> (raw) In-Reply-To: <1521662593-25468-6-git-send-email-giulio.benetti@micronovasrl.com> On Wed, Mar 21, 2018 at 09:03:12PM +0100, Giulio Benetti wrote: > The A20-Linova1-4_3 HMI, also called Q027_2_A which is printed on > production label, is an industrial Human Machine Interface. > It features: > - 512MB DDR RAM > - 1 Sd-card >= 4GB > - 1 Usb otg(programmable via software) with A-Usb Connector > - 1 Usb host > - 1 Buzzer > - 1 Input for LiPo > - 1 Relay to signal absence of power supply > - 1 External Rtc with 56 bytes of ram + CR2032 battery > - 1 4.3" 24-bits Tft 480x272 with PCap on > - 1 Mono audio 1-watt amplifier > - 1 RS485 port > - 1 Power On Line through +12Vdc reaching 57.600baud, > from where it can be supplied and placed in a network of 50 units > - exposed jtag pins > > HMI is supplied from +12Vdc. > Ethernet is absent, so for debugging, need to enable rndis on Usb otg > port through an A-A usb cable. > It comes in different flavours for connector types and can be found with > umounted features as requested by customers. > > Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com> > --- > .../devicetree/bindings/arm/micronova.txt | 6 + > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/sun7i-a20-linova1-ctp-4_3i.dts | 192 +++++++++++++++++++++ > 3 files changed, 199 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/micronova.txt > create mode 100644 arch/arm/boot/dts/sun7i-a20-linova1-ctp-4_3i.dts > > diff --git a/Documentation/devicetree/bindings/arm/micronova.txt b/Documentation/devicetree/bindings/arm/micronova.txt > new file mode 100644 > index 0000000..35c4127 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/micronova.txt > @@ -0,0 +1,6 @@ > +Micronova Device Tree Bindings > +--------------------------- > + > +A20-LiNova1-4_3 HMI > +Required root node properties: > + - compatible = "micronova,a20-linova1-ctp-4_3i", "allwinner,sun7i-a20"; I'd prefer that board compatibles are documented where the SoC compatibles are documented, but it seems mostly allwinner platforms have not done this. > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index ade7a38..c45a4f25 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -941,6 +941,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \ > sun7i-a20-lamobo-r1.dtb \ > sun7i-a20-m3.dtb \ > sun7i-a20-mk808c.dtb \ > + sun7i-a20-linova1-ctp-4_3i.dtb\ > sun7i-a20-olimex-som-evb.dtb \ > sun7i-a20-olinuxino-lime.dtb \ > sun7i-a20-olinuxino-lime2.dtb \ > diff --git a/arch/arm/boot/dts/sun7i-a20-linova1-ctp-4_3i.dts b/arch/arm/boot/dts/sun7i-a20-linova1-ctp-4_3i.dts > new file mode 100644 > index 0000000..cd4ac73 > --- /dev/null > +++ b/arch/arm/boot/dts/sun7i-a20-linova1-ctp-4_3i.dts > @@ -0,0 +1,192 @@ > +/* > + * This is based on sun7i-a20-linova1-ctp-4_3i.dts > + * > + * Copyright 2014 - Hans de Goede <hdegoede@redhat.com> > + * Copyright (c) 2014 FUKAUMI Naoki <naobsd@gmail.com> > + * Copyright (c) 2018 Giulio Benetti <giulio.benetti@micronovasrl.com> > + * > + * This file is dual-licensed: you can use it either under the terms > + * of the GPL or the X11 license, at your option. Note that this dual > + * licensing only applies to this file, and not this project as a > + * whole. > + * > + * a) This file is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License as > + * published by the Free Software Foundation; either version 2 of the > + * License, or (at your option) any later version. > + * > + * This file is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * Or, alternatively, > + * > + * b) Permission is hereby granted, free of charge, to any person > + * obtaining a copy of this software and associated documentation > + * files (the "Software"), to deal in the Software without > + * restriction, including without limitation the rights to use, > + * copy, modify, merge, publish, distribute, sublicense, and/or > + * sell copies of the Software, and to permit persons to whom the > + * Software is furnished to do so, subject to the following > + * conditions: > + * > + * The above copyright notice and this permission notice shall be > + * included in all copies or substantial portions of the Software. > + * > + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, > + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES > + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND > + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT > + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, > + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING > + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > + * OTHER DEALINGS IN THE SOFTWARE. Use SPDX tag instead of license text. checkpatch.pl will now tell you this. > + */ > + > +/dts-v1/; > +#include "sun7i-a20.dtsi" > +#include "sunxi-common-regulators.dtsi" > + > +#include <dt-bindings/gpio/gpio.h> > +#include <dt-bindings/interrupt-controller/irq.h> > + > +/ { > + model = "Micronova srl LiNova1 CTP 4.3i"; > + compatible = "micronova,a20-linova1-ctp-4_3i", "allwinner,sun7i-a20"; > + > + aliases { > + serial0 = &uart0; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > + > + panel: panel { > + compatible = "cdtech,s043wq26h-ct7", "simple-panel"; > + power-supply = <®_vcc3v3>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + port at 0 { > + reg = <0>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + panel_input: endpoint at 0 { > + reg = <0>; reg is not needed if there is only one child. > + remote-endpoint = <&tcon0_out_panel>; > + }; > + }; > + }; > +};
next prev parent reply other threads:[~2018-03-26 22:29 UTC|newest] Thread overview: 81+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-03-21 20:03 [PATCH 1/7] dt-bindings: add cdtech vendor prefix Giulio Benetti 2018-03-21 20:03 ` Giulio Benetti 2018-03-21 20:03 ` [PATCH 2/7] drm/panel: add panel CDTech S070_WV95_CT16 to panel-simple Giulio Benetti 2018-03-21 20:03 ` Giulio Benetti 2018-03-21 20:03 ` Giulio Benetti 2018-03-26 22:24 ` Rob Herring 2018-03-26 22:24 ` Rob Herring 2018-03-21 20:03 ` [PATCH 3/7] drm/panel: add panel CDTech S043WQ26H-CT7 " Giulio Benetti 2018-03-21 20:03 ` Giulio Benetti 2018-03-21 20:03 ` Giulio Benetti 2018-03-26 22:24 ` Rob Herring 2018-03-26 22:24 ` Rob Herring 2018-03-21 20:03 ` [PATCH 4/7] ARM: dts: sun7i: Add pinmux settings for LCD0 RGB888 output Giulio Benetti 2018-03-21 20:03 ` Giulio Benetti 2018-03-21 20:03 ` Giulio Benetti 2018-03-25 14:09 ` Paul Kocialkowski 2018-03-25 14:09 ` Paul Kocialkowski 2018-03-25 14:09 ` Paul Kocialkowski 2018-03-26 10:01 ` Maxime Ripard 2018-03-26 10:01 ` Maxime Ripard 2018-03-26 10:01 ` Maxime Ripard 2018-03-26 11:27 ` Giulio Benetti 2018-03-26 11:27 ` Giulio Benetti 2018-03-26 11:46 ` Maxime Ripard 2018-03-26 11:46 ` Maxime Ripard 2018-03-26 11:46 ` Maxime Ripard 2018-03-21 20:03 ` [PATCH 5/7] dt-bindings: add micronova vendor prefix Giulio Benetti 2018-03-21 20:03 ` Giulio Benetti 2018-03-21 20:03 ` Giulio Benetti 2018-03-26 22:24 ` Rob Herring 2018-03-26 22:24 ` Rob Herring 2018-03-21 20:03 ` [PATCH 6/7] ARM: dts: sun7i: Add dts file for the A20-linova1-4_3 HMI Giulio Benetti 2018-03-21 20:03 ` Giulio Benetti 2018-03-21 20:03 ` Giulio Benetti 2018-03-26 22:24 ` Rob Herring [this message] 2018-03-26 22:24 ` Rob Herring 2018-03-21 20:03 ` [PATCH 7/7] ARM: dts: sun7i: Add dts file for the A20-linova1-7 HMI Giulio Benetti 2018-03-21 20:03 ` Giulio Benetti 2018-03-21 20:03 ` Giulio Benetti 2018-03-22 18:05 ` Maxime Ripard 2018-03-22 18:05 ` Maxime Ripard 2018-04-23 14:37 ` Giulio Benetti 2018-04-23 14:37 ` Giulio Benetti 2018-04-23 14:37 ` Giulio Benetti 2018-04-24 8:41 ` Maxime Ripard 2018-04-24 8:41 ` Maxime Ripard 2018-04-24 8:41 ` Maxime Ripard 2018-04-24 17:44 ` Giulio Benetti 2018-04-24 18:31 ` Giulio Benetti 2018-04-24 18:31 ` Giulio Benetti 2018-04-24 18:31 ` Giulio Benetti 2018-04-25 18:40 ` Maxime Ripard 2018-04-25 18:40 ` Maxime Ripard 2018-04-25 18:40 ` Maxime Ripard 2018-04-25 20:08 ` Giulio Benetti 2018-04-25 20:08 ` Giulio Benetti 2018-04-25 20:08 ` Giulio Benetti 2018-05-02 16:41 ` Giulio Benetti 2018-05-02 16:41 ` Giulio Benetti 2018-05-02 16:41 ` Giulio Benetti 2018-05-04 8:06 ` Maxime Ripard 2018-05-04 8:06 ` Maxime Ripard 2018-05-04 8:06 ` Maxime Ripard 2018-05-04 21:52 ` Giulio Benetti 2018-05-04 21:52 ` Giulio Benetti 2018-05-04 21:52 ` Giulio Benetti 2018-05-04 21:59 ` Sergey Suloev 2018-05-04 21:59 ` Sergey Suloev 2018-05-04 22:05 ` Giulio Benetti 2018-05-04 22:05 ` Giulio Benetti 2018-05-04 22:05 ` Giulio Benetti 2018-05-07 7:30 ` Maxime Ripard 2018-05-07 7:30 ` Maxime Ripard 2018-05-07 7:30 ` Maxime Ripard 2018-05-09 12:28 ` Giulio Benetti 2018-05-09 12:28 ` Giulio Benetti 2018-03-26 22:24 ` [PATCH 1/7] dt-bindings: add cdtech vendor prefix Rob Herring 2018-03-26 22:24 ` Rob Herring 2018-03-26 22:49 ` Giulio Benetti 2018-03-26 22:49 ` Giulio Benetti 2018-03-26 22:49 ` Giulio Benetti
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20180326064506.rdrxk5inuyv73oej@rob-hp-laptop \ --to=robh@kernel.org \ --cc=airlied@linux.ie \ --cc=devicetree@vger.kernel.org \ --cc=dri-devel@lists.freedesktop.org \ --cc=giulio.benetti@micronovasrl.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=maxime.ripard@free-electrons.com \ --cc=thierry.reding@gmail.com \ --cc=wens@csie.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.