在 2023/3/17 下午11:51, Krzysztof Kozlowski 写道:
On 17/03/2023 11:00, zhuyinbo wrote:
+properties:
+ compatible:
+ enum:
+ - loongson,ls2k-spi
+ - loongson,ls7a-spi
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ minItems: 1
I don't understand why did you change it. I did not ask for it.
Best regards,
Krzysztof
Add clocks "minItems: 1" description is for fix yaml file compile issue.
minItems: 1 is not correct, so you cannot use incorrect code to suppress
some warning. This should be list the clocks or use maxItems: 1, if you
have only one clock.
okay, I got it.
thanks.
Best regards,
Krzysztof