Rob Herring <robh@xxxxxxxxxx> 於 2021年1月17日 週日 下午11:46寫道: > > On Fri, 15 Jan 2021 22:13:21 +0800, cy_huang wrote: > > From: ChiYuan Huang <cy_huang@xxxxxxxxxxx> > > > > Add external vbus source into dt-binding description. > > > > Signed-off-by: ChiYuan Huang <cy_huang@xxxxxxxxxxx> > > --- > > Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml | 7 +++++++ > > 1 file changed, 7 insertions(+) > > > > My bot found errors running 'make dt_binding_check' on your patch: > > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml: properties:vbus-supply: 'maxItems' is not one of ['description', 'deprecated'] > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml: ignoring, error in schema: properties: vbus-supply > warning: no schema found in file: ./Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml > > See https://patchwork.ozlabs.org/patch/1427073 > > This check can fail if there are any dependencies. The base for a patch > series is generally the most recent rc1. > > If you already ran 'make dt_binding_check' and didn't see the above > error(s), then make sure 'yamllint' is installed and dt-schema is up to > date: > > pip3 install dtschema --upgrade > > Please check and re-submit. > Thanks, after I re-installed the yamlint, the error can be seen. Refer to https://www.kernel.org/doc/Documentation/devicetree/bindings/example-schema.yaml *-supply is only a phandle In next series patch, I'll remove the maxItems in vbus-supply. I already checked the below change. make dt_binding_check can be passed vbus-supply: description: Vbus source supply regulator. - maxItems: 1 connector: type: object