Skip to contentSkip to conversation

Initial Samsung Galaxy Tab 4 10.1 (SM-T530) support

PATCH Applied Matti Lehtimäki 2 participants 5 messages Sep 27, 2022 – Oct 18, 2022

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

v6 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 v6:
- Set status as last property in nodes
- Pad register addresses to 8 hex digits

Changes in v5:
- Rename pm8226-regulators node to fix issue reported by make dtbs_check

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
#1 lore raw

PATCH v6 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
index 9b7d9d04ded6..0c10fa16a0f3 100644
@@ -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
#2 lore raw

PATCH v6 2/3 dt-bindings: arm: qcom: Document samsung,matisse-wifi device

In reply to Matti Lehtimäki

Add 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
index fb1d00bcc847..883ba92f589c 100644
@@ -115,6 +115,7 @@ properties:
           - enum:
               - asus,sparrow
               - lg,lenok
+              - samsung,matisse-wifi
           - const: qcom,apq8026
 
       - items:
Signature · 1 line
2.34.1
#3 lore raw

PATCH v6 3/3 ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 (SM-T530)

In reply to 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.

---
Changes in v6:
- Set status as last property in nodes
- Pad register addresses to 8 hex digits

Changes in v5:
- Rename pm8226-regulators node to fix issue reported by make dtbs_check

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
index 05d8aef6e5d2..69f6bbcf90c6 100644
@@ -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
maintainer Applied
#4 lore raw

Re: (subset) [PATCH v6 0/3] Initial Samsung Galaxy Tab 4 10.1 (SM-T530) support

In reply to Matti Lehtimäki
Quoted 8 lines · Matti Lehtimäki

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 v6:
- Set status as last property in nodes
- Pad register addresses to 8 hex digits

[...]

Applied, thanks!

[2/3] dt-bindings: arm: qcom: Document samsung,matisse-wifi device

      commit: 198f7b7cbb737ba7e7ac9c2ee744746b7faf9a9c
[3/3] ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 (SM-T530)
      commit: f15623bda1dcb37007b930496e2955cca12f30d8

Best regards,

Signature · 6 lines
Bjorn Andersson <[email protected]>

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