Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13b9b64e authored by Beomho Seo's avatar Beomho Seo Committed by Kukjin Kim
Browse files

ARM: dts: use macro in gpio keys for exynos3250 boards



This patch replaces number by macro in gpio keys for exynos3250 boards.

Cc: Youngjun Cho <yj44.cho@samsung.com>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
Reviewed-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: default avatarBeomho Seo <beomho.seo@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene@kernel.org>
parent 19f0d87b
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -15,6 +15,7 @@
/dts-v1/;
/dts-v1/;
#include "exynos3250.dtsi"
#include "exynos3250.dtsi"
#include <dt-bindings/input/input.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/gpio/gpio.h>


/ {
/ {
	model = "Samsung Monk board";
	model = "Samsung Monk board";
@@ -37,7 +38,7 @@
		compatible = "gpio-keys";
		compatible = "gpio-keys";


		power_key {
		power_key {
			gpios = <&gpx2 7 1>;
			gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_POWER>;
			linux,code = <KEY_POWER>;
			label = "power key";
			label = "power key";
			debounce-interval = <10>;
			debounce-interval = <10>;
+2 −1
Original line number Original line Diff line number Diff line
@@ -15,6 +15,7 @@
/dts-v1/;
/dts-v1/;
#include "exynos3250.dtsi"
#include "exynos3250.dtsi"
#include <dt-bindings/input/input.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/gpio/gpio.h>


/ {
/ {
	model = "Samsung Rinato board";
	model = "Samsung Rinato board";
@@ -37,7 +38,7 @@
		compatible = "gpio-keys";
		compatible = "gpio-keys";


		power_key {
		power_key {
			gpios = <&gpx2 7 1>;
			gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_POWER>;
			linux,code = <KEY_POWER>;
			label = "power key";
			label = "power key";
			debounce-interval = <10>;
			debounce-interval = <10>;