13f129280SDonghwa Lee /* 23f129280SDonghwa Lee * header file for pwm driver. 33f129280SDonghwa Lee * 43f129280SDonghwa Lee * Copyright (c) 2011 samsung electronics 53f129280SDonghwa Lee * Donghwa Lee <dh09.lee@samsung.com> 63f129280SDonghwa Lee * 7*1a459660SWolfgang Denk * SPDX-License-Identifier: GPL-2.0+ 83f129280SDonghwa Lee */ 93f129280SDonghwa Lee 103f129280SDonghwa Lee #ifndef _pwm_h_ 113f129280SDonghwa Lee #define _pwm_h_ 123f129280SDonghwa Lee 133f129280SDonghwa Lee int pwm_init (int pwm_id, int div, int invert); 143f129280SDonghwa Lee int pwm_config (int pwm_id, int duty_ns, int period_ns); 153f129280SDonghwa Lee int pwm_enable (int pwm_id); 163f129280SDonghwa Lee void pwm_disable (int pwm_id); 173f129280SDonghwa Lee 183f129280SDonghwa Lee #endif /* _pwm_h_ */ 19