mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02:00
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 <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: David Heidelberg <david@ixit.cz> Link: https://lore.kernel.org/r/20251103-s6e3fc2x01-v6-2-d4eb4abaefa4@ixit.cz Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
69b8bbde23
commit
6c55c3c261
|
|
@ -450,7 +450,7 @@ display_panel: panel@0 {
|
|||
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,6 +841,29 @@ alert_slider_default: alert-slider-default-state {
|
|||
bias-disable;
|
||||
};
|
||||
|
||||
panel_default: panel-default-state {
|
||||
esd-pins {
|
||||
pins = "gpio30";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
reset-pins {
|
||||
pins = "gpio6";
|
||||
function = "gpio";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
te-pins {
|
||||
pins = "gpio10";
|
||||
function = "mdp_vsync";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
ts_default_pins: ts-int-state {
|
||||
pins = "gpio99", "gpio125";
|
||||
function = "gpio";
|
||||
|
|
@ -848,27 +871,6 @@ ts_default_pins: ts-int-state {
|
|||
bias-pull-up;
|
||||
};
|
||||
|
||||
panel_reset_pins: panel-reset-state {
|
||||
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;
|
||||
};
|
||||
|
||||
panel_esd_pin: panel-esd-state {
|
||||
pins = "gpio30";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
speaker_default: speaker-default-state {
|
||||
pins = "gpio69";
|
||||
function = "gpio";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user