mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 18:54:09 +08:00
ARM: ux500: move BU21013 touchpad GPIOs into top-level DTS
The BU21013 touchscreen GPIOs have been pretty confused, correct them per board, and move the GPIO assignments up to the top level DTS file so we can control it from there, and avoid defining the GPIO assignments for non-ST UIB equipped boards. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
84919b96fe
commit
741a6c4c59
@ -57,7 +57,6 @@
|
||||
bu21013_tp@5c {
|
||||
compatible = "rohm,bu21013_tp";
|
||||
reg = <0x5c>;
|
||||
touch-gpio = <&gpio2 20 0x4>;
|
||||
avdd-supply = <&ab8500_ldo_aux1_reg>;
|
||||
|
||||
rohm,touch-max-x = <384>;
|
||||
@ -68,7 +67,6 @@
|
||||
bu21013_tp@5d {
|
||||
compatible = "rohm,bu21013_tp";
|
||||
reg = <0x5d>;
|
||||
touch-gpio = <&gpio2 20 0x4>;
|
||||
avdd-supply = <&ab8500_ldo_aux1_reg>;
|
||||
|
||||
rohm,touch-max-x = <384>;
|
||||
|
@ -20,7 +20,13 @@
|
||||
soc {
|
||||
/* Reset line for the BU21013 touchscreen */
|
||||
i2c@80110000 {
|
||||
/* Only one of these will be used */
|
||||
bu21013_tp@5c {
|
||||
touch-gpio = <&gpio2 12 0x4>;
|
||||
reset-gpio = <&tc3589x_gpio 13 0x4>;
|
||||
};
|
||||
bu21013_tp@5d {
|
||||
touch-gpio = <&gpio2 12 0x4>;
|
||||
reset-gpio = <&tc3589x_gpio 13 0x4>;
|
||||
};
|
||||
};
|
||||
|
@ -49,12 +49,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
i2c@80110000 {
|
||||
bu21013_tp@5c {
|
||||
reset-gpio = <&tc3589x_gpio 13 0x4>;
|
||||
};
|
||||
};
|
||||
|
||||
vmmci: regulator-gpio {
|
||||
gpios = <&tc3589x_gpio 18 0x4>;
|
||||
enable-gpio = <&tc3589x_gpio 17 0x4>;
|
||||
|
@ -22,8 +22,14 @@
|
||||
soc {
|
||||
/* Reset line for the BU21013 touchscreen */
|
||||
i2c@80110000 {
|
||||
bu21013_tp@0x5c {
|
||||
reset-gpio = <&gpio4 15 0x4>;
|
||||
/* Only one of these will be used */
|
||||
bu21013_tp@5c {
|
||||
touch-gpio = <&gpio2 20 0x4>;
|
||||
reset-gpio = <&gpio4 17 0x4>;
|
||||
};
|
||||
bu21013_tp@5d {
|
||||
touch-gpio = <&gpio2 20 0x4>;
|
||||
reset-gpio = <&gpio4 17 0x4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -23,12 +23,6 @@
|
||||
};
|
||||
|
||||
soc {
|
||||
i2c@80110000 {
|
||||
bu21013_tp@0x5c {
|
||||
reset-gpio = <&gpio4 15 0x4>;
|
||||
};
|
||||
};
|
||||
|
||||
// External Micro SD slot
|
||||
sdi0_per1@80126000 {
|
||||
arm,primecell-periphid = <0x10480180>;
|
||||
|
Loading…
Reference in New Issue
Block a user