Hi Sumit, On 27/02/25 3:14 pm, Sumit Garg wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On Thu, 27 Feb 2025 at 15:06, Manikandan Muralidharan > <manikanda...@microchip.com> wrote: >> >> Add PMC clock definitions for MCK and UTMI which will be required >> for the sam9x7 OF_upstream DT since the clock framework is not in >> sync with Linux and also include this header in 'clock/at91.h' file > > You should rather drop these local DT bindings headers which will > allow dts/upstream/include/dt-bindings/clock/at91.h to be included > automatically. Other SoC DTs where OF_UPSTREAM migration is not added yet, depends on the local DT bindings header, dropping this will lead to issues with compilation. We can drop this altogether when we sync the u-boot clock framework with Linux. > > -Sumit > >> >> Signed-off-by: Manikandan Muralidharan <manikanda...@microchip.com> >> --- >> include/dt-bindings/clk/at91.h | 3 +++ >> include/dt-bindings/clock/at91.h | 2 ++ >> 2 files changed, 5 insertions(+) >> >> diff --git a/include/dt-bindings/clk/at91.h b/include/dt-bindings/clk/at91.h >> index a178b94157b..016c6e0c620 100644 >> --- a/include/dt-bindings/clk/at91.h >> +++ b/include/dt-bindings/clk/at91.h >> @@ -24,4 +24,7 @@ >> #define USB_UTMI2 1 >> #define USB_UTMI3 2 >> >> +#define PMC_MCK 1 >> +#define PMC_UTMI 2 >> + >> #endif >> diff --git a/include/dt-bindings/clock/at91.h >> b/include/dt-bindings/clock/at91.h >> index ab3ee241d10..7235b3ba01e 100644 >> --- a/include/dt-bindings/clock/at91.h >> +++ b/include/dt-bindings/clock/at91.h >> @@ -6,6 +6,8 @@ >> * Licensed under GPLv2 or later. >> */ >> >> +#include <dt-bindings/clk/at91.h> >> + >> #ifndef _DT_BINDINGS_CLK_AT91_H >> #define _DT_BINDINGS_CLK_AT91_H >> >> -- >> 2.25.1 >>
-- Thanks and Regards, Manikandan M.