Skip to content

Commit f5d19bb

Browse files
Fabio Estevamwsakernel
authored andcommitted
dt-bindings: i2c: mxs: Pass ref and 'unevaluatedProperties: false'
Running 'make dtbs_check DT_SCHEMA_FILES=i2c-mxs.yaml' throws several schema warnings such as: imx28-m28evk.dtb: i2c@80058000: '#address-cells', '#size-cells', 'codec@a', 'eeprom@51', 'rtc@68' do not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/i2c/i2c-mxs.yaml# Fix these warnings by passing a reference to i2c-controller.yaml# and using 'unevaluatedProperties: false' just like the yaml bindings of other I2C controllers. Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Wolfram Sang <wsa@kernel.org>
1 parent 6465e26 commit f5d19bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Documentation/devicetree/bindings/i2c/i2c-mxs.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ title: Freescale MXS Inter IC (I2C) Controller
99
maintainers:
1010
- Shawn Guo <shawnguo@kernel.org>
1111

12+
allOf:
13+
- $ref: /schemas/i2c/i2c-controller.yaml#
14+
1215
properties:
1316
compatible:
1417
enum:
@@ -37,7 +40,7 @@ required:
3740
- dmas
3841
- dma-names
3942

40-
additionalProperties: false
43+
unevaluatedProperties: false
4144

4245
examples:
4346
- |

0 commit comments

Comments
 (0)