[PATCH 0/8] Add Samsung Galaxy S4 support

From: Alexandre MINETTE via B4 Relay

Date: Tue Apr 21 2026 - 05:46:16 EST


Add initial mainline support for the Samsung Galaxy S4, codenamed jflte.

This series adds the devicetree binding and board DTS, together with the
small driver and common DTS changes needed to boot the device with working
USB peripheral mode.

Tested on a Samsung Galaxy S4 GT-I9505. With this series the device boots
and supports UART, USB peripheral mode with USB networking, the front
notification LED and the physical buttons.

Signed-off-by: Alexandre MINETTE <contact@xxxxxxxxxxx>
---
Alexandre MINETTE (8):
dt-bindings: arm: qcom: Add Samsung Galaxy S4
dt-bindings: extcon: qcom,pm8941-misc: Add PM8921 compatible
pinctrl: qcom: Register functions before enabling pinctrl
iommu/msm: Look up masters per IOMMU instance
extcon: qcom-spmi-misc: Add PM8921 compatible
ARM: dts: qcom: apq8064: Fix USB controller clocks
ARM: dts: qcom: pm8921: Add USB ID extcon
ARM: dts: qcom: Add Samsung Galaxy S4

Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
.../bindings/extcon/qcom,pm8941-misc.yaml | 17 +-
arch/arm/boot/dts/qcom/Makefile | 1 +
arch/arm/boot/dts/qcom/pm8921.dtsi | 7 +
.../boot/dts/qcom/qcom-apq8064-samsung-jflte.dts | 484 +++++++++++++++++++++
arch/arm/boot/dts/qcom/qcom-apq8064.dtsi | 18 +-
drivers/extcon/extcon-qcom-spmi-misc.c | 1 +
drivers/iommu/msm_iommu.c | 28 +-
drivers/pinctrl/qcom/pinctrl-msm.c | 15 +-
9 files changed, 545 insertions(+), 27 deletions(-)
---
base-commit: b4e07588e743c989499ca24d49e752c074924a9a
change-id: 20260421-mainline-send-v1-sending-289ec98e6dc1

Best regards,
--
Alexandre MINETTE <contact@xxxxxxxxxxx>