The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/sound/cirrus,cs35l45.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/sound/cirrus,cs35l45.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Cirrus Logic CS35L45 Speaker Amplifier
    8 
    9 maintainers:
   10   - Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
   11   - Richard Fitzgerald <rf@opensource.cirrus.com>
   12 
   13 description: |
   14   CS35L45 is a Boosted Mono Class D Amplifier with DSP
   15   Speaker Protection and Adaptive Battery Management.
   16 
   17 properties:
   18   compatible:
   19     enum:
   20       - cirrus,cs35l45
   21 
   22   reg:
   23     maxItems: 1
   24 
   25   '#sound-dai-cells':
   26     const: 1
   27 
   28   reset-gpios:
   29     maxItems: 1
   30 
   31   vdd-a-supply:
   32     description: voltage regulator phandle for the VDD_A supply
   33 
   34   vdd-batt-supply:
   35     description: voltage regulator phandle for the VDD_BATT supply
   36 
   37   spi-max-frequency:
   38     maximum: 5000000
   39 
   40   cirrus,asp-sdout-hiz-ctrl:
   41     description:
   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"
   46     minimum: 0
   47     maximum: 3
   48     default: 2
   49 
   50 required:
   51   - compatible
   52   - reg
   53   - "#sound-dai-cells"
   54 
   55 additionalProperties: false
   56 
   57 examples:
   58   - |
   59     #include <dt-bindings/sound/cs35l45.h>
   60     spi {
   61         #address-cells = <1>;
   62         #size-cells = <0>;
   63 
   64         cs35l45: cs35l45@2 {
   65           #sound-dai-cells = <1>;
   66           compatible = "cirrus,cs35l45";
   67           reg = <2>;
   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)>;
   74         };
   75     };

Cache object: 40ebd75cf7e2d471db967ef4ec6d5caf


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.