Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Copyright (c) 2019 BayLibre, SAS.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  * Author: Jerome Brunet <jbrunet@baylibre.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #ifndef __MESON_CLK_PHASE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #define __MESON_CLK_PHASE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <linux/clk-provider.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include "parm.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct meson_clk_phase_data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	struct parm ph;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) struct meson_clk_triphase_data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	struct parm ph0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	struct parm ph1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	struct parm ph2;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) struct meson_sclk_ws_inv_data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	struct parm ph;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	struct parm ws;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) extern const struct clk_ops meson_clk_phase_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) extern const struct clk_ops meson_clk_triphase_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) extern const struct clk_ops meson_sclk_ws_inv_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #endif /* __MESON_CLK_PHASE_H */