xref: /rk3399_ARM-atf/plat/rockchip/rk3399/drivers/pwm/pwm.h (revision 5d3b10675320aadbb1855a836d65bcd633581f7c)
1*5d3b1067SCaesar Wang /*
2*5d3b1067SCaesar Wang  * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
3*5d3b1067SCaesar Wang  *
4*5d3b1067SCaesar Wang  * Redistribution and use in source and binary forms, with or without
5*5d3b1067SCaesar Wang  * modification, are permitted provided that the following conditions are met:
6*5d3b1067SCaesar Wang  *
7*5d3b1067SCaesar Wang  * Redistributions of source code must retain the above copyright notice, this
8*5d3b1067SCaesar Wang  * list of conditions and the following disclaimer.
9*5d3b1067SCaesar Wang  *
10*5d3b1067SCaesar Wang  * Redistributions in binary form must reproduce the above copyright notice,
11*5d3b1067SCaesar Wang  * this list of conditions and the following disclaimer in the documentation
12*5d3b1067SCaesar Wang  * and/or other materials provided with the distribution.
13*5d3b1067SCaesar Wang  *
14*5d3b1067SCaesar Wang  * Neither the name of ARM nor the names of its contributors may be used
15*5d3b1067SCaesar Wang  * to endorse or promote products derived from this software without specific
16*5d3b1067SCaesar Wang  * prior written permission.
17*5d3b1067SCaesar Wang  *
18*5d3b1067SCaesar Wang  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19*5d3b1067SCaesar Wang  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20*5d3b1067SCaesar Wang  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21*5d3b1067SCaesar Wang  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22*5d3b1067SCaesar Wang  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23*5d3b1067SCaesar Wang  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24*5d3b1067SCaesar Wang  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25*5d3b1067SCaesar Wang  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26*5d3b1067SCaesar Wang  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27*5d3b1067SCaesar Wang  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28*5d3b1067SCaesar Wang  * POSSIBILITY OF SUCH DAMAGE.
29*5d3b1067SCaesar Wang  */
30*5d3b1067SCaesar Wang 
31*5d3b1067SCaesar Wang #ifndef __PWM_H__
32*5d3b1067SCaesar Wang #define __PWM_H__
33*5d3b1067SCaesar Wang 
34*5d3b1067SCaesar Wang void disable_pwms(void);
35*5d3b1067SCaesar Wang void enable_pwms(void);
36*5d3b1067SCaesar Wang 
37*5d3b1067SCaesar Wang #endif
38