EricR Lai has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60073 )
Change subject: mb/google/brya/var/felwinter: Add stylus probe for garage ......................................................................
mb/google/brya/var/felwinter: Add stylus probe for garage
Felwinter has non-stylus sku, garage driver only attach to stylus sku.
BUG=b:208937710 TEST=non-stylus doesn't register garage driver.
Signed-off-by: Eric Lai ericr_lai@compal.corp-partner.google.com Change-Id: I06a2c125f2b5a73f9f7c27bf1b20ff8712664809 --- M src/mainboard/google/brya/variants/felwinter/overridetree.cb 1 file changed, 7 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/60073/1
diff --git a/src/mainboard/google/brya/variants/felwinter/overridetree.cb b/src/mainboard/google/brya/variants/felwinter/overridetree.cb index dafdbfc..77f8f31 100644 --- a/src/mainboard/google/brya/variants/felwinter/overridetree.cb +++ b/src/mainboard/google/brya/variants/felwinter/overridetree.cb @@ -4,6 +4,10 @@ option USB3_PS8815 1 option USB4_KB8001 2 end + field STYLUS 5 + option STYLUS_ABSENT 0 + option STYLUS_PRSENT 1 + end field AUDIO_AMP 7 9 option UNPROVISIONED 0 option MAX98360_ALC5682I_I2S 1 @@ -269,7 +273,9 @@ register "key.linux_code" = "SW_PEN_INSERTED" register "key.linux_input_type" = "EV_SW" register "key.label" = ""pen_eject"" - device generic 0 on end + device generic 0 on + probe STYLUS STYLUS_PRSENT + end end end #I2C3 device ref i2c5 on