mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

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
43 lines
690 B
Plaintext
43 lines
690 B
Plaintext
// SPDX-License-Identifier: BSD-3-Clause
|
|
/*
|
|
* Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "sm8350-sony-xperia-sagami.dtsi"
|
|
|
|
/ {
|
|
model = "Sony Xperia 5 III";
|
|
compatible = "sony,pdx214-generic", "qcom,sm8350";
|
|
};
|
|
|
|
&framebuffer {
|
|
width = <1080>;
|
|
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";
|
|
};
|