Texas Instruments SoC with twl4030 based audio setups
Schema identifier ($id): "http://devicetree.org/schemas/sound/ti,omap-twl4030.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Peter Ujfalusi <peter.ujfalusi@gmail.com>"
Audio setups on TI OMAP SoCs using TWL4030-family audio codec connected via a McBSP port.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,omap-twl4030"
ti,model — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Name of the sound card (for example "omap3beagle").
ti,mcbsp — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle for the McBSP node.
ti,codec — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle for the twl4030 audio node.
ti,mcbsp-voice — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to the McBSP node connected to the voice port.
ti,jack-det-gpio — not listed as required here #
GPIO specifier for jack detection.
Maximum number of items (maxItems): 1
ti,audio-routing — not listed as required here #
A list of audio routing connections. Each entry is a pair of strings, with the first being the connection's sink and the second being the source. If not provided, all possible connections are available.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/non-unique-string-array
Array item rules (items) #
Allowed values (
enum):"Headset Stereophone","Earpiece Spk","Handsfree Spk","Ext Spk","Main Mic","Sub Mic","Headset Mic","Carkit Mic","Digital0 Mic","Digital1 Mic","Line In","HSOL","HSOR","EARPIECE","HFL","HFR","PREDRIVEL","PREDRIVER","CARKITL","CARKITR","MAINMIC","SUBMIC","HSMIC","DIGIMIC0","DIGIMIC1","CARKITMIC","AUXL","AUXR","Mic Bias 1","Mic Bias 2"
Required in this object (required): "compatible", "ti,model", "ti,mcbsp"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sound {
compatible = "ti,omap-twl4030";
ti,model = "omap3beagle";
ti,mcbsp = <&mcbsp2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 49: Board Connectors
Line 62: CODEC Pins
Line 81: Headset Mic Bias
Line 82: Used for Main Mic or Digimic0
Line 83: Used for Sub Mic or Digimic1