[openwrt/openwrt] realtek: add PLL DT binding includes

LEDE Commits lede-commits at lists.infradead.org
Sun Aug 28 02:51:56 PDT 2022


svanheule pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1efaad03bb20e9aee458d30427cf00170fbe8fa2

commit 1efaad03bb20e9aee458d30427cf00170fbe8fa2
Author: Markus Stockhausen <markus.stockhausen at gmx.de>
AuthorDate: Wed Aug 24 20:57:05 2022 +0200

    realtek: add PLL DT binding includes
    
    Add some constants for sharing between DT and drivers.
    
    Signed-off-by: Markus Stockhausen <markus.stockhausen at gmx.de>
---
 .../files-5.10/include/dt-bindings/clock/rtl83xx-clk.h    | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/target/linux/realtek/files-5.10/include/dt-bindings/clock/rtl83xx-clk.h b/target/linux/realtek/files-5.10/include/dt-bindings/clock/rtl83xx-clk.h
new file mode 100644
index 0000000000..3937052cc5
--- /dev/null
+++ b/target/linux/realtek/files-5.10/include/dt-bindings/clock/rtl83xx-clk.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * Copyright (C) 2022 Markus Stockhausen
+ *
+ * RTL83XX clock indices
+ */
+#ifndef __DT_BINDINGS_CLOCK_RTL83XX_H
+#define __DT_BINDINGS_CLOCK_RTL83XX_H
+
+#define CLK_CPU		0
+#define CLK_MEM		1
+#define CLK_LXB		2
+#define CLK_COUNT	3
+
+#endif /* __DT_BINDINGS_CLOCK_RTL83XX_H */




More information about the lede-commits mailing list