[PATCH v3 3/6] clk: ti: Remove AM33xx dependency

Bastien Curutchet bastien.curutchet at bootlin.com
Mon Jun 29 11:04:25 CEST 2026


Hi Tom,

On 6/25/26 8:18 PM, Tom Rini wrote:
> On Mon, Jun 08, 2026 at 03:11:59PM +0200, Bastien Curutchet wrote:
> 
>> The clock controller driven by this driver exists on other OMAP platforms
>> than the AM33xx. Yet, it uses functions provided by
>> arch/arm/mach-omap2/am33xx/clock.c making it unusable by other OMAPs.
>>
>> Replace am33xx-specific do_{enable/disable}_clocks() with new static
>> functions implemented locally.
>> Replace the am33xx-specific clock header with the one shared by all OMAP
>> platforms.
>>
>> Signed-off-by: Bastien Curutchet <bastien.curutchet at bootlin.com>
>> ---
>>   drivers/clk/ti/clk-ctrl.c | 48 ++++++++++++++++++++++++++++++++++++-----------
>>   1 file changed, 37 insertions(+), 11 deletions(-)
> 
> The labgrid issue we had meant that I didn't get this tested again on
> beaglebone black until now, and *this* commit leads to:
> U-Boot SPL 2026.07-rc4-00462-g7b87c16a2945 (Jun 25 2026 - 18:10:48 +0000)
> Trying to boot from MMC1
> 
> 
> U-Boot 2026.07-rc4-00462-g7b87c16a2945 (Jun 25 2026 - 18:10:48 +0000)
> 
> CPU  : AM335X-GP rev 2.1
> Model: TI AM335x BeagleBone Black
> DRAM:  512 MiB
> ### ERROR ### Please RESET the board ###
> 

I'm going to take a look at it.


Best regards,
Bastien


More information about the U-Boot mailing list