summaryrefslogtreecommitdiff
path: root/src/mainboard/google/fatcat/variants
diff options
context:
space:
mode:
authorAnil Kumar <anil.kumar.k@intel.com>2024-10-27 20:42:39 -0700
committerSubrata Banik <subratabanik@google.com>2024-11-02 04:54:08 +0000
commit214e9743f8476b14f2b59ec51a790f88289874e6 (patch)
treeaa5afb6ea3a3592428a042462d4512832905172f /src/mainboard/google/fatcat/variants
parent91ef89b8af3fbee83b9b2ecf4e895330e7e4d58f (diff)
mb/google/fatcat: Add devicetree for MAX98357A codec
Update device tree to support speaker o/p on MAX98357A AIC. BUG=b:357011633 TEST=build coreboot image and test audio playback on Google/Fatcat board. Signed-off-by: Anil Kumar <anil.kumar.k@intel.com> Change-Id: I20de87f673e947f0e2332b818ebca01c0fa5e200 Reviewed-on: https://review.coreboot.org/c/coreboot/+/84888 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/fatcat/variants')
-rw-r--r--src/mainboard/google/fatcat/variants/fatcat/overridetree.cb8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb b/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb
index bcaf92a9fe..efea05413a 100644
--- a/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb
+++ b/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb
@@ -614,6 +614,14 @@ chip soc/intel/pantherlake
end
end
end
+ chip drivers/generic/max98357a
+ register "hid" = ""MX98360A""
+ register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E19)"
+ register "sdmode_delay" = "5"
+ device generic 0 on
+ probe AUDIO AUDIO_MAX98360_ALC5682I_I2S
+ end
+ end
end
end
end