Add Sony Xperia Z3 Compact smartphone
v2 cover Add Sony Xperia Z3 Compact smartphone
This is almost the same as the dts of the Xperia Z3, except for the battery charge limits.
The current on the l21 regulator for shinano is also bumped up to stop SD card errors.
---
Changes in v2:
- Reordered dt-bindings and dts commits
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Valeriy Klimin (3):
dt-bindings: arm: qcom: Add Sony Xperia Z3 Compact
ARM: dts: qcom: Add Sony Xperia Z3 Compact smartphone
ARM: dts: qcom: msm8974-sony-shinano: increase load on l21 for sdhc2
Documentation/devicetree/bindings/arm/qcom.yaml | 1 + arch/arm/boot/dts/qcom/Makefile | 1 + .../qcom-msm8974pro-sony-xperia-shinano-aries.dts | 44 ++++++++++++++++++++++ ...qcom-msm8974pro-sony-xperia-shinano-common.dtsi | 2 + 4 files changed, 48 insertions(+)
---
base-commit: cd214efd16e30bf1aa40ccfaaf9177f47dd21fd5
change-id: 20240620-sony-aries-4a5bce06c91d
Best regards,
Signature · 1 line
Valeriy Klimin <[email protected]>
PATCH v2 1/3 dt-bindings: arm: qcom: Add Sony Xperia Z3 Compact
Add the compatible for this device.
--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
@@ -184,6 +184,7 @@ properties: - fairphone,fp2 - oneplus,bacon - samsung,klte + - sony,xperia-aries - sony,xperia-castor - sony,xperia-leo - const: qcom,msm8974pro
Signature · 1 line
2.43.2
PATCH v2 2/3 ARM: dts: qcom: Add Sony Xperia Z3 Compact smartphone
In reply to Valeriy KliminAdd the dts for the Z3 Compact. This is currently almost the same as the plain Z3 as they share almost the same hardware and nothing device-specific is currently supported.
--- arch/arm/boot/dts/qcom/Makefile | 1 + .../qcom-msm8974pro-sony-xperia-shinano-aries.dts | 44 ++++++++++++++++++++++ 2 files changed, 45 insertions(+)
arch/arm/boot/dts/qcom/Makefile +1 -0
@@ -47,6 +47,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8974pro-oneplus-bacon.dtb \ qcom-msm8974pro-samsung-klte.dtb \ qcom-msm8974pro-samsung-kltechn.dtb \ + qcom-msm8974pro-sony-xperia-shinano-aries.dtb \ qcom-msm8974pro-sony-xperia-shinano-castor.dtb \ qcom-msm8974pro-sony-xperia-shinano-leo.dtb \ qcom-mdm9615-wp8548-mangoh-green.dtb \
arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-aries.dts new file +44 -0
44 lines not on this page · raw message
Signature · 1 line
2.43.2
PATCH v2 3/3 ARM: dts: qcom: msm8974-sony-shinano: increase load on l21 for sdhc2
In reply to Valeriy KliminSD cards would exhibit errors similar to ones described in commit 27fe0fc05f35 ("ARM: dts: msm8974-FP2: Increase load on l20 for sdhci")
This patch applies the same change to the regulator for sdhc2.
--- arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-common.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-common.dtsi +2 -0
@@ -380,6 +380,8 @@ pm8941_l20: l20 { pm8941_l21: l21 { regulator-min-microvolt = <2950000>; regulator-max-microvolt = <2950000>; + regulator-system-load = <500000>; + regulator-allow-set-load; regulator-boot-on; };
Signature · 1 line
2.43.2
Quoted 11 lines · Valeriy Klimin
This is almost the same as the dts of the Xperia Z3, except for the battery charge limits.
The current on the l21 regulator for shinano is also bumped up to stop SD card errors.
Signed-off-by Valeriy Klimin <[email protected]>---
Changes in v2:
- Reordered dt-bindings and dts commits
- Link to v1: https://lore.kernel.org/r/[email protected]
Please let reviewers finish their job first. It's recommended to post once in 24 hours timeframe. Otherwise you end up getting feedback and tags for v1, while you have already posted v2.
Quoted 20 lines
---
Valeriy Klimin (3):
dt-bindings: arm: qcom: Add Sony Xperia Z3 Compact
ARM: dts: qcom: Add Sony Xperia Z3 Compact smartphone
ARM: dts: qcom: msm8974-sony-shinano: increase load on l21 for sdhc2Documentation/devicetree/bindings/arm/qcom.yaml | 1 + arch/arm/boot/dts/qcom/Makefile | 1 + .../qcom-msm8974pro-sony-xperia-shinano-aries.dts | 44 ++++++++++++++++++++++ ...qcom-msm8974pro-sony-xperia-shinano-common.dtsi | 2 + 4 files changed, 48 insertions(+)---
base-commit:cd214efd16e30bf1aa40ccfaaf9177f47dd21fd5
change-id: 20240620-sony-aries-4a5bce06c91dBest regards,
Signature · 1 line
Valeriy Klimin <[email protected]>
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH v2 2/3] ARM: dts: qcom: Add Sony Xperia Z3 Compact smartphone
In reply to Valeriy KliminQuoted 6 lines · Valeriy Klimin
Add the dts for the Z3 Compact. This is currently almost the same as the plain Z3 as they share almost the same hardware and nothing device-specific is currently supported.
Signed-off-by Valeriy Klimin <[email protected]>---
Konrad
Re: [PATCH v2 3/3] ARM: dts: qcom: msm8974-sony-shinano: increase load on l21 for sdhc2
In reply to Valeriy KliminQuoted 7 lines · Valeriy Klimin
SD cards would exhibit errors similar to ones described in commit
27fe0fc05f35("ARM: dts: msm8974-FP2: Increase load on l20 for sdhci")This patch applies the same change to the regulator for sdhc2.
Signed-off-by Valeriy Klimin <[email protected]>---
Konrad
Re: [PATCH v2 1/3] dt-bindings: arm: qcom: Add Sony Xperia Z3 Compact
In reply to Valeriy KliminQuoted 3 lines · Valeriy Klimin
Add the compatible for this device.
Signed-off-by Valeriy Klimin <[email protected]>
Re: (subset) [PATCH v2 0/3] Add Sony Xperia Z3 Compact smartphone
In reply to Valeriy KliminQuoted 8 lines · Valeriy Klimin
This is almost the same as the dts of the Xperia Z3, except for the battery charge limits.
The current on the l21 regulator for shinano is also bumped up to stop SD card errors.
[...]
Applied, thanks!
[1/3] dt-bindings: arm: qcom: Add Sony Xperia Z3 Compact
commit: a69274e1c6f557c2fa7f35f194acb51d723adbc8
Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>