diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-09-06 21:35:00 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-09-28 18:17:40 +0300 |
commit | ac3e91199d694612a74673b0b53e339ad02b564d (patch) | |
tree | 53c929a89efec72fca166f6e22f5e53340fdcdd0 /arch/arm/boot/dts/tegra30-apalis-v1.1.dtsi | |
parent | 62a0261c9fa88721eb0cfb91bf51832b333e9f75 (diff) | |
download | linux-ac3e91199d694612a74673b0b53e339ad02b564d.tar.xz |
mfd: stmpe: Switch to using gpiod API
This patch switches the driver away from legacy gpio/of_gpio API to
gpiod API, and removes use of of_get_named_gpio_flags() which I want to
make private to gpiolib.
We also need to patch relevant DTS files, as the original code relied on
the fact that of_get_named_gpio_flags() would fetch any data encoded in
GPIO flags, even if it does not reflect valid flags for a GPIO.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/YxeS1BK2OBH1P/kO@google.com
Diffstat (limited to 'arch/arm/boot/dts/tegra30-apalis-v1.1.dtsi')
-rw-r--r-- | arch/arm/boot/dts/tegra30-apalis-v1.1.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra30-apalis-v1.1.dtsi b/arch/arm/boot/dts/tegra30-apalis-v1.1.dtsi index 380f22a35821..a1bcd67fa505 100644 --- a/arch/arm/boot/dts/tegra30-apalis-v1.1.dtsi +++ b/arch/arm/boot/dts/tegra30-apalis-v1.1.dtsi @@ -993,7 +993,7 @@ touchscreen@41 { compatible = "st,stmpe811"; reg = <0x41>; - irq-gpio = <&gpio TEGRA_GPIO(V, 0) IRQ_TYPE_LEVEL_LOW>; + irq-gpio = <&gpio TEGRA_GPIO(V, 0) GPIO_ACTIVE_LOW>; interrupt-controller; id = <0>; blocks = <0x5>; |