Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TOPIC-GPIO] gpio: Update imx gpio driver to use new gpio api #19571

Merged
merged 3 commits into from
Oct 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions boards/arm/96b_meerkat96/96b_meerkat96.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@
leds {
compatible = "gpio-leds";
green_led_0: led_0 {
gpios = <&gpio1 4 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
label = "User LED1";
};
green_led_1: led_1 {
gpios = <&gpio1 5 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
label = "User LED2";
};
green_led_2: led_2 {
gpios = <&gpio1 6 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
label = "User LED3";
};
green_led_3: led_3 {
gpios = <&gpio1 7 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
label = "User LED4";
};
};
Expand Down
6 changes: 3 additions & 3 deletions boards/arm/colibri_imx7d_m4/colibri_imx7d_m4.dts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, NXP
* Copyright (c) 2017,2019 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down Expand Up @@ -33,15 +33,15 @@
leds {
compatible = "gpio-leds";
green_led: led_0 {
gpios = <&gpio1 2 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
label = "User LED1";
};
};

gpio_keys {
compatible = "gpio-keys";
user_switch_1: user_sw_1 {
gpios = <&gpio2 26 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
label = "User SW1";
};
};
Expand Down
2 changes: 1 addition & 1 deletion boards/arm/warp7_m4/warp7_m4.dts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
gpio_keys {
compatible = "gpio-keys";
user_switch_1: user_sw_1 {
gpios = <&gpio7 1 GPIO_INT_ACTIVE_LOW>;
gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
label = "User SW1";
};
};
Expand Down
Loading