diff mbox series

[v1] drm/bridge: fix AUX_CMD_SEND bit value for ti, sn65dsi86 bridge

Message ID 20181130092745.4219-1-spanda@codeaurora.org (mailing list archive)
State New, archived
Headers show
Series [v1] drm/bridge: fix AUX_CMD_SEND bit value for ti, sn65dsi86 bridge | expand

Commit Message

Sandeep Panda Nov. 30, 2018, 9:27 a.m. UTC
Fix the AUX_CMD_SEND bit for ti,sn65dsi86 bridge chip. With wrong
value the dpcd aux transactions with eDP panel are failing.

Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
---
 drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sean Paul Nov. 30, 2018, 3:49 p.m. UTC | #1
On Fri, Nov 30, 2018 at 02:57:45PM +0530, Sandeep Panda wrote:
> Fix the AUX_CMD_SEND bit for ti,sn65dsi86 bridge chip. With wrong
> value the dpcd aux transactions with eDP panel are failing.
> 
> Signed-off-by: Sandeep Panda <spanda@codeaurora.org>

Pushed to -misc-fixes, thanks for the patch

Sean

> ---
>  drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi86.c b/drivers/gpu/drm/bridge/ti-sn65dsi86.c
> index 680566d97adcf..10243965ee7c0 100644
> --- a/drivers/gpu/drm/bridge/ti-sn65dsi86.c
> +++ b/drivers/gpu/drm/bridge/ti-sn65dsi86.c
> @@ -54,7 +54,7 @@
>  #define SN_AUX_ADDR_7_0_REG			0x76
>  #define SN_AUX_LENGTH_REG			0x77
>  #define SN_AUX_CMD_REG				0x78
> -#define  AUX_CMD_SEND				BIT(1)
> +#define  AUX_CMD_SEND				BIT(0)
>  #define  AUX_CMD_REQ(x)				((x) << 4)
>  #define SN_AUX_RDATA_REG(x)			(0x79 + (x))
>  #define SN_SSC_CONFIG_REG			0x93
> -- 
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
> 
> _______________________________________________
> Freedreno mailing list
> Freedreno@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/freedreno
diff mbox series

Patch

diff --git a/drivers/gpu/drm/bridge/ti-sn65dsi86.c b/drivers/gpu/drm/bridge/ti-sn65dsi86.c
index 680566d97adcf..10243965ee7c0 100644
--- a/drivers/gpu/drm/bridge/ti-sn65dsi86.c
+++ b/drivers/gpu/drm/bridge/ti-sn65dsi86.c
@@ -54,7 +54,7 @@ 
 #define SN_AUX_ADDR_7_0_REG			0x76
 #define SN_AUX_LENGTH_REG			0x77
 #define SN_AUX_CMD_REG				0x78
-#define  AUX_CMD_SEND				BIT(1)
+#define  AUX_CMD_SEND				BIT(0)
 #define  AUX_CMD_REQ(x)				((x) << 4)
 #define SN_AUX_RDATA_REG(x)			(0x79 + (x))
 #define SN_SSC_CONFIG_REG			0x93