1*4e579ad0SEmmanuel Vadot /*- 2*4e579ad0SEmmanuel Vadot * SPDX-License-Identifier: BSD-2-Clause 3*4e579ad0SEmmanuel Vadot * 4*4e579ad0SEmmanuel Vadot * Copyright (c) 2023 Beckhoff Automation GmbH & Co. KG 5*4e579ad0SEmmanuel Vadot * 6*4e579ad0SEmmanuel Vadot * Redistribution and use in source and binary forms, with or without 7*4e579ad0SEmmanuel Vadot * modification, are permitted provided that the following conditions 8*4e579ad0SEmmanuel Vadot * are met: 9*4e579ad0SEmmanuel Vadot * 1. Redistributions of source code must retain the above copyright 10*4e579ad0SEmmanuel Vadot * notice, this list of conditions and the following disclaimer. 11*4e579ad0SEmmanuel Vadot * 2. Redistributions in binary form must reproduce the above copyright 12*4e579ad0SEmmanuel Vadot * notice, this list of conditions and the following disclaimer in the 13*4e579ad0SEmmanuel Vadot * documentation and/or other materials provided with the distribution. 14*4e579ad0SEmmanuel Vadot * 15*4e579ad0SEmmanuel Vadot * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16*4e579ad0SEmmanuel Vadot * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17*4e579ad0SEmmanuel Vadot * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18*4e579ad0SEmmanuel Vadot * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19*4e579ad0SEmmanuel Vadot * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20*4e579ad0SEmmanuel Vadot * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21*4e579ad0SEmmanuel Vadot * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22*4e579ad0SEmmanuel Vadot * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23*4e579ad0SEmmanuel Vadot * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24*4e579ad0SEmmanuel Vadot * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25*4e579ad0SEmmanuel Vadot * SUCH DAMAGE. 26*4e579ad0SEmmanuel Vadot */ 27*4e579ad0SEmmanuel Vadot 28*4e579ad0SEmmanuel Vadot #ifndef _ZYNQMP_CLK_GATE_H_ 29*4e579ad0SEmmanuel Vadot #define _ZYNQMP_CLK_GATE_H_ 30*4e579ad0SEmmanuel Vadot 31*4e579ad0SEmmanuel Vadot int zynqmp_clk_gate_register(struct clkdom *clkdom, device_t fw, struct clknode_init_def *clkdef); 32*4e579ad0SEmmanuel Vadot 33*4e579ad0SEmmanuel Vadot #endif /* _ZYNQMP_CLK_GATE_H_ */ 34