Commit bd0e4503 authored by Linus Walleij's avatar Linus Walleij
Browse files

ARM: dts: ux500: Fix STMPE device nodes



The STMPE device nodes need to be augmented to fit with current
naming policies.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230508070811.965762-1-linus.walleij@linaro.org
parent 0a03767e
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -30,12 +30,11 @@ button@145 {

	soc {
		i2c@80004000 {
			stmpe1601: stmpe1601@40 {
			stmpe1601: port-expander@40 {
				compatible = "st,stmpe1601";
				reg = <0x40>;
				interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
				interrupt-parent = <&gpio6>;
				interrupt-controller;
				vcc-supply = <&db8500_vsmps2_reg>;
				vio-supply = <&db8500_vsmps2_reg>;
				pinctrl-names = "default";
@@ -44,7 +43,7 @@ stmpe1601: stmpe1601@40 {
				wakeup-source;
				st,autosleep-timeout = <1024>;

				stmpe_keypad {
				keyboard-controller {
					compatible = "st,stmpe-keypad";

					debounce-interval = <64>;
+7 −9
Original line number Diff line number Diff line
@@ -99,17 +99,16 @@ lis3lv02dl@1d {
			pinctrl-names = "default";
			reg = <0x1d>;
		};
		stmpe0: stmpe2401@43 {
		stmpe0: port-expander@43 {
			compatible = "st,stmpe2401";
			reg = <0x43>;
			reset-gpios = <&gpio2 13 GPIO_ACTIVE_LOW>; // GPIO77
			interrupts = <12 IRQ_TYPE_EDGE_FALLING>; // GPIO76
			interrupt-parent = <&gpio2>;
			interrupt-controller;
			wakeup-source;
			pinctrl-names = "default";
			pinctrl-0 = <&stmpe2401_1_nhk_mode>;
			stmpe_gpio43: stmpe_gpio {
			stmpe_gpio43: gpio {
				compatible = "st,stmpe-gpio";
				gpio-controller;
				#gpio-cells = <2>;
@@ -118,7 +117,7 @@ stmpe_gpio43: stmpe_gpio {
				/* Some pins in alternate functions */
				st,norequest-mask = <0xf0f002>;
			};
			stmpe_keypad {
			keyboard-controller {
				compatible = "st,stmpe-keypad";
				debounce-interval = <64>;
				st,scan-count = <8>;
@@ -140,22 +139,21 @@ stmpe_keypad {
						0x03020067 // Up
						0x0303006c>; // Down
			};
			stmpe0_pwm: stmpe_pwm {
			stmpe0_pwm: pwm {
				compatible = "st,stmpe-pwm";
				#pwm-cells = <2>;
			};
		};
		stmpe1: stmpe2401@44 {
		stmpe1: port-expander@44 {
			compatible = "st,stmpe2401";
			reg = <0x44>;
			reset-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>; // GPIO79
			interrupts = <14 IRQ_TYPE_EDGE_FALLING>; // GPIO78
			interrupt-parent = <&gpio2>;
			interrupt-controller;
			wakeup-source;
			pinctrl-names = "default";
			pinctrl-0 = <&stmpe2401_2_nhk_mode>;
			stmpe_gpio44: stmpe_gpio {
			stmpe_gpio44: gpio {
				compatible = "st,stmpe-gpio";
				gpio-controller;
				#gpio-cells = <2>;
@@ -165,7 +163,7 @@ stmpe_gpio44: stmpe_gpio {
				 * This will turn off SATA so that MMC/SD
				 * can thrive
				 */
				mmcsd-gpio {
				mmcsd-hog {
					gpio-hog;
					gpios = <2 0x0>;
					output-low;