Implement Tulip Creative Computer 4r11 (#608)

This commit is contained in:
NellowTCS
2026-08-08 06:52:34 -06:00
committed by GitHub
parent c6373b79e9
commit 564d8af64c
20 changed files with 798 additions and 9 deletions
@@ -0,0 +1,9 @@
description: TI PCM5101A stereo DAC (I2S input, no register interface, no GPIO enable)
compatible: "ti,pcm5101a"
properties:
i2s:
type: phandle
required: true
description: "I2S controller device that carries audio data"
@@ -14,6 +14,7 @@ extern "C" {
// typedef even though they all share the same underlying config layout.
DEFINE_DEVICETREE(max98357a, struct DummyI2sAmpConfig)
DEFINE_DEVICETREE(ns4168, struct DummyI2sAmpConfig)
DEFINE_DEVICETREE(pcm5101a, struct DummyI2sAmpConfig)
#ifdef __cplusplus
}
@@ -373,7 +373,7 @@ extern "C" {
Driver dummy_i2s_amp_driver = {
.name = "dummy_i2s_amp",
.compatible = (const char*[]) { "maxim,max98357a", "nsiway,ns4168", nullptr },
.compatible = (const char*[]) { "maxim,max98357a", "nsiway,ns4168", "ti,pcm5101a", nullptr },
.start_device = start_device,
.stop_device = stop_device,
.api = &API,