1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/rockchip,rk3328-codec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip rk3328 internal codec
10 - Heiko Stuebner <heiko@sntech.de>
14 const: rockchip,rk3328-codec
21 - description: clock for audio codec
22 - description: clock for I2S master clock
30 $ref: /schemas/types.yaml#/definitions/phandle
32 The phandle of the syscon node for the GRF register.
37 Speaker depop time in msec.
42 GPIO specifier for external line driver control (typically the
43 dedicated GPIO_MUTE pin)
56 additionalProperties: false
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>;