diff options
author | Tommaso Merciai <tommaso.merciai@amarulasolutions.com> | 2022-03-26 12:19:05 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-04-12 19:10:44 +0200 |
commit | 2c432563dfd0f9976eb9d962bff726ae7b497ae7 (patch) | |
tree | 3b85fcc239816a5c388b354114d472e58936a645 /drivers/pwm/pwm-imx-util.h | |
parent | ec191a81766575b955cd099e24db666781da42a9 (diff) |
drivers: pwm: pwm-imx: move pwm-imx-util into pwm-imx
Move pwm_imx_get_parms, pwm_id_to_reg functions into pwm-imx.c
and drop off pwm-imx-util.c
Signed-off-by: Tommaso Merciai <tommaso.merciai@amarulasolutions.com>
Diffstat (limited to 'drivers/pwm/pwm-imx-util.h')
-rw-r--r-- | drivers/pwm/pwm-imx-util.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/pwm/pwm-imx-util.h b/drivers/pwm/pwm-imx-util.h deleted file mode 100644 index 82c61d774d3..00000000000 --- a/drivers/pwm/pwm-imx-util.h +++ /dev/null @@ -1,15 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * (C) Copyright 2014 - * Heiko Schocher, DENX Software Engineering, hs@denx.de. - * - * Basic support for the pwm module on imx6. - */ - -#ifndef _pwm_imx_util_h_ -#define _pwm_imx_util_h_ - -struct pwm_regs *pwm_id_to_reg(int pwm_id); -int pwm_imx_get_parms(int period_ns, int duty_ns, unsigned long *period_c, - unsigned long *duty_c, unsigned long *prescale); -#endif |