treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / sound / allwinner,sun8i-a23-codec-analog.yaml
blob9718358826abdaebd02260385519c7a5b7d34898
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/allwinner,sun8i-a23-codec-analog.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A23 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     enum:
16       # FIXME: This is documented in the PRCM binding, but needs to be
17       # migrated here at some point
18       # - allwinner,sun8i-a23-codec-analog
19       - allwinner,sun8i-h3-codec-analog
20       - allwinner,sun8i-v3s-codec-analog
22   reg:
23     maxItems: 1
25 required:
26   - compatible
27   - reg
29 additionalProperties: false
31 examples:
32   - |
33     codec_analog: codec-analog@1f015c0 {
34       compatible = "allwinner,sun8i-h3-codec-analog";
35       reg = <0x01f015c0 0x4>;
36     };
38 ...