mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
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
This commit is contained in:
parent
494475e5e1
commit
3bc2f3ba7b
1 changed files with 23 additions and 2 deletions
|
|
@ -24,6 +24,7 @@ properties:
|
|||
- nvidia,tegra30-hda
|
||||
- nvidia,tegra194-hda
|
||||
- nvidia,tegra234-hda
|
||||
- nvidia,tegra264-hda
|
||||
- items:
|
||||
- enum:
|
||||
- nvidia,tegra186-hda
|
||||
|
|
@ -44,11 +45,11 @@ properties:
|
|||
maxItems: 1
|
||||
|
||||
clocks:
|
||||
minItems: 2
|
||||
minItems: 1
|
||||
maxItems: 3
|
||||
|
||||
clock-names:
|
||||
minItems: 2
|
||||
minItems: 1
|
||||
maxItems: 3
|
||||
|
||||
resets:
|
||||
|
|
@ -153,6 +154,26 @@ allOf:
|
|||
items:
|
||||
- const: hda
|
||||
- const: hda2codec_2x
|
||||
- if:
|
||||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
enum:
|
||||
- nvidia,tegra264-hda
|
||||
then:
|
||||
properties:
|
||||
clocks:
|
||||
maxItems: 1
|
||||
clock-names:
|
||||
items:
|
||||
- const: hda
|
||||
resets:
|
||||
maxItems: 2
|
||||
reset-names:
|
||||
items:
|
||||
- const: hda
|
||||
- const: hda2codec_2x
|
||||
power-domains: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue