linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Support Sharp LQ101R1SX03 display panel
@ 2021-11-14 20:07 Dmitry Osipenko
  2021-11-14 20:07 ` [PATCH v1 1/2] dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03 Dmitry Osipenko
  2021-11-14 20:07 ` [PATCH v1 2/2] drm/panel: sharp: lq101r1sx01: Support LQ101R1SX03 Dmitry Osipenko
  0 siblings, 2 replies; 6+ messages in thread
From: Dmitry Osipenko @ 2021-11-14 20:07 UTC (permalink / raw)
  To: Thierry Reding, Sam Ravnborg, Rob Herring, David Airlie,
	Daniel Vetter, Anton Bambura
  Cc: dri-devel, devicetree, linux-tegra, linux-kernel

Add support for Sharp LQ101R1SX03 display panel used by ASUS Transformer
TF701T tablet device.

Anton Bambura (2):
  dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03
  drm/panel: sharp: lq101r1sx01: Support LQ101R1SX03

 .../devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml  | 4 +++-
 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c               | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

-- 
2.33.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v1 1/2] dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03
  2021-11-14 20:07 [PATCH v1 0/2] Support Sharp LQ101R1SX03 display panel Dmitry Osipenko
@ 2021-11-14 20:07 ` Dmitry Osipenko
  2021-11-29 21:32   ` Rob Herring
  2021-11-14 20:07 ` [PATCH v1 2/2] drm/panel: sharp: lq101r1sx01: Support LQ101R1SX03 Dmitry Osipenko
  1 sibling, 1 reply; 6+ messages in thread
From: Dmitry Osipenko @ 2021-11-14 20:07 UTC (permalink / raw)
  To: Thierry Reding, Sam Ravnborg, Rob Herring, David Airlie,
	Daniel Vetter, Anton Bambura
  Cc: dri-devel, devicetree, linux-tegra, linux-kernel

From: Anton Bambura <jenneron@protonmail.com>

LQ101R1SX03 is compatible with LQ101R1SX01, document it.

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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v1 2/2] drm/panel: sharp: lq101r1sx01: Support LQ101R1SX03
  2021-11-14 20:07 [PATCH v1 0/2] Support Sharp LQ101R1SX03 display panel Dmitry Osipenko
  2021-11-14 20:07 ` [PATCH v1 1/2] dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03 Dmitry Osipenko
@ 2021-11-14 20:07 ` Dmitry Osipenko
  1 sibling, 0 replies; 6+ messages in thread
From: Dmitry Osipenko @ 2021-11-14 20:07 UTC (permalink / raw)
  To: Thierry Reding, Sam Ravnborg, Rob Herring, David Airlie,
	Daniel Vetter, Anton Bambura
  Cc: dri-devel, devicetree, linux-tegra, linux-kernel

From: Anton Bambura <jenneron@protonmail.com>

LQ101R1SX03 is compatible with LQ101R1SX01, add compatible to the driver.

Signed-off-by: Anton Bambura <jenneron@protonmail.com>
---
 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c b/drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c
index f8cd2a42ed13..bbd1d889e069 100644
--- a/drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c
+++ b/drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c
@@ -304,6 +304,7 @@ static const struct drm_panel_funcs sharp_panel_funcs = {
 
 static const struct of_device_id sharp_of_match[] = {
 	{ .compatible = "sharp,lq101r1sx01", },
+	{ .compatible = "sharp,lq101r1sx03", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, sharp_of_match);
-- 
2.33.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03
  2021-11-14 20:07 ` [PATCH v1 1/2] dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03 Dmitry Osipenko
@ 2021-11-29 21:32   ` Rob Herring
  2021-11-30 15:54     ` Dmitry Osipenko
  0 siblings, 1 reply; 6+ messages in thread
From: Rob Herring @ 2021-11-29 21:32 UTC (permalink / raw)
  To: Dmitry Osipenko
  Cc: Thierry Reding, Sam Ravnborg, David Airlie, Daniel Vetter,
	Anton Bambura, dri-devel, devicetree, linux-tegra, linux-kernel

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
> 
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03
  2021-11-29 21:32   ` Rob Herring
@ 2021-11-30 15:54     ` Dmitry Osipenko
  2021-11-30 19:49       ` Dmitry Osipenko
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Osipenko @ 2021-11-30 15:54 UTC (permalink / raw)
  To: Rob Herring
  Cc: Thierry Reding, Sam Ravnborg, David Airlie, Daniel Vetter,
	Anton Bambura, dri-devel, devicetree, linux-tegra, linux-kernel

30.11.2021 00:32, Rob Herring пишет:
> 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.

Apparently you're right. The "sharp,lq101r1sx03" should be a slightly
improved revision of "sharp,lq101r1sx01". I see now that LQ101R1SX03 is
sold as a spare part panel for ASUS TF701T, hence these panels should be
entirely compatible with each other.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v1 1/2] dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03
  2021-11-30 15:54     ` Dmitry Osipenko
@ 2021-11-30 19:49       ` Dmitry Osipenko
  0 siblings, 0 replies; 6+ messages in thread
From: Dmitry Osipenko @ 2021-11-30 19:49 UTC (permalink / raw)
  To: Rob Herring
  Cc: Thierry Reding, Sam Ravnborg, David Airlie, Daniel Vetter,
	Anton Bambura, dri-devel, devicetree, linux-tegra, linux-kernel

30.11.2021 18:54, Dmitry Osipenko пишет:
> 30.11.2021 00:32, Rob Herring пишет:
>> 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.
> 
> Apparently you're right. The "sharp,lq101r1sx03" should be a slightly
> improved revision of "sharp,lq101r1sx01". I see now that LQ101R1SX03 is
> sold as a spare part panel for ASUS TF701T, hence these panels should be
> entirely compatible with each other.
> 

I mixed up the panel model which TF701T uses.

I compared datasheets of both panel variants. These panel have
differences in the pins configuration. Hence panels seems aren't
compatible in terms of hardware integration, although the difference is
small. They should be compatible from software perspective.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-11-30 19:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-14 20:07 [PATCH v1 0/2] Support Sharp LQ101R1SX03 display panel Dmitry Osipenko
2021-11-14 20:07 ` [PATCH v1 1/2] dt-bindings: sharp,lq101r1sx01: Add compatible for LQ101R1SX03 Dmitry Osipenko
2021-11-29 21:32   ` Rob Herring
2021-11-30 15:54     ` Dmitry Osipenko
2021-11-30 19:49       ` Dmitry Osipenko
2021-11-14 20:07 ` [PATCH v1 2/2] drm/panel: sharp: lq101r1sx01: Support LQ101R1SX03 Dmitry Osipenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).