Initial Samsung Galaxy Tab 4 10.1 (SM-T530) support
Subsystems (4)
v4 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 v4:
- Move delete-node to memory-region
- Move usb-switch node to blsp_i2c4
Changes in v3:
- Fix sdhc_2 bus width
- Reorder includes
Changes in v2:
- Change codename to matisse-wifi
- Remove msm-id from device dts
- 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 | 453 ++++++++++++++++++ arch/arm/boot/dts/qcom-pm8226.dtsi | 10 + 4 files changed, 465 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
Signature · 1 line
2.34.1
PATCH v4 1/3 ARM: dts: qcom: pm8226: Add node for the GPIOs
The PM8226 provides 8 GPIOs. Add a node to support them.
---
(no changes since v2)
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 v4 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.
---
(no changes since v2)
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
@@ -115,6 +115,7 @@ properties: - enum: - asus,sparrow - lg,lenok + - samsung,matisse-wifi - const: qcom,apq8026 - items:
Signature · 1 line
2.34.1
PATCH v4 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 v4:
- Move delete-node to memory-region
- Move usb-switch node to blsp_i2c4
Changes in v3:
- Fix sdhc_2 bus width
- Reorder includes
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 | 453 ++++++++++++++++++ 2 files changed, 454 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -1027,6 +1027,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 +453 -0
453 lines not on this page · raw message
Signature · 1 line
2.34.1
Re: [PATCH v4 3/3] ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 (SM-T530)
Quoted 14 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 v4:
- Move delete-node to memory-region
- Move usb-switch node toblsp_i2c4
(...)
arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts line 228
Quoted 4 lines
arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts new file +4
-0+}; + +&rpm_requests { + pm8226-regulators {
I don't think this passes bindings. Run make dtbs_check. I don't want to keep accepting DTS which does not validate and none of submiters want to fix this...
Rebase on top of:
https://lore.kernel.org/linux-devicetree/[email protected]/T/#t
Node name should be "regulators".
Be sure your DTS has 0 warning.
Best regards,
Krzysztof