lkml.org 
[lkml]   [2021]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 1/2] dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03
On Sun, Nov 14, 2021 at 11:07:16PM +0300, Dmitry Osipenko wrote:
> From: Anton Bambura <jenneron@protonmail.com>
>
> LQ101R1SX03 is compatible with LQ101R1SX01, document it.

Then sounds like '"sharp,lq101r1sx03", "sharp,lq101r1sx01"' would be the
appropriate compatible value. Do that, and you don't need a driver
change.

>
> Signed-off-by: Anton Bambura <jenneron@protonmail.com>
> ---
> .../devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml b/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml
> index a679d3647dbd..f7514eb9ebda 100644
> --- a/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml
> @@ -30,7 +30,9 @@ allOf:
>
> properties:
> compatible:
> - const: sharp,lq101r1sx01
> + enum:
> + - sharp,lq101r1sx01
> + - sharp,lq101r1sx03
>
> reg: true
> power-supply: true
> --
> 2.33.1
>
>

\
 
 \ /
  Last update: 2021-11-29 22:35    [W:0.045 / U:1.812 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site