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_DUALDIV_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #define __MESON_CLK_DUALDIV_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_dualdiv_param {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	unsigned int n1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	unsigned int n2;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	unsigned int m1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	unsigned int m2;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	unsigned int dual;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) struct meson_clk_dualdiv_data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	struct parm n1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	struct parm n2;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	struct parm m1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	struct parm m2;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	struct parm dual;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	const struct meson_clk_dualdiv_param *table;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) extern const struct clk_ops meson_clk_dualdiv_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) extern const struct clk_ops meson_clk_dualdiv_ro_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) #endif /* __MESON_CLK_DUALDIV_H */