1251017Sgonzo/*- 2251017Sgonzo * Copyright (c) 2013 Oleksandr Tymoshenko <gonzo@freebsd.org> 3251017Sgonzo * All rights reserved. 4251017Sgonzo * 5251017Sgonzo * Redistribution and use in source and binary forms, with or without 6251017Sgonzo * modification, are permitted provided that the following conditions 7251017Sgonzo * are met: 8251017Sgonzo * 1. Redistributions of source code must retain the above copyright 9251017Sgonzo * notice, this list of conditions and the following disclaimer. 10251017Sgonzo * 2. Redistributions in binary form must reproduce the above copyright 11251017Sgonzo * notice, this list of conditions and the following disclaimer in the 12251017Sgonzo * documentation and/or other materials provided with the distribution. 13251017Sgonzo * 14251017Sgonzo * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15251017Sgonzo * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16251017Sgonzo * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17251017Sgonzo * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18251017Sgonzo * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19251017Sgonzo * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20251017Sgonzo * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21251017Sgonzo * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22251017Sgonzo * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23251017Sgonzo * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24251017Sgonzo * SUCH DAMAGE. 25251017Sgonzo * 26251017Sgonzo * $FreeBSD$ 27251017Sgonzo */ 28251017Sgonzo#ifndef __AM335X_PWM_H__ 29251017Sgonzo#define __AM335X_PWM_H__ 30251017Sgonzo 31251017Sgonzoint am335x_pwm_config_ecas(int unit, int period, int duty); 32251017Sgonzo 33251017Sgonzo#endif /* __AM335X_PWM_H__ */ 34