AC200: fix home button has no function [1/1]
authorYingyuan Zhu <yingyuan.zhu@amlogic.com>
Wed, 10 Apr 2019 09:27:24 +0000 (17:27 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 11 Apr 2019 02:22:52 +0000 (19:22 -0700)
PD#SWPL-6694

Problem:
home button has no function in sm1-ac200

Solution:
add home button configuration in dst node

Verify:
test pass on sm1-ac200

Change-Id: I670480c6dfd7f833e737adaddbe5981d84091203
Signed-off-by: Yingyuan Zhu <yingyuan.zhu@amlogic.com>
arch/arm/boot/dts/amlogic/sm1_s905d3_ac200.dts
arch/arm64/boot/dts/amlogic/sm1_s905d3_ac200.dts

index 9bb087b..76e019a 100644 (file)
                io-channels = <&saradc SARADC_CH2>;
                io-channel-names = "key-chan-2";
                key_chan = <SARADC_CH2 SARADC_CH2 SARADC_CH2>;
-               key_code = <114 115 28>;
+               key_code = <114 115 97>;
                key_val = <143 266 389>; //val=voltage/1800mV*1023
                key_tolerance = <40 40 40>;
        };
index 8a6e686..ea4e1df 100644 (file)
                io-channels = <&saradc SARADC_CH2>;
                io-channel-names = "key-chan-2";
                key_chan = <SARADC_CH2 SARADC_CH2 SARADC_CH2>;
-               key_code = <114 115 28>;
+               key_code = <114 115 97>;
                key_val = <143 266 389>; //val=voltage/1800mV*1023
                key_tolerance = <40 40 40>;
        };