Re: [PATCH v5 02/11] dt-bindings: treewide: add access-controller description

From: Rob Herring
Date: Fri Sep 29 2023 - 11:36:04 EST



On Fri, 29 Sep 2023 16:28:43 +0200, Gatien Chevallier wrote:
> access-controller is an optional property that allows a peripheral to
> refer to one or more domain access controller(s).
>
> Description of this property is added to all peripheral binding files of
> the peripheral under the STM32 firewall controllers. It allows an accurate
> representation of the hardware, where various peripherals are connected
> to this firewall bus. The firewall can then check the peripheral accesses
> before allowing it to probe.
>
> Signed-off-by: Gatien Chevallier <gatien.chevallier@xxxxxxxxxxx>
> ---
>
> Changes in V5:
> - Discarded review tags as the content has changed
> - Renamed feature-domains to access-controller
> - Removed extra blank line in st,stm32-timers.yaml
>
> Changes in V4:
> - Added Jonathan's tag for IIO
>
> Changes in V2:
> - Add missing "feature-domains" property declaration
> in bosch,m_can.yaml and st,stm32-cryp.yaml files
>
> Documentation/devicetree/bindings/crypto/st,stm32-cryp.yaml | 4 ++++
> Documentation/devicetree/bindings/crypto/st,stm32-hash.yaml | 4 ++++
> Documentation/devicetree/bindings/dma/st,stm32-dma.yaml | 4 ++++
> Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml | 4 ++++
> Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml | 4 ++++
> Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml | 4 ++++
> .../devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.yaml | 4 ++++
> Documentation/devicetree/bindings/iio/dac/st,stm32-dac.yaml | 4 ++++
> Documentation/devicetree/bindings/media/cec/st,stm32-cec.yaml | 4 ++++
> Documentation/devicetree/bindings/media/st,stm32-dcmi.yaml | 4 ++++
> .../bindings/memory-controllers/st,stm32-fmc2-ebi.yaml | 4 ++++
> Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml | 4 ++++
> Documentation/devicetree/bindings/mfd/st,stm32-timers.yaml | 4 ++++
> Documentation/devicetree/bindings/mmc/arm,pl18x.yaml | 4 ++++
> Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 4 ++++
> Documentation/devicetree/bindings/net/stm32-dwmac.yaml | 4 ++++
> Documentation/devicetree/bindings/phy/phy-stm32-usbphyc.yaml | 4 ++++
> .../devicetree/bindings/regulator/st,stm32-vrefbuf.yaml | 4 ++++
> Documentation/devicetree/bindings/rng/st,stm32-rng.yaml | 4 ++++
> Documentation/devicetree/bindings/serial/st,stm32-uart.yaml | 4 ++++
> Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml | 4 ++++
> Documentation/devicetree/bindings/sound/st,stm32-sai.yaml | 4 ++++
> Documentation/devicetree/bindings/sound/st,stm32-spdifrx.yaml | 4 ++++
> Documentation/devicetree/bindings/spi/st,stm32-qspi.yaml | 4 ++++
> Documentation/devicetree/bindings/spi/st,stm32-spi.yaml | 4 ++++
> Documentation/devicetree/bindings/usb/dwc2.yaml | 4 ++++
> 26 files changed, 104 insertions(+)
>

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:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/phy/phy-stm32-usbphyc.yaml: access-controller: missing type definition

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230929142852.578394-3-gatien.chevallier@xxxxxxxxxxx

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.