summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-09-08 11:10:48 +0300
committerBjorn Andersson <andersson@kernel.org>2022-09-15 05:24:25 +0300
commitb94d7c1fc7c6ac4e2ce83e9fc6a84fc3034b631c (patch)
tree9d2a0c2d7fe90d039b6a639c13afb805f57c002d /arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi
parent308ff92e77aa2febec9b81b6917ebb0f38da8cb5 (diff)
downloadlinux-b94d7c1fc7c6ac4e2ce83e9fc6a84fc3034b631c.tar.xz
arm64: dts: qcom: msm8996-xiaomi: align PMIC GPIO pin configuration with DT schema
Bindings expect PMIC GPIO pin configuration nodes to be named with '-state' suffix: qcom/msm8996-xiaomi-scorpio.dtb: pmic@0: gpio@c000: 'irled-default', 'keypad-default' do not match any of the regexes: '-state$', 'pinctrl-[0-9]+' Drop also additional indentation via "pinconf" to make the code a bit smaller. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20220908081050.29751-3-krzysztof.kozlowski@linaro.org
Diffstat (limited to 'arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi')
-rw-r--r--arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi16
1 files changed, 7 insertions, 9 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi
index ef9a8aa9c2b9..77819186086a 100644
--- a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi
@@ -651,15 +651,13 @@
};
&pm8994_gpios {
- irled_default: irled-default {
- pinconf {
- pins = "gpio5";
- function = PMIC_GPIO_FUNC_FUNC1;
- output-low;
- qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
- power-source = <PM8994_GPIO_S4>;
- bias-disable;
- };
+ irled_default: irled-default-state {
+ pins = "gpio5";
+ function = PMIC_GPIO_FUNC_FUNC1;
+ output-low;
+ qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
+ power-source = <PM8994_GPIO_S4>;
+ bias-disable;
};
wlan_en_default: wlan-en-state {