[PATCH v4 1/3] dt-bindings: trivial-devices: Document elgin,jg10309-01
Fabio Estevam
festevam at gmail.com
Thu Aug 29 12:07:28 PDT 2024
Hi Rob,
On Thu, Aug 29, 2024 at 3:43 PM Rob Herring <robh at kernel.org> wrote:
> > New warnings running 'make CHECK_DTBS=y rockchip/rv1108-elgin-r1.dtb' for 20240829113158.3324928-1-festevam at gmail.com:
> >
> > arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dtb: display at 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 at 0: Unevaluated properties are not allowed ('spi-cpha',
'spi-cpol' were unexpected)
from schema $id: http://devicetree.org/schemas/trivial-devices.yaml#
Any suggestions?
More information about the linux-arm-kernel
mailing list