treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / nvmem / st,stm32-romem.yaml
blobd84deb4774a49266ab2a2e98c5483416a0565946
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/nvmem/st,stm32-romem.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 Factory-programmed data bindings
9 description: |
10   This represents STM32 Factory-programmed read only non-volatile area: locked
11   flash, OTP, read-only HW regs... This contains various information such as:
12   analog calibration data for temperature sensor (e.g. TS_CAL1, TS_CAL2),
13   internal vref (VREFIN_CAL), unique device ID...
15 maintainers:
16   - Fabrice Gasnier <fabrice.gasnier@st.com>
18 allOf:
19   - $ref: "nvmem.yaml#"
21 properties:
22   compatible:
23     enum:
24       - st,stm32f4-otp
25       - st,stm32mp15-bsec
27 required:
28   - "#address-cells"
29   - "#size-cells"
30   - compatible
31   - reg
33 examples:
34   - |
35     efuse@1fff7800 {
36       compatible = "st,stm32f4-otp";
37       reg = <0x1fff7800 0x400>;
38       #address-cells = <1>;
39       #size-cells = <1>;
41       calib@22c {
42         reg = <0x22c 0x2>;
43       };
44     };
46 ...