Commit b94d7c1f authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson
Browse files

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220908081050.29751-3-krzysztof.kozlowski@linaro.org
parent 308ff92e
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -651,8 +651,7 @@ vdd_gfx: s2 {
};

&pm8994_gpios {
	irled_default: irled-default {
		pinconf {
	irled_default: irled-default-state {
		pins = "gpio5";
		function = PMIC_GPIO_FUNC_FUNC1;
		output-low;
@@ -660,7 +659,6 @@ pinconf {
		power-source = <PM8994_GPIO_S4>;
		bias-disable;
	};
	};

	wlan_en_default: wlan-en-state {
		pins = "gpio8";
+7 −9
Original line number Diff line number Diff line
@@ -279,8 +279,7 @@ &pm8994_gpios {
		"UIM_BATT_ALARM",	/* GPIO_21 */
		"NC";			/* GPIO_22 */

	keypad_default: keypad-default {
		pinconf {
	keypad_default: keypad-default-state {
		pins = "gpio7", "gpio10";
		function = PMIC_GPIO_FUNC_FUNC1;
		output-low;
@@ -289,7 +288,6 @@ pinconf {
		bias-disable;
	};
};
};

&pm8994_mpps {
	gpio-line-names =