* [PATCH v2 0/3] ARM64: dts: meson-gxl: Add support for Libre Technology CC board
@ 2017-06-19 9:04 Jerome Brunet
2017-06-19 9:04 ` [PATCH v2 1/3] dt-bindings: add Libre Technology vendor prefix Jerome Brunet
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Jerome Brunet @ 2017-06-19 9:04 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 CC board from Shenzhen Libre Technology
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
Changes since v1: [0]
- Fixup confusion between the manufacturer name and the device name.
[0]: https://lkml.kernel.org/r/20170616120648.23320-1-jbrunet@baylibre.com
Jerome Brunet (3):
dt-bindings: add Libre Technology vendor prefix
dt-bindings: arm: amlogic: Add Libre Technology CC board
ARM64: dts: meson-gxl: Add Libre Technology CC 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-libretech-cc.dts | 92 ++++++++++++++++++++++
4 files changed, 95 insertions(+)
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts
--
2.9.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2 1/3] dt-bindings: add Libre Technology vendor prefix
2017-06-19 9:04 [PATCH v2 0/3] ARM64: dts: meson-gxl: Add support for Libre Technology CC board Jerome Brunet
@ 2017-06-19 9:04 ` Jerome Brunet
2017-06-23 20:06 ` Rob Herring
2017-06-19 9:04 ` [PATCH v2 2/3] dt-bindings: arm: amlogic: Add Libre Technology CC board Jerome Brunet
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Jerome Brunet @ 2017-06-19 9:04 UTC (permalink / raw)
To: Kevin Hilman, Carlo Caione, Neil Armstrong
Cc: Jerome Brunet, linux-amlogic, linux-arm-kernel, linux-kernel, devicetree
Shenzhen Libre Technology Co., Ltd 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..bf83fd25a1df 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -173,6 +173,7 @@ lantiq Lantiq Semiconductor
lego LEGO Systems A/S
lenovo Lenovo Group Ltd.
lg LG Corporation
+libretech Shenzhen Libre Technology Co., Ltd
licheepi Lichee Pi
linaro Linaro Limited
linux Linux-specific binding
--
2.9.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v2 2/3] dt-bindings: arm: amlogic: Add Libre Technology CC board
2017-06-19 9:04 [PATCH v2 0/3] ARM64: dts: meson-gxl: Add support for Libre Technology CC board Jerome Brunet
2017-06-19 9:04 ` [PATCH v2 1/3] dt-bindings: add Libre Technology vendor prefix Jerome Brunet
@ 2017-06-19 9:04 ` Jerome Brunet
2017-06-19 9:04 ` [PATCH v2 3/3] ARM64: dts: meson-gxl: Add Libre Technology CC support Jerome Brunet
2017-06-22 21:19 ` [PATCH v2 0/3] ARM64: dts: meson-gxl: Add support for Libre Technology CC board Kevin Hilman
3 siblings, 0 replies; 6+ messages in thread
From: Jerome Brunet @ 2017-06-19 9:04 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 CC board from Shenzhen Libre
Technology
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..0fff40a6330d 100644
--- a/Documentation/devicetree/bindings/arm/amlogic.txt
+++ b/Documentation/devicetree/bindings/arm/amlogic.txt
@@ -52,6 +52,7 @@ Board compatible values (alphabetically, grouped by SoC):
- "amlogic,p212" (Meson gxl s905x)
- "hwacom,amazetv" (Meson gxl s905x)
- "khadas,vim" (Meson gxl s905x)
+ - "libretech,cc" (Meson gxl s905x)
- "amlogic,p230" (Meson gxl s905d)
- "amlogic,p231" (Meson gxl s905d)
--
2.9.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v2 3/3] ARM64: dts: meson-gxl: Add Libre Technology CC support
2017-06-19 9:04 [PATCH v2 0/3] ARM64: dts: meson-gxl: Add support for Libre Technology CC board Jerome Brunet
2017-06-19 9:04 ` [PATCH v2 1/3] dt-bindings: add Libre Technology vendor prefix Jerome Brunet
2017-06-19 9:04 ` [PATCH v2 2/3] dt-bindings: arm: amlogic: Add Libre Technology CC board Jerome Brunet
@ 2017-06-19 9:04 ` Jerome Brunet
2017-06-22 21:19 ` [PATCH v2 0/3] ARM64: dts: meson-gxl: Add support for Libre Technology CC board Kevin Hilman
3 siblings, 0 replies; 6+ messages in thread
From: Jerome Brunet @ 2017-06-19 9:04 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 CC board from Shenzhen Libre Technology
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-libretech-cc.dts | 92 ++++++++++++++++++++++
2 files changed, 93 insertions(+)
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts
diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile
index 8a0e09250978..7a9f48c27b1f 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-libretech-cc.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-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts
new file mode 100644
index 000000000000..890821d6e52b
--- /dev/null
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.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 = "libretech,cc", "amlogic,s905x", "amlogic,meson-gxl";
+ model = "Libre Technology CC";
+
+ 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 v2 0/3] ARM64: dts: meson-gxl: Add support for Libre Technology CC board
2017-06-19 9:04 [PATCH v2 0/3] ARM64: dts: meson-gxl: Add support for Libre Technology CC board Jerome Brunet
` (2 preceding siblings ...)
2017-06-19 9:04 ` [PATCH v2 3/3] ARM64: dts: meson-gxl: Add Libre Technology CC support Jerome Brunet
@ 2017-06-22 21:19 ` Kevin Hilman
3 siblings, 0 replies; 6+ messages in thread
From: Kevin Hilman @ 2017-06-22 21:19 UTC (permalink / raw)
To: Jerome Brunet
Cc: Carlo Caione, Neil Armstrong, linux-amlogic, linux-arm-kernel,
linux-kernel, devicetree
Jerome Brunet <jbrunet@baylibre.com> writes:
> This patchset adds support for the CC board from Shenzhen Libre Technology
Applied to v4.13/dt64,
Kevin
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 1/3] dt-bindings: add Libre Technology vendor prefix
2017-06-19 9:04 ` [PATCH v2 1/3] dt-bindings: add Libre Technology vendor prefix Jerome Brunet
@ 2017-06-23 20:06 ` Rob Herring
0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2017-06-23 20:06 UTC (permalink / raw)
To: Jerome Brunet
Cc: Kevin Hilman, Carlo Caione, Neil Armstrong, linux-amlogic,
linux-arm-kernel, linux-kernel, devicetree
On Mon, Jun 19, 2017 at 11:04:38AM +0200, Jerome Brunet wrote:
> Shenzhen Libre Technology Co., Ltd 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
end of thread, other threads:[~2017-06-23 20:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-19 9:04 [PATCH v2 0/3] ARM64: dts: meson-gxl: Add support for Libre Technology CC board Jerome Brunet
2017-06-19 9:04 ` [PATCH v2 1/3] dt-bindings: add Libre Technology vendor prefix Jerome Brunet
2017-06-23 20:06 ` Rob Herring
2017-06-19 9:04 ` [PATCH v2 2/3] dt-bindings: arm: amlogic: Add Libre Technology CC board Jerome Brunet
2017-06-19 9:04 ` [PATCH v2 3/3] ARM64: dts: meson-gxl: Add Libre Technology CC support Jerome Brunet
2017-06-22 21:19 ` [PATCH v2 0/3] ARM64: dts: meson-gxl: Add support for Libre Technology CC board Kevin Hilman
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).