mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
arm64: dts: rockchip: remove adc-keys from rk3399-android.dtsi
Change-Id: I4a01cfcc4dfe69cab164836d4b2ecc893d463356 Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
@@ -100,51 +100,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
adc_keys: adc-keys {
|
|
||||||
compatible = "adc-keys";
|
|
||||||
io-channels = <&saradc 1>;
|
|
||||||
io-channel-names = "buttons";
|
|
||||||
keyup-threshold-microvolt = <1800000>;
|
|
||||||
poll-interval = <100>;
|
|
||||||
|
|
||||||
vol-up-key {
|
|
||||||
label = "volume up";
|
|
||||||
linux,code = <KEY_VOLUMEUP>;
|
|
||||||
press-threshold-microvolt = <1750>;
|
|
||||||
};
|
|
||||||
|
|
||||||
vol-down-key {
|
|
||||||
label = "volume down";
|
|
||||||
linux,code = <KEY_VOLUMEDOWN>;
|
|
||||||
press-threshold-microvolt = <297500>;
|
|
||||||
};
|
|
||||||
|
|
||||||
menu-key {
|
|
||||||
label = "menu";
|
|
||||||
linux,code = <KEY_MENU>;
|
|
||||||
press-threshold-microvolt = <1305500>;
|
|
||||||
};
|
|
||||||
|
|
||||||
home-key {
|
|
||||||
label = "home";
|
|
||||||
linux,code = <KEY_HOME>;
|
|
||||||
press-threshold-microvolt = <621250>;
|
|
||||||
};
|
|
||||||
|
|
||||||
back-key {
|
|
||||||
label = "back";
|
|
||||||
linux,code = <KEY_BACK>;
|
|
||||||
press-threshold-microvolt = <980000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
camera-key {
|
|
||||||
label = "camera";
|
|
||||||
linux,code = <KEY_CAMERA>;
|
|
||||||
press-threshold-microvolt = <787500>;
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
gpio_keys: gpio-keys {
|
gpio_keys: gpio-keys {
|
||||||
compatible = "gpio-keys";
|
compatible = "gpio-keys";
|
||||||
autorepeat;
|
autorepeat;
|
||||||
|
|||||||
@@ -47,6 +47,50 @@
|
|||||||
/ {
|
/ {
|
||||||
compatible = "rockchip,rk3399-evb", "rockchip,rk3399";
|
compatible = "rockchip,rk3399-evb", "rockchip,rk3399";
|
||||||
|
|
||||||
|
adc_keys: adc-keys {
|
||||||
|
compatible = "adc-keys";
|
||||||
|
io-channels = <&saradc 1>;
|
||||||
|
io-channel-names = "buttons";
|
||||||
|
keyup-threshold-microvolt = <1800000>;
|
||||||
|
poll-interval = <100>;
|
||||||
|
|
||||||
|
vol-up-key {
|
||||||
|
label = "volume up";
|
||||||
|
linux,code = <KEY_VOLUMEUP>;
|
||||||
|
press-threshold-microvolt = <1750>;
|
||||||
|
};
|
||||||
|
|
||||||
|
vol-down-key {
|
||||||
|
label = "volume down";
|
||||||
|
linux,code = <KEY_VOLUMEDOWN>;
|
||||||
|
press-threshold-microvolt = <297500>;
|
||||||
|
};
|
||||||
|
|
||||||
|
menu-key {
|
||||||
|
label = "menu";
|
||||||
|
linux,code = <KEY_MENU>;
|
||||||
|
press-threshold-microvolt = <1305500>;
|
||||||
|
};
|
||||||
|
|
||||||
|
home-key {
|
||||||
|
label = "home";
|
||||||
|
linux,code = <KEY_HOME>;
|
||||||
|
press-threshold-microvolt = <621250>;
|
||||||
|
};
|
||||||
|
|
||||||
|
back-key {
|
||||||
|
label = "back";
|
||||||
|
linux,code = <KEY_BACK>;
|
||||||
|
press-threshold-microvolt = <980000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
camera-key {
|
||||||
|
label = "camera";
|
||||||
|
linux,code = <KEY_CAMERA>;
|
||||||
|
press-threshold-microvolt = <787500>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
vcc3v3_sys: vcc3v3-sys {
|
vcc3v3_sys: vcc3v3-sys {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "vcc3v3_sys";
|
regulator-name = "vcc3v3_sys";
|
||||||
|
|||||||
@@ -11,6 +11,50 @@
|
|||||||
/ {
|
/ {
|
||||||
compatible = "rockchip,rk3399-sapphire", "rockchip,rk3399";
|
compatible = "rockchip,rk3399-sapphire", "rockchip,rk3399";
|
||||||
|
|
||||||
|
adc_keys: adc-keys {
|
||||||
|
compatible = "adc-keys";
|
||||||
|
io-channels = <&saradc 1>;
|
||||||
|
io-channel-names = "buttons";
|
||||||
|
keyup-threshold-microvolt = <1800000>;
|
||||||
|
poll-interval = <100>;
|
||||||
|
|
||||||
|
vol-up-key {
|
||||||
|
label = "volume up";
|
||||||
|
linux,code = <KEY_VOLUMEUP>;
|
||||||
|
press-threshold-microvolt = <1750>;
|
||||||
|
};
|
||||||
|
|
||||||
|
vol-down-key {
|
||||||
|
label = "volume down";
|
||||||
|
linux,code = <KEY_VOLUMEDOWN>;
|
||||||
|
press-threshold-microvolt = <297500>;
|
||||||
|
};
|
||||||
|
|
||||||
|
menu-key {
|
||||||
|
label = "menu";
|
||||||
|
linux,code = <KEY_MENU>;
|
||||||
|
press-threshold-microvolt = <1305500>;
|
||||||
|
};
|
||||||
|
|
||||||
|
home-key {
|
||||||
|
label = "home";
|
||||||
|
linux,code = <KEY_HOME>;
|
||||||
|
press-threshold-microvolt = <621250>;
|
||||||
|
};
|
||||||
|
|
||||||
|
back-key {
|
||||||
|
label = "back";
|
||||||
|
linux,code = <KEY_BACK>;
|
||||||
|
press-threshold-microvolt = <980000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
camera-key {
|
||||||
|
label = "camera";
|
||||||
|
linux,code = <KEY_CAMERA>;
|
||||||
|
press-threshold-microvolt = <787500>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
backlight: backlight {
|
backlight: backlight {
|
||||||
compatible = "pwm-backlight";
|
compatible = "pwm-backlight";
|
||||||
brightness-levels = <
|
brightness-levels = <
|
||||||
|
|||||||
Reference in New Issue
Block a user