Message ID | 20240229-pio4-pinctrl-yaml-v1-2-c4d8279c083f@microchip.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | convert Atmel's PIO4 bindings to json-schema | expand |
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
diff --git a/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts b/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts index 217e9b96c61e..a92c37e57aaf 100644 --- a/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts +++ b/arch/arm/boot/dts/microchip/at91-sama7g5ek.dts @@ -9,7 +9,7 @@ * */ /dts-v1/; -#include "sama7g5-pinfunc.h" +#include <dt-bindings/pinctrl/sama7g5-pinfunc.h> #include "sama7g5.dtsi" #include <dt-bindings/mfd/atmel-flexcom.h> #include <dt-bindings/input/input.h> diff --git a/arch/arm/boot/dts/microchip/sama7g5-pinfunc.h b/include/dt-bindings/pinctrl/sama7g5-pinfunc.h similarity index 100% rename from arch/arm/boot/dts/microchip/sama7g5-pinfunc.h rename to include/dt-bindings/pinctrl/sama7g5-pinfunc.h
Move sama7g5-pinfunc.h into include/dt-bindings/pinctrl so that we can include it in yaml dt-binding examples. Signed-off-by: Balakrishnan Sambath <balakrishnan.s@microchip.com> --- arch/arm/boot/dts/microchip/at91-sama7g5ek.dts | 2 +- .../dts/microchip => include/dt-bindings/pinctrl}/sama7g5-pinfunc.h | 0 2 files changed, 1 insertion(+), 1 deletion(-)