Cirrus Logic/Wolfson Microelectronics Arizona class audio SoCs
Schema identifier ($id): "http://devicetree.org/schemas/extcon/wlf,arizona.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "patches@opensource.cirrus.com"
These devices are audio SoCs with extensive digital capabilities and a range of analogue I/O.
This document lists Extcon specific bindings, see the primary binding document ../mfd/arizona.yaml
Properties and child nodes (properties) #
wlf,hpdet-channel — not listed as required here #
Headphone detection channel. ARIZONA_ACCDET_MODE_HPL/1 sets the headphone detect mode to HPDETL, ARIZONA_ACCDET_MODE_HPR/2 sets it to HPDETR. If this node is not included or if the value is unknown, then headphone detection mode is set to HPDETL.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 2
wlf,use-jd2 — not listed as required here #
Use the additional JD input along with JD1 for dual pin jack detection.
Value type (type): "boolean"
wlf,use-jd2-nopull — not listed as required here #
Internal pull on JD2 is disabled when used for jack detection.
Value type (type): "boolean"
wlf,jd-invert — not listed as required here #
Invert the polarity of the jack detection switch.
Value type (type): "boolean"
wlf,micd-software-compare — not listed as required here #
Use a software comparison to determine mic presence.
Value type (type): "boolean"
wlf,micd-detect-debounce — not listed as required here #
Additional software microphone detection debounce specified in milliseconds.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
wlf,micd-pol-gpio — not listed as required here #
GPIO specifier for the GPIO controlling the headset polarity if one exists.
Maximum number of items (maxItems): 1
wlf,micd-bias-start-time — not listed as required here #
Time allowed for MICBIAS to startup prior to performing microphone detection, specified as per the ARIZONA_MICD_TIME_XXX defines.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 12
wlf,micd-rate — not listed as required here #
Delay between successive microphone detection measurements, specified as per the ARIZONA_MICD_TIME_XXX defines.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 12
wlf,micd-dbtime — not listed as required here #
Microphone detection hardware debounces specified as the number of measurements to take.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
wlf,micd-timeout-ms — not listed as required here #
Timeout for microphone detection, specified in milliseconds.
wlf,micd-force-micbias — not listed as required here #
Force MICBIAS continuously on during microphone detection.
Value type (type): "boolean"
wlf,micd-configs — not listed as required here #
Headset polarity configurations (generally used for detection of CTIA / OMTP headsets), the field can be of variable length but should always be a multiple of 3 cells long, each three cell group represents one polarity configuration.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Array item rules (items) #
Array item rules (
items)Item 1
The first cell defines the accessory detection pin, zero will use MICDET1 and 0x2000 will use MICDET2.
Item 2
The second cell represents the MICBIAS to be used. Zero will use MICVDD, 1-3 will use MICBIASx.
Minimum value (
minimum):0Maximum value (
maximum):3Item 3
The third cell represents the value of the micd-pol-gpio pin.
Minimum value (
minimum):0Maximum value (
maximum):1
wlf,gpsw — not listed as required here #
Settings for the general purpose switch, set as one of the ARIZONA_GPSW_XXX defines.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 3
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause