Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: Document Tegra264 HDA Support

For Tegra264 device there is one clock, two resets and no power-domain.
Add the Tegra264 compatible and necessary logic to the binding doc to
determine appropriate clocks, resets and power-domain properties based
on the compatible string.

Signed-off-by: Sheetal <sheetal@nvidia.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250512064258.1028331-3-sheetal@nvidia.com

authored by

Sheetal and committed by
Takashi Iwai
3bc2f3ba 494475e5

+23 -2
+23 -2
Documentation/devicetree/bindings/sound/nvidia,tegra30-hda.yaml
··· 24 24 - nvidia,tegra30-hda 25 25 - nvidia,tegra194-hda 26 26 - nvidia,tegra234-hda 27 + - nvidia,tegra264-hda 27 28 - items: 28 29 - enum: 29 30 - nvidia,tegra186-hda ··· 45 44 maxItems: 1 46 45 47 46 clocks: 48 - minItems: 2 47 + minItems: 1 49 48 maxItems: 3 50 49 51 50 clock-names: 52 - minItems: 2 51 + minItems: 1 53 52 maxItems: 3 54 53 55 54 resets: ··· 154 153 items: 155 154 - const: hda 156 155 - const: hda2codec_2x 156 + - if: 157 + properties: 158 + compatible: 159 + contains: 160 + enum: 161 + - nvidia,tegra264-hda 162 + then: 163 + properties: 164 + clocks: 165 + maxItems: 1 166 + clock-names: 167 + items: 168 + - const: hda 169 + resets: 170 + maxItems: 2 171 + reset-names: 172 + items: 173 + - const: hda 174 + - const: hda2codec_2x 175 + power-domains: false 157 176 158 177 examples: 159 178 - |