Commit 2f0300a6 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

arm64: dts: qcom: sc7180: align TLMM pin configuration with DT schema

DT schema expects TLMM pin configuration nodes to be named with
'-state' suffix and their optional children with '-pins' suffix.

Merge subnodes named 'pinconf' and 'pinmux' into one entry, add function
where missing (required by bindings for GPIOs) and reorganize overriding
pins by boards.

Split the SPI and UART configuration into separate nodes
1. SPI (MOSI, MISO, SCLK), SPI chip-select, SPI chip-select via GPIO,
2. UART per each pin: TX, RX and optional CTS/RTS.

This allows each board to customize them easily without adding any new
nodes.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
Tested-by: default avatarDouglas Anderson <dianders@chromium.org>
Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221020225135.31750-4-krzysztof.kozlowski@linaro.org
parent 8ddfa04d
...@@ -481,287 +481,261 @@ pinconf { ...@@ -481,287 +481,261 @@ pinconf {
}; };
&qspi_clk { &qspi_clk {
pinconf { bias-disable;
pins = "gpio63";
bias-disable;
};
}; };
&qspi_cs0 { &qspi_cs0 {
pinconf { bias-disable;
pins = "gpio68";
bias-disable;
};
}; };
&qspi_data01 { &qspi_data01 {
pinconf { /* High-Z when no transfers; nice to park the lines */
pins = "gpio64", "gpio65"; bias-pull-up;
/* High-Z when no transfers; nice to park the lines */
bias-pull-up;
};
}; };
&qup_i2c2_default { &qup_i2c2_default {
pinconf { drive-strength = <2>;
pins = "gpio15", "gpio16";
drive-strength = <2>;
/* Has external pullup */ /* Has external pullup */
bias-disable; bias-disable;
};
}; };
&qup_i2c4_default { &qup_i2c4_default {
pinconf { drive-strength = <2>;
pins = "gpio115", "gpio116";
drive-strength = <2>;
/* Has external pullup */ /* Has external pullup */
bias-disable; bias-disable;
};
}; };
&qup_i2c7_default { &qup_i2c7_default {
pinconf { drive-strength = <2>;
pins = "gpio6", "gpio7";
drive-strength = <2>;
/* Has external pullup */ /* Has external pullup */
bias-disable; bias-disable;
};
}; };
&qup_i2c9_default { &qup_i2c9_default {
pinconf { drive-strength = <2>;
pins = "gpio46", "gpio47";
drive-strength = <2>;
/* Has external pullup */ /* Has external pullup */
bias-disable; bias-disable;
};
}; };
&qup_uart3_default { &qup_uart3_cts {
pinconf-cts { /*
/* * Configure a pull-down on CTS to match the pull of
* Configure a pull-down on CTS to match the pull of * the Bluetooth module.
* the Bluetooth module. */
*/ bias-pull-down;
pins = "gpio38"; };
bias-pull-down;
};
pinconf-rts { &qup_uart3_rts {
/* We'll drive RTS, so no pull */ /* We'll drive RTS, so no pull */
pins = "gpio39"; drive-strength = <2>;
drive-strength = <2>; bias-disable;
bias-disable; };
};
pinconf-tx { &qup_uart3_tx {
/* We'll drive TX, so no pull */ /* We'll drive TX, so no pull */
pins = "gpio40"; drive-strength = <2>;
drive-strength = <2>; bias-disable;
bias-disable; };
};
pinconf-rx { &qup_uart3_rx {
/* /*
* Configure a pull-up on RX. This is needed to avoid * Configure a pull-up on RX. This is needed to avoid
* garbage data when the TX pin of the Bluetooth module is * garbage data when the TX pin of the Bluetooth module is
* in tri-state (module powered off or not driving the * in tri-state (module powered off or not driving the
* signal yet). * signal yet).
*/ */
pins = "gpio41"; bias-pull-up;
bias-pull-up;
};
}; };
&qup_uart8_default { &qup_uart8_tx {
pinconf-tx { drive-strength = <2>;
pins = "gpio44"; bias-disable;
drive-strength = <2>; };
bias-disable;
};
pinconf-rx { &qup_uart8_rx {
pins = "gpio45"; drive-strength = <2>;
drive-strength = <2>; bias-pull-up;
bias-pull-up;
};
}; };
&qup_spi0_default { &qup_spi0_spi {
pinconf { drive-strength = <2>;
pins = "gpio34", "gpio35", "gpio36", "gpio37"; bias-disable;
drive-strength = <2>;
bias-disable;
};
}; };
&qup_spi6_default { &qup_spi0_cs {
pinconf { drive-strength = <2>;
pins = "gpio59", "gpio60", "gpio61", "gpio62"; bias-disable;
drive-strength = <2>;
bias-disable;
};
}; };
&qup_spi10_default { &qup_spi6_spi {
pinconf { drive-strength = <2>;
pins = "gpio86", "gpio87", "gpio88", "gpio89"; bias-disable;
drive-strength = <2>;
bias-disable;
};
}; };
&tlmm { &qup_spi6_cs {
qup_uart3_sleep: qup-uart3-sleep { drive-strength = <2>;
pinmux { bias-disable;
pins = "gpio38", "gpio39", };
"gpio40", "gpio41";
function = "gpio"; &qup_spi10_spi {
}; drive-strength = <2>;
bias-disable;
};
&qup_spi10_cs {
drive-strength = <2>;
bias-disable;
};
pinconf-cts { &tlmm {
qup_uart3_sleep: qup-uart3-sleep-state {
cts-pins {
/* /*
* Configure a pull-down on CTS to match the pull of * Configure a pull-down on CTS to match the pull of
* the Bluetooth module. * the Bluetooth module.
*/ */
pins = "gpio38"; pins = "gpio38";
function = "gpio";
bias-pull-down; bias-pull-down;
}; };
pinconf-rts { rts-pins {
/* /*
* Configure pull-down on RTS. As RTS is active low * Configure pull-down on RTS. As RTS is active low
* signal, pull it low to indicate the BT SoC that it * signal, pull it low to indicate the BT SoC that it
* can wakeup the system anytime from suspend state by * can wakeup the system anytime from suspend state by
* pulling RX low (by sending wakeup bytes). * pulling RX low (by sending wakeup bytes).
*/ */
pins = "gpio39"; pins = "gpio39";
bias-pull-down; function = "gpio";
bias-pull-down;
}; };
pinconf-tx { tx-pins {
/* /*
* Configure pull-up on TX when it isn't actively driven * Configure pull-up on TX when it isn't actively driven
* to prevent BT SoC from receiving garbage during sleep. * to prevent BT SoC from receiving garbage during sleep.
*/ */
pins = "gpio40"; pins = "gpio40";
function = "gpio";
bias-pull-up; bias-pull-up;
}; };
pinconf-rx { rx-pins {
/* /*
* Configure a pull-up on RX. This is needed to avoid * Configure a pull-up on RX. This is needed to avoid
* garbage data when the TX pin of the Bluetooth module * garbage data when the TX pin of the Bluetooth module
* is floating which may cause spurious wakeups. * is floating which may cause spurious wakeups.
*/ */
pins = "gpio41"; pins = "gpio41";
function = "gpio";
bias-pull-up; bias-pull-up;
}; };
}; };
sdc1_on: sdc1-on { sdc1_on: sdc1-on-state {
pinconf-clk { clk-pins {
pins = "sdc1_clk"; pins = "sdc1_clk";
bias-disable; bias-disable;
drive-strength = <16>; drive-strength = <16>;
}; };
pinconf-cmd { cmd-pins {
pins = "sdc1_cmd"; pins = "sdc1_cmd";
bias-pull-up; bias-pull-up;
drive-strength = <10>; drive-strength = <10>;
}; };
pinconf-data { data-pins {
pins = "sdc1_data"; pins = "sdc1_data";
bias-pull-up; bias-pull-up;
drive-strength = <10>; drive-strength = <10>;
}; };
pinconf-rclk { rclk-pins {
pins = "sdc1_rclk"; pins = "sdc1_rclk";
bias-pull-down; bias-pull-down;
}; };
}; };
sdc1_off: sdc1-off { sdc1_off: sdc1-off-state {
pinconf-clk { clk-pins {
pins = "sdc1_clk"; pins = "sdc1_clk";
bias-disable; bias-disable;
drive-strength = <2>; drive-strength = <2>;
}; };
pinconf-cmd { cmd-pins {
pins = "sdc1_cmd"; pins = "sdc1_cmd";
bias-pull-up; bias-pull-up;
drive-strength = <2>; drive-strength = <2>;
}; };
pinconf-data { data-pins {
pins = "sdc1_data"; pins = "sdc1_data";
bias-pull-up; bias-pull-up;
drive-strength = <2>; drive-strength = <2>;
}; };
pinconf-rclk { rclk-pins {
pins = "sdc1_rclk"; pins = "sdc1_rclk";
bias-pull-down; bias-pull-down;
}; };
}; };
sdc2_on: sdc2-on { sdc2_on: sdc2-on-state {
pinconf-clk { clk-pins {
pins = "sdc2_clk"; pins = "sdc2_clk";
bias-disable; bias-disable;
drive-strength = <16>; drive-strength = <16>;
}; };
pinconf-cmd { cmd-pins {
pins = "sdc2_cmd"; pins = "sdc2_cmd";
bias-pull-up; bias-pull-up;
drive-strength = <10>; drive-strength = <10>;
}; };
pinconf-data { data-pins {
pins = "sdc2_data"; pins = "sdc2_data";
bias-pull-up; bias-pull-up;
drive-strength = <10>; drive-strength = <10>;
}; };
pinconf-sd-cd { sd-cd-pins {
pins = "gpio69"; pins = "gpio69";
function = "gpio";
bias-pull-up; bias-pull-up;
drive-strength = <2>; drive-strength = <2>;
}; };
}; };
sdc2_off: sdc2-off { sdc2_off: sdc2-off-state {
pinconf-clk { clk-pins {
pins = "sdc2_clk"; pins = "sdc2_clk";
bias-disable; bias-disable;
drive-strength = <2>; drive-strength = <2>;
}; };
pinconf-cmd { cmd-pins {
pins = "sdc2_cmd"; pins = "sdc2_cmd";
bias-pull-up; bias-pull-up;
drive-strength = <2>; drive-strength = <2>;
}; };
pinconf-data { data-pins {
pins = "sdc2_data"; pins = "sdc2_data";
bias-pull-up; bias-pull-up;
drive-strength = <2>; drive-strength = <2>;
}; };
pinconf-sd-cd { sd-cd-pins {
pins = "gpio69"; pins = "gpio69";
function = "gpio";
bias-pull-up; bias-pull-up;
drive-strength = <2>; drive-strength = <2>;
}; };
......
...@@ -181,23 +181,15 @@ &sound_multimedia0_codec { ...@@ -181,23 +181,15 @@ &sound_multimedia0_codec {
/* PINCTRL - modifications to sc7180-trogdor.dtsi */ /* PINCTRL - modifications to sc7180-trogdor.dtsi */
&en_pp3300_dx_edp { &en_pp3300_dx_edp {
pinmux { pins = "gpio67";
pins = "gpio67";
};
pinconf {
pins = "gpio67";
};
}; };
&ts_reset_l { &ts_reset_l {
pinconf { /*
/* * We want reset state by default and it will be up to the
* We want reset state by default and it will be up to the * driver to disable this when it's ready.
* driver to disable this when it's ready. */
*/ output-low;
output-low;
};
}; };
/* PINCTRL - board-specific pinctrl */ /* PINCTRL - board-specific pinctrl */
...@@ -327,16 +319,10 @@ &tlmm { ...@@ -327,16 +319,10 @@ &tlmm {
"DP_HOT_PLUG_DET", "DP_HOT_PLUG_DET",
"EC_IN_RW_ODL"; "EC_IN_RW_ODL";
dmic_clk_en: dmic_clk_en { dmic_clk_en: dmic-clk-en-state {
pinmux { pins = "gpio83";
pins = "gpio83"; function = "gpio";
function = "gpio"; drive-strength = <8>;
}; bias-pull-up;
pinconf {
pins = "gpio83";
drive-strength = <8>;
bias-pull-up;
};
}; };
}; };
...@@ -180,36 +180,19 @@ &wifi { ...@@ -180,36 +180,19 @@ &wifi {
/* PINCTRL - modifications to sc7180-trogdor.dtsi */ /* PINCTRL - modifications to sc7180-trogdor.dtsi */
&en_pp3300_dx_edp { &en_pp3300_dx_edp {
pinmux { pins = "gpio67";
pins = "gpio67";
};
pinconf {
pins = "gpio67";
};
}; };
&sec_mi2s_active { &sec_mi2s_active {
pinmux { pins = "gpio49", "gpio50", "gpio51", "gpio52";
pins = "gpio49", "gpio50", "gpio51", "gpio52";
function = "mi2s_1";
};
pinconf {
pins = "gpio49", "gpio50", "gpio51", "gpio52";
drive-strength = <2>;
bias-pull-down;
};
}; };
&ts_reset_l { &ts_reset_l {
pinconf { /*
/* * We want reset state by default and it will be up to the
* We want reset state by default and it will be up to the * driver to disable this when it's ready.
* driver to disable this when it's ready. */
*/ output-low;
output-low;
};
}; };
/* PINCTRL - board-specific pinctrl */ /* PINCTRL - board-specific pinctrl */
...@@ -339,16 +322,10 @@ &tlmm { ...@@ -339,16 +322,10 @@ &tlmm {
"DP_HOT_PLUG_DET", "DP_HOT_PLUG_DET",
"EC_IN_RW_ODL"; "EC_IN_RW_ODL";
en_pp3300_touch: en-pp3300-touch { en_pp3300_touch: en-pp3300-touch-state {
pinmux { pins = "gpio87";
pins = "gpio87"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-disable;
pinconf {
pins = "gpio87";
drive-strength = <2>;
bias-disable;
};
}; };
}; };
...@@ -29,16 +29,10 @@ &pp3300_fp_tp { ...@@ -29,16 +29,10 @@ &pp3300_fp_tp {
}; };
&tlmm { &tlmm {
en_fp_rails: en-fp-rails { en_fp_rails: en-fp-rails-state {
pinmux { pins = "gpio74";
pins = "gpio74"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-disable;
pinconf {
pins = "gpio74";
drive-strength = <2>;
bias-disable;
};
}; };
}; };
...@@ -87,13 +87,7 @@ &wifi { ...@@ -87,13 +87,7 @@ &wifi {
/* PINCTRL - modifications to sc7180-trogdor.dtsi */ /* PINCTRL - modifications to sc7180-trogdor.dtsi */
&en_pp3300_dx_edp { &en_pp3300_dx_edp {
pinmux { pins = "gpio67";
pins = "gpio67";
};
pinconf {
pins = "gpio67";
};
}; };
/* PINCTRL - board-specific pinctrl */ /* PINCTRL - board-specific pinctrl */
......
...@@ -75,21 +75,13 @@ &wifi { ...@@ -75,21 +75,13 @@ &wifi {
/* PINCTRL - modifications to sc7180-trogdor.dtsi */ /* PINCTRL - modifications to sc7180-trogdor.dtsi */
&trackpad_int_1v8_odl { &trackpad_int_1v8_odl {
pinmux { pins = "gpio58";
pins = "gpio58";
};
pinconf {
pins = "gpio58";
};
}; };
&ts_reset_l { &ts_reset_l {
pinconf { /* This pin is not connected on -rev0, pull up to park. */
/* This pin is not connected on -rev0, pull up to park. */ /delete-property/bias-disable;
/delete-property/bias-disable; bias-pull-up;
bias-pull-up;
};
}; };
/* PINCTRL - board-specific pinctrl */ /* PINCTRL - board-specific pinctrl */
......
...@@ -24,30 +24,13 @@ &v1p8_mipi { ...@@ -24,30 +24,13 @@ &v1p8_mipi {
/* PINCTRL - modifications to sc7180-trogdor-mrbland.dtsi */ /* PINCTRL - modifications to sc7180-trogdor-mrbland.dtsi */
&avdd_lcd_en { &avdd_lcd_en {
pinmux { pins = "gpio80";
pins = "gpio80";
};
pinconf {
pins = "gpio80";
};
}; };
&mipi_1800_en { &mipi_1800_en {
pinmux { pins = "gpio81";
pins = "gpio81";
};
pinconf {
pins = "gpio81";
};
}; };
&vdd_reset_1800 {
pinmux {
pins = "gpio76";
};
pinconf { &vdd_reset_1800 {
pins = "gpio76"; pins = "gpio76";
};
}; };
...@@ -160,13 +160,7 @@ pp3300_disp_on: &pp3300_dx_edp { ...@@ -160,13 +160,7 @@ pp3300_disp_on: &pp3300_dx_edp {
*/ */
tp_en: &en_pp3300_dx_edp { tp_en: &en_pp3300_dx_edp {
pinmux { pins = "gpio85";
pins = "gpio85";
};
pinconf {
pins = "gpio85";
};
}; };
/* PINCTRL - board-specific pinctrl */ /* PINCTRL - board-specific pinctrl */
...@@ -296,55 +290,31 @@ &tlmm { ...@@ -296,55 +290,31 @@ &tlmm {
"DP_HOT_PLUG_DET", "DP_HOT_PLUG_DET",
"EC_IN_RW_ODL"; "EC_IN_RW_ODL";
avdd_lcd_en: avdd-lcd-en { avdd_lcd_en: avdd-lcd-en-state {
pinmux { pins = "gpio88";
pins = "gpio88"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-disable;
pinconf {
pins = "gpio88";
drive-strength = <2>;
bias-disable;
};
}; };
avee_lcd_en: avee-lcd-en { avee_lcd_en: avee-lcd-en-state {
pinmux { pins = "gpio21";
pins = "gpio21"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-disable;
pinconf {
pins = "gpio21";
drive-strength = <2>;
bias-disable;
};
}; };
mipi_1800_en: mipi-1800-en { mipi_1800_en: mipi-1800-en-state {
pinmux { pins = "gpio86";
pins = "gpio86"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-disable;
pinconf {
pins = "gpio86";
drive-strength = <2>;
bias-disable;
};
}; };
vdd_reset_1800: vdd-reset-1800 { vdd_reset_1800: vdd-reset-1800-state {
pinmux { pins = "gpio87";
pins = "gpio87"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-disable;
pinconf {
pins = "gpio87";
drive-strength = <2>;
bias-disable;
};
}; };
}; };
...@@ -83,29 +83,17 @@ panel_in_edp: endpoint { ...@@ -83,29 +83,17 @@ panel_in_edp: endpoint {
}; };
&tlmm { &tlmm {
edp_brij_ps8640_rst: edp-brij-ps8640-rst { edp_brij_ps8640_rst: edp-brij-ps8640-rst-state {
pinmux { pins = "gpio11";
pins = "gpio11"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-disable;
pinconf {
pins = "gpio11";
drive-strength = <2>;
bias-disable;
};
}; };
en_pp3300_edp_brij_ps8640: en-pp3300-edp-brij-ps8640 { en_pp3300_edp_brij_ps8640: en-pp3300-edp-brij-ps8640-state {
pinmux { pins = "gpio32";
pins = "gpio32"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-disable;
pinconf {
pins = "gpio32";
drive-strength = <2>;
bias-disable;
};
}; };
}; };
...@@ -84,13 +84,7 @@ &pp3300_dx_edp { ...@@ -84,13 +84,7 @@ &pp3300_dx_edp {
}; };
&en_pp3300_dx_edp { &en_pp3300_dx_edp {
pinmux { pins = "gpio67";
pins = "gpio67";
};
pinconf {
pins = "gpio67";
};
}; };
/* PINCTRL - board-specific pinctrl */ /* PINCTRL - board-specific pinctrl */
......
...@@ -312,15 +312,9 @@ &tlmm { ...@@ -312,15 +312,9 @@ &tlmm {
"DP_HOT_PLUG_DET", "DP_HOT_PLUG_DET",
"EC_IN_RW_ODL"; "EC_IN_RW_ODL";
dmic_sel: dmic-sel { dmic_sel: dmic-sel-state {
pinmux { pins = "gpio86";
pins = "gpio86"; function = "gpio";
function = "gpio"; bias-pull-down;
};
pinconf {
pins = "gpio86";
bias-pull-down;
};
}; };
}; };
...@@ -147,13 +147,7 @@ pp3300_disp_on: &pp3300_dx_edp { ...@@ -147,13 +147,7 @@ pp3300_disp_on: &pp3300_dx_edp {
*/ */
tp_en: &en_pp3300_dx_edp { tp_en: &en_pp3300_dx_edp {
pinmux { pins = "gpio67";
pins = "gpio67";
};
pinconf {
pins = "gpio67";
};
}; };
/* PINCTRL - board-specific pinctrl */ /* PINCTRL - board-specific pinctrl */
...@@ -283,42 +277,24 @@ &tlmm { ...@@ -283,42 +277,24 @@ &tlmm {
"DP_HOT_PLUG_DET", "DP_HOT_PLUG_DET",
"EC_IN_RW_ODL"; "EC_IN_RW_ODL";
lcd_rst: lcd-rst { lcd_rst: lcd-rst-state {
pinmux { pins = "gpio87";
pins = "gpio87"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-disable;
pinconf {
pins = "gpio87";
drive-strength = <2>;
bias-disable;
};
}; };
ppvar_lcd_en: ppvar-lcd-en { ppvar_lcd_en: ppvar-lcd-en-state {
pinmux { pins = "gpio88";
pins = "gpio88"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-disable;
pinconf {
pins = "gpio88";
drive-strength = <2>;
bias-disable;
};
}; };
pp1800_disp_on: pp1800-disp-on { pp1800_disp_on: pp1800-disp-on-state {
pinmux { pins = "gpio86";
pins = "gpio86"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-disable;
pinconf {
pins = "gpio86";
drive-strength = <2>;
bias-disable;
};
}; };
}; };
...@@ -63,13 +63,7 @@ &usb_hub_3_x { ...@@ -63,13 +63,7 @@ &usb_hub_3_x {
/* PINCTRL - modifications to sc7180-trogdor.dtsi */ /* PINCTRL - modifications to sc7180-trogdor.dtsi */
&trackpad_int_1v8_odl { &trackpad_int_1v8_odl {
pinmux { pins = "gpio58";
pins = "gpio58";
};
pinconf {
pins = "gpio58";
};
}; };
/* PINCTRL - board-specific pinctrl */ /* PINCTRL - board-specific pinctrl */
......
...@@ -76,16 +76,10 @@ panel_in_edp: endpoint { ...@@ -76,16 +76,10 @@ panel_in_edp: endpoint {
}; };
&tlmm { &tlmm {
edp_brij_irq: edp-brij-irq { edp_brij_irq: edp-brij-irq-state {
pinmux { pins = "gpio11";
pins = "gpio11"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-pull-down;
pinconf {
pins = "gpio11";
drive-strength = <2>;
bias-pull-down;
};
}; };
}; };
...@@ -24,30 +24,13 @@ &v1p8_mipi { ...@@ -24,30 +24,13 @@ &v1p8_mipi {
/* PINCTRL - modifications to sc7180-trogdor-wormdingler.dtsi */ /* PINCTRL - modifications to sc7180-trogdor-wormdingler.dtsi */
&avdd_lcd_en { &avdd_lcd_en {
pinmux { pins = "gpio80";
pins = "gpio80";
};
pinconf {
pins = "gpio80";
};
}; };
&mipi_1800_en { &mipi_1800_en {
pinmux { pins = "gpio81";
pins = "gpio81";
};
pinconf {
pins = "gpio81";
};
}; };
&vdd_reset_1800 {
pinmux {
pins = "gpio76";
};
pinconf { &vdd_reset_1800 {
pins = "gpio76"; pins = "gpio76";
};
}; };
...@@ -222,13 +222,7 @@ pp3300_disp_on: &pp3300_dx_edp { ...@@ -222,13 +222,7 @@ pp3300_disp_on: &pp3300_dx_edp {
*/ */
tp_en: &en_pp3300_dx_edp { tp_en: &en_pp3300_dx_edp {
pinmux { pins = "gpio85";
pins = "gpio85";
};
pinconf {
pins = "gpio85";
};
}; };
/* PINCTRL - board-specific pinctrl */ /* PINCTRL - board-specific pinctrl */
...@@ -358,55 +352,31 @@ &tlmm { ...@@ -358,55 +352,31 @@ &tlmm {
"DP_HOT_PLUG_DET", "DP_HOT_PLUG_DET",
"EC_IN_RW_ODL"; "EC_IN_RW_ODL";
avdd_lcd_en: avdd-lcd-en { avdd_lcd_en: avdd-lcd-en-state {
pinmux { pins = "gpio88";
pins = "gpio88"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-disable;
pinconf {
pins = "gpio88";
drive-strength = <2>;
bias-disable;
};
}; };
avee_lcd_en: avee-lcd-en { avee_lcd_en: avee-lcd-en-state {
pinmux { pins = "gpio21";
pins = "gpio21"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-disable;
pinconf {
pins = "gpio21";
drive-strength = <2>;
bias-disable;
};
}; };
mipi_1800_en: mipi-1800-en { mipi_1800_en: mipi-1800-en-state {
pinmux { pins = "gpio86";
pins = "gpio86"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-disable;
pinconf {
pins = "gpio86";
drive-strength = <2>;
bias-disable;
};
}; };
vdd_reset_1800: vdd-reset-1800 { vdd_reset_1800: vdd-reset-1800-state {
pinmux { pins = "gpio87";
pins = "gpio87"; function = "gpio";
function = "gpio"; drive-strength = <2>;
}; bias-disable;
pinconf {
pins = "gpio87";
drive-strength = <2>;
bias-disable;
};
}; };
}; };
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment