Skip to contentSkip to conversation

arm64: dts: meson: add dts/bindings for SmartLabs SML-5442TW

PATCH Applied Christian Hewitt 3 participants 6 messages May 10, 2020 – May 20, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v8 cover arm64: dts: meson: add dts/bindings for SmartLabs SML-5442TW

This series adds new bindings and a device-tree file for the Smartlabs SML-5442TW set-top box which is based on the P231 reference design.

As requested, I have reworked the device-tree on the p23x-q20x dtsi. I have also re-added the BT device with new bindings that have now been merged in bluetooth-next for inclusion in Linux 5.8. See [1].

v8 - reworked on p23x-q20x dtsi
- add BT module

v7 - update gpio-led nodes
- remove gpio-hog for BT enable
- add bindings acks from Rob

v6 - removed audio nodes again

v5 - typo in card name

v4 - typos/corrections from Andreas
- convert to yaml bindings
- add sound node back
- confirmed gpio-hog is necessary

v3 - change to Smartlabs LLC
- removed sound node

v2 - removed audio nodes
- changes soundcard name to "meson-gx-audio"
- added missing uart-has-rtscts;

[1] https://patchwork.kernel.org/cover/11504823/

Christian Hewitt (3):
dt-bindings: add vendor prefix for Smartlabs LLC
dt-bindings: arm: amlogic: add support for the Smartlabs SML-5442TW
arm64: dts: meson: add support for the Smartlabs SML-5442TW

 .../devicetree/bindings/arm/amlogic.yaml      |  1 +
 .../devicetree/bindings/vendor-prefixes.yaml  |  2 +
 arch/arm64/boot/dts/amlogic/Makefile          |  1 +
 .../dts/amlogic/meson-gxl-s905d-sml5442tw.dts | 80 +++++++++++++++++++
 4 files changed, 84 insertions(+)
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts
Signature · 1 line
2.17.1
#1 lore raw

PATCH v8 1/3 dt-bindings: add vendor prefix for Smartlabs LLC

Smartlabs LLC are a professional integrator of Interactive TV solutions and IPTV/VOD devices [1].

[1] https://www.smartlabs.tv/en/about/

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index d3891386d671..a0adda624fc4 100644
@@ -936,6 +936,8 @@ patternProperties:
     description: Sitronix Technology Corporation
   "^skyworks,.*":
     description: Skyworks Solutions, Inc.
+  "^smartlabs,.*":
+    description: SmartLabs LLC
   "^smsc,.*":
     description: Standard Microsystems Corporation
   "^snps,.*":
Signature · 1 line
2.17.1
#2 lore raw

PATCH v8 2/3 dt-bindings: arm: amlogic: add support for the Smartlabs SML-5442TW

In reply to Christian Hewitt

The SML-5442TW is an STB for O2 Czech IPTV/VOD and DVB-T/T2 based on the Amlogic P231 reference design using the S905D chipset. Specs:

2GB DDR3 RAM
8GB eMMC storage
10/100 Base-T Ethernet
802.11 a/b/g/n/ac + BT 4.1 HS sdio wireless module (QCA9377) 2x single colour and 1x dual colour LEDs on the front panel 1x reset button on the front panel
HDMI 2.0 (4k@60p) video
Composite video + 2-channel audio output on 3.5mm jack S/PDIF audio output
Single DVB-T/T2 tuner (AVL6762/MxL608)
2x USB 2.0 ports
1x micro SD card slot
UART pins (internal)

---
 Documentation/devicetree/bindings/arm/amlogic.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/amlogic.yaml +1 -0
index f74aba48cec1..c0c0f6619fb3 100644
@@ -107,6 +107,7 @@ properties:
               - amlogic,p231
               - libretech,aml-s905d-pc
               - phicomm,n1
+              - smartlabs,sml5442tw
           - const: amlogic,s905d
           - const: amlogic,meson-gxl
 
Signature · 1 line
2.17.1
#3 lore raw

PATCH v8 3/3 arm64: dts: meson: add support for the Smartlabs SML-5442TW

In reply to Christian Hewitt

The Smartlabs SML-5442TW is based on the Amlogic P231 reference design but with the following differences:

- The Yellow and Blue LEDs are available but disabled
- The Red and Green LEDs are used to signal off/on status
- uart_AO can be accessed after opening the case; soldered pins exist
- QCA9377 instead of the usual Ampak/Broadcom module

---
 arch/arm64/boot/dts/amlogic/Makefile          |  1 +
 .../dts/amlogic/meson-gxl-s905d-sml5442tw.dts | 80 +++++++++++++++++++
 2 files changed, 81 insertions(+)
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts
arch/arm64/boot/dts/amlogic/Makefile +1 -0
index eef0045320f2..6cf8c4ac0390 100644
@@ -27,6 +27,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-p212.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtb
 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-phicomm-n1.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-sml5442tw.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
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts new file +80 -0

80 lines not on this page · raw message

Signature · 1 line
2.17.1
#4 lore raw
In reply to Christian Hewitt
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 8 lines · On Sun, 10 May 2020 12:41:26 +0000 you wrote:

This series adds new bindings and a device-tree file for the Smartlabs SML-5442TW set-top box which is based on the P231 reference design.

As requested, I have reworked the device-tree on the p23x-q20x dtsi. I have also re-added the BT device with new bindings that have now been merged in bluetooth-next for inclusion in Linux 5.8. See [1].

[...]

Here is a summary with links:
- [v8,1/3] dt-bindings: add vendor prefix for Smartlabs LLC

    https://git.kernel.org/khilman/linux-amlogic/c/bc15895e142396fed5ebf1f60139d9ca9a56a4e4
  - [v8,2/3] dt-bindings: arm: amlogic: add support for the Smartlabs SML-5442TW
    https://git.kernel.org/khilman/linux-amlogic/c/341e85047bdbc0196c91ccb4612ffab87bae9cfe
  - [v8,3/3] arm64: dts: meson: add support for the Smartlabs SML-5442TW
    https://git.kernel.org/khilman/linux-amlogic/c/1d6ece87b750cf26fed4eb794ea0b2fc7ff2be10

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
maintainer Applied
#5 lore raw
In reply to Christian Hewitt
Quoted 8 lines · Christian Hewitt

This series adds new bindings and a device-tree file for the Smartlabs SML-5442TW set-top box which is based on the P231 reference design.

As requested, I have reworked the device-tree on the p23x-q20x dtsi. I have also re-added the BT device with new bindings that have now been merged in bluetooth-next for inclusion in Linux 5.8. See [1].

[...]

Applied, thanks!

[1/3] dt-bindings: add vendor prefix for Smartlabs LLC

      commit: bc15895e142396fed5ebf1f60139d9ca9a56a4e4
[2/3] dt-bindings: arm: amlogic: add support for the Smartlabs SML-5442TW
      commit: 341e85047bdbc0196c91ccb4612ffab87bae9cfe
[3/3] arm64: dts: meson: add support for the Smartlabs SML-5442TW
      commit: 1d6ece87b750cf26fed4eb794ea0b2fc7ff2be10

Best regards,

Signature · 1 line
Kevin Hilman <[email protected]>