]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dt-bindings: sunxi: Update clock/reset binding headers
authorSamuel Holland <samuel@sholland.org>
Wed, 27 Apr 2022 20:31:20 +0000 (15:31 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 22 May 2022 23:37:50 +0000 (00:37 +0100)
Some devicetree updates make use of newly-exposed clocks and resets.
To support that, copy the binding headers from the Linux v5.18-rc1 tag.

Signed-off-by: Samuel Holland <samuel@sholland.org>
include/dt-bindings/clock/sun50i-a64-ccu.h
include/dt-bindings/clock/sun5i-ccu.h
include/dt-bindings/clock/sun6i-a31-ccu.h
include/dt-bindings/clock/sun8i-a23-a33-ccu.h
include/dt-bindings/clock/sun8i-h3-ccu.h
include/dt-bindings/clock/sun8i-v3s-ccu.h
include/dt-bindings/reset/sun5i-ccu.h
include/dt-bindings/reset/sun8i-v3s-ccu.h

index 318eb15c414ce2567da08bdb88deeb68c422914d..175892189e9dcb5597b6b2cd78f987a3c28d1f2b 100644 (file)
 #define CLK_USB_OHCI0          91
 
 #define CLK_USB_OHCI1          93
-
+#define CLK_DRAM               94
 #define CLK_DRAM_VE            95
 #define CLK_DRAM_CSI           96
 #define CLK_DRAM_DEINTERLACE   97
index 81f34d477aeba7ef4e7baa2512d21dfed2db569b..75fe5619c3d9a564ed34036d336a330ce00b4bd0 100644 (file)
@@ -1,17 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 2016 Maxime Ripard
  *
  * Maxime Ripard <maxime.ripard@free-electrons.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef _DT_BINDINGS_CLK_SUN5I_H_
 #define CLK_AVS                        96
 #define CLK_HDMI               97
 #define CLK_GPU                        98
-
+#define CLK_MBUS               99
 #define CLK_IEP                        100
 
 #endif /* _DT_BINDINGS_CLK_SUN5I_H_ */
index c5d13340184aada0817376a662f7ae247648aeb5..39878d9dce9f7b64a8716856cba0debdd6f6f5c9 100644 (file)
@@ -49,6 +49,8 @@
 
 #define CLK_PLL_VIDEO1_2X      13
 
+#define CLK_PLL_MIPI           15
+
 #define CLK_CPU                        18
 
 #define CLK_AHB1_MIPIDSI       23
index f8222b6b2cc31b83fceb05596eed826186054ceb..eb524d0bbd0131796ac4d9226691684dfa324adb 100644 (file)
@@ -43,6 +43,8 @@
 #ifndef _DT_BINDINGS_CLK_SUN8I_A23_A33_H_
 #define _DT_BINDINGS_CLK_SUN8I_A23_A33_H_
 
+#define CLK_PLL_MIPI           13
+
 #define CLK_CPUX               18
 
 #define CLK_BUS_MIPI_DSI       23
index 30d2d15373a25870b47cf60e06d2d47b983fee08..5d4ada2c22e606d66fdab191fead274735b65034 100644 (file)
 #define CLK_USB_OHCI1          93
 #define CLK_USB_OHCI2          94
 #define CLK_USB_OHCI3          95
-
+#define CLK_DRAM               96
 #define CLK_DRAM_VE            97
 #define CLK_DRAM_CSI           98
 #define CLK_DRAM_DEINTERLACE   99
index c0d5d5599c87f5a50c740e0da2352f90388b67b2..014ac6123d1760c43484e6c116eaca423b490cf5 100644 (file)
 
 #define CLK_MIPI_CSI           73
 
+/* Clocks not available on V3s */
+#define CLK_BUS_I2S0           75
+#define CLK_I2S0               76
+
 #endif /* _DT_BINDINGS_CLK_SUN8I_V3S_H_ */
index c2b9726b5026cdf1d47a2759416b0d58fd2520e3..40cc22ae763071f7f22f18ac4bb2f1409787e933 100644 (file)
@@ -1,17 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright 2016 Maxime Ripard
  *
  * Maxime Ripard <maxime.ripard@free-electrons.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef _RST_SUN5I_H_
index b58ef21a2e18d6057fec1ebf4a1ebf8bcb8cceb9..b6790173afd63f6c8b26781b7ee6ebbf90a389cb 100644 (file)
@@ -75,4 +75,7 @@
 #define RST_BUS_UART1          50
 #define RST_BUS_UART2          51
 
+/* Reset lines not available on V3s */
+#define RST_BUS_I2S0           52
+
 #endif /* _DT_BINDINGS_RST_SUN8I_H3_H_ */