linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ARM64: dts: meson-gxl: Add support for Libre Computer
@ 2017-06-16 12:06 Jerome Brunet
  2017-06-16 12:06 ` [PATCH 1/3] dt-bindings: add Imprecision Systems vendor prefix Jerome Brunet
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jerome Brunet @ 2017-06-16 12:06 UTC (permalink / raw)
  To: Kevin Hilman, Carlo Caione, Neil Armstrong
  Cc: Jerome Brunet, linux-amlogic, linux-arm-kernel, linux-kernel, devicetree

This patchset adds support for the Libre Computer from Imprecision Systems

This board derives from the s905x p212 reference design. it provides:
* Ethernet using the internal PHY
* 4 USB ports
* Composite Audio/Video jack
* HDMI
* IR

It also provides 2 Headers (40 and 8 pins) for GPIOs and the following
functions:
* 2 i2c busses
* SPI
* SDIO
* I2S 8ch output
* PWMs
* UART with HW flow control
* PCM
* 2 ADC Channels

Jerome Brunet (3):
  dt-bindings: add Imprecision Systems vendor prefix
  dt-bindings: arm: amlogic: Add Libre Computer Board
  ARM64: dts: meson-gxl: Add Libre Computer support

 Documentation/devicetree/bindings/arm/amlogic.txt  |  1 +
 .../devicetree/bindings/vendor-prefixes.txt        |  1 +
 arch/arm64/boot/dts/amlogic/Makefile               |  1 +
 .../dts/amlogic/meson-gxl-s905x-librecomputer.dts  | 92 ++++++++++++++++++++++
 4 files changed, 95 insertions(+)
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-librecomputer.dts

-- 
2.9.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/3] dt-bindings: add Imprecision Systems vendor prefix
  2017-06-16 12:06 [PATCH 0/3] ARM64: dts: meson-gxl: Add support for Libre Computer Jerome Brunet
@ 2017-06-16 12:06 ` Jerome Brunet
  2017-06-23 18:49   ` Rob Herring
  2017-06-16 12:06 ` [PATCH 2/3] dt-bindings: arm: amlogic: Add Libre Computer Board Jerome Brunet
  2017-06-16 12:06 ` [PATCH 3/3] ARM64: dts: meson-gxl: Add Libre Computer support Jerome Brunet
  2 siblings, 1 reply; 6+ messages in thread
From: Jerome Brunet @ 2017-06-16 12:06 UTC (permalink / raw)
  To: Kevin Hilman, Carlo Caione, Neil Armstrong
  Cc: Jerome Brunet, linux-amlogic, linux-arm-kernel, linux-kernel, devicetree

Imprecision System LLC is a single board computer manufacturer

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index ee2e10f2ae41..0c1083990b7f 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -145,6 +145,7 @@ ibm	International Business Machines (IBM)
 idt	Integrated Device Technologies, Inc.
 ifi	Ingenieurburo Fur Ic-Technologie (I/F/I)
 img	Imagination Technologies Ltd.
+imprecision	Imprecision Systems LLC
 infineon Infineon Technologies
 inforce	Inforce Computing
 ingenic	Ingenic Semiconductor
-- 
2.9.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/3] dt-bindings: arm: amlogic: Add Libre Computer Board
  2017-06-16 12:06 [PATCH 0/3] ARM64: dts: meson-gxl: Add support for Libre Computer Jerome Brunet
  2017-06-16 12:06 ` [PATCH 1/3] dt-bindings: add Imprecision Systems vendor prefix Jerome Brunet
@ 2017-06-16 12:06 ` Jerome Brunet
  2017-06-23 18:51   ` Rob Herring
  2017-06-16 12:06 ` [PATCH 3/3] ARM64: dts: meson-gxl: Add Libre Computer support Jerome Brunet
  2 siblings, 1 reply; 6+ messages in thread
From: Jerome Brunet @ 2017-06-16 12:06 UTC (permalink / raw)
  To: Kevin Hilman, Carlo Caione, Neil Armstrong
  Cc: Jerome Brunet, linux-amlogic, linux-arm-kernel, linux-kernel, devicetree

Add bindings documentation for the Libre Computer Board from Imprecision
Systems

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 Documentation/devicetree/bindings/arm/amlogic.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt
index 5c01e65951fa..d1c77d7ae11d 100644
--- a/Documentation/devicetree/bindings/arm/amlogic.txt
+++ b/Documentation/devicetree/bindings/arm/amlogic.txt
@@ -51,6 +51,7 @@ Board compatible values (alphabetically, grouped by SoC):
 
   - "amlogic,p212" (Meson gxl s905x)
   - "hwacom,amazetv" (Meson gxl s905x)
+  - "imprecision,librecomputer" (Meson gxl s905x)
   - "khadas,vim" (Meson gxl s905x)
 
   - "amlogic,p230" (Meson gxl s905d)
-- 
2.9.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/3] ARM64: dts: meson-gxl: Add Libre Computer support
  2017-06-16 12:06 [PATCH 0/3] ARM64: dts: meson-gxl: Add support for Libre Computer Jerome Brunet
  2017-06-16 12:06 ` [PATCH 1/3] dt-bindings: add Imprecision Systems vendor prefix Jerome Brunet
  2017-06-16 12:06 ` [PATCH 2/3] dt-bindings: arm: amlogic: Add Libre Computer Board Jerome Brunet
@ 2017-06-16 12:06 ` Jerome Brunet
  2 siblings, 0 replies; 6+ messages in thread
From: Jerome Brunet @ 2017-06-16 12:06 UTC (permalink / raw)
  To: Kevin Hilman, Carlo Caione, Neil Armstrong
  Cc: Jerome Brunet, linux-amlogic, linux-arm-kernel, linux-kernel, devicetree

Add support for the Libre Computer board from Imprecision Systems
More information about the board are available here:

https://libre.computer/blog/

Cc: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/Makefile               |  1 +
 .../dts/amlogic/meson-gxl-s905x-librecomputer.dts  | 92 ++++++++++++++++++++++
 2 files changed, 93 insertions(+)
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-librecomputer.dts

diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile
index 8a0e09250978..e8bea895f125 100644
--- a/arch/arm64/boot/dts/amlogic/Makefile
+++ b/arch/arm64/boot/dts/amlogic/Makefile
@@ -10,6 +10,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-wetek-hub.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-wetek-play2.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-hwacom-amazetv.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-khadas-vim.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-librecomputer.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-nexbox-a95x.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-p212.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-librecomputer.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-librecomputer.dts
new file mode 100644
index 000000000000..60d14b8a64b4
--- /dev/null
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-librecomputer.dts
@@ -0,0 +1,92 @@
+/*
+ * Copyright (c) 2017 BayLibre, SAS.
+ * Author: Neil Armstrong <narmstrong@baylibre.com>
+ * Author: Jerome Brunet <jbrunet@baylibre.com>
+ *
+ * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+ */
+
+/dts-v1/;
+
+#include <dt-bindings/input/input.h>
+
+#include "meson-gxl-s905x-p212.dtsi"
+
+/ {
+	compatible = "imprecision,librecomputer", "amlogic,s905x", "amlogic,meson-gxl";
+	model = "Libre Computer Board";
+
+	cvbs-connector {
+		compatible = "composite-video-connector";
+
+		port {
+			cvbs_connector_in: endpoint {
+				remote-endpoint = <&cvbs_vdac_out>;
+			};
+		};
+	};
+
+	hdmi-connector {
+		compatible = "hdmi-connector";
+		type = "a";
+
+		port {
+			hdmi_connector_in: endpoint {
+				remote-endpoint = <&hdmi_tx_tmds_out>;
+			};
+		};
+	};
+
+	leds {
+		compatible = "gpio-leds";
+
+		system {
+			label = "librecomputer:system-status";
+			gpios = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>;
+			default-state = "on";
+			panic-indicator;
+		};
+
+		blue {
+			label = "librecomputer:blue";
+			gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
+			linux,default-trigger = "heartbeat";
+		};
+	};
+};
+
+&cvbs_vdac_port {
+	cvbs_vdac_out: endpoint {
+		remote-endpoint = <&cvbs_connector_in>;
+	};
+};
+
+&hdmi_tx {
+	status = "okay";
+	pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+	pinctrl-names = "default";
+};
+
+&hdmi_tx_tmds_port {
+	hdmi_tx_tmds_out: endpoint {
+		remote-endpoint = <&hdmi_connector_in>;
+	};
+};
+
+/*
+ * The following devices exists but are exposed on the general
+ * purpose GPIO header. End user may well decide to use those pins
+ * for another purpose
+ */
+
+&sd_emmc_a {
+	status = "disabled";
+};
+
+&uart_A {
+	status = "disabled";
+};
+
+&wifi32k {
+	status = "disabled";
+};
-- 
2.9.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/3] dt-bindings: add Imprecision Systems vendor prefix
  2017-06-16 12:06 ` [PATCH 1/3] dt-bindings: add Imprecision Systems vendor prefix Jerome Brunet
@ 2017-06-23 18:49   ` Rob Herring
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2017-06-23 18:49 UTC (permalink / raw)
  To: Jerome Brunet
  Cc: Kevin Hilman, Carlo Caione, Neil Armstrong, linux-amlogic,
	linux-arm-kernel, linux-kernel, devicetree

On Fri, Jun 16, 2017 at 02:06:46PM +0200, Jerome Brunet wrote:
> Imprecision System LLC is a single board computer manufacturer
> 
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
>  1 file changed, 1 insertion(+)

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/3] dt-bindings: arm: amlogic: Add Libre Computer Board
  2017-06-16 12:06 ` [PATCH 2/3] dt-bindings: arm: amlogic: Add Libre Computer Board Jerome Brunet
@ 2017-06-23 18:51   ` Rob Herring
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2017-06-23 18:51 UTC (permalink / raw)
  To: Jerome Brunet
  Cc: Kevin Hilman, Carlo Caione, Neil Armstrong, linux-amlogic,
	linux-arm-kernel, linux-kernel, devicetree

On Fri, Jun 16, 2017 at 02:06:47PM +0200, Jerome Brunet wrote:
> Add bindings documentation for the Libre Computer Board from Imprecision
> Systems
> 
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
>  Documentation/devicetree/bindings/arm/amlogic.txt | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt
> index 5c01e65951fa..d1c77d7ae11d 100644
> --- a/Documentation/devicetree/bindings/arm/amlogic.txt
> +++ b/Documentation/devicetree/bindings/arm/amlogic.txt
> @@ -51,6 +51,7 @@ Board compatible values (alphabetically, grouped by SoC):
>  
>    - "amlogic,p212" (Meson gxl s905x)
>    - "hwacom,amazetv" (Meson gxl s905x)
> +  - "imprecision,librecomputer" (Meson gxl s905x)

Perhaps libre-computer?

Either way,

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-23 18:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-16 12:06 [PATCH 0/3] ARM64: dts: meson-gxl: Add support for Libre Computer Jerome Brunet
2017-06-16 12:06 ` [PATCH 1/3] dt-bindings: add Imprecision Systems vendor prefix Jerome Brunet
2017-06-23 18:49   ` Rob Herring
2017-06-16 12:06 ` [PATCH 2/3] dt-bindings: arm: amlogic: Add Libre Computer Board Jerome Brunet
2017-06-23 18:51   ` Rob Herring
2017-06-16 12:06 ` [PATCH 3/3] ARM64: dts: meson-gxl: Add Libre Computer support Jerome Brunet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).