* [PATCH v2 0/2] Add USB support for Exynos7885 and enable USB and FG on gta3xllte
@ 2026-11-24 17:14 ` Umer Uddin via B4 Relay
0 siblings, 0 replies; 14+ messages in thread
From: Umer Uddin @ 2026-11-24 17:14 UTC (permalink / raw)
To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Marek Szyprowski,
Sylwester Nawrocki, Greg Kroah-Hartman, Peter Griffin,
Alim Akhtar
Cc: Krzysztof Kozlowski, linux-phy, devicetree, linux-kernel,
linux-usb, linux-arm-kernel, linux-samsung-soc, Henri Ommer,
David Virag, Umer Uddin
Hi guys, this patch series enables USB and FG on gta3xllte. All is tested.
DT changes were tested with make dtbs_check W=1, and the dt styling check
scripts with --mode strict flags, both of which returned no warnings.
Please note this patch now depends on David Virag's changes for USB[1].
Best regards,
Umer
[1] https://lore.kernel.org/linux-samsung-soc/20261123092244.1792040-1-virag.david003@gmail.com/T/#t
Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org>
---
Changes in v2:
- Drop patches that are being picked up updated and corrected by David
- Link to v1: https://patch.msgid.link/20261119-gta3xllte-usb-battery-v1-0-0cf5f763522e@mentallysanemainliners.org
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Peter Griffin <peter.griffin@linaro.org>
To: Alim Akhtar <alim.akhtar@samsung.com>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
Umer Uddin (2):
arm64: dts: exynos: exynos7885-gta3xllte: Enable USB support
arm64: dts: exynos: exynos7885-gta3xllte: Enable FuelGauge support
.../arm64/boot/dts/exynos/exynos7885-gta3xllte.dts | 50 ++++++++++++++++++++++
1 file changed, 50 insertions(+)
---
base-commit: 9b369f9debe1253032abb90a9469fe44146835d1
change-id: 20261119-gta3xllte-usb-battery-b95e4d89ae85
Best regards,
--
Umer Uddin <umer.uddin@mentallysanemainliners.org>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 0/2] Add USB support for Exynos7885 and enable USB and FG on gta3xllte
@ 2026-11-24 17:14 ` Umer Uddin via B4 Relay
0 siblings, 0 replies; 14+ messages in thread
From: Umer Uddin via B4 Relay @ 2026-11-24 17:14 UTC (permalink / raw)
To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Marek Szyprowski,
Sylwester Nawrocki, Greg Kroah-Hartman, Peter Griffin,
Alim Akhtar
Cc: Krzysztof Kozlowski, linux-phy, devicetree, linux-kernel,
linux-usb, linux-arm-kernel, linux-samsung-soc, Henri Ommer,
David Virag, Umer Uddin
Hi guys, this patch series enables USB and FG on gta3xllte. All is tested.
DT changes were tested with make dtbs_check W=1, and the dt styling check
scripts with --mode strict flags, both of which returned no warnings.
Please note this patch now depends on David Virag's changes for USB[1].
Best regards,
Umer
[1] https://lore.kernel.org/linux-samsung-soc/20261123092244.1792040-1-virag.david003@gmail.com/T/#t
Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org>
---
Changes in v2:
- Drop patches that are being picked up updated and corrected by David
- Link to v1: https://patch.msgid.link/20261119-gta3xllte-usb-battery-v1-0-0cf5f763522e@mentallysanemainliners.org
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Peter Griffin <peter.griffin@linaro.org>
To: Alim Akhtar <alim.akhtar@samsung.com>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
Umer Uddin (2):
arm64: dts: exynos: exynos7885-gta3xllte: Enable USB support
arm64: dts: exynos: exynos7885-gta3xllte: Enable FuelGauge support
.../arm64/boot/dts/exynos/exynos7885-gta3xllte.dts | 50 ++++++++++++++++++++++
1 file changed, 50 insertions(+)
---
base-commit: 9b369f9debe1253032abb90a9469fe44146835d1
change-id: 20261119-gta3xllte-usb-battery-b95e4d89ae85
Best regards,
--
Umer Uddin <umer.uddin@mentallysanemainliners.org>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 0/2] Add USB support for Exynos7885 and enable USB and FG on gta3xllte
@ 2026-11-24 17:14 ` Umer Uddin via B4 Relay
0 siblings, 0 replies; 14+ messages in thread
From: Umer Uddin via B4 Relay @ 2026-11-24 17:14 UTC (permalink / raw)
To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Marek Szyprowski,
Sylwester Nawrocki, Greg Kroah-Hartman, Peter Griffin,
Alim Akhtar
Cc: Krzysztof Kozlowski, linux-phy, devicetree, linux-kernel,
linux-usb, linux-arm-kernel, linux-samsung-soc, Henri Ommer,
David Virag, Umer Uddin
Hi guys, this patch series enables USB and FG on gta3xllte. All is tested.
DT changes were tested with make dtbs_check W=1, and the dt styling check
scripts with --mode strict flags, both of which returned no warnings.
Please note this patch now depends on David Virag's changes for USB[1].
Best regards,
Umer
[1] https://lore.kernel.org/linux-samsung-soc/20261123092244.1792040-1-virag.david003@gmail.com/T/#t
Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org>
---
Changes in v2:
- Drop patches that are being picked up updated and corrected by David
- Link to v1: https://patch.msgid.link/20261119-gta3xllte-usb-battery-v1-0-0cf5f763522e@mentallysanemainliners.org
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Peter Griffin <peter.griffin@linaro.org>
To: Alim Akhtar <alim.akhtar@samsung.com>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
Umer Uddin (2):
arm64: dts: exynos: exynos7885-gta3xllte: Enable USB support
arm64: dts: exynos: exynos7885-gta3xllte: Enable FuelGauge support
.../arm64/boot/dts/exynos/exynos7885-gta3xllte.dts | 50 ++++++++++++++++++++++
1 file changed, 50 insertions(+)
---
base-commit: 9b369f9debe1253032abb90a9469fe44146835d1
change-id: 20261119-gta3xllte-usb-battery-b95e4d89ae85
Best regards,
--
Umer Uddin <umer.uddin@mentallysanemainliners.org>
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 1/2] arm64: dts: exynos: exynos7885-gta3xllte: Enable USB support
2026-11-24 17:14 ` Umer Uddin via B4 Relay
(?)
@ 2026-11-24 17:14 ` Umer Uddin via B4 Relay
-1 siblings, 0 replies; 14+ messages in thread
From: Umer Uddin @ 2026-11-24 17:14 UTC (permalink / raw)
To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Marek Szyprowski,
Sylwester Nawrocki, Greg Kroah-Hartman, Peter Griffin,
Alim Akhtar
Cc: Krzysztof Kozlowski, linux-phy, devicetree, linux-kernel,
linux-usb, linux-arm-kernel, linux-samsung-soc, Henri Ommer,
David Virag, Umer Uddin
The Samsung Galaxy Tab A 10.1 (2019) has a USB-C port capable of USB 2.0
speeds, used both as host and device, and is used for charging the
tablet.
The port is controlled by an S2MU005 IC. Until support for it is
added, only USB device functionality is available, so enable the USB
controller and PHY in peripheral mode.
Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org>
---
.../arm64/boot/dts/exynos/exynos7885-gta3xllte.dts | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
index 03476f8b1200..57df878cb563 100644
--- a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
+++ b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
@@ -68,6 +68,12 @@ memory@80000000 {
<0x0 0xc0000000 0x40000000>;
};
+ /* TODO: Remove this once PMIC is implemented */
+ reg_dummy: regulator-0 {
+ compatible = "regulator-fixed";
+ regulator-name = "dummy_reg";
+ };
+
reserved-memory {
ranges;
#address-cells = <2>;
@@ -127,3 +133,19 @@ key_volup: key-volup-pins {
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
};
};
+
+&usbdrd {
+ vdd10-supply = <®_dummy>;
+ vdd33-supply = <®_dummy>;
+
+ status = "okay";
+};
+
+&usbdrd_dwc3 {
+ /* Force to peripheral until we have Type-C working */
+ dr_mode = "peripheral";
+};
+
+&usbdrd_phy {
+ status = "okay";
+};
--
2.56.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH v2 1/2] arm64: dts: exynos: exynos7885-gta3xllte: Enable USB support
@ 2026-11-24 17:14 ` Umer Uddin via B4 Relay
0 siblings, 0 replies; 14+ messages in thread
From: Umer Uddin via B4 Relay @ 2026-11-24 17:14 UTC (permalink / raw)
To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Marek Szyprowski,
Sylwester Nawrocki, Greg Kroah-Hartman, Peter Griffin,
Alim Akhtar
Cc: Krzysztof Kozlowski, linux-phy, devicetree, linux-kernel,
linux-usb, linux-arm-kernel, linux-samsung-soc, Henri Ommer,
David Virag, Umer Uddin
From: Umer Uddin <umer.uddin@mentallysanemainliners.org>
The Samsung Galaxy Tab A 10.1 (2019) has a USB-C port capable of USB 2.0
speeds, used both as host and device, and is used for charging the
tablet.
The port is controlled by an S2MU005 IC. Until support for it is
added, only USB device functionality is available, so enable the USB
controller and PHY in peripheral mode.
Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org>
---
.../arm64/boot/dts/exynos/exynos7885-gta3xllte.dts | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
index 03476f8b1200..57df878cb563 100644
--- a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
+++ b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
@@ -68,6 +68,12 @@ memory@80000000 {
<0x0 0xc0000000 0x40000000>;
};
+ /* TODO: Remove this once PMIC is implemented */
+ reg_dummy: regulator-0 {
+ compatible = "regulator-fixed";
+ regulator-name = "dummy_reg";
+ };
+
reserved-memory {
ranges;
#address-cells = <2>;
@@ -127,3 +133,19 @@ key_volup: key-volup-pins {
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
};
};
+
+&usbdrd {
+ vdd10-supply = <®_dummy>;
+ vdd33-supply = <®_dummy>;
+
+ status = "okay";
+};
+
+&usbdrd_dwc3 {
+ /* Force to peripheral until we have Type-C working */
+ dr_mode = "peripheral";
+};
+
+&usbdrd_phy {
+ status = "okay";
+};
--
2.56.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH v2 1/2] arm64: dts: exynos: exynos7885-gta3xllte: Enable USB support
@ 2026-11-24 17:14 ` Umer Uddin via B4 Relay
0 siblings, 0 replies; 14+ messages in thread
From: Umer Uddin via B4 Relay @ 2026-11-24 17:14 UTC (permalink / raw)
To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Marek Szyprowski,
Sylwester Nawrocki, Greg Kroah-Hartman, Peter Griffin,
Alim Akhtar
Cc: Krzysztof Kozlowski, linux-phy, devicetree, linux-kernel,
linux-usb, linux-arm-kernel, linux-samsung-soc, Henri Ommer,
David Virag, Umer Uddin
From: Umer Uddin <umer.uddin@mentallysanemainliners.org>
The Samsung Galaxy Tab A 10.1 (2019) has a USB-C port capable of USB 2.0
speeds, used both as host and device, and is used for charging the
tablet.
The port is controlled by an S2MU005 IC. Until support for it is
added, only USB device functionality is available, so enable the USB
controller and PHY in peripheral mode.
Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org>
---
.../arm64/boot/dts/exynos/exynos7885-gta3xllte.dts | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
index 03476f8b1200..57df878cb563 100644
--- a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
+++ b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
@@ -68,6 +68,12 @@ memory@80000000 {
<0x0 0xc0000000 0x40000000>;
};
+ /* TODO: Remove this once PMIC is implemented */
+ reg_dummy: regulator-0 {
+ compatible = "regulator-fixed";
+ regulator-name = "dummy_reg";
+ };
+
reserved-memory {
ranges;
#address-cells = <2>;
@@ -127,3 +133,19 @@ key_volup: key-volup-pins {
samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
};
};
+
+&usbdrd {
+ vdd10-supply = <®_dummy>;
+ vdd33-supply = <®_dummy>;
+
+ status = "okay";
+};
+
+&usbdrd_dwc3 {
+ /* Force to peripheral until we have Type-C working */
+ dr_mode = "peripheral";
+};
+
+&usbdrd_phy {
+ status = "okay";
+};
--
2.56.1
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH v2 2/2] arm64: dts: exynos: exynos7885-gta3xllte: Enable FuelGauge support
2026-11-24 17:14 ` Umer Uddin via B4 Relay
(?)
@ 2026-11-24 17:14 ` Umer Uddin via B4 Relay
-1 siblings, 0 replies; 14+ messages in thread
From: Umer Uddin @ 2026-11-24 17:14 UTC (permalink / raw)
To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Marek Szyprowski,
Sylwester Nawrocki, Greg Kroah-Hartman, Peter Griffin,
Alim Akhtar
Cc: Krzysztof Kozlowski, linux-phy, devicetree, linux-kernel,
linux-usb, linux-arm-kernel, linux-samsung-soc, Henri Ommer,
David Virag, Umer Uddin
The Samsung Galaxy Tab A 10.1 (2019) has a S2MU005 Multi Function Device
(MFD). It contains PMIC, FG and EXTCON. This commit enables the FG, to be
used with a simple battery device to allow for battery percentages to be
reported.
Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org>
---
.../arm64/boot/dts/exynos/exynos7885-gta3xllte.dts | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
index 57df878cb563..1c0af6f89396 100644
--- a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
+++ b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
@@ -22,6 +22,13 @@ aliases {
serial2 = &serial_2;
};
+ battery: battery {
+ compatible = "simple-battery";
+ charge-full-design-microamp-hours = <6000000>;
+ voltage-min-design-microvolt = <3300000>;
+ voltage-max-design-microvolt = <4350000>;
+ };
+
chosen {
ranges;
#address-cells = <2>;
@@ -86,6 +93,20 @@ cont_splash_mem: framebuffer@ec000000 {
};
};
+&i2c_0 {
+ status = "okay";
+
+ fuel-gauge@3b {
+ compatible = "samsung,s2mu005-fuel-gauge";
+ reg = <0x3b>;
+ interrupt-parent = <&gpa2>;
+ interrupts = <4 IRQ_TYPE_EDGE_BOTH>;
+ pinctrl-0 = <&fuel_irq>;
+ pinctrl-names = "default";
+ monitored-battery = <&battery>;
+ };
+};
+
&mmc_0 {
bus-width = <8>;
cap-mmc-highspeed;
@@ -112,6 +133,13 @@ &oscclk {
};
&pinctrl_alive {
+ fuel_irq: fuel-irq-pins {
+ samsung,pins = "gpa2-4";
+ samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
+ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+ samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
+ };
+
key_power: key-power-pins {
samsung,pins = "gpa1-7";
samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
--
2.56.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH v2 2/2] arm64: dts: exynos: exynos7885-gta3xllte: Enable FuelGauge support
@ 2026-11-24 17:14 ` Umer Uddin via B4 Relay
0 siblings, 0 replies; 14+ messages in thread
From: Umer Uddin via B4 Relay @ 2026-11-24 17:14 UTC (permalink / raw)
To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Marek Szyprowski,
Sylwester Nawrocki, Greg Kroah-Hartman, Peter Griffin,
Alim Akhtar
Cc: Krzysztof Kozlowski, linux-phy, devicetree, linux-kernel,
linux-usb, linux-arm-kernel, linux-samsung-soc, Henri Ommer,
David Virag, Umer Uddin
From: Umer Uddin <umer.uddin@mentallysanemainliners.org>
The Samsung Galaxy Tab A 10.1 (2019) has a S2MU005 Multi Function Device
(MFD). It contains PMIC, FG and EXTCON. This commit enables the FG, to be
used with a simple battery device to allow for battery percentages to be
reported.
Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org>
---
.../arm64/boot/dts/exynos/exynos7885-gta3xllte.dts | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
index 57df878cb563..1c0af6f89396 100644
--- a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
+++ b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
@@ -22,6 +22,13 @@ aliases {
serial2 = &serial_2;
};
+ battery: battery {
+ compatible = "simple-battery";
+ charge-full-design-microamp-hours = <6000000>;
+ voltage-min-design-microvolt = <3300000>;
+ voltage-max-design-microvolt = <4350000>;
+ };
+
chosen {
ranges;
#address-cells = <2>;
@@ -86,6 +93,20 @@ cont_splash_mem: framebuffer@ec000000 {
};
};
+&i2c_0 {
+ status = "okay";
+
+ fuel-gauge@3b {
+ compatible = "samsung,s2mu005-fuel-gauge";
+ reg = <0x3b>;
+ interrupt-parent = <&gpa2>;
+ interrupts = <4 IRQ_TYPE_EDGE_BOTH>;
+ pinctrl-0 = <&fuel_irq>;
+ pinctrl-names = "default";
+ monitored-battery = <&battery>;
+ };
+};
+
&mmc_0 {
bus-width = <8>;
cap-mmc-highspeed;
@@ -112,6 +133,13 @@ &oscclk {
};
&pinctrl_alive {
+ fuel_irq: fuel-irq-pins {
+ samsung,pins = "gpa2-4";
+ samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
+ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+ samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
+ };
+
key_power: key-power-pins {
samsung,pins = "gpa1-7";
samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
--
2.56.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH v2 2/2] arm64: dts: exynos: exynos7885-gta3xllte: Enable FuelGauge support
@ 2026-11-24 17:14 ` Umer Uddin via B4 Relay
0 siblings, 0 replies; 14+ messages in thread
From: Umer Uddin via B4 Relay @ 2026-11-24 17:14 UTC (permalink / raw)
To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Marek Szyprowski,
Sylwester Nawrocki, Greg Kroah-Hartman, Peter Griffin,
Alim Akhtar
Cc: Krzysztof Kozlowski, linux-phy, devicetree, linux-kernel,
linux-usb, linux-arm-kernel, linux-samsung-soc, Henri Ommer,
David Virag, Umer Uddin
From: Umer Uddin <umer.uddin@mentallysanemainliners.org>
The Samsung Galaxy Tab A 10.1 (2019) has a S2MU005 Multi Function Device
(MFD). It contains PMIC, FG and EXTCON. This commit enables the FG, to be
used with a simple battery device to allow for battery percentages to be
reported.
Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org>
---
.../arm64/boot/dts/exynos/exynos7885-gta3xllte.dts | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
index 57df878cb563..1c0af6f89396 100644
--- a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
+++ b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
@@ -22,6 +22,13 @@ aliases {
serial2 = &serial_2;
};
+ battery: battery {
+ compatible = "simple-battery";
+ charge-full-design-microamp-hours = <6000000>;
+ voltage-min-design-microvolt = <3300000>;
+ voltage-max-design-microvolt = <4350000>;
+ };
+
chosen {
ranges;
#address-cells = <2>;
@@ -86,6 +93,20 @@ cont_splash_mem: framebuffer@ec000000 {
};
};
+&i2c_0 {
+ status = "okay";
+
+ fuel-gauge@3b {
+ compatible = "samsung,s2mu005-fuel-gauge";
+ reg = <0x3b>;
+ interrupt-parent = <&gpa2>;
+ interrupts = <4 IRQ_TYPE_EDGE_BOTH>;
+ pinctrl-0 = <&fuel_irq>;
+ pinctrl-names = "default";
+ monitored-battery = <&battery>;
+ };
+};
+
&mmc_0 {
bus-width = <8>;
cap-mmc-highspeed;
@@ -112,6 +133,13 @@ &oscclk {
};
&pinctrl_alive {
+ fuel_irq: fuel-irq-pins {
+ samsung,pins = "gpa2-4";
+ samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
+ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+ samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
+ };
+
key_power: key-power-pins {
samsung,pins = "gpa1-7";
samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
--
2.56.1
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH v2 1/2] arm64: dts: exynos: exynos7885-gta3xllte: Enable USB support
2026-11-24 17:14 ` Umer Uddin via B4 Relay
@ 2026-11-24 17:20 ` sashiko-bot
-1 siblings, 0 replies; 14+ messages in thread
From: sashiko-bot @ 2026-11-24 17:20 UTC (permalink / raw)
To: Umer Uddin
Cc: linux-phy, devicetree, linux-usb, robh, conor+dt, vkoul,
neil.armstrong, olteanv
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] arm64: dts: exynos: undefined usbdrd labels break
exynos7885-gta3xllte.dtb build
--
commit 24934dd2a8cdf511d5db081b71441ee2a295b40b
Author: Umer Uddin <umer.uddin@mentallysanemainliners.org>
arm64: dts: exynos: exynos7885-gta3xllte: Enable USB support
This commit adds a fixed dummy regulator and enables the USB controller and
PHY in peripheral mode for the Samsung Galaxy Tab A 10.1 (2019).
> diff --git a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
> index 03476f8b1200b..57df878cb5633 100644
> --- a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
> +++ b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
[ ... ]
> @@ -127,3 +133,19 @@ key_volup: key-volup-pins {
> samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
> };
> };
> +
> +&usbdrd {
> + vdd10-supply = <®_dummy>;
> + vdd33-supply = <®_dummy>;
> +
> + status = "okay";
> +};
> +
> +&usbdrd_dwc3 {
> + /* Force to peripheral until we have Type-C working */
> + dr_mode = "peripheral";
> +};
> +
> +&usbdrd_phy {
> + status = "okay";
> +};
[Severity: High]
Are the usbdrd, usbdrd_dwc3, and usbdrd_phy labels defined in
arch/arm64/boot/dts/exynos/exynos7885.dtsi? Neither exynos7885.dtsi nor
the files it includes define these nodes, so building
exynos7885-gta3xllte.dtb with CONFIG_ARCH_EXYNOS enabled fails in dtc with
missing label errors.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124-gta3xllte-usb-battery-v2-0-80bdcb1753bb@mentallysanemainliners.org?part=1
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v2 1/2] arm64: dts: exynos: exynos7885-gta3xllte: Enable USB support
@ 2026-11-24 17:20 ` sashiko-bot
0 siblings, 0 replies; 14+ messages in thread
From: sashiko-bot @ 2026-11-24 17:20 UTC (permalink / raw)
To: Umer Uddin
Cc: linux-phy, devicetree, linux-usb, robh, conor+dt, vkoul,
neil.armstrong, olteanv
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] arm64: dts: exynos: undefined usbdrd labels break
exynos7885-gta3xllte.dtb build
--
commit 24934dd2a8cdf511d5db081b71441ee2a295b40b
Author: Umer Uddin <umer.uddin@mentallysanemainliners.org>
arm64: dts: exynos: exynos7885-gta3xllte: Enable USB support
This commit adds a fixed dummy regulator and enables the USB controller and
PHY in peripheral mode for the Samsung Galaxy Tab A 10.1 (2019).
> diff --git a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
> index 03476f8b1200b..57df878cb5633 100644
> --- a/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
> +++ b/arch/arm64/boot/dts/exynos/exynos7885-gta3xllte.dts
[ ... ]
> @@ -127,3 +133,19 @@ key_volup: key-volup-pins {
> samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
> };
> };
> +
> +&usbdrd {
> + vdd10-supply = <®_dummy>;
> + vdd33-supply = <®_dummy>;
> +
> + status = "okay";
> +};
> +
> +&usbdrd_dwc3 {
> + /* Force to peripheral until we have Type-C working */
> + dr_mode = "peripheral";
> +};
> +
> +&usbdrd_phy {
> + status = "okay";
> +};
[Severity: High]
Are the usbdrd, usbdrd_dwc3, and usbdrd_phy labels defined in
arch/arm64/boot/dts/exynos/exynos7885.dtsi? Neither exynos7885.dtsi nor
the files it includes define these nodes, so building
exynos7885-gta3xllte.dtb with CONFIG_ARCH_EXYNOS enabled fails in dtc with
missing label errors.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124-gta3xllte-usb-battery-v2-0-80bdcb1753bb@mentallysanemainliners.org?part=1
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v2 0/2] Add USB support for Exynos7885 and enable USB and FG on gta3xllte
2026-11-24 17:14 ` Umer Uddin via B4 Relay
` (3 preceding siblings ...)
(?)
@ 2026-11-24 17:20 ` sashiko-bot
-1 siblings, 0 replies; 14+ messages in thread
From: sashiko-bot @ 2026-11-24 17:20 UTC (permalink / raw)
To: Umer Uddin; +Cc: linux-usb
Sashiko has finished reviewing this 2-patch series:
- Patch 2: no issues found.
- Patch 1 ("arm64: dts: exynos: exynos7885-gta3xllte: Enable USB..."): 1
potential issue (1 High)
A detailed review has been sent as a separate reply to patch 1.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124-gta3xllte-usb-battery-v2-0-80bdcb1753bb@mentallysanemainliners.org
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v2 0/2] Add USB support for Exynos7885 and enable USB and FG on gta3xllte
2026-11-24 17:14 ` Umer Uddin via B4 Relay
@ 2026-11-25 15:54 ` Umer Uddin
-1 siblings, 0 replies; 14+ messages in thread
From: Umer Uddin @ 2026-11-25 15:54 UTC (permalink / raw)
To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Marek Szyprowski,
Sylwester Nawrocki, Greg Kroah-Hartman, Peter Griffin,
Alim Akhtar
Cc: Krzysztof Kozlowski, linux-phy, devicetree, linux-kernel,
linux-usb, linux-arm-kernel, linux-samsung-soc, Henri Ommer,
David Virag
On 24/11/2026 17:14, Umer Uddin via B4 Relay wrote:
> Hi guys, this patch series enables USB and FG on gta3xllte. All is tested.
>
> DT changes were tested with make dtbs_check W=1, and the dt styling check
> scripts with --mode strict flags, both of which returned no warnings.
>
> Please note this patch now depends on David Virag's changes for USB[1].
>
> Best regards,
> Umer
>
> [1] https://lore.kernel.org/linux-samsung-soc/20261123092244.1792040-1-virag.david003@gmail.com/T/#t
>
> Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org>
> ---
> Changes in v2:
> - Drop patches that are being picked up updated and corrected by David
> - Link to v1: https://patch.msgid.link/20261119-gta3xllte-usb-battery-v1-0-0cf5f763522e@mentallysanemainliners.org
>
> To: Rob Herring <robh@kernel.org>
> To: Krzysztof Kozlowski <krzk+dt@kernel.org>
> To: Conor Dooley <conor+dt@kernel.org>
> To: Peter Griffin <peter.griffin@linaro.org>
> To: Alim Akhtar <alim.akhtar@samsung.com>
> Cc: devicetree@vger.kernel.org
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-samsung-soc@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
>
> ---
> Umer Uddin (2):
> arm64: dts: exynos: exynos7885-gta3xllte: Enable USB support
> arm64: dts: exynos: exynos7885-gta3xllte: Enable FuelGauge support
>
> .../arm64/boot/dts/exynos/exynos7885-gta3xllte.dts | 50 ++++++++++++++++++++++
> 1 file changed, 50 insertions(+)
> ---
> base-commit: 9b369f9debe1253032abb90a9469fe44146835d1
> change-id: 20261119-gta3xllte-usb-battery-b95e4d89ae85
>
> Best regards,
> --
> Umer Uddin <umer.uddin@mentallysanemainliners.org>
Hi, dependency has changed, it has now changed to David's V3[1], since
this patch
still will apply fine on top of his V3, I am unsure if I need to resend it.
[1]
https://lore.kernel.org/linux-samsung-soc/20261125145458.2594179-1-virag.david003@gmail.com/T/#t
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v2 0/2] Add USB support for Exynos7885 and enable USB and FG on gta3xllte
@ 2026-11-25 15:54 ` Umer Uddin
0 siblings, 0 replies; 14+ messages in thread
From: Umer Uddin @ 2026-11-25 15:54 UTC (permalink / raw)
To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Marek Szyprowski,
Sylwester Nawrocki, Greg Kroah-Hartman, Peter Griffin,
Alim Akhtar
Cc: Krzysztof Kozlowski, linux-phy, devicetree, linux-kernel,
linux-usb, linux-arm-kernel, linux-samsung-soc, Henri Ommer,
David Virag
On 24/11/2026 17:14, Umer Uddin via B4 Relay wrote:
> Hi guys, this patch series enables USB and FG on gta3xllte. All is tested.
>
> DT changes were tested with make dtbs_check W=1, and the dt styling check
> scripts with --mode strict flags, both of which returned no warnings.
>
> Please note this patch now depends on David Virag's changes for USB[1].
>
> Best regards,
> Umer
>
> [1] https://lore.kernel.org/linux-samsung-soc/20261123092244.1792040-1-virag.david003@gmail.com/T/#t
>
> Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org>
> ---
> Changes in v2:
> - Drop patches that are being picked up updated and corrected by David
> - Link to v1: https://patch.msgid.link/20261119-gta3xllte-usb-battery-v1-0-0cf5f763522e@mentallysanemainliners.org
>
> To: Rob Herring <robh@kernel.org>
> To: Krzysztof Kozlowski <krzk+dt@kernel.org>
> To: Conor Dooley <conor+dt@kernel.org>
> To: Peter Griffin <peter.griffin@linaro.org>
> To: Alim Akhtar <alim.akhtar@samsung.com>
> Cc: devicetree@vger.kernel.org
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-samsung-soc@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
>
> ---
> Umer Uddin (2):
> arm64: dts: exynos: exynos7885-gta3xllte: Enable USB support
> arm64: dts: exynos: exynos7885-gta3xllte: Enable FuelGauge support
>
> .../arm64/boot/dts/exynos/exynos7885-gta3xllte.dts | 50 ++++++++++++++++++++++
> 1 file changed, 50 insertions(+)
> ---
> base-commit: 9b369f9debe1253032abb90a9469fe44146835d1
> change-id: 20261119-gta3xllte-usb-battery-b95e4d89ae85
>
> Best regards,
> --
> Umer Uddin <umer.uddin@mentallysanemainliners.org>
Hi, dependency has changed, it has now changed to David's V3[1], since
this patch
still will apply fine on top of his V3, I am unsure if I need to resend it.
[1]
https://lore.kernel.org/linux-samsung-soc/20261125145458.2594179-1-virag.david003@gmail.com/T/#t
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2026-11-25 15:56 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24 17:14 [PATCH v2 0/2] Add USB support for Exynos7885 and enable USB and FG on gta3xllte Umer Uddin
2026-11-24 17:14 ` Umer Uddin via B4 Relay
2026-11-24 17:14 ` Umer Uddin via B4 Relay
2026-11-24 17:14 ` [PATCH v2 1/2] arm64: dts: exynos: exynos7885-gta3xllte: Enable USB support Umer Uddin
2026-11-24 17:14 ` Umer Uddin via B4 Relay
2026-11-24 17:14 ` Umer Uddin via B4 Relay
2026-11-24 17:20 ` sashiko-bot
2026-11-24 17:20 ` sashiko-bot
2026-11-24 17:14 ` [PATCH v2 2/2] arm64: dts: exynos: exynos7885-gta3xllte: Enable FuelGauge support Umer Uddin
2026-11-24 17:14 ` Umer Uddin via B4 Relay
2026-11-24 17:14 ` Umer Uddin via B4 Relay
2026-11-24 17:20 ` [PATCH v2 0/2] Add USB support for Exynos7885 and enable USB and FG on gta3xllte sashiko-bot
2026-11-25 15:54 ` Umer Uddin
2026-11-25 15:54 ` Umer Uddin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.