Thread (3 messages) 3 messages, 3 authors, 2021-01-17

Re: [PATCH] RFC: mmc: mmci: Convert bindings to DT schema

From: Marek Vasut <marex@denx.de>
Date: 2021-01-16 17:56:33
Also in: linux-devicetree

On 1/15/21 11:53 PM, Linus Walleij wrote:
This converts the MMCI bindings from simple text to a proper
schema.

I can't get this to work when testing the schema and I don't
know why, possibly my fault. That is why it is RFC.

/var/linus/linux-nomadik/build-ux500/Documentation/devicetree/bindings/mmc/arm,pl18x.example.dt.yaml: mmc@5000: 'clock-names', 'clocks' do not match any of the regexes: 'pinctrl-[0-9]+'
	From schema: /var/linus/linux-nomadik/Documentation/devicetree/bindings/mmc/arm,pl18x.yaml
/var/linus/linux-nomadik/build-ux500/Documentation/devicetree/bindings/mmc/arm,pl18x.example.dt.yaml: mmc@80126000: 'bus-width', 'cap-mmc-highspeed', 'cap-sd-highspeed', 'cd-gpios', 'clock-names', 'clocks', 'max-frequency', 'vmmc-supply', 'vqmmc-supply' do not match any of the regexes: 'pinctrl-[0-9]+'

This appear on my machine despite:

allOf:
   - $ref: /schemas/arm/primecell.yaml#
   - $ref: /schemas/mmc/mmc-controller.yaml#

No idea why these refs are not reffed. Help.
[...]
+  st,use-ckin:
+    $ref: /schemas/types.yaml#/definitions/flag
+    description: ST Micro-specific property, use CKIN pin from an external
+      driver to sample the receive data (for example with a voltage switch
+      transceiver).
+
+additionalProperties: false
Set this to "true" and then the validation should work.

[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help