[PATCH 1/3] ti_pwm: Add EHRPWM TBCLK clock driver
Neha Malcom Francis
n-francis at ti.com
Mon Jul 6 07:36:43 CEST 2026
On Fri, 19 Jun 2026 08:32:11 +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..bc91ef65b2e
> --- /dev/null
> +++ b/drivers/clk/ti/ehrpwm-tbclk.c
> @@ -0,0 +1,69 @@
> +// 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>
> +
> +#define TBCLK_SET_REG_OFFSET 4
> +#define TBCLK_CLR_REG_OFFSET 8
These macros are not used anywhere, also these patches contain some checkpatch
errors, please run checkpatch.pl
--
Neha Malcom Francis <n-francis at ti.com>
More information about the U-Boot
mailing list