Re: [PATCH 1/2] dt-bindings: mfd: add support for P1 from SpacemiT

From: Rob Herring (Arm)
Date: Mon Dec 30 2024 - 06:22:59 EST



On Mon, 30 Dec 2024 18:02:05 +0800, Troy Mitchell wrote:
> P1 PMIC contains of regulator, pinctrl, pwrkey and rtc.
>
> P1 contains a load switch, which allows you to control
> whether a device is powered on (such as a MIPI screen)
>
> Signed-off-by: Troy Mitchell <TroyMitchell988@xxxxxxxxx>
> ---
> .../devicetree/bindings/mfd/spacemit,p1.yaml | 153 +++++++++++++++++++++
> 1 file changed, 153 insertions(+)
>

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:

dtschema/dtc warnings/errors:
Documentation/devicetree/bindings/mfd/spacemit,p1.example.dtb: /example-0/i2c/pmic@41: failed to match any schema with compatible: ['spacemit,p1']

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20241230-k1-p1-v1-1-aa4e02b9f993@xxxxxxxxx

The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.

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 after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.