提交 ca104926 编写于 作者: M Miquel Raynal 提交者: Greg Kroah-Hartman

dt-bindings: eeprom: Inherit from nvmem.yaml

EEPROMs can be nvmem providers. Let's make all EEPROM bindings
reference nvmem.yaml as they should, so that nvmem cells and layout
parsers can be safely described within the EEPROM nodes.
Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: NRob Herring <robh@kernel.org>
Signed-off-by: NSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20221118063932.6418-11-srinivas.kandagatla@linaro.orgSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 27dfc44e
...@@ -10,6 +10,9 @@ title: I2C EEPROMs compatible with Atmel's AT24 ...@@ -10,6 +10,9 @@ title: I2C EEPROMs compatible with Atmel's AT24
maintainers: maintainers:
- Bartosz Golaszewski <bgolaszewski@baylibre.com> - Bartosz Golaszewski <bgolaszewski@baylibre.com>
allOf:
- $ref: /schemas/nvmem/nvmem.yaml
select: select:
properties: properties:
compatible: compatible:
...@@ -183,7 +186,7 @@ required: ...@@ -183,7 +186,7 @@ required:
- compatible - compatible
- reg - reg
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -104,6 +104,7 @@ required: ...@@ -104,6 +104,7 @@ required:
allOf: allOf:
- $ref: /schemas/spi/spi-peripheral-props.yaml# - $ref: /schemas/spi/spi-peripheral-props.yaml#
- $ref: /schemas/nvmem/nvmem.yaml
- if: - if:
properties: properties:
compatible: compatible:
......
...@@ -47,6 +47,7 @@ required: ...@@ -47,6 +47,7 @@ required:
allOf: allOf:
- $ref: /schemas/spi/spi-peripheral-props.yaml# - $ref: /schemas/spi/spi-peripheral-props.yaml#
- $ref: /schemas/nvmem/nvmem.yaml
unevaluatedProperties: false unevaluatedProperties: false
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册