dt-bindings: Add vendor prefix for Smartlabs
Subsystems (2)
PATCH v2 1/3 dt-bindings: Add vendor prefix for Smartlabs
Smartlabs are a professional integrator of Interactive TV solutions and IPTV/VOD devices.
[1] (https://www.smartlabs.tv/en/about/)
--- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
@@ -357,6 +357,7 @@ sirf SiRF Technology, Inc. sis Silicon Integrated Systems Corp. sitronix Sitronix Technology Corporation skyworks Skyworks Solutions, Inc. +smartlabs Smartlabs smsc Standard Microsystems Corporation snps Synopsys, Inc. socionext Socionext Inc.
Signature · 1 line
2.7.4
PATCH v2 2/3 dt-bindings: arm: amlogic: Add support for the Smartlabs SML-5442TW
The SML-5442TW is an STB for O2 Czech IPTV/VOD and DVB-S 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 at 60p) video
Composite video + 2-channel audio output on 3.5mm jack S/PDIF audio output
Single DVB-S tuner (AVL6762/MxL608)
2x USB 2.0 ports
1x micro SD card slot
UART pins (internal)
--- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/amlogic.txt +1 -0
@@ -91,6 +91,7 @@ Board compatible values (alphabetically, grouped by SoC): - "amlogic,p230" (Meson gxl s905d) - "amlogic,p231" (Meson gxl s905d) + - "smartlabs,sml5442tw" (Meson gxl s905d) - "amlogic,p241" (Meson gxl s805x)
Signature · 1 line
2.7.4
PATCH v2 3/3 ARM64: dts: meson-gxl: Add support for the Smartlabs SML-5442TW
In reply to Christian HewittThe Smartlabs SML-5442TW is broadly similar to the P231 reference design but with the following differences:
- Yellow and Blue front-panel LEDs are available but disabled
- Red/Green LED is used to signal off/on status
- GPIOX_17 is set high to enable the QCA9377 wireless module
- uart_AO can be accessed after opening the case; soldered pins exist
--- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts | 327 +++++++++++++++++++++ 2 files changed, 328 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts
arch/arm64/boot/dts/amlogic/Makefile +1 -0
@@ -18,6 +18,7 @@ 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 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.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 +327 -0
327 lines not on this page · raw message
Signature · 1 line
2.7.4
[email protected]
reviewerRe: [PATCH 3/3] ARM64: dts: meson-gxl: Add support for the Smartlabs SML-5442TW
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts line 182
Quoted 12 lines · Christian Hewitt
+&audio {
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts new file +10
-0+ status = "okay"; +}; + +&aiu_i2s_dma { + status = "okay"; +}; + +&i2s_dai { + status = "okay"; +};
The audio stuff has not made it's way upstream (yet) please drop this
Quoted 8 lines
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts new file +7
-0+ +&cvbs_vdac_port { + cvbs_vdac_out: endpoint { + remote-endpoint = <&cvbs_connector_in>; + }; +}; +
[ ... ]
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts line 315
Quoted 6 lines
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts new file +6
-0+ +/* This is connected to the Bluetooth module: */ +&uart_A { + status = "okay"; + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; + pinctrl-names = "default";
Did you forget to put 'uart-has-rtscts;' here ?
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts line 327
Quoted 12 lines
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts new file +12
-0+}; + +/* This UART is brought out to the debug header */ +&uart_AO { + status = "okay"; + pinctrl-0 = <&uart_ao_a_pins>; + pinctrl-names = "default"; +}; + +&usb0 { + status = "okay"; +};
Also, you sent a multipatch series. Such patchset should start with a cover letter describing the general intent ... even if it is obvious.
kbuild test robot
build botRe: [PATCH 3/3] ARM64: dts: meson-gxl: Add support for the Smartlabs SML-5442TW
In reply to Christian HewittThank you for the patch! Yet something to improve:
Hi Christian,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on robh/for-next]
[also build test ERROR on v4.20-rc1 next-20181108]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Christian-Hewitt/dt-bindings-Add-vendor-prefix-for-Smartlabs/20181109-010512 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: arm64-allyesconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=arm64
All errors (new ones prefixed by >>):
>> Error: arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts:172.1-7 Label or path audio not found >> Error: arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts:176.1-13 Label or path aiu_i2s_dma not found >> Error: arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts:180.1-9 Label or path i2s_dai not found
FATAL ERROR: Syntax error parsing input tree
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 61776 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-amlogic/attachments/20181109/ef520d27/attachment.gz>
v2 cover ARM64: dts: meson-gxl: Add dts and bindings for Smartlabs SML-5442TW
In reply to Christian HewittThis series adds new bindings and a device-tree file for the Smartlabs SML-5442TW set-top box.
v2 - removed audio nodes
- changes soundcard name to "meson-gx-audio"
- added missing uart-has-rtscts;
Christian Hewitt (3):
dt-bindings: Add vendor prefix for Smartlabs
dt-bindings: arm: amlogic: Add support for the Smartlabs SML-5442TW
ARM64: dts: meson-gxl: Add support for the Smartlabs SML-5442TW
Documentation/devicetree/bindings/arm/amlogic.txt | 1 + .../devicetree/bindings/vendor-prefixes.txt | 1 + arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts | 316 +++++++++++++++++++++ 4 files changed, 319 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts
Signature · 1 line
2.7.4
PATCH v2 1/3 dt-bindings: Add vendor prefix for Smartlabs
Smartlabs are a professional integrator of Interactive TV solutions and IPTV/VOD devices.
[1] (https://www.smartlabs.tv/en/about/)
--- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
@@ -357,6 +357,7 @@ sirf SiRF Technology, Inc. sis Silicon Integrated Systems Corp. sitronix Sitronix Technology Corporation skyworks Skyworks Solutions, Inc. +smartlabs Smartlabs smsc Standard Microsystems Corporation snps Synopsys, Inc. socionext Socionext Inc.
Signature · 1 line
2.7.4
Am 08.11.18 um 18:01 schrieb Christian Hewitt:
Quoted 4 lines
Smartlabs are a professional integrator of Interactive TV solutions and IPTV/VOD devices.
"[1]" is not referenced anywhere, so you could just as well use a plain link?
Quoted 11 lines
Signed-off-by Christian Hewitt <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/vendor-prefixes.txt +0
-0
Documentation/devicetree/bindings/vendor-prefixes.txt sirf SiRF Technology, Inc. · line 360
Quoted 4 lines
Documentation/devicetree/bindings/vendor-prefixes.txt +1
-0@@ -357,6 +357,7 @@ sirf SiRF Technology, Inc. sis Silicon Integrated Systems Corp. sitronix Sitronix Technology Corporation skyworks Skyworks Solutions, Inc. +smartlabs Smartlabs
"SmartLabs LLC" according to your link above!
Otherwise looks okay.
Regards,
Andreas
Quoted 4 lines
Documentation/devicetree/bindings/vendor-prefixes.txt +0
-0smsc Standard Microsystems Corporation snps Synopsys, Inc. socionext Socionext Inc.
Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg)
PATCH v2 2/3 dt-bindings: arm: amlogic: Add support for the Smartlabs SML-5442TW
In reply to Christian HewittThe SML-5442TW is an STB for O2 Czech IPTV/VOD and DVB-S 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 at 60p) video
Composite video + 2-channel audio output on 3.5mm jack S/PDIF audio output
Single DVB-S tuner (AVL6762/MxL608)
2x USB 2.0 ports
1x micro SD card slot
UART pins (internal)
--- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/amlogic.txt +1 -0
@@ -91,6 +91,7 @@ Board compatible values (alphabetically, grouped by SoC): - "amlogic,p230" (Meson gxl s905d) - "amlogic,p231" (Meson gxl s905d) + - "smartlabs,sml5442tw" (Meson gxl s905d) - "amlogic,p241" (Meson gxl s805x)
Signature · 1 line
2.7.4
PATCH v2 3/3 ARM64: dts: meson-gxl: Add support for the Smartlabs SML-5442TW
In reply to Christian HewittThe Smartlabs SML-5442TW is broadly similar to the P231 reference design but with the following differences:
- Yellow and Blue front-panel LEDs are available but disabled
- Red/Green LED is used to signal off/on status
- GPIOX_17 is set high to enable the QCA9377 wireless module
- uart_AO can be accessed after opening the case; soldered pins exist
--- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts | 316 +++++++++++++++++++++ 2 files changed, 317 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts
arch/arm64/boot/dts/amlogic/Makefile +1 -0
@@ -18,6 +18,7 @@ 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 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.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 +316 -0
316 lines not on this page · raw message
Signature · 1 line
2.7.4
[email protected]
reviewerRe: [PATCH v2 3/3] ARM64: dts: meson-gxl: Add support for the Smartlabs SML-5442TW
Quoted 192 lines · Christian Hewitt
The Smartlabs SML-5442TW is broadly similar to the P231 reference design but with the following differences:
- Yellow and Blue front-panel LEDs are available but disabled
- Red/Green LED is used to signal off/on status
-GPIOX_17is set high to enable the QCA9377 wireless module
-uart_AOcan be accessed after opening the case; soldered pins existSigned-off-by Christian Hewitt <[email protected]>--- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts | 316 +++++++++++++++++++++ 2 files changed, 317 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-
sml5442tw.dtsarch/arm64/boot/dts/amlogic/Makefile +0
-0@@ -18,6 +18,7 @@ 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 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtbarch/arm64/boot/dts/amlogic/Makefile +1
-0+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.dtbarch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts new file +14
-0@@ -0,0 +1,316 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016 Endless Computers, Inc. + * Author: Carlo Caione <[email protected]> + * Copyright (c) 2018 BayLibre, SAS + * Author: Neil Armstrong <[email protected]> + */ + +/dts-v1/; + +#include "meson-gxl-s905d.dtsi" + +/ { + compatible = "smartlabs,sml5442tw", "amlogic,s905d", "amlogic,meson-gxl";
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts new file +139
-0+ model = "Smartlabs SML-5442TW"; + + aliases { + serial0 = &uart_AO; + serial1 = &uart_A; + ethernet0 = ðmac; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory at 0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; + + leds { + compatible = "gpio-leds"; + + yellow { + label = "sml5442tw:yellow"; + gpios = <&gpio_ao GPIOAO_6 GPIO_ACTIVE_HIGH>; + default-state = "off"; + }; + + blue { + label = "sml5442tw:blue"; + gpios = <&gpio GPIODV_28 GPIO_ACTIVE_HIGH>; + default-state = "off"; + }; + + green { + label = "sml5442tw:green"; + gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + + red { + label = "sml5442tw:red"; + gpios = <&gpio GPIODV_27 GPIO_ACTIVE_HIGH>; + default-state = "off"; + }; + }; + + hdmi_5v: regulator-hdmi-5v { + compatible = "regulator-fixed"; + + regulator-name = "HDMI_5V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + + gpio = <&gpio GPIOH_3 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + }; + + vddio_ao18: regulator-vddio_ao18 { + compatible = "regulator-fixed"; + regulator-name = "VDDIO_AO18"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + vddio_boot: regulator-vddio_boot { + compatible = "regulator-fixed"; + regulator-name = "VDDIO_BOOT"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + vddao_3v3: regulator-vddao_3v3 { + compatible = "regulator-fixed"; + regulator-name = "VDDAO_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + vcc_3v3: regulator-vcc_3v3 { + compatible = "regulator-fixed"; + regulator-name = "VCC_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + emmc_pwrseq: emmc-pwrseq { + compatible = "mmc-pwrseq-emmc"; + reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; + }; + + wifi32k: wifi32k { + compatible = "pwm-clock"; + #clock-cells = <0>; + clock-frequency = <32768>; + pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */ + }; + + sdio_pwrseq: sdio-pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>; + clocks = <&wifi32k>; + clock-names = "ext_clock"; + }; + + 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>; + }; + }; + }; + + sound { + compatible = "simple-audio-card"; + simple-audio-card,name = "meson-gx-audio"; + + simple-audio-card,dai-link at 0 { + /* HDMI Output */ + format = "i2s"; + mclk-fs = <256>; + bitclock-master = <&i2s_dai>; + frame-master = <&i2s_dai>; + plat { + sound-dai = <&aiu_i2s_dma>; + }; +
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts line 163
Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts new file +10
-0+ cpu { + sound-dai = <&i2s_dai>; + }; + + codec { + sound-dai = <&hdmi_tx>; + }; + }; + }; +};
Still not good, sorry !
Quoted 153 lines
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts new file +153
-0+ +&cec_AO { + status = "okay"; + pinctrl-0 = <&ao_cec_pins>; + pinctrl-names = "default"; + hdmi-phandle = <&hdmi_tx>; +}; + +&cvbs_vdac_port { + cvbs_vdac_out: endpoint { + remote-endpoint = <&cvbs_connector_in>; + }; +}; + +ðmac { + status = "okay"; + phy-mode = "rmii"; + phy-handle = <&internal_phy>; +}; + +/* This will enable the bluetooth module */ +&gpio { + bt-en { + gpio-hog; + gpios = <GPIOX_17 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "bt-en"; + }; +}; + +&hdmi_tx { + status = "okay"; + pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; + pinctrl-names = "default"; + hdmi-supply = <&hdmi_5v>; +}; + +&hdmi_tx_tmds_port { + hdmi_tx_tmds_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; +}; + +&i2c_A { + status = "okay"; + pinctrl-0 = <&i2c_a_pins>; + pinctrl-names = "default"; +}; + +&internal_phy { + pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>; + pinctrl-names = "default"; +}; + +&ir { + status = "okay"; + pinctrl-0 = <&remote_input_ao_pins>; + pinctrl-names = "default"; + linux,rc-map-name = "rc-o2cz-khamsin"; +}; + +&pwm_ef { + status = "okay"; + pinctrl-0 = <&pwm_e_pins>; + pinctrl-names = "default"; + clocks = <&clkc CLKID_FCLK_DIV4>; + clock-names = "clkin0"; +}; + +&saradc { + status = "okay"; + vref-supply = <&vddio_ao18>; +}; + +/* Wireless SDIO Module */ +&sd_emmc_a { + status = "okay"; + pinctrl-0 = <&sdio_pins>; + pinctrl-1 = <&sdio_clk_gate_pins>; + pinctrl-names = "default", "clk-gate"; + #address-cells = <1>; + #size-cells = <0>; + + bus-width = <4>; + cap-sd-highspeed; + max-frequency = <100000000>; + + non-removable; + disable-wp; + + mmc-pwrseq = <&sdio_pwrseq>; + + vmmc-supply = <&vddao_3v3>; + vqmmc-supply = <&vddio_boot>; +}; + +/* SD card */ +&sd_emmc_b { + status = "okay"; + pinctrl-0 = <&sdcard_pins>; + pinctrl-1 = <&sdcard_clk_gate_pins>; + pinctrl-names = "default", "clk-gate"; + + bus-width = <4>; + cap-sd-highspeed; + max-frequency = <100000000>; + disable-wp; + + cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>; + cd-inverted; + + vmmc-supply = <&vddao_3v3>; + vqmmc-supply = <&vddio_boot>; +}; + +/* eMMC */ +&sd_emmc_c { + status = "okay"; + pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>; + pinctrl-1 = <&emmc_clk_gate_pins>; + pinctrl-names = "default", "clk-gate"; + + bus-width = <8>; + cap-mmc-highspeed; + max-frequency = <100000000>; + non-removable; + disable-wp; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + + mmc-pwrseq = <&emmc_pwrseq>; + vmmc-supply = <&vcc_3v3>; + vqmmc-supply = <&vddio_boot>; +}; + +/* This is connected to the Bluetooth module: */ +&uart_A { + status = "okay"; + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; + pinctrl-names = "default"; + uart-has-rtscts; +}; + +/* This UART is brought out to the debug header */ +&uart_AO { + status = "okay"; + pinctrl-0 = <&uart_ao_a_pins>; + pinctrl-names = "default"; +}; + +&usb0 { + status = "okay"; +};
v3 cover ARM64: dts: meson-gxl: Add dts and bindings for Smartlabs SML-5442TW
In reply to Christian HewittThis series adds new bindings and a device-tree file for the Smartlabs SML-5442TW set-top box.
v3 - change to Smartlabs LLC
- removed sound node
v2 - removed audio nodes
- changes soundcard name to "meson-gx-audio"
- added missing uart-has-rtscts;
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-gxl: Add support for the Smartlabs SML-5442TW
Documentation/devicetree/bindings/arm/amlogic.txt | 1 + .../devicetree/bindings/vendor-prefixes.txt | 1 + arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts | 292 +++++++++++++++++++++ 4 files changed, 295 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts
Signature · 1 line
2.7.4
PATCH v3 1/3 dt-bindings: Add vendor prefix for Smartlabs LLC
Smartlabs LLC are a professional integrator of Interactive TV solutions and IPTV/VOD devices (https://www.smartlabs.tv/en/about/).
--- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
@@ -357,6 +357,7 @@ sirf SiRF Technology, Inc. sis Silicon Integrated Systems Corp. sitronix Sitronix Technology Corporation skyworks Skyworks Solutions, Inc. +smartlabs Smartlabs LLC smsc Standard Microsystems Corporation snps Synopsys, Inc. socionext Socionext Inc.
Signature · 1 line
2.7.4
Re: [PATCH v3 1/3] dt-bindings: Add vendor prefix for Smartlabs LLC
Am 08.11.18 um 20:43 schrieb Christian Hewitt:
Quoted 13 lines
Smartlabs LLC are a professional integrator of Interactive TV solutions and IPTV/VOD devices (https://www.smartlabs.tv/en/about/).
Signed-off-by Christian Hewitt <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/vendor-prefixes.txt +0
-0
Documentation/devicetree/bindings/vendor-prefixes.txt sirf SiRF Technology, Inc. · line 360
Quoted 4 lines
Documentation/devicetree/bindings/vendor-prefixes.txt +1
-0@@ -357,6 +357,7 @@ sirf SiRF Technology, Inc. sis Silicon Integrated Systems Corp. sitronix Sitronix Technology Corporation skyworks Skyworks Solutions, Inc. +smartlabs Smartlabs LLC
You added the LLC but did not upper-case the L - intentional?
Regards,
Andreas
Quoted 4 lines
Documentation/devicetree/bindings/vendor-prefixes.txt +0
-0smsc Standard Microsystems Corporation snps Synopsys, Inc. socionext Socionext Inc.
Signature · 3 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg)
Re: [PATCH v3 1/3] dt-bindings: Add vendor prefix for Smartlabs LLC
Quoted 9 lines · Andreas F?rber
Quoted 9 lines
Smartlabs LLC are a professional integrator of Interactive TV solutions and IPTV/VOD devices (https://www.smartlabs.tv/en/about/).
Signed-off-by Christian Hewitt <[email protected]>---
Documentation/devicetree/bindings/vendor-prefixes.txt| 1 +1 file changed, 1 insertion(+)
Quoted 11 lines
Quoted 9 lines
Documentation/devicetree/bindings/vendor-prefixes.txt +0
-0@@ -357,6 +357,7 @@ sirf SiRF Technology, Inc.sis Silicon Integrated Systems Corp.
sitronix Sitronix Technology Corporation
skyworks Skyworks Solutions, Inc.
+smartlabs Smartlabs LLCYou added the LLC but did not upper-case the L - intentional?
Not intentional. I?ll correct this (and another mention in the dts) in v4.
Christian
PATCH v3 2/3 dt-bindings: arm: amlogic: Add support for the Smartlabs SML-5442TW
In reply to Christian HewittThe SML-5442TW is an STB for O2 Czech IPTV/VOD and DVB-S 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 at 60p) video
Composite video + 2-channel audio output on 3.5mm jack S/PDIF audio output
Single DVB-S tuner (AVL6762/MxL608)
2x USB 2.0 ports
1x micro SD card slot
UART pins (internal)
--- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/amlogic.txt +1 -0
@@ -91,6 +91,7 @@ Board compatible values (alphabetically, grouped by SoC): - "amlogic,p230" (Meson gxl s905d) - "amlogic,p231" (Meson gxl s905d) + - "smartlabs,sml5442tw" (Meson gxl s905d) - "amlogic,p241" (Meson gxl s805x)
Signature · 1 line
2.7.4
Re: [PATCH v3 2/3] dt-bindings: arm: amlogic: Add support for the Smartlabs SML-5442TW
Quoted 17 lines · Christian Hewitt
The SML-5442TW is an STB for O2 Czech IPTV/VOD and DVB-S 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 at 60p) video
Composite video + 2-channel audio output on 3.5mm jack S/PDIF audio output
Single DVB-S tuner (AVL6762/MxL608)
2x USB 2.0 ports
1x micro SD card slot
UART pins (internal)
Quoted 5 lines
Signed-off-by Christian Hewitt <[email protected]>--- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + 1 file changed, 1 insertion(+)
PATCH v3 3/3 ARM64: dts: meson-gxl: Add support for the Smartlabs SML-5442TW
In reply to Christian HewittThe Smartlabs SML-5442TW is broadly similar to the P231 reference design but with the following differences:
- Yellow and Blue front-panel LEDs are available but disabled
- Red/Green LED is used to signal off/on status
- GPIOX_17 is set high to enable the QCA9377 wireless module
- uart_AO can be accessed after opening the case; soldered pins exist
--- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts | 292 +++++++++++++++++++++ 2 files changed, 293 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts
arch/arm64/boot/dts/amlogic/Makefile +1 -0
@@ -18,6 +18,7 @@ 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 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.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 +292 -0
292 lines not on this page · raw message
Signature · 1 line
2.7.4
Re: [PATCH v3 3/3] ARM64: dts: meson-gxl: Add support for the Smartlabs SML-5442TW
Hi Christian,
Quoted 43 lines · Christian Hewitt
The Smartlabs SML-5442TW is broadly similar to the P231 reference design but with the following differences:
- Yellow and Blue front-panel LEDs are available but disabled
- Red/Green LED is used to signal off/on status
-GPIOX_17is set high to enable the QCA9377 wireless module
-uart_AOcan be accessed after opening the case; soldered pins existSigned-off-by Christian Hewitt <[email protected]>--- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts | 292 +++++++++++++++++++++ 2 files changed, 293 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dtsarch/arm64/boot/dts/amlogic/Makefile +1
-0@@ -18,6 +18,7 @@ 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 dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.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.dtbarch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts new file +10
-0@@ -0,0 +1,292 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016 Endless Computers, Inc. + * Author: Carlo Caione <[email protected]> + * Copyright (c) 2018 BayLibre, SAS + * Author: Neil Armstrong <[email protected]> + */ + +/dts-v1/; +
[...]
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts line 292
Quoted 5 lines
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts new file +4
-0+ +&usb0 { + status = "okay"; +};
It's ok for me !
Neil
[email protected]
reviewerRe: [PATCH v3 3/3] ARM64: dts: meson-gxl: Add support for the Smartlabs SML-5442TW
In reply to Christian Hewittarch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts line 168
Quoted 9 lines · Christian Hewitt
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts new file +9
-0+/* This will enable the bluetooth module */ +&gpio { + bt-en { + gpio-hog; + gpios = <GPIOX_17 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "bt-en"; + }; +};
Instead of this, is it possible to use the driver provided by drivers/bluetooth/hci_qca.c ?