Skip to contentSkip to conversation

arm64: dts: meson: add libretech-pc support

PATCH Applied Jerome Brunet 3 participants 7 messages Dec 9, 2019 – Dec 16, 2019

Subsystems (2)
lore
Share & tools
lore

Jerome Brunet

author reviewer
#0 lore raw

v2 cover arm64: dts: meson: add libretech-pc support

This patchset adds support the new libretech PC platform, aka tartiflette. There is two variants of this platform, one with the S905D and another with the S912.

Changes since v1 [0]:
* update adc keys
* add phy irq pinctrl configuration
* update leds description

[0]: https://lkml.kernel.org/r/[email protected]

Jerome Brunet (4):
arm64: dts: meson: gxl: add i2c C pins
arm64: defconfig: enable FUSB302 as module
dt-bindings: arm: amlogic: add libretech-pc bindings
arm64: dts: meson: add libretech-pc boards support

 .../devicetree/bindings/arm/amlogic.yaml      |   2 +
 arch/arm64/boot/dts/amlogic/Makefile          |   2 +
 .../dts/amlogic/meson-gx-libretech-pc.dtsi    | 375 ++++++++++++++++++
 .../amlogic/meson-gxl-s905d-libretech-pc.dts  |  16 +
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi    |   9 +
 .../amlogic/meson-gxm-s912-libretech-pc.dts   |  62 +++
 arch/arm64/configs/defconfig                  |   2 +
 7 files changed, 468 insertions(+)
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-libretech-pc.dts
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-s912-libretech-pc.dts
Signature · 1 line
2.23.0
author reviewer
#1 lore raw

PATCH v2 1/4 arm64: dts: meson: gxl: add i2c C pins

Add the DV18 and DV19 pinmux setting for the i2c C of the gxl family

---
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +9 -0
index ed33d8efaf62..259d86399390 100644
@@ -533,6 +533,15 @@
 			};
 		};
 
+		i2c_c_dv18_pins: i2c_c_dv18 {
+			mux {
+				groups = "i2c_sck_c_dv19",
+				      "i2c_sda_c_dv18";
+				function = "i2c_c";
+				bias-disable;
+			};
+		};
+
 		eth_pins: eth_c {
 			mux {
 				groups = "eth_mdio",
Signature · 1 line
2.23.0
author reviewer
#2 lore raw

PATCH v2 2/4 arm64: defconfig: enable FUSB302 as module

In reply to Jerome Brunet

Enable the type C fusb302 driver as module

---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +2 -0
index 6a83ba2aea3e..33147f54efe6 100644
@@ -603,6 +603,8 @@ CONFIG_USB_GADGET=y
 CONFIG_USB_RENESAS_USBHS_UDC=m
 CONFIG_USB_RENESAS_USB3=m
 CONFIG_TYPEC=m
+CONFIG_TYPEC_TCPM=m
+CONFIG_TYPEC_FUSB302=m
 CONFIG_TYPEC_HD3SS3220=m
 CONFIG_MMC=y
 CONFIG_MMC_BLOCK_MINORS=32
Signature · 7 lines
2.23.0


_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic
author reviewer
#3 lore raw

PATCH v2 3/4 dt-bindings: arm: amlogic: add libretech-pc bindings

In reply to Jerome Brunet

Add the board bindings for the libretech PC form factor

---
 Documentation/devicetree/bindings/arm/amlogic.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/arm/amlogic.yaml +2 -0
index c6a443352ef8..2660ba3b129b 100644
@@ -104,6 +104,7 @@ properties:
           - enum:
               - amlogic,p230
               - amlogic,p231
+              - libretech,aml-s905d-pc
               - phicomm,n1
           - const: amlogic,s905d
           - const: amlogic,meson-gxl
@@ -115,6 +116,7 @@ properties:
               - amlogic,q201
               - khadas,vim2
               - kingnovel,r-box-pro
+              - libretech,aml-s912-pc
               - nexbox,a1
               - tronsmart,vega-s96
           - const: amlogic,s912
Signature · 1 line
2.23.0
author reviewer
#4 lore raw

PATCH v2 4/4 arm64: dts: meson: add libretech-pc boards support

In reply to Jerome Brunet

Add support for the the amlogic libretech-pc platform, aka tartiflette. There is 2 variants of the platform, one with the s905d, the other with the s912.

---
 arch/arm64/boot/dts/amlogic/Makefile          |   2 +
 .../dts/amlogic/meson-gx-libretech-pc.dtsi    | 375 ++++++++++++++++++
 .../amlogic/meson-gxl-s905d-libretech-pc.dts  |  16 +
 .../amlogic/meson-gxm-s912-libretech-pc.dts   |  62 +++
 4 files changed, 455 insertions(+)
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-libretech-pc.dts
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-s912-libretech-pc.dts
arch/arm64/boot/dts/amlogic/Makefile +2 -0
index 63400538d39f..6071a4081eb2 100644
@@ -29,11 +29,13 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-phicomm-n1.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s805x-p241.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-p281.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-tx3-mini.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-libretech-pc.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxm-khadas-vim2.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q200.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q201.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxm-rbox-pro.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson-gxm-s912-libretech-pc.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxm-vega-s96.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-sm1-sei610.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-sm1-khadas-vim3l.dtb
arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi new file +375 -0

375 lines not on this page · raw message

arch/arm64/boot/dts/amlogic/meson-gxl-s905d-libretech-pc.dts new file +16 -0
new file mode 100644
index 000000000000..100a1cfeea15
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (c) 2019 BayLibre SAS. All rights reserved.
+ * Author: Jerome Brunet <[email protected]>
+ */
+
+/dts-v1/;
+
+#include "meson-gxl-s905d.dtsi"
+#include "meson-gx-libretech-pc.dtsi"
+
+/ {
+	compatible = "libretech,aml-s905d-pc", "amlogic,s905d",
+		     "amlogic,meson-gxl";
+	model = "Libre Computer AML-S905D-PC";
+};
arch/arm64/boot/dts/amlogic/meson-gxm-s912-libretech-pc.dts new file +62 -0

62 lines not on this page · raw message

Signature · 1 line
2.23.0
maintainer
#5 lore raw
In reply to Jerome Brunet
Quoted 8 lines · Jerome Brunet

This patchset adds support the new libretech PC platform, aka tartiflette. There is two variants of this platform, one with the S905D and another with the S912.

Changes since v1 [0]:
* update adc keys
* add phy irq pinctrl configuration
* update leds description

Queued for v5.6,

Kevin

#6 lore raw
In reply to Jerome Brunet
This series was applied to khilman/linux-amlogic.git (refs/heads/for-next).

Hello:

This series was applied to khilman/linux-amlogic.git (refs/heads/for-next).

Quoted 10 lines · On Mon, 9 Dec 2019 15:38:32 +0100 you wrote:

This patchset adds support the new libretech PC platform, aka tartiflette. There is two variants of this platform, one with the S905D and another with the S912.

Changes since v1 [0]:
* update adc keys
* add phy irq pinctrl configuration
* update leds description

[...]

Here is a summary with links:
- [v2,1/4] arm64: dts: meson: gxl: add i2c C pins

    https://git.kernel.org/khilman/linux-amlogic/c/4e11697528ebb0b6abdbd23e41ce64638739e5a3
  - [v2,2/4] arm64: defconfig: enable FUSB302 as module
    https://git.kernel.org/khilman/linux-amlogic/c/afa7fb9cc222d301e51f967a26743b9076474c92
  - [v2,3/4] dt-bindings: arm: amlogic: add libretech-pc bindings
    https://git.kernel.org/khilman/linux-amlogic/c/727d01cb17c8a8e593ace9d136cb382a2c0d9e94
  - [v2,4/4] arm64: dts: meson: add libretech-pc boards support
    https://git.kernel.org/khilman/linux-amlogic/c/865a0d06f870ea1ffccdb2b2d0acf7e2a0deb9a3

You are awesome, thank you!

Signature · 7 lines
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/pwbot

_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic