clk: sifive: duplicate the macro definitions for the time being

This is a temporary patch in whole patch set. We are going to change the
macro name in dt-binding, in order to avoid breaking the driver build
and git bisect, add these macro definitions for the time being, and we
will remove them later.

Signed-off-by: Zong Li <zong.li@sifive.com>
Link: https://lore.kernel.org/r/8cfd57f01cfb59adb716eb13ca0c8250c246dcb2.1646388139.git.zong.li@sifive.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Zong Li and committed by
Stephen Boyd
e83da8e2 e783362e

+15 -2
+5 -1
drivers/clk/sifive/fu540-prci.c
··· 20 21 #include <dt-bindings/clock/sifive-fu540-prci.h> 22 23 - #include "fu540-prci.h" 24 #include "sifive-prci.h" 25 26 /* PRCI integration data for each WRPLL instance */ 27
··· 20 21 #include <dt-bindings/clock/sifive-fu540-prci.h> 22 23 #include "sifive-prci.h" 24 + 25 + #define PRCI_CLK_COREPLL 0 26 + #define PRCI_CLK_DDRPLL 1 27 + #define PRCI_CLK_GEMGXLPLL 2 28 + #define PRCI_CLK_TLCLK 3 29 30 /* PRCI integration data for each WRPLL instance */ 31
+10 -1
drivers/clk/sifive/fu740-prci.c
··· 8 9 #include <dt-bindings/clock/sifive-fu740-prci.h> 10 11 - #include "fu540-prci.h" 12 #include "sifive-prci.h" 13 14 /* PRCI integration data for each WRPLL instance */ 15
··· 8 9 #include <dt-bindings/clock/sifive-fu740-prci.h> 10 11 #include "sifive-prci.h" 12 + 13 + #define PRCI_CLK_COREPLL 0 14 + #define PRCI_CLK_DDRPLL 1 15 + #define PRCI_CLK_GEMGXLPLL 2 16 + #define PRCI_CLK_DVFSCOREPLL 3 17 + #define PRCI_CLK_HFPCLKPLL 4 18 + #define PRCI_CLK_CLTXPLL 5 19 + #define PRCI_CLK_TLCLK 6 20 + #define PRCI_CLK_PCLK 7 21 + #define PRCI_CLK_PCIE_AUX 8 22 23 /* PRCI integration data for each WRPLL instance */ 24