blob: f24f2202f481a777e757fd9e8be286b4784ee627 [file] [log] [blame]
Donghwa Lee3f129282011-03-07 21:11:42 +00001/*
2 * header file for pwm driver.
3 *
4 * Copyright (c) 2011 samsung electronics
5 * Donghwa Lee <dh09.lee@samsung.com>
6 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02007 * SPDX-License-Identifier: GPL-2.0+
Donghwa Lee3f129282011-03-07 21:11:42 +00008 */
9
10#ifndef _pwm_h_
11#define _pwm_h_
12
13int pwm_init (int pwm_id, int div, int invert);
14int pwm_config (int pwm_id, int duty_ns, int period_ns);
15int pwm_enable (int pwm_id);
16void pwm_disable (int pwm_id);
17
18#endif /* _pwm_h_ */