lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1658930232.177263.2552037.nullmailer@robh.at.kernel.org>
Date:   Wed, 27 Jul 2022 07:57:12 -0600
From:   Rob Herring <robh@...nel.org>
To:     Hui Liu <hui.liu@...iatek.com>
Cc:     linux-gpio@...r.kernel.org,
        Project_Global_Chrome_Upstream_Group@...iatek.com,
        jianguo.zhang@...iatek.com, sean.wang@...iatek.com,
        devicetree@...r.kernel.org, linux-mediatek@...ts.infradead.org,
        linux-kernel@...r.kernel.org, linus.walleij@...aro.org,
        zhiyong.tao@...iatek.com, linux-arm-kernel@...ts.infradead.org,
        robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org,
        matthias.bgg@...il.com
Subject: Re: [PATCH v2 1/2] dt-bindings: pinctrl: add support for MediaTek mt8188

On Wed, 27 Jul 2022 18:21:39 +0800, Hui Liu wrote:
> From: "Hui.Liu" <hui.liu@...iatek.com>
> 
> Add pinctrl function header file and binding document for mt8188.
> 
> Signed-off-by: Hui.Liu <hui.liu@...iatek.com>
> ---
>  .../pinctrl/mediatek,mt8188-pinctrl.yaml      |  238 +++
>  .../pinctrl/mediatek,mt8188-pinfunc.h         | 1280 +++++++++++++++++
>  2 files changed, 1518 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/pinctrl/mediatek,mt8188-pinctrl.yaml
>  create mode 100644 include/dt-bindings/pinctrl/mediatek,mt8188-pinfunc.h
> 

My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

dtschema/dtc warnings/errors:
./Documentation/devicetree/bindings/pinctrl/mediatek,mt8188-pinctrl.yaml: $id: relative path/filename doesn't match actual path or filename
	expected: http://devicetree.org/schemas/pinctrl/mediatek,mt8188-pinctrl.yaml#
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pinctrl/mediatek,mt8188-pinctrl.example.dtb: pinctrl@...05000: spi0-pins:pins-spi:bias-pull-up: More than one condition true in oneOf schema:
	{'oneOf': [{'items': [{'items': [{'enum': [100, 101, 102, 103]}],
	                       'maxItems': 1,
	                       'minItems': 1,
	                       'type': 'array'}],
	            'maxItems': 1,
	            'minItems': 1,
	            'type': 'array'},
	           {},
	           {'items': [{'items': [{'enum': [200,
	                                           201,
	                                           202,
	                                           203,
	                                           204,
	                                           205,
	                                           206,
	                                           207]}],
	                       'maxItems': 1,
	                       'minItems': 1,
	                       'type': 'array'}],
	            'maxItems': 1,
	            'minItems': 1,
	            'type': 'array'},
	           {},
	           {'items': [{'items': [{'enum': [1000,
	                                           1500,
	                                           2000,
	                                           3000,
	                                           4000,
	                                           5000,
	                                           10000,
	                                           75000]}],
	                       'maxItems': 1,
	                       'minItems': 1,
	                       'type': 'array'}],
	            'maxItems': 1,
	            'minItems': 1,
	            'type': 'array'},
	           {}]}
	From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pinctrl/mediatek,mt8188-pinctrl.yaml
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pinctrl/mediatek,mt8188-pinctrl.example.dtb: pinctrl@...05000: spi0-pins:pins-spi-mi:bias-pull-down: More than one condition true in oneOf schema:
	{'oneOf': [{'items': [{'items': [{'enum': [100, 101, 102, 103]}],
	                       'maxItems': 1,
	                       'minItems': 1,
	                       'type': 'array'}],
	            'maxItems': 1,
	            'minItems': 1,
	            'type': 'array'},
	           {},
	           {'items': [{'items': [{'enum': [200,
	                                           201,
	                                           202,
	                                           203,
	                                           204,
	                                           205,
	                                           206,
	                                           207]}],
	                       'maxItems': 1,
	                       'minItems': 1,
	                       'type': 'array'}],
	            'maxItems': 1,
	            'minItems': 1,
	            'type': 'array'},
	           {},
	           {'items': [{'items': [{'enum': [75000, 5000]}],
	                       'maxItems': 1,
	                       'minItems': 1,
	                       'type': 'array'}],
	            'maxItems': 1,
	            'minItems': 1,
	            'type': 'array'},
	           {}]}
	From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pinctrl/mediatek,mt8188-pinctrl.yaml
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pinctrl/mediatek,mt8188-pinctrl.example.dtb: pinctrl@...05000: i2c0-pins:pins:bias-pull-down: More than one condition true in oneOf schema:
	{'oneOf': [{'items': [{'items': [{'enum': [100, 101, 102, 103]}],
	                       'maxItems': 1,
	                       'minItems': 1,
	                       'type': 'array'}],
	            'maxItems': 1,
	            'minItems': 1,
	            'type': 'array'},
	           {},
	           {'items': [{'items': [{'enum': [200,
	                                           201,
	                                           202,
	                                           203,
	                                           204,
	                                           205,
	                                           206,
	                                           207]}],
	                       'maxItems': 1,
	                       'minItems': 1,
	                       'type': 'array'}],
	            'maxItems': 1,
	            'minItems': 1,
	            'type': 'array'},
	           {},
	           {'items': [{'items': [{'enum': [75000, 5000]}],
	                       'maxItems': 1,
	                       'minItems': 1,
	                       'type': 'array'}],
	            'maxItems': 1,
	            'minItems': 1,
	            'type': 'array'},
	           {}]}
	From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pinctrl/mediatek,mt8188-pinctrl.yaml
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pinctrl/mediatek,mt8188-pinctrl.example.dtb: pinctrl@...05000: i2c1-pins:pins:bias-pull-up: More than one condition true in oneOf schema:
	{'oneOf': [{'items': [{'items': [{'enum': [100, 101, 102, 103]}],
	                       'maxItems': 1,
	                       'minItems': 1,
	                       'type': 'array'}],
	            'maxItems': 1,
	            'minItems': 1,
	            'type': 'array'},
	           {},
	           {'items': [{'items': [{'enum': [200,
	                                           201,
	                                           202,
	                                           203,
	                                           204,
	                                           205,
	                                           206,
	                                           207]}],
	                       'maxItems': 1,
	                       'minItems': 1,
	                       'type': 'array'}],
	            'maxItems': 1,
	            'minItems': 1,
	            'type': 'array'},
	           {},
	           {'items': [{'items': [{'enum': [1000,
	                                           1500,
	                                           2000,
	                                           3000,
	                                           4000,
	                                           5000,
	                                           10000,
	                                           75000]}],
	                       'maxItems': 1,
	                       'minItems': 1,
	                       'type': 'array'}],
	            'maxItems': 1,
	            'minItems': 1,
	            'type': 'array'},
	           {}]}
	From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pinctrl/mediatek,mt8188-pinctrl.yaml

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/patch/

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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ