From cd2457a0018e10f56802d10b8bb59c93c2b5291a Mon Sep 17 00:00:00 2001 From: Yingyuan Zhu Date: Wed, 10 Apr 2019 17:27:24 +0800 Subject: [PATCH] AC200: fix home button has no function [1/1] 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 --- arch/arm/boot/dts/amlogic/sm1_s905d3_ac200.dts | 2 +- arch/arm64/boot/dts/amlogic/sm1_s905d3_ac200.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/amlogic/sm1_s905d3_ac200.dts b/arch/arm/boot/dts/amlogic/sm1_s905d3_ac200.dts index 9bb087b..76e019a 100644 --- a/arch/arm/boot/dts/amlogic/sm1_s905d3_ac200.dts +++ b/arch/arm/boot/dts/amlogic/sm1_s905d3_ac200.dts @@ -359,7 +359,7 @@ io-channels = <&saradc SARADC_CH2>; io-channel-names = "key-chan-2"; key_chan = ; - key_code = <114 115 28>; + key_code = <114 115 97>; key_val = <143 266 389>; //val=voltage/1800mV*1023 key_tolerance = <40 40 40>; }; diff --git a/arch/arm64/boot/dts/amlogic/sm1_s905d3_ac200.dts b/arch/arm64/boot/dts/amlogic/sm1_s905d3_ac200.dts index 8a6e686..ea4e1df 100644 --- a/arch/arm64/boot/dts/amlogic/sm1_s905d3_ac200.dts +++ b/arch/arm64/boot/dts/amlogic/sm1_s905d3_ac200.dts @@ -357,7 +357,7 @@ io-channels = <&saradc SARADC_CH2>; io-channel-names = "key-chan-2"; key_chan = ; - key_code = <114 115 28>; + key_code = <114 115 97>; key_val = <143 266 389>; //val=voltage/1800mV*1023 key_tolerance = <40 40 40>; }; -- 2.7.4