1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/sound/cirrus,cs35l45.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Cirrus Logic CS35L45 Speaker Amplifier
10 - Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
11 - Richard Fitzgerald <rf@opensource.cirrus.com>
14 CS35L45 is a Boosted Mono Class D Amplifier with DSP
15 Speaker Protection and Adaptive Battery Management.
32 description: voltage regulator phandle for the VDD_A supply
35 description: voltage regulator phandle for the VDD_BATT supply
40 cirrus,asp-sdout-hiz-ctrl:
42 Audio serial port SDOUT Hi-Z control. Sets the Hi-Z
43 configuration for SDOUT pin of amplifier. Logical OR of
44 CS35L45_ASP_TX_HIZ_xxx values.
45 $ref: "/schemas/types.yaml#/definitions/uint32"
55 additionalProperties: false
59 #include <dt-bindings/sound/cs35l45.h>
65 #sound-dai-cells = <1>;
66 compatible = "cirrus,cs35l45";
68 spi-max-frequency = <5000000>;
69 vdd-a-supply = <&dummy_vreg>;
70 vdd-batt-supply = <&dummy_vreg>;
71 reset-gpios = <&gpio 110 0>;
72 cirrus,asp-sdout-hiz-ctrl = <(CS35L45_ASP_TX_HIZ_UNUSED |
73 CS35L45_ASP_TX_HIZ_DISABLED)>;