mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 02:37:15 +07:00
30bcb1f264
Convert ingenic,jz4740-codec.txt and ingenic,jz4725b-codec.txt to one single ingenic,codec.yaml file, since they share the same binding. Add the ingenic,jz4770-codec compatible string in the process. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20191224002708.1207884-1-paul@crapouillou.net Signed-off-by: Mark Brown <broonie@kernel.org>
56 lines
1008 B
YAML
56 lines
1008 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/sound/ingenic,codec.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Ingenic JZ47xx internal codec DT bindings
|
|
|
|
maintainers:
|
|
- Paul Cercueil <paul@crapouillou.net>
|
|
|
|
properties:
|
|
$nodename:
|
|
pattern: '^audio-codec@.*'
|
|
|
|
compatible:
|
|
oneOf:
|
|
- const: ingenic,jz4770-codec
|
|
- const: ingenic,jz4725b-codec
|
|
- const: ingenic,jz4740-codec
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
clock-names:
|
|
items:
|
|
- const: aic
|
|
|
|
'#sound-dai-cells':
|
|
const: 0
|
|
|
|
additionalProperties: false
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- clock-names
|
|
- '#sound-dai-cells'
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/jz4740-cgu.h>
|
|
codec: audio-codec@10020080 {
|
|
compatible = "ingenic,jz4740-codec";
|
|
reg = <0x10020080 0x8>;
|
|
#sound-dai-cells = <0>;
|
|
clocks = <&cgu JZ4740_CLK_AIC>;
|
|
clock-names = "aic";
|
|
};
|
|
|
|
...
|