Message ID | 20240229-pio4-pinctrl-yaml-v1-0-c4d8279c083f@microchip.com |
---|---|
Headers | show |
Series | convert Atmel's PIO4 bindings to json-schema | expand |
On 29/02/2024 12:39, Balakrishnan Sambath wrote: > Move sama5d2-pinfunc.h into include/dt-bindings/pinctrl so that we can > include it in yaml dt-binding examples. That is not a the reason to make something a binding. Please provide rationale why this is supposed to be binding. Because it does not look like at all and it is kind of contradictory to what we recently were doing - moving from bindings to DTS. > Best regards, Krzysztof
On 29/02/2024 12:39, Balakrishnan Sambath wrote: > Move sama7g5-pinfunc.h into include/dt-bindings/pinctrl so that we can > include it in yaml dt-binding examples. > Nope, that's not a reason to make a binding. Provide rationale why this is supposed to be a binding. Best regards, Krzysztof
- Convert Atmel's PIO4 pin controller Device Tree bindings to a YAML-based DT schema. - Move sama5d2-pinfunc.h and sama7g5-pinfunc.h files to the include/dt-bindings/pinctrl directory to enable their inclusion in YAML DT-binding examples. - The bindings are tested with make dt_binding_check dtbs_check Note: - The patch "[PATCH 3/3] dt-bindings: pinctrl: at91-pio4: convert Atmel's PIO4 bindings to json-schema" has dependency on "[PATCH 1/3] ARM: dts: microchip: sama5d2: Move pinfunc.h headers [PATCH 2/3] ARM: dts: microchip: sama7g5: Move pinfunc.h headers" Signed-off-by: Balakrishnan Sambath <balakrishnan.s@microchip.com> --- Balakrishnan Sambath (3): ARM: dts: microchip: sama5d2: Move pinfunc.h headers ARM: dts: microchip: sama7g5: Move pinfunc.h headers dt-bindings: pinctrl: at91-pio4: convert Atmel's PIO4 bindings to json-schema .../bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 98 --------------- .../bindings/pinctrl/atmel,sama5d2-pinctrl.yaml | 140 +++++++++++++++++++++ .../boot/dts/microchip/at91-kizbox3_common.dtsi | 2 +- .../arm/boot/dts/microchip/at91-sama5d27_som1.dtsi | 2 +- .../boot/dts/microchip/at91-sama5d27_wlsom1.dtsi | 2 +- .../boot/dts/microchip/at91-sama5d29_curiosity.dts | 2 +- arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts | 2 +- .../arm/boot/dts/microchip/at91-sama5d2_ptc_ek.dts | 2 +- .../boot/dts/microchip/at91-sama5d2_xplained.dts | 2 +- arch/arm/boot/dts/microchip/at91-sama7g5ek.dts | 2 +- .../dt-bindings/pinctrl}/sama5d2-pinfunc.h | 0 .../dt-bindings/pinctrl}/sama7g5-pinfunc.h | 0 12 files changed, 148 insertions(+), 106 deletions(-) --- base-commit: 805d849d7c3cc1f38efefd48b2480d62b7b5dcb7 change-id: 20240223-pio4-pinctrl-yaml-c06c10200395 Best regards,