]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: rockchip: fix vqmmc-supply property name for rk3188-bqedison2qc
authorJohan Jonker <jbx6244@gmail.com>
Sat, 7 Mar 2020 13:48:37 +0000 (14:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Apr 2020 08:36:28 +0000 (10:36 +0200)
commitc0e24ef7f26724d3b7bbc3340b4eb45cfce68c2f
tree06d9a012c608d12e463c6c60030a9bcb360eacc3
parentb4e90c8ce491dd52dc223d393417b9ed45310109
ARM: dts: rockchip: fix vqmmc-supply property name for rk3188-bqedison2qc

[ Upstream commit b0a9f6d4eefeadb0c87220ca4a8faf922023bf01 ]

A test with the command below does not detect all errors
in combination with 'additionalProperties: false' and
allOf:
  - $ref: "synopsys-dw-mshc-common.yaml#"
allOf:
  - $ref: "mmc-controller.yaml#"

'additionalProperties' applies to all properties that are not
accounted-for by 'properties' or 'patternProperties' in
the immediate schema.

First when we combine rockchip-dw-mshc.yaml,
synopsys-dw-mshc-common.yaml and mmc-controller.yaml it gives
this error:

arch/arm/boot/dts/rk3188-bqedison2qc.dt.yaml: mmc@10218000:
'vmmcq-supply' does not match any of the regexes:
'^.*@[0-9]+$',
'^clk-phase-(legacy|sd-hs|mmc-(hs|hs[24]00|ddr52)|
uhs-(sdr(12|25|50|104)|ddr50))$',
'pinctrl-[0-9]+'

'vmmcq-supply' is not a valid property name for mmc nodes.
Fix this error by renaming it to 'vqmmc-supply'.

make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Link: https://lore.kernel.org/r/20200307134841.13803-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/rk3188-bqedison2qc.dts