summaryrefslogtreecommitdiff
path: root/rust/kernel/iommu/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorLinus Walleij <linusw@kernel.org>2026-04-09 23:39:31 +0200
committerMark Brown <broonie@kernel.org>2026-04-10 11:27:52 +0100
commit0cb7aa965ad02e90ba7d6bf847f3de07e8d0c05e (patch)
treeb60f4ff4f7efde2a53488fd7104846253e38487a /rust/kernel/iommu/git@git.tavy.me:linux.git
parentfbb1f8ba4e2d847859d04220c4a775996f072d57 (diff)
ASoC: uda1380: Modernize the driver
This codec driver depended on the legacy GPIO API, and nothing in the kernel is defining the platform data, so get rid of this. Two in-kernel device trees are defining this codec using undocumented device tree properties, so support these for now. The same properties can be defined using software nodes if board files are desired. The device tree use the "-gpio" rather than "-gpios" suffix but the GPIO DT parser will deal with that. Since there may be out of tree users, migrate to GPIO descriptors, drop the platform data that is unused, and assign the dac_clk the value that was used in all platforms found in a historical dig, and support setting the clock to the PLL using the undocumented device tree property. Add some menuconfig so the codec can be selected and tested. Signed-off-by: Linus Walleij <linusw@kernel.org> Link: https://patch.msgid.link/20260409-asoc-uda1380-v3-1-b3d5a53f31be@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/kernel/iommu/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions