brintos

brintos / linux-shallow public Read only

0
0
Text · 2.4 KiB · c3dea85 Raw
93 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/sound/samsung,odroid.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Samsung Exynos Odroid XU3/XU4 audio complex with MAX98090 codec8 9maintainers:10  - Krzysztof Kozlowski <krzk@kernel.org>11  - Sylwester Nawrocki <s.nawrocki@samsung.com>12 13allOf:14  - $ref: sound-card-common.yaml#15 16properties:17  compatible:18    oneOf:19      - const: hardkernel,odroid-xu3-audio20 21      - const: hardkernel,odroid-xu4-audio22        deprecated: true23 24      - const: samsung,odroid-xu3-audio25        deprecated: true26 27      - const: samsung,odroid-xu4-audio28        deprecated: true29 30  cpu:31    type: object32    additionalProperties: false33    properties:34      sound-dai:35        description: phandles to the I2S controllers36 37  codec:38    type: object39    additionalProperties: false40    properties:41      sound-dai:42        minItems: 143        items:44          - description: phandle of the HDMI IP block node45          - description: phandle of the MAX98090 CODEC46 47  samsung,audio-routing:48    $ref: /schemas/types.yaml#/definitions/non-unique-string-array49    deprecated: true50    description: |51      List of the connections between audio52      components;  each entry is a pair of strings, the first being the53      connection's sink, the second being the connection's source;54      valid names for sources and sinks are the MAX98090's pins (as55      documented in its binding), and the jacks on the board.56      For Odroid X2: "Headphone Jack", "Mic Jack", "DMIC"57      For Odroid U3, XU3: "Headphone Jack", "Speakers"58      For Odroid XU4: no entries59      Deprecated, use audio-routing.60 61  samsung,audio-widgets:62    $ref: /schemas/types.yaml#/definitions/non-unique-string-array63    description: |64      This property specifies off-codec audio elements65      like headphones or speakers, for details see widgets.txt66 67required:68  - compatible69  - cpu70  - codec71 72unevaluatedProperties: false73 74examples:75  - |76    sound {77        compatible = "hardkernel,odroid-xu3-audio";78        model = "Odroid-XU3";79        audio-routing =80                "Headphone Jack", "HPL",81                "Headphone Jack", "HPR",82                "IN1", "Mic Jack",83                "Mic Jack", "MICBIAS";84 85        cpu {86            sound-dai = <&i2s0 0>;87        };88 89        codec {90            sound-dai = <&hdmi>, <&max98090>;91        };92    };93