Rob Herring <robh@xxxxxxxxxx> 於 2020年11月3日 週二 上午1:21寫道: > > On Mon, 02 Nov 2020 11:13:23 +0800, cy_huang wrote: > > From: ChiYuan Huang <cy_huang@xxxxxxxxxxx> > > > > Adds DT binding document for Richtek RT4831 MFD core. > > > > Signed-off-by: ChiYuan Huang <cy_huang@xxxxxxxxxxx> > > --- > > .../devicetree/bindings/mfd/richtek,rt4831.yaml | 89 ++++++++++++++++++++++ > > include/dt-bindings/leds/rt4831-backlight.h | 23 ++++++ > > 2 files changed, 112 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/mfd/richtek,rt4831.yaml > > create mode 100644 include/dt-bindings/leds/rt4831-backlight.h > > > > > My bot found errors running 'make dt_binding_check' on your patch: > > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > Unknown file referenced: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/dtschema/schemas/regulator/richtek,rt4831-regulator.yaml' > xargs: dt-doc-validate: exited with status 255; aborting > make[1]: *** [Documentation/devicetree/bindings/Makefile:59: Documentation/devicetree/bindings/processed-schema-examples.json] Error 124 > make: *** [Makefile:1364: dt_binding_check] Error 2 > > > See https://patchwork.ozlabs.org/patch/1391911 > > The base for the patch is generally the last rc1. Any dependencies > should be noted. > > 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. > Sorry, I have one question. If the richtek,rt4831.yaml is depend upon the other yaml, do I need to merge it all into one patch? Currently, my submitting order is mfd, backlight, and regulator. Each part divided into two patches (one for source code, another for dt_binding_document) I have tried dt_binding_check. It cause the error like your bot said. If dt_binding_check want to be pass, it means I should merge all dt binding document into one patch due to the dependency. If yes, I'll do it in next series patch.