treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / sound / allwinner,sun50i-a64-codec-analog.yaml
blob3b764415c9abf7a696c7f965cbb36abfac4264d0
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/allwinner,sun50i-a64-codec-analog.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A64 Analog Codec Device Tree Bindings
9 maintainers:
10   - Chen-Yu Tsai <wens@csie.org>
11   - Maxime Ripard <mripard@kernel.org>
13 properties:
14   compatible:
15     const: allwinner,sun50i-a64-codec-analog
17   reg:
18     maxItems: 1
20   cpvdd-supply:
21     description:
22       Regulator for the headphone amplifier
24 required:
25   - compatible
26   - reg
27   - cpvdd-supply
29 additionalProperties: false
31 examples:
32   - |
33     codec_analog: codec-analog@1f015c0 {
34       compatible = "allwinner,sun50i-a64-codec-analog";
35       reg = <0x01f015c0 0x4>;
36       cpvdd-supply = <&reg_eldo1>;
37     };
39 ...