[PATCH v2] drm/bridge/tc358775: Fix for dual-link LVDS

Robert Foss robert.foss at linaro.org
Fri Jan 7 16:39:33 UTC 2022


On Thu, 6 Jan 2022 at 20:22, Vinay Simha B N <simhavcs at gmail.com> wrote:
>
> Reviewed-by: Vinay Simha BN <simhavcs at gmail.com>
>
> Jiri Vanek,
> Could you please share the part number or datasheet of the dual-link LVDS display/panel used.
>
>
> On Fri, Jan 7, 2022 at 12:30 AM Jiri Vanek <jirivanek1 at gmail.com> wrote:
>>
>> Fixed wrong register shift for single/dual link LVDS output.
>>
>> Tested-by: Jiri Vanek <jirivanek1 at gmail.com>
>> Signed-off-by: Jiri Vanek <jirivanek1 at gmail.com>
>>
>> ---
>> v1:
>> * Initial version
>>
>> v2:
>> * Tested-by tag added
>>
>> ---
>>  drivers/gpu/drm/bridge/tc358775.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/bridge/tc358775.c b/drivers/gpu/drm/bridge/tc358775.c
>> index 2272adcc5b4a..1d6ec1baeff2 100644
>> --- a/drivers/gpu/drm/bridge/tc358775.c
>> +++ b/drivers/gpu/drm/bridge/tc358775.c
>> @@ -241,7 +241,7 @@ static inline u32 TC358775_LVCFG_PCLKDIV(uint32_t val)
>>  }
>>
>>  #define TC358775_LVCFG_LVDLINK__MASK                         0x00000002
>> -#define TC358775_LVCFG_LVDLINK__SHIFT                        0
>> +#define TC358775_LVCFG_LVDLINK__SHIFT                        1
>>  static inline u32 TC358775_LVCFG_LVDLINK(uint32_t val)
>>  {
>>         return ((val) << TC358775_LVCFG_LVDLINK__SHIFT) &
>> --

Applied to drm-misc-next


More information about the dri-devel mailing list