Initial Samsung Galaxy Tab 4 10.1 (SM-T530) support
Subsystems (4)
v2 cover Initial Samsung Galaxy Tab 4 10.1 (SM-T530) support
Add device tree node for pm8226 GPIOs and support for the Samsung Galaxy Tab 4 10.1 (SM-T530) tablet which is based on apq8026.
---
Changes in v2:
- Change codename to matisse-wifi
- Remove msm-id, not needed when lk2nd is used
- Remove unused labels from reserved memory regions
- Rename muic node
- Rename pm8226 gpio node
Matti Lehtimäki (3):
ARM: dts: qcom: pm8226: Add node for the GPIOs
dt-bindings: arm: qcom: Document samsung,matisse-wifi device
ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 (SM-T530)
.../devicetree/bindings/arm/qcom.yaml | 1 + arch/arm/boot/dts/Makefile | 1 + .../dts/qcom-apq8026-samsung-matisse-wifi.dts | 469 ++++++++++++++++++ arch/arm/boot/dts/qcom-pm8226.dtsi | 10 + 4 files changed, 481 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
Signature · 1 line
2.34.1
PATCH v2 1/3 ARM: dts: qcom: pm8226: Add node for the GPIOs
The PM8226 provides 8 GPIOs. Add a node to support them.
---
Changes in v2:
- Rename pm8226 gpio node
--- arch/arm/boot/dts/qcom-pm8226.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/arm/boot/dts/qcom-pm8226.dtsi +10 -0
@@ -90,6 +90,16 @@ pm8226_mpps: mpps@a000 { interrupt-controller; #interrupt-cells = <2>; }; + + pm8226_gpios: gpio@c000 { + compatible = "qcom,pm8226-gpio", "qcom,spmi-gpio"; + reg = <0xc000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pm8226_gpios 0 0 8>; + interrupt-controller; + #interrupt-cells = <2>; + }; }; pm8226_1: pm8226@1 {
Signature · 1 line
2.34.1
PATCH v2 2/3 dt-bindings: arm: qcom: Document samsung,matisse-wifi device
In reply to Matti LehtimäkiAdd binding documentation for Samsung Galaxy Tab 4 10.1 (2014) wifi tablet which is based on Snapdragon 400 (apq8026) SoC.
---
Changes in v2:
- Change codename to matisse-wifi
--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
@@ -104,6 +104,7 @@ properties: - enum: - asus,sparrow - lg,lenok + - samsung,matisse-wifi - const: qcom,apq8026 - items:
Signature · 1 line
2.34.1
Re: [PATCH v2 2/3] dt-bindings: arm: qcom: Document samsung,matisse-wifi device
Quoted 5 lines · Matti Lehtimäki
Add binding documentation for Samsung Galaxy Tab 4 10.1 (2014) wifi tablet which is based on Snapdragon 400 (apq8026) SoC.
Signed-off-by Matti Lehtimäki <[email protected]>---
Best regards,
Krzysztof
PATCH v2 3/3 ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 (SM-T530)
In reply to Matti LehtimäkiAdd a device tree for the Samsung Galaxy Tab 4 10.1 (SM-T530) wifi tablet based on the apq8026 platform.
Currently supported are accelerometer sensor, hall sensor, internal storage, physical buttons (power & volume), screen (based on simple-framebuffer set up by the bootloader) sdcard, touchscreen and USB.
---
Changes in v2:
- Change codename to matisse-wifi
- Remove msm-id, not needed when lk2nd is used
- Remove unused labels from reserved memory regions
- Rename muic node
--- arch/arm/boot/dts/Makefile | 1 + .../dts/qcom-apq8026-samsung-matisse-wifi.dts | 469 ++++++++++++++++++ 2 files changed, 470 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -1010,6 +1010,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-apq8016-sbc.dtb \ qcom-apq8026-asus-sparrow.dtb \ qcom-apq8026-lg-lenok.dtb \ + qcom-apq8026-samsung-matisse-wifi.dtb \ qcom-apq8060-dragonboard.dtb \ qcom-apq8064-cm-qs600.dtb \ qcom-apq8064-ifc6410.dtb \
arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts new file +469 -0
469 lines not on this page · raw message
Signature · 1 line
2.34.1
Re: [PATCH v2 3/3] ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 (SM-T530)
Quoted 39 lines · Matti Lehtimäki
Add a device tree for the Samsung Galaxy Tab 4 10.1 (SM-T530) wifi tablet based on the apq8026 platform.
Currently supported are accelerometer sensor, hall sensor, internal storage, physical buttons (power & volume), screen (based on simple-framebuffer set up by the bootloader) sdcard, touchscreen and USB.
Signed-off-by Matti Lehtimäki <[email protected]>---
Changes in v2:
- Change codename to matisse-wifi
- Remove msm-id, not needed when lk2nd is used
- Remove unused labels from reserved memory regions
- Rename muic node--- arch/arm/boot/dts/Makefile | 1 + .../dts/qcom-apq8026-samsung-matisse-wifi.dts | 469 ++++++++++++++++++ 2 files changed, 470 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dtsarch/arm/boot/dts/Makefile +1
-0@@ -1010,6 +1010,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-apq8016-sbc.dtb \ qcom-apq8026-asus-sparrow.dtb \ qcom-apq8026-lg-lenok.dtb \ + qcom-apq8026-samsung-matisse-wifi.dtb \ qcom-apq8060-dragonboard.dtb \ qcom-apq8064-cm-qs600.dtb \ qcom-apq8064-ifc6410.dtb \arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts new file +0
-0
arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts line 10
Quoted 10 lines
arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts new file +10
-0@@ -0,0 +1,469 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2022, Matti Lehtimäki <[email protected]> + */ + +/dts-v1/; + +#include "qcom-msm8226.dtsi" +#include "qcom-pm8226.dtsi" +#include <dt-bindings/input/input.h>
Hello!
I think generally dt-bindings includes go before the DTS ones.
Quoted 6 lines
arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts new file +6
-0+ +/delete-node/ &smem_region; + +/ { + model = "Samsung Galaxy Tab 4 10.1"; + compatible = "samsung,matisse-wifi", "qcom,apq8026";
[...]
arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts line 412
Quoted 8 lines
arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts new file +8
-0+ +&sdhc_2 { + status = "okay"; + + vmmc-supply = <&pm8226_l18>; + vqmmc-supply = <&pm8226_l21>; + + bus-width = <8>;
I doubt this.. do you have downstream backing this up?
arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts line 414
Quoted 2 lines
arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts new file +2
-0+ cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; +};
Other than that, this looks good to me.
Konrad