diff mbox series

[2/3] ARM: dts: microchip: sama7g5: Move pinfunc.h headers

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

Commit Message

Balakrishnan Sambath Feb. 29, 2024, 11:39 a.m. UTC
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(-)

Comments

Krzysztof Kozlowski Feb. 29, 2024, 5:43 p.m. UTC | #1
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 mbox series

Patch

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