Hi Rob,
On Thu, Aug 29, 2024 at 3:43 PM Rob Herring [off-list ref] wrote:
quoted
New warnings running 'make CHECK_DTBS=y rockchip/rv1108-elgin-r1.dtb' for 20240829113158.3324928-1-festevam@gmail.com:
arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dtb: display@0: 'spi-cpha', 'spi-cpol' do not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/trivial-devices.yaml#
I'd be okay if trivial-devices.yaml references spi-peripheral-props.yaml.
This is what I tried:
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -424,6 +424,9 @@ required:
- compatible
- reg
-additionalProperties: false
+allOf:
+ - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+unevaluatedProperties: false
but still get:
$ make CHECK_DTBS=y rockchip/rv1108-elgin-r1.dtb
SCHEMA Documentation/devicetree/bindings/processed-schema.json
DTC [C] arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dtb
/home/fabio/linux-next/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dtb:
display@0: Unevaluated properties are not allowed ('spi-cpha',
'spi-cpol' were unexpected)
from schema $id: http://devicetree.org/schemas/trivial-devices.yaml#
Any suggestions?