^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/sound/ak4642.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: AK4642 I2C transmitter Device Tree Bindings
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) compatible:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) enum:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - asahi-kasei,ak4642
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) - asahi-kasei,ak4643
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) - asahi-kasei,ak4648
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) reg:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) "#clock-cells":
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) const: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) "#sound-dai-cells":
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) const: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) clocks:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) maxItems: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) clock-frequency:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) description: common clock binding; frequency of MCKO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) $ref: /schemas/types.yaml#/definitions/uint32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) clock-output-names:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) description: common clock name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) $ref: /schemas/types.yaml#/definitions/string
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) required:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) - compatible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) - reg
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) additionalProperties: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) i2c {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) ak4643: codec@12 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) compatible = "asahi-kasei,ak4643";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) #sound-dai-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) reg = <0x12>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) #clock-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) clocks = <&audio_clock>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) clock-frequency = <12288000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) clock-output-names = "ak4643_mcko";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) };