Message ID | 20221110223929.134655-3-konrad.dybcio@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | [1/4] dt-bindings: arm: qcom: Add Xperia 5 IV (PDX224) | expand |
On 10/11/2022 23:39, Konrad Dybcio wrote: > Add a device tree for the Xperia 5 IV (pdx224). It's literally the 1 IV > with a smaller body, different panel, one camera lens (not sensor afaict) > swapped out and no 3D iToF sensor, hence the device-specific DT is tiny. > Thank you for your patch. There is something to discuss/improve. > + > +/ { > + model = "Sony Xperia 5 IV"; > + compatible = "sony,pdx224", "qcom,sm8450"; > + > + imx563_vdig_vreg: imx563-vdig-vreg { Please keep consistent suffixes/prefixes for regulators. I think other file is using "-regulator", not "-vreg", Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index d534888bcfe5..804bbd070fec 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -168,3 +168,4 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8350-sony-xperia-sagami-pdx215.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8450-hdk.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8450-qrd.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8450-sony-xperia-nagara-pdx223.dtb +dtb-$(CONFIG_ARCH_QCOM) += sm8450-sony-xperia-nagara-pdx224.dtb diff --git a/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara-pdx224.dts b/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara-pdx224.dts new file mode 100644 index 000000000000..12c0e6555205 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara-pdx224.dts @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2022, Konrad Dybcio <konrad.dybcio@somainline.org> + * Copyright (c) 2022, Linaro Limited + */ + +/dts-v1/; + +#include "sm8450-sony-xperia-nagara.dtsi" + +/ { + model = "Sony Xperia 5 IV"; + compatible = "sony,pdx224", "qcom,sm8450"; + + imx563_vdig_vreg: imx563-vdig-vreg { + compatible = "regulator-fixed"; + regulator-name = "imx563_vdig_vreg"; + gpio = <&tlmm 22 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; +};