mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
arm64: dts: rockchip: rv1126b-evb: add adc keys support
Signed-off-by: ZhengRong Ruan <ryan.ruan@rock-chips.com> Change-Id: I8042febc544fa61f2f2df63eff14dfc6f4fd7ffe
This commit is contained in:
committed by
Tao Huang
parent
068dd9a9b1
commit
9c7e62a8f8
@@ -21,6 +21,38 @@
|
||||
rockchip,codec = <&audio_codec>, <&acdcdig_dsm>;
|
||||
};
|
||||
|
||||
adc-keys {
|
||||
compatible = "adc-keys";
|
||||
io-channels = <&saradc0 0>;
|
||||
io-channel-names = "buttons";
|
||||
poll-interval = <100>;
|
||||
keyup-threshold-microvolt = <1800000>;
|
||||
|
||||
esc-key {
|
||||
label = "esc";
|
||||
linux,code = <KEY_ESC>;
|
||||
press-threshold-microvolt = <0>;
|
||||
};
|
||||
|
||||
right-key {
|
||||
label = "right";
|
||||
linux,code = <KEY_RIGHT>;
|
||||
press-threshold-microvolt = <400781>;
|
||||
};
|
||||
|
||||
left-key {
|
||||
label = "left";
|
||||
linux,code = <KEY_LEFT>;
|
||||
press-threshold-microvolt = <801562>;
|
||||
};
|
||||
|
||||
menu-key {
|
||||
label = "menu";
|
||||
linux,code = <KEY_MENU>;
|
||||
press-threshold-microvolt = <1198828>;
|
||||
};
|
||||
};
|
||||
|
||||
backlight: backlight {
|
||||
compatible = "pwm-backlight";
|
||||
brightness-levels = <
|
||||
|
||||
Reference in New Issue
Block a user