src/mb/purism/librem_cnl: Enable Librem 14 jack detect with fixed EC
Use verbs enabling jack detect if the EC firmware has been updated
with fixed jack detection.
Provide system76_ec_cmd() to send arbitrary commands to the EC.
Provide librem_ec_has_jack_detect() to probe for the jack detect fix.
Change-Id: I57a27b1d51e4f6c7c712bcb2823d21692b9c5ce6
Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
Showing
- src/ec/purism/librem-ec/Makefile.inc 1 addition, 0 deletionssrc/ec/purism/librem-ec/Makefile.inc
- src/ec/purism/librem-ec/librem_ec.c 21 additions, 0 deletionssrc/ec/purism/librem-ec/librem_ec.c
- src/ec/purism/librem-ec/librem_ec.h 13 additions, 0 deletionssrc/ec/purism/librem-ec/librem_ec.h
- src/ec/system76/ec/system76_ec.c 49 additions, 0 deletionssrc/ec/system76/ec/system76_ec.c
- src/ec/system76/ec/system76_ec.h 15 additions, 0 deletionssrc/ec/system76/ec/system76_ec.h
- src/mainboard/purism/librem_cnl/variants/librem_14/hda_verb.c 28 additions, 2 deletions...mainboard/purism/librem_cnl/variants/librem_14/hda_verb.c
Please register or sign in to comment