Cirrus Logic cs530x family of audio ADCs
Schema identifier ($id): "http://devicetree.org/schemas/sound/cirrus,cs530x.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul Handrigan <paulha@opensource.cirrus.com>", "patches@opensource.cirrus.com"
The CS530X devices are a family of high performance audio ADCs.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):dai-common.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "cirrus,cs4282", "cirrus,cs4302", "cirrus,cs4304", "cirrus,cs4308", "cirrus,cs5302", "cirrus,cs5304", "cirrus,cs5308"
reg — required here #
Maximum number of items (maxItems): 1
spi-max-frequency — not listed as required here #
Maximum value (maximum): 24000000
#sound-dai-cells — required here #
Exact value (const): 1
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
vdd-a-supply — not listed as required here #
Analog power supply
vdd-io-supply — not listed as required here #
Digital IO power supply
cirrus,in-hiz-pin12 — not listed as required here #
Sets input channels one and two to high impedance.
Value type (type): "boolean"
cirrus,in-hiz-pin34 — not listed as required here #
Sets input channels three and four to high impedance.
Value type (type): "boolean"
cirrus,in-hiz-pin56 — not listed as required here #
Sets input channels five and six to high impedance.
Value type (type): "boolean"
cirrus,in-hiz-pin78 — not listed as required here #
Sets input channels seven and eight to high impedance.
Value type (type): "boolean"
Required in this object (required): "compatible", "reg", "#sound-dai-cells"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
cs5304: adc@48 {
compatible = "cirrus,cs5304";
reg = <0x48>;
#sound-dai-cells = <1>;
reset-gpios = <&gpio 110 GPIO_ACTIVE_LOW>;
vdd-a-supply = <&vreg>;
vdd-io-supply = <&vreg>;
cirrus,in-hiz-pin34;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause