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/rockchip,rk3328-codec.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/rockchip,rk3328-codec.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Rockchip rk3328 internal codec
    8 
    9 maintainers:
   10   - Heiko Stuebner <heiko@sntech.de>
   11 
   12 properties:
   13   compatible:
   14     const: rockchip,rk3328-codec
   15 
   16   reg:
   17     maxItems: 1
   18 
   19   clocks:
   20     items:
   21       - description: clock for audio codec
   22       - description: clock for I2S master clock
   23 
   24   clock-names:
   25     items:
   26       - const: pclk
   27       - const: mclk
   28 
   29   rockchip,grf:
   30     $ref: /schemas/types.yaml#/definitions/phandle
   31     description:
   32       The phandle of the syscon node for the GRF register.
   33 
   34   spk-depop-time-ms:
   35     default: 200
   36     description:
   37       Speaker depop time in msec.
   38 
   39   mute-gpios:
   40     maxItems: 1
   41     description:
   42       GPIO specifier for external line driver control (typically the
   43       dedicated GPIO_MUTE pin)
   44 
   45   "#sound-dai-cells":
   46     const: 0
   47 
   48 required:
   49   - compatible
   50   - reg
   51   - clocks
   52   - clock-names
   53   - rockchip,grf
   54   - "#sound-dai-cells"
   55 
   56 additionalProperties: false
   57 
   58 examples:
   59   - |
   60     #include <dt-bindings/gpio/gpio.h>
   61     #include <dt-bindings/clock/rk3328-cru.h>
   62     codec: codec@ff410000 {
   63       compatible = "rockchip,rk3328-codec";
   64       reg = <0xff410000 0x1000>;
   65       clocks = <&cru PCLK_ACODECPHY>, <&cru SCLK_I2S1>;
   66       clock-names = "pclk", "mclk";
   67       rockchip,grf = <&grf>;
   68       mute-gpios = <&grf_gpio 0 GPIO_ACTIVE_LOW>;
   69       spk-depop-time-ms = <100>;
   70       #sound-dai-cells = <0>;
   71     };

Cache object: 8f26ed4620e80393f15092bfa0dfae20


[ 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.