summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/baseboard
diff options
context:
space:
mode:
authorWeimin Wu <wuweimin@huaqin.corp-partner.google.com>2024-07-30 17:31:46 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-08-08 07:58:33 +0000
commit1fdeabe507d30b5ff22ffa264dde23c00b69faef (patch)
tree116f8219d31dc495128a6049ad315984092a1f80 /src/mainboard/google/dedede/variants/baseboard
parent47bc698d36179f62de009715d7ea5f50a55865c6 (diff)
mb/google/dedede/var/awasuki: Enable ELAN touchscreen with fw_config
1. Change driver form i2c/hid to i2c/generic. 2. Add fw_config for touchscreen. BUG=b:351968527 TEST=ectool cbi set 6 0x0x10200a0; touchscreen functions normally; Change-Id: Ifd6330be8924d4873f0efab3ce404168a62099eb Signed-off-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83704 Reviewed-by: zhongtian wu <wuzhongtian@huaqin.corp-partner.google.com> Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/dedede/variants/baseboard')
-rw-r--r--src/mainboard/google/dedede/variants/baseboard/devicetree.cb12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mainboard/google/dedede/variants/baseboard/devicetree.cb b/src/mainboard/google/dedede/variants/baseboard/devicetree.cb
index c38aa73511..4a234a85ad 100644
--- a/src/mainboard/google/dedede/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/dedede/variants/baseboard/devicetree.cb
@@ -15,10 +15,18 @@ fw_config
option STYLUS_ABSENT 0
option STYLUS_PRESENT 1
end
+ field TOUCHSCREEN 5
+ option TOUCHSCREEN_ABSENT 0
+ option TOUCHSCREEN_PRESENT 1
+ end
field TABLETMODE 10
option TABLETMODE_DISABLED 0
option TABLETMODE_ENABLED 1
end
+ field LTE 11
+ option LTE_ABSENT 0
+ option LTE_PRESENT 1
+ end
field AUDIO_AMP 14 16
option UNPROVISIONED 0
option MAX98360 1
@@ -26,10 +34,6 @@ fw_config
option RT1015P_AUTO 3
option ALC5650 4
end
- field LTE 11
- option LTE_ABSENT 0
- option LTE_PRESENT 1
- end
field EXT_VR 18
option EXT_VR_PRESENT 0
option EXT_VR_ABSENT 1