[PATCH v2 1/3] ti_pwm: Add EHRPWM TBCLK clock driver
Neha Malcom Francis
n-francis at ti.com
Tue Jul 7 13:19:16 CEST 2026
On Mon, 06 Jul 2026 08:35:00 +0000, theodore.oviguian at etu.esisar.grenoble-inp.fr <theodore.oviguian at etu.esisar.grenoble-inp.fr> wrote:
> diff --git a/drivers/clk/ti/ehrpwm-tbclk.c b/drivers/clk/ti/ehrpwm-tbclk.c
> new file mode 100644
> index 00000000000..d03c009027a
> --- /dev/null
> +++ b/drivers/clk/ti/ehrpwm-tbclk.c
> @@ -0,0 +1,66 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +/*
> + *
> + * Copyright (C) 2026 Schneider Electric - https://se.com
> + * Théodore Oviguian <theodore.oviguian at se.com>
> + */
> +#include <clk-uclass.h>
> +#include <dm.h>
> +#include <asm/io.h>
> +#include <stdint.h>
stdint.h is not needed
> [ ... skip 25 lines ... ]
> +static ulong ehrpwm_tbclk_get_rate(struct clk *clk)
> +{
> + return 0;
> +}
> +
> +static struct clk_ops ehrpwm_tbclk_ops = {
const?
--
Neha Malcom Francis <n-francis at ti.com>
More information about the U-Boot
mailing list