diff options
author | Vinod Koul <vkoul@kernel.org> | 2020-08-24 20:29:52 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-10-08 17:53:50 +0530 |
commit | 50dfc0fe79d9e5d1d6d4b4974ea7a1537fa90437 (patch) | |
tree | f01e72208928f808d68a1b4c301b36eeb9b9b320 | |
parent | c867f5cd3d3eb036ae86cb240de64c76053c5416 (diff) |
soc: qcom: geni: move GENI_IF_DISABLE_RO to common header
GENI_IF_DISABLE_RO is used by geni spi driver as well to check the
status if GENI, so move this to common header qcom-geni-se.h
Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r-- | drivers/soc/qcom/qcom-geni-se.c | 1 | ||||
-rw-r--r-- | include/linux/qcom-geni-se.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/qcom/qcom-geni-se.c b/drivers/soc/qcom/qcom-geni-se.c index d0e4f520cff8..6e5013f6a7c6 100644 --- a/drivers/soc/qcom/qcom-geni-se.c +++ b/drivers/soc/qcom/qcom-geni-se.c @@ -107,7 +107,6 @@ static struct geni_wrapper *earlycon_wrapper; #define GENI_OUTPUT_CTRL 0x24 #define GENI_CGC_CTRL 0x28 #define GENI_CLK_CTRL_RO 0x60 -#define GENI_IF_DISABLE_RO 0x64 #define GENI_FW_S_REVISION_RO 0x6c #define SE_GENI_BYTE_GRAN 0x254 #define SE_GENI_TX_PACKING_CFG0 0x260 diff --git a/include/linux/qcom-geni-se.h b/include/linux/qcom-geni-se.h index 8f385fbe5a0e..2e4055523270 100644 --- a/include/linux/qcom-geni-se.h +++ b/include/linux/qcom-geni-se.h @@ -67,6 +67,7 @@ struct geni_se { #define SE_GENI_STATUS 0x40 #define GENI_SER_M_CLK_CFG 0x48 #define GENI_SER_S_CLK_CFG 0x4c +#define GENI_IF_DISABLE_RO 0x64 #define GENI_FW_REVISION_RO 0x68 #define SE_GENI_CLK_SEL 0x7c #define SE_GENI_DMA_MODE_EN 0x258 |