treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / regulator / st,stm32-booster.yaml
blob64f1183ce8413e32c26ca8b3edffb2207c6f0cbb
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/regulator/st,stm32-booster.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 booster for ADC analog input switches bindings
9 maintainers:
10   - Fabrice Gasnier <fabrice.gasnier@st.com>
12 description: |
13   Some STM32 devices embed a 3.3V booster supplied by Vdda, that can be used
14   to supply ADC analog input switches.
16 allOf:
17   - $ref: "regulator.yaml#"
19 properties:
20   compatible:
21     enum:
22       - st,stm32h7-booster
23       - st,stm32mp1-booster
25   st,syscfg:
26     allOf:
27       - $ref: "/schemas/types.yaml#/definitions/phandle-array"
28     description: phandle to system configuration controller.
30   vdda-supply:
31     description: phandle to the vdda input analog voltage.
33 required:
34   - compatible
35   - st,syscfg
36   - vdda-supply
38 examples:
39   - |
40     regulator-booster {
41       compatible = "st,stm32mp1-booster";
42       st,syscfg = <&syscfg>;
43       vdda-supply = <&vdda>;
44     };
46 ...