Commit 0564f7d9 authored by Linus Walleij's avatar Linus Walleij

pinctrl: abx500: force-convert to generic config bindings

This converts the ABx500 pin controller and all associated device
trees to use the standard, generic config bindings for pin controllers.
There are no such device trees deployed in the wild so this is
safe to do to set a good example.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 1637d480
...@@ -51,7 +51,7 @@ default_mux { ...@@ -51,7 +51,7 @@ default_mux {
groups = "gpio2_a_1"; groups = "gpio2_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO2_T9"; pins = "GPIO2_T9";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -64,7 +64,7 @@ default_mux { ...@@ -64,7 +64,7 @@ default_mux {
groups = "gpio4_a_1"; groups = "gpio4_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO4_W2"; pins = "GPIO4_W2";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -77,7 +77,7 @@ default_mux { ...@@ -77,7 +77,7 @@ default_mux {
groups = "gpio10_d_1"; groups = "gpio10_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO10_U17"; pins = "GPIO10_U17";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -90,7 +90,7 @@ default_mux { ...@@ -90,7 +90,7 @@ default_mux {
groups = "gpio11_d_1"; groups = "gpio11_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO11_AA18"; pins = "GPIO11_AA18";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -103,7 +103,7 @@ default_mux { ...@@ -103,7 +103,7 @@ default_mux {
groups = "gpio12_d_1"; groups = "gpio12_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO12_U16"; pins = "GPIO12_U16";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -116,7 +116,7 @@ default_mux { ...@@ -116,7 +116,7 @@ default_mux {
groups = "gpio13_d_1"; groups = "gpio13_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO13_W17"; pins = "GPIO13_W17";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -129,7 +129,7 @@ default_mux { ...@@ -129,7 +129,7 @@ default_mux {
groups = "gpio16_a_1"; groups = "gpio16_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO16_F15"; pins = "GPIO16_F15";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -142,7 +142,7 @@ default_mux { ...@@ -142,7 +142,7 @@ default_mux {
groups = "gpio24_a_1"; groups = "gpio24_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO24_T14"; pins = "GPIO24_T14";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -155,7 +155,7 @@ default_mux { ...@@ -155,7 +155,7 @@ default_mux {
groups = "gpio25_a_1"; groups = "gpio25_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO25_R16"; pins = "GPIO25_R16";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -168,7 +168,7 @@ default_mux { ...@@ -168,7 +168,7 @@ default_mux {
groups = "gpio36_a_1"; groups = "gpio36_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO36_A17"; pins = "GPIO36_A17";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -181,7 +181,7 @@ default_mux { ...@@ -181,7 +181,7 @@ default_mux {
groups = "gpio37_a_1"; groups = "gpio37_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO37_E15"; pins = "GPIO37_E15";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -194,7 +194,7 @@ default_mux { ...@@ -194,7 +194,7 @@ default_mux {
groups = "gpio38_a_1"; groups = "gpio38_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO38_C17"; pins = "GPIO38_C17";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -207,7 +207,7 @@ default_mux { ...@@ -207,7 +207,7 @@ default_mux {
groups = "gpio39_a_1"; groups = "gpio39_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO39_E16"; pins = "GPIO39_E16";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -220,7 +220,7 @@ default_mux { ...@@ -220,7 +220,7 @@ default_mux {
groups = "gpio42_a_1"; groups = "gpio42_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO42_U2"; pins = "GPIO42_U2";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -236,7 +236,7 @@ default_mux { ...@@ -236,7 +236,7 @@ default_mux {
groups = "gpio26_d_1"; groups = "gpio26_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO26_M16"; pins = "GPIO26_M16";
output-low; output-low;
}; };
}; };
...@@ -248,7 +248,7 @@ default_mux { ...@@ -248,7 +248,7 @@ default_mux {
groups = "gpio35_d_1"; groups = "gpio35_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO35_W15"; pins = "GPIO35_W15";
output-low; output-low;
}; };
}; };
...@@ -264,7 +264,7 @@ default_mux { ...@@ -264,7 +264,7 @@ default_mux {
groups = "ycbcr0123_d_1"; groups = "ycbcr0123_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO6_Y18", pins = "GPIO6_Y18",
"GPIO7_AA20", "GPIO7_AA20",
"GPIO8_W18", "GPIO8_W18",
"GPIO9_AA19"; "GPIO9_AA19";
...@@ -281,7 +281,7 @@ default_mux { ...@@ -281,7 +281,7 @@ default_mux {
groups = "pwmout1_d_1", "pwmout2_d_1"; groups = "pwmout1_d_1", "pwmout2_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO14_F14", pins = "GPIO14_F14",
"GPIO15_B17"; "GPIO15_B17";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
...@@ -296,7 +296,7 @@ default_mux { ...@@ -296,7 +296,7 @@ default_mux {
groups = "adi1_d_1"; groups = "adi1_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO17_P5", pins = "GPIO17_P5",
"GPIO18_R5", "GPIO18_R5",
"GPIO19_U5", "GPIO19_U5",
"GPIO20_T5"; "GPIO20_T5";
...@@ -313,7 +313,7 @@ default_mux { ...@@ -313,7 +313,7 @@ default_mux {
groups = "usbuicc_d_1"; groups = "usbuicc_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO21_H19", pins = "GPIO21_H19",
"GPIO22_G20", "GPIO22_G20",
"GPIO23_G19"; "GPIO23_G19";
input-enable; input-enable;
...@@ -331,7 +331,7 @@ default_mux { ...@@ -331,7 +331,7 @@ default_mux {
"dmic56_d_1"; "dmic56_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO27_J6", pins = "GPIO27_J6",
"GPIO28_K6", "GPIO28_K6",
"GPIO29_G6", "GPIO29_G6",
"GPIO30_H6", "GPIO30_H6",
...@@ -349,7 +349,7 @@ default_mux { ...@@ -349,7 +349,7 @@ default_mux {
groups = "extcpena_d_1"; groups = "extcpena_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO34_R17"; pins = "GPIO34_R17";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -363,7 +363,7 @@ default_mux { ...@@ -363,7 +363,7 @@ default_mux {
groups = "modsclsda_d_1"; groups = "modsclsda_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO40_T19", pins = "GPIO40_T19",
"GPIO41_U19"; "GPIO41_U19";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
...@@ -380,7 +380,7 @@ default_mux { ...@@ -380,7 +380,7 @@ default_mux {
groups = "sysclkreq2_d_1"; groups = "sysclkreq2_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO1_T10"; pins = "GPIO1_T10";
input-enable; input-enable;
bias-disable; bias-disable;
}; };
...@@ -391,7 +391,7 @@ default_mux { ...@@ -391,7 +391,7 @@ default_mux {
groups = "gpio1_a_1"; groups = "gpio1_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO1_T10"; pins = "GPIO1_T10";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -404,7 +404,7 @@ default_mux { ...@@ -404,7 +404,7 @@ default_mux {
groups = "sysclkreq4_d_1"; groups = "sysclkreq4_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO3_U9"; pins = "GPIO3_U9";
input-enable; input-enable;
bias-disable; bias-disable;
}; };
...@@ -415,7 +415,7 @@ default_mux { ...@@ -415,7 +415,7 @@ default_mux {
groups = "gpio3_a_1"; groups = "gpio3_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO3_U9"; pins = "GPIO3_U9";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
......
...@@ -39,7 +39,7 @@ default_mux { ...@@ -39,7 +39,7 @@ default_mux {
groups = "gpio2_a_1"; groups = "gpio2_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO2_R5"; pins = "GPIO2_R5";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -52,7 +52,7 @@ default_mux { ...@@ -52,7 +52,7 @@ default_mux {
groups = "gpio10_d_1"; groups = "gpio10_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO10_B16"; pins = "GPIO10_B16";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -65,7 +65,7 @@ default_mux { ...@@ -65,7 +65,7 @@ default_mux {
groups = "gpio11_d_1"; groups = "gpio11_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO11_B17"; pins = "GPIO11_B17";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -78,7 +78,7 @@ default_mux { ...@@ -78,7 +78,7 @@ default_mux {
groups = "gpio13_d_1"; groups = "gpio13_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO13_D17"; pins = "GPIO13_D17";
input-enable; input-enable;
bias-disable; bias-disable;
}; };
...@@ -91,7 +91,7 @@ default_mux { ...@@ -91,7 +91,7 @@ default_mux {
groups = "gpio34_a_1"; groups = "gpio34_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO34_H14"; pins = "GPIO34_H14";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -104,7 +104,7 @@ default_mux { ...@@ -104,7 +104,7 @@ default_mux {
groups = "gpio50_d_1"; groups = "gpio50_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO50_L4"; pins = "GPIO50_L4";
input-enable; input-enable;
bias-disable; bias-disable;
}; };
...@@ -118,7 +118,7 @@ default_mux { ...@@ -118,7 +118,7 @@ default_mux {
groups = "pwmout1_d_1"; groups = "pwmout1_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO14_C16"; pins = "GPIO14_C16";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -132,7 +132,7 @@ default_mux { ...@@ -132,7 +132,7 @@ default_mux {
groups = "adi2_d_1"; groups = "adi2_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO17_P2", pins = "GPIO17_P2",
"GPIO18_N3", "GPIO18_N3",
"GPIO19_T1", "GPIO19_T1",
"GPIO20_P3"; "GPIO20_P3";
...@@ -149,7 +149,7 @@ default_mux { ...@@ -149,7 +149,7 @@ default_mux {
groups = "modsclsda_d_1"; groups = "modsclsda_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO40_J15", pins = "GPIO40_J15",
"GPIO41_J14"; "GPIO41_J14";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
...@@ -163,7 +163,7 @@ default_mux { ...@@ -163,7 +163,7 @@ default_mux {
groups = "resethw_d_1"; groups = "resethw_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO52_D16"; pins = "GPIO52_D16";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -176,7 +176,7 @@ default_mux { ...@@ -176,7 +176,7 @@ default_mux {
groups = "service_d_1"; groups = "service_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO53_D15"; pins = "GPIO53_D15";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -192,7 +192,7 @@ default_mux { ...@@ -192,7 +192,7 @@ default_mux {
groups = "sysclkreq2_d_1"; groups = "sysclkreq2_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO1_N4"; pins = "GPIO1_N4";
input-enable; input-enable;
bias-disable; bias-disable;
}; };
...@@ -203,7 +203,7 @@ default_mux { ...@@ -203,7 +203,7 @@ default_mux {
groups = "gpio1_a_1"; groups = "gpio1_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO1_N4"; pins = "GPIO1_N4";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
...@@ -216,7 +216,7 @@ default_mux { ...@@ -216,7 +216,7 @@ default_mux {
groups = "sysclkreq4_d_1"; groups = "sysclkreq4_d_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO3_P5"; pins = "GPIO3_P5";
input-enable; input-enable;
bias-disable; bias-disable;
}; };
...@@ -227,7 +227,7 @@ default_mux { ...@@ -227,7 +227,7 @@ default_mux {
groups = "gpio3_a_1"; groups = "gpio3_a_1";
}; };
default_cfg { default_cfg {
ste,pins = "GPIO3_P5"; pins = "GPIO3_P5";
input-enable; input-enable;
bias-pull-down; bias-pull-down;
}; };
......
...@@ -931,7 +931,7 @@ static int abx500_dt_subnode_to_map(struct pinctrl_dev *pctldev, ...@@ -931,7 +931,7 @@ static int abx500_dt_subnode_to_map(struct pinctrl_dev *pctldev,
const char *gpio_name; const char *gpio_name;
const char *pin; const char *pin;
ret = of_property_count_strings(np, "ste,pins"); ret = of_property_count_strings(np, "pins");
if (ret < 0) if (ret < 0)
goto exit; goto exit;
...@@ -941,7 +941,7 @@ static int abx500_dt_subnode_to_map(struct pinctrl_dev *pctldev, ...@@ -941,7 +941,7 @@ static int abx500_dt_subnode_to_map(struct pinctrl_dev *pctldev,
if (ret < 0) if (ret < 0)
goto exit; goto exit;
of_property_for_each_string(np, "ste,pins", prop, pin) { of_property_for_each_string(np, "pins", prop, pin) {
gpio_name = abx500_find_pin_name(pctldev, pin); gpio_name = abx500_find_pin_name(pctldev, pin);
ret = abx500_dt_add_map_configs(map, reserved_maps, ret = abx500_dt_add_map_configs(map, reserved_maps,
......
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