hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/rohm,bd28623.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
 
title: ROHM BD28623MUV Class D speaker amplifier for digital input
 
description:
  This codec does not have any control buses such as I2C, it detect
  format and rate of I2S signal automatically. It has two signals
  that can be connected to GPIOs reset and mute.
 
maintainers:
  - Katsuhiro Suzuki <katsuhiro@katsuster.net>
 
properties:
  compatible:
    const: rohm,bd28623
 
  "#sound-dai-cells":
    const: 0
 
  VCCA-supply:
    description:
      regulator phandle for the VCCA (for analog) power supply
 
  VCCP1-supply:
    description:
      regulator phandle for the VCCP1 (for ch1) power supply
 
  VCCP2-supply:
    description:
      regulator phandle for the VCCP2 (for ch2) power supply
 
  reset-gpios:
    maxItems: 1
    description:
      GPIO specifier for the active low reset line
 
  mute-gpios:
    maxItems: 1
    description:
      GPIO specifier for the active low mute line
 
required:
  - compatible
  - VCCA-supply
  - VCCP1-supply
  - VCCP2-supply
  - "#sound-dai-cells"
 
additionalProperties: false
 
examples:
  - |
    #include <dt-bindings/gpio/gpio.h>
    codec {
      compatible = "rohm,bd28623";
      #sound-dai-cells = <0>;
 
      VCCA-supply = <&vcc_reg>;
      VCCP1-supply = <&vcc_reg>;
      VCCP2-supply = <&vcc_reg>;
      reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
      mute-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
    };