[PATCH v7 1/3] dt-bindings: mfd: Convert atmel-flexcom to json-schema

Rob Herring robh at kernel.org
Wed Jul 6 06:29:04 PDT 2022


On Wed, 06 Jul 2022 09:06:17 -0200, Kavyasree Kotagiri wrote:
> Convert the Atmel flexcom device tree bindings to json schema.
> 
> Signed-off-by: Kavyasree Kotagiri <kavyasree.kotagiri at microchip.com>
> ---
> v6 -> v7:
>  - Change filename to atmel,sama5d2-flexcom.yaml
>  - Add #address-cells, #size-cells to flexcom node - Fixed warnings.
> 
> v5 -> v6:
>  - Removed spi node from example as suggested by Rob and
>    also pattern properties(spi dt-bindings conversion to yaml patch is under review).
>    Once that is accepted, I will add back spi example through new patch.
> 
> v4 -> v5:
>  - Fixed indentations.
> 
> v3 -> v4:
>  - Corrected format of enum used for compatible string.
> 
> v2 -> v3:
>  - used enum for compatible string.
>  - changed irq flag to IRQ_TYPE_LEVEL_HIGH in example.
>  - fixed dtschema errors.
> 
> v1 -> v2:
>  - Fix title.
> 
>  .../bindings/mfd/atmel,sama5d2-flexcom.yaml   | 74 +++++++++++++++++++
>  .../devicetree/bindings/mfd/atmel-flexcom.txt | 63 ----------------
>  2 files changed, 74 insertions(+), 63 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/mfd/atmel,sama5d2-flexcom.yaml
>  delete mode 100644 Documentation/devicetree/bindings/mfd/atmel-flexcom.txt
> 

Running 'make dtbs_check' with the schema in this patch gives the
following warnings. Consider if they are expected or the schema is
incorrect. These may not be new warnings.

Note that it is not yet a requirement to have 0 warnings for dtbs_check.
This will change in the future.

Full log is available here: https://patchwork.ozlabs.org/patch/


flexcom at e0040000: 'i2c at 600', 'serial at 200', 'spi at 400' do not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-6g-2gs.dtb
	arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-8g.dtb
	arch/arm/boot/dts/lan966x-pcb8291.dtb

flexcom at e0044000: 'i2c at 600', 'serial at 200', 'spi at 400' do not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-6g-2gs.dtb
	arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-8g.dtb
	arch/arm/boot/dts/lan966x-pcb8291.dtb

flexcom at e0060000: 'i2c at 600', 'serial at 200', 'spi at 400' do not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-6g-2gs.dtb
	arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-8g.dtb
	arch/arm/boot/dts/lan966x-pcb8291.dtb

flexcom at e0064000: 'i2c at 600', 'serial at 200', 'spi at 400' do not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-6g-2gs.dtb
	arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-8g.dtb
	arch/arm/boot/dts/lan966x-pcb8291.dtb

flexcom at e0070000: 'i2c at 600', 'serial at 200', 'spi at 400' do not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-6g-2gs.dtb
	arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt-8g.dtb
	arch/arm/boot/dts/lan966x-pcb8291.dtb

flexcom at e1818000: 'serial at 200' does not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-sama7g5ek.dtb

flexcom at e181c000: 'i2c at 600' does not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-sama7g5ek.dtb

flexcom at e1824000: 'serial at 200' does not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-sama7g5ek.dtb

flexcom at e2018000: 'serial at 200' does not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-sama7g5ek.dtb

flexcom at e2024000: 'serial at 200' does not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-sama7g5ek.dtb

flexcom at e2818000: 'i2c at 600' does not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-sama7g5ek.dtb

flexcom at e281c000: 'i2c at 600' does not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-sama7g5ek.dtb

flexcom at e2824000: 'spi at 400' does not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-sama7g5ek.dtb

flexcom at f0000000: 'spi at 400' does not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-sam9x60ek.dtb

flexcom at f0004000: 'serial at 200' does not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-sam9x60ek.dtb

flexcom at f8010000: 'i2c at 600' does not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-sam9x60ek.dtb

flexcom at f801c000: 'i2c at 600' does not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-sam9x60ek.dtb

flexcom at f8034000: 'i2c at 600', 'serial at 200', 'spi at 400' do not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-kizbox3-hs.dtb
	arch/arm/boot/dts/at91-sama5d27_som1_ek.dtb
	arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dtb
	arch/arm/boot/dts/at91-sama5d2_icp.dtb
	arch/arm/boot/dts/at91-sama5d2_ptc_ek.dtb
	arch/arm/boot/dts/at91-sama5d2_xplained.dtb

flexcom at f8038000: 'i2c at 600', 'serial at 200', 'spi at 400' do not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-kizbox3-hs.dtb
	arch/arm/boot/dts/at91-sama5d27_som1_ek.dtb
	arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dtb
	arch/arm/boot/dts/at91-sama5d2_icp.dtb
	arch/arm/boot/dts/at91-sama5d2_ptc_ek.dtb
	arch/arm/boot/dts/at91-sama5d2_xplained.dtb

flexcom at fc010000: 'i2c at 600', 'serial at 200', 'spi at 400' do not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-kizbox3-hs.dtb
	arch/arm/boot/dts/at91-sama5d27_som1_ek.dtb
	arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dtb
	arch/arm/boot/dts/at91-sama5d2_icp.dtb
	arch/arm/boot/dts/at91-sama5d2_ptc_ek.dtb
	arch/arm/boot/dts/at91-sama5d2_xplained.dtb

flexcom at fc014000: 'i2c at 600', 'serial at 200', 'spi at 400' do not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-kizbox3-hs.dtb
	arch/arm/boot/dts/at91-sama5d27_som1_ek.dtb
	arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dtb
	arch/arm/boot/dts/at91-sama5d2_icp.dtb
	arch/arm/boot/dts/at91-sama5d2_ptc_ek.dtb
	arch/arm/boot/dts/at91-sama5d2_xplained.dtb

flexcom at fc018000: 'i2c at 600', 'serial at 200', 'spi at 400' do not match any of the regexes: 'pinctrl-[0-9]+'
	arch/arm/boot/dts/at91-kizbox3-hs.dtb
	arch/arm/boot/dts/at91-sama5d27_som1_ek.dtb
	arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dtb
	arch/arm/boot/dts/at91-sama5d2_icp.dtb
	arch/arm/boot/dts/at91-sama5d2_ptc_ek.dtb
	arch/arm/boot/dts/at91-sama5d2_xplained.dtb




More information about the linux-arm-kernel mailing list