diff options
author | Vinod Koul <vkoul@kernel.org> | 2020-08-24 20:29:52 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-10-28 22:27:03 +0530 |
commit | 34365497aa86b8190ea3b4bb4c16b6c86caca861 (patch) | |
tree | 565eead73938ecec8677f165caa1013c3e36f200 | |
parent | e54839876363a3e96a1f539b8a8081628590e1d9 (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 f7bbea3f09ca..45530fd1f0f2 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 |