[PATCH 1/4] meson_uart: expose CLKID_UART0

Helmut Klein hgkr.klein at gmail.com
Wed Mar 22 13:45:42 PDT 2017


this patch exposes the CLKID_UART0 to dt-bindings

diff -Napur a/include/dt-bindings/clock/gxbb-clkc.h 
b/include/dt-bindings/clock/gxbb-clkc.h
--- a/include/dt-bindings/clock/gxbb-clkc.h	2017-03-09 
21:09:50.000000000 +0100
+++ b/include/dt-bindings/clock/gxbb-clkc.h	2017-03-22 
19:04:32.220233526 +0100
@@ -15,6 +15,7 @@
  #define CLKID_SPI		34
  #define CLKID_I2C		22
  #define CLKID_SAR_ADC		23
+#define CLKID_UART0		26
  #define CLKID_ETH		36
  #define CLKID_USB0		50
  #define CLKID_USB1		51
diff -Napur a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h
--- a/drivers/clk/meson/gxbb.h	2017-03-09 21:09:41.000000000 +0100
+++ b/drivers/clk/meson/gxbb.h	2017-03-22 19:05:32.120151735 +0100
@@ -194,7 +194,7 @@
  /* #define CLKID_SAR_ADC */
  #define CLKID_SMART_CARD	  24
  #define CLKID_RNG0		  25
-#define CLKID_UART0		  26
+/* CLKID_UART0 */
  #define CLKID_SDHC		  27
  #define CLKID_STREAM		  28
  #define CLKID_ASYNC_FIFO	  29



More information about the linux-amlogic mailing list