summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami-pdx214.dts
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@linaro.org>2022-11-18 16:20:28 +0100
committerBjorn Andersson <andersson@kernel.org>2022-12-27 13:35:58 -0600
commit7c679f2a2af84edbec0c28171af8c42c6da9af14 (patch)
tree099d5ae16d39ab259ca8383f1bb57708fbac6ded /arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami-pdx214.dts
parent8875b1d71f112b30e4c7e65ed337096bc0cc396b (diff)
downloadlwn-7c679f2a2af84edbec0c28171af8c42c6da9af14.tar.gz
lwn-7c679f2a2af84edbec0c28171af8c42c6da9af14.zip
arm64: dts: qcom: sm8350-sagami: Add GPIO line names for PMIC GPIOs
Sony ever so graciously provides GPIO line names in their downstream kernel (though sometimes they are not 100% accurate and you can judge that by simply looking at them and with what drivers they are used). Add these to the PDX213&214 DTSIs to better document the hardware. Diff between 223 and 224: pm8350b < gpio-line-names = "NC", /* GPIO_1 */ > gpio-line-names = "CAM_PWR_A_CS", /* GPIO_1 */ < "NC", > "CAM_PWR_LD_EN", pm8350c < "NC", > "WLC_TXPWR_EN", Which is due to different camera power wiring on 213 and lack of an additional SLG51000 PMIC on 214. Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221118152028.59312-3-konrad.dybcio@linaro.org
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami-pdx214.dts')
-rw-r--r--arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami-pdx214.dts23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami-pdx214.dts b/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami-pdx214.dts
index cc650508dc2d..e6824c8c2774 100644
--- a/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami-pdx214.dts
+++ b/arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami-pdx214.dts
@@ -17,3 +17,26 @@
height = <2520>;
stride = <(1080 * 4)>;
};
+
+&pm8350b_gpios {
+ gpio-line-names = "NC", /* GPIO_1 */
+ "NC",
+ "NC",
+ "NC",
+ "SNAPSHOT_N",
+ "NC",
+ "NC",
+ "FOCUS_N";
+};
+
+&pm8350c_gpios {
+ gpio-line-names = "FL_STROBE_TRIG_WIDE", /* GPIO_1 */
+ "FL_STROBE_TRIG_TELE",
+ "NC",
+ "NC",
+ "NC",
+ "RGBC_IR_PWR_EN",
+ "NC",
+ "NC",
+ "WIDEC_PWR_EN";
+};