From: David Heidelberg Date: Mon, 3 Nov 2025 11:45:51 +0000 (+0100) Subject: arm64: dts: qcom: sdm845-oneplus: Group panel pinctrl X-Git-Tag: v6.19-rc1~100^2~14^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c55c3c261ed7c17fa7823daf4d8f716504ad46e;p=thirdparty%2Flinux.git arm64: dts: qcom: sdm845-oneplus: Group panel pinctrl As these pins won't be used outside the group, let's group them. Reviewed-by: Dmitry Baryshkov Signed-off-by: David Heidelberg Link: https://lore.kernel.org/r/20251103-s6e3fc2x01-v6-2-d4eb4abaefa4@ixit.cz Signed-off-by: Bjorn Andersson --- diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index d619b710c63fe..d59a5e8cdeb2c 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -450,7 +450,7 @@ reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; pinctrl-names = "default"; - pinctrl-0 = <&panel_reset_pins &panel_te_pin &panel_esd_pin>; + pinctrl-0 = <&panel_default>; port { panel_in: endpoint { @@ -841,32 +841,34 @@ bias-disable; }; - ts_default_pins: ts-int-state { - pins = "gpio99", "gpio125"; - function = "gpio"; - drive-strength = <16>; - bias-pull-up; - }; + panel_default: panel-default-state { + esd-pins { + pins = "gpio30"; + function = "gpio"; + drive-strength = <2>; + bias-pull-down; + }; - panel_reset_pins: panel-reset-state { - pins = "gpio6"; - function = "gpio"; - drive-strength = <8>; - bias-disable; - }; + reset-pins { + pins = "gpio6"; + function = "gpio"; + drive-strength = <8>; + bias-disable; + }; - panel_te_pin: panel-te-state { - pins = "gpio10"; - function = "mdp_vsync"; - drive-strength = <2>; - bias-disable; + te-pins { + pins = "gpio10"; + function = "mdp_vsync"; + drive-strength = <2>; + bias-disable; + }; }; - panel_esd_pin: panel-esd-state { - pins = "gpio30"; + ts_default_pins: ts-int-state { + pins = "gpio99", "gpio125"; function = "gpio"; - drive-strength = <2>; - bias-pull-down; + drive-strength = <16>; + bias-pull-up; }; speaker_default: speaker-default-state {