diff mbox series

[RESEND,V1] soc: qcom: geni: Add SPI Slave protocol type

Message ID 1667987326-13970-1-git-send-email-quic_arandive@quicinc.com (mailing list archive)
State Not Applicable
Headers show
Series [RESEND,V1] soc: qcom: geni: Add SPI Slave protocol type | expand

Commit Message

Aniket Randive Nov. 9, 2022, 9:48 a.m. UTC
Add "GENI_SE_SPI_SLAVE" entry in enum which represents the
protocols supported by GENI Serial Engines. This is needed
to support the SPI slave feature on QUP based target.

Signed-off-by: Aniket Randive <quic_arandive@quicinc.com>
---
 include/linux/qcom-geni-se.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Vinod Koul Nov. 9, 2022, 11:09 a.m. UTC | #1
Hi Aniket,

On 09-11-22, 15:18, Aniket Randive wrote:
> Add "GENI_SE_SPI_SLAVE" entry in enum which represents the
> protocols supported by GENI Serial Engines. This is needed

Ok

> to support the SPI slave feature on QUP based target.

Where is that support. Typically we dont merge things without users, so
please add this patch along with slave support in driver

> 
> Signed-off-by: Aniket Randive <quic_arandive@quicinc.com>
> ---
>  include/linux/qcom-geni-se.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/qcom-geni-se.h b/include/linux/qcom-geni-se.h
> index f567278..9fb2175 100644
> --- a/include/linux/qcom-geni-se.h
> +++ b/include/linux/qcom-geni-se.h
> @@ -35,6 +35,7 @@ enum geni_se_protocol_type {
>  	GENI_SE_UART,
>  	GENI_SE_I2C,
>  	GENI_SE_I3C,
> +	GENI_SE_SPI_SLAVE,
>  };
>  
>  struct geni_wrapper;
> -- 
> 2.7.4
diff mbox series

Patch

diff --git a/include/linux/qcom-geni-se.h b/include/linux/qcom-geni-se.h
index f567278..9fb2175 100644
--- a/include/linux/qcom-geni-se.h
+++ b/include/linux/qcom-geni-se.h
@@ -35,6 +35,7 @@  enum geni_se_protocol_type {
 	GENI_SE_UART,
 	GENI_SE_I2C,
 	GENI_SE_I3C,
+	GENI_SE_SPI_SLAVE,
 };
 
 struct geni_wrapper;