]> git.baikalelectronics.ru Git - kernel.git/commit
spi: dt-bindings: amlogic, meson-gx-spicc: Fix schema for meson-g12a
authorAlexander Stein <alexander.stein@mailbox.org>
Tue, 9 Jun 2020 16:55:27 +0000 (18:55 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 10 Jun 2020 10:26:54 +0000 (11:26 +0100)
commitc7a316105ee1c75f108eba8acc02835483a797d2
tree3dac2bf2087171e741921745d87e26805cab8156
parent1e12306272e1eeeb5efe26380e2a8a4ec1ee1bd7
spi: dt-bindings: amlogic, meson-gx-spicc: Fix schema for meson-g12a

spi@13000: clock-names: Additional items are not allowed ('pclk' was unexpected)
spi@13000: clock-names: ['core', 'pclk'] is too long
spi@13000: clocks: [[2, 23], [2, 258]] is too long
spi@15000: clock-names: Additional items are not allowed ('pclk' was unexpected)
spi@15000: clock-names: ['core', 'pclk'] is too long
spi@15000: clocks: [[2, 29], [2, 261]] is too long

Conditional schema properties don't overwrite others. Instead of
restrictions have to be validated. So general clock amount is 1-2 and
depending on the actual device type limit the mount to 1 or 2.

Signed-off-by: Alexander Stein <alexander.stein@mailbox.org>
Link: https://lore.kernel.org/r/20200609165527.55183-1-alexander.stein@mailbox.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml