From d148748aba4eef0ea4da073494758d68dabea3ac Mon Sep 17 00:00:00 2001 From: Huang jianzhi Date: Mon, 25 Sep 2017 16:38:30 +0800 Subject: [PATCH] ARM: dts: rockchip: fix incorrect settings of keys for rk3288-evb-android-act8846-edp Change-Id: Ic524250720bbaba9c2c0cec3999ce9a9ac4baa1b Signed-off-by: Huang jianzhi --- .../dts/rk3288-evb-android-act8846-edp.dts | 57 ------------------- 1 file changed, 57 deletions(-) diff --git a/arch/arm/boot/dts/rk3288-evb-android-act8846-edp.dts b/arch/arm/boot/dts/rk3288-evb-android-act8846-edp.dts index 6de3ae5ce4ca..caab5e820757 100644 --- a/arch/arm/boot/dts/rk3288-evb-android-act8846-edp.dts +++ b/arch/arm/boot/dts/rk3288-evb-android-act8846-edp.dts @@ -87,63 +87,6 @@ pwms = <&pwm0 0 1000000 PWM_POLARITY_INVERTED>; }; - adc-keys { - compatible = "adc-keys"; - io-channels = <&saradc 1>; - io-channel-names = "buttons"; - poll-interval = <100>; - keyup-threshold-microvolt = <1800000>; - - button-up { - label = "Volume Up"; - linux,code = ; - press-threshold-microvolt = <100000>; - }; - - button-down { - label = "Volume Down"; - linux,code = ; - press-threshold-microvolt = <300000>; - }; - - menu { - label = "Menu"; - linux,code = ; - press-threshold-microvolt = <640000>; - }; - - esc { - label = "Esc"; - linux,code = ; - press-threshold-microvolt = <1000000>; - }; - - home { - label = "Home"; - linux,code = ; - press-threshold-microvolt = <1300000>; - }; - }; - - gpio-keys { - compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; - autorepeat; - - pinctrl-names = "default"; - pinctrl-0 = <&pwrbtn>; - - button@0 { - gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; - linux,code = <116>; - label = "GPIO Key Power"; - linux,input-type = <1>; - gpio-key,wakeup = <1>; - debounce-interval = <100>; - }; - }; - sdio_pwrseq: sdio-pwrseq { compatible = "mmc-pwrseq-simple"; clocks = <&hym8563>;