mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] update compatible string for ILI9225
@ 2017-12-21 18:33 David Lechner
  2017-12-21 18:33 ` [PATCH 1/3] dt-bindings: Add "vot" vendor prefix David Lechner
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: David Lechner @ 2017-12-21 18:33 UTC (permalink / raw)
  To: dri-devel, devicetree
  Cc: David Lechner, Noralf Trønnes, limor, Linus Walleij,
	Rob Herring, Mark Rutland, linux-kernel

This updates the device tree compatible string for an ILI9225 display.
Detailed explanation is in the patches.

David Lechner (3):
  dt-bindings: Add "vot" vendor prefix
  dt-bindings: update compatible string for ILI9225
  drm/tinydrm: Update ILI9225 compatible string

 Documentation/devicetree/bindings/display/ilitek,ili9225.txt | 4 ++--
 Documentation/devicetree/bindings/vendor-prefixes.txt        | 1 +
 drivers/gpu/drm/tinydrm/ili9225.c                            | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

-- 
2.7.4

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

* [PATCH 1/3] dt-bindings: Add "vot" vendor prefix
  2017-12-21 18:33 [PATCH 0/3] update compatible string for ILI9225 David Lechner
@ 2017-12-21 18:33 ` David Lechner
  2017-12-26 21:49   ` Rob Herring
  2017-12-21 18:33 ` [PATCH 2/3] dt-bindings: update compatible string for ILI9225 David Lechner
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: David Lechner @ 2017-12-21 18:33 UTC (permalink / raw)
  To: dri-devel, devicetree
  Cc: David Lechner, Noralf Trønnes, limor, Linus Walleij,
	Rob Herring, Mark Rutland, linux-kernel

This adds a vendor prefix "vot" for Vision Optical Technology Co., Ltd.
They make LCD displays.

Signed-off-by: David Lechner <david@lechnology.com>
---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 41cb1ff0..267d33b 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -380,6 +380,7 @@ virtio	Virtual I/O Device Specification, developed by the OASIS consortium
 vivante	Vivante Corporation
 vocore VoCore Studio
 voipac	Voipac Technologies s.r.o.
+vot	Vision Optical Technology Co., Ltd.
 wd	Western Digital Corp.
 wetek	WeTek Electronics, limited.
 wexler	Wexler
-- 
2.7.4

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

* [PATCH 2/3] dt-bindings: update compatible string for ILI9225
  2017-12-21 18:33 [PATCH 0/3] update compatible string for ILI9225 David Lechner
  2017-12-21 18:33 ` [PATCH 1/3] dt-bindings: Add "vot" vendor prefix David Lechner
@ 2017-12-21 18:33 ` David Lechner
  2017-12-26 21:50   ` Rob Herring
  2017-12-21 18:33 ` [PATCH 3/3] drm/tinydrm: Update ILI9225 compatible string David Lechner
  2018-01-03 13:01 ` [PATCH 0/3] update compatible string for ILI9225 Noralf Trønnes
  3 siblings, 1 reply; 7+ messages in thread
From: David Lechner @ 2017-12-21 18:33 UTC (permalink / raw)
  To: dri-devel, devicetree
  Cc: David Lechner, Noralf Trønnes, limor, Linus Walleij,
	Rob Herring, Mark Rutland, linux-kernel

This updates the compatible string for a no-name LCD panel to
"vot,v220hf01a-t", "ilitek,ili9225".

The original bindings [1] were the generic "ilitek,ili9225-2.2in-176x220"
because I could not find a datasheet. However, after some more research,
I finally found one, so the actual vendor and model name are now known.

This previous bindings have not made it to the mainline kernel yet, so
this is not breaking backwards compatibility.

This is also following the precedence of the ILI9322 bindings [2] by using
the pattern "vendor,specific-system-config", "vendor,ip-part";

[1]: https://patchwork.ozlabs.org/patch/839352/
[2]: https://patchwork.ozlabs.org/patch/843576/

Signed-off-by: David Lechner <david@lechnology.com>
---
 Documentation/devicetree/bindings/display/ilitek,ili9225.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/ilitek,ili9225.txt b/Documentation/devicetree/bindings/display/ilitek,ili9225.txt
index 21607a5..a59feb5 100644
--- a/Documentation/devicetree/bindings/display/ilitek,ili9225.txt
+++ b/Documentation/devicetree/bindings/display/ilitek,ili9225.txt
@@ -4,7 +4,7 @@ This binding is for display panels using an Ilitek ILI9225 controller in SPI
 mode.
 
 Required properties:
-- compatible:	"ilitek,ili9225-2.2in-176x220"
+- compatible:	"vot,v220hf01a-t", "ilitek,ili9225"
 - rs-gpios:	Register select signal
 - reset-gpios:	Reset pin
 
@@ -16,7 +16,7 @@ Optional properties:
 
 Example:
 	display@0{
-		compatible = "ilitek,ili9225-2.2in-176x220";
+		compatible = "vot,v220hf01a-t", "ilitek,ili9225";
 		reg = <0>;
 		spi-max-frequency = <12000000>;
 		rs-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
-- 
2.7.4

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

* [PATCH 3/3] drm/tinydrm: Update ILI9225 compatible string
  2017-12-21 18:33 [PATCH 0/3] update compatible string for ILI9225 David Lechner
  2017-12-21 18:33 ` [PATCH 1/3] dt-bindings: Add "vot" vendor prefix David Lechner
  2017-12-21 18:33 ` [PATCH 2/3] dt-bindings: update compatible string for ILI9225 David Lechner
@ 2017-12-21 18:33 ` David Lechner
  2018-01-03 13:01 ` [PATCH 0/3] update compatible string for ILI9225 Noralf Trønnes
  3 siblings, 0 replies; 7+ messages in thread
From: David Lechner @ 2017-12-21 18:33 UTC (permalink / raw)
  To: dri-devel, devicetree
  Cc: David Lechner, Noralf Trønnes, limor, Linus Walleij,
	Rob Herring, Mark Rutland, linux-kernel

This updates the compatible string for a no-name LCD panel to
"vot,v220hf01a-t", "ilitek,ili9225".

The original bindings were the generic "ilitek,ili9225-2.2in-176x220"
because I could not find a datasheet. However, after some more research,
I finally found one, so the actual vendor and model name are now known.

This previous bindings have not made it to the mainline kernel yet, so
this is not breaking backwards compatibility.

Signed-off-by: David Lechner <david@lechnology.com>
---
 drivers/gpu/drm/tinydrm/ili9225.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/tinydrm/ili9225.c b/drivers/gpu/drm/tinydrm/ili9225.c
index e8f1b3a..c0cf498 100644
--- a/drivers/gpu/drm/tinydrm/ili9225.c
+++ b/drivers/gpu/drm/tinydrm/ili9225.c
@@ -391,13 +391,13 @@ static struct drm_driver ili9225_driver = {
 };
 
 static const struct of_device_id ili9225_of_match[] = {
-	{ .compatible = "ilitek,ili9225-2.2in-176x220" },
+	{ .compatible = "vot,v220hf01a-t" },
 	{},
 };
 MODULE_DEVICE_TABLE(of, ili9225_of_match);
 
 static const struct spi_device_id ili9225_id[] = {
-	{ "ili9225-2.2in-176x220", 0 },
+	{ "v220hf01a-t", 0 },
 	{ },
 };
 MODULE_DEVICE_TABLE(spi, ili9225_id);
-- 
2.7.4

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

* Re: [PATCH 1/3] dt-bindings: Add "vot" vendor prefix
  2017-12-21 18:33 ` [PATCH 1/3] dt-bindings: Add "vot" vendor prefix David Lechner
@ 2017-12-26 21:49   ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2017-12-26 21:49 UTC (permalink / raw)
  To: David Lechner
  Cc: dri-devel, devicetree, Noralf Trønnes, limor, Linus Walleij,
	Mark Rutland, linux-kernel

On Thu, Dec 21, 2017 at 12:33:05PM -0600, David Lechner wrote:
> This adds a vendor prefix "vot" for Vision Optical Technology Co., Ltd.
> They make LCD displays.
> 
> Signed-off-by: David Lechner <david@lechnology.com>
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 2/3] dt-bindings: update compatible string for ILI9225
  2017-12-21 18:33 ` [PATCH 2/3] dt-bindings: update compatible string for ILI9225 David Lechner
@ 2017-12-26 21:50   ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2017-12-26 21:50 UTC (permalink / raw)
  To: David Lechner
  Cc: dri-devel, devicetree, Noralf Trønnes, limor, Linus Walleij,
	Mark Rutland, linux-kernel

On Thu, Dec 21, 2017 at 12:33:06PM -0600, David Lechner wrote:
> This updates the compatible string for a no-name LCD panel to
> "vot,v220hf01a-t", "ilitek,ili9225".
> 
> The original bindings [1] were the generic "ilitek,ili9225-2.2in-176x220"
> because I could not find a datasheet. However, after some more research,
> I finally found one, so the actual vendor and model name are now known.
> 
> This previous bindings have not made it to the mainline kernel yet, so
> this is not breaking backwards compatibility.
> 
> This is also following the precedence of the ILI9322 bindings [2] by using
> the pattern "vendor,specific-system-config", "vendor,ip-part";
> 
> [1]: https://patchwork.ozlabs.org/patch/839352/
> [2]: https://patchwork.ozlabs.org/patch/843576/
> 
> Signed-off-by: David Lechner <david@lechnology.com>
> ---
>  Documentation/devicetree/bindings/display/ilitek,ili9225.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 0/3] update compatible string for ILI9225
  2017-12-21 18:33 [PATCH 0/3] update compatible string for ILI9225 David Lechner
                   ` (2 preceding siblings ...)
  2017-12-21 18:33 ` [PATCH 3/3] drm/tinydrm: Update ILI9225 compatible string David Lechner
@ 2018-01-03 13:01 ` Noralf Trønnes
  3 siblings, 0 replies; 7+ messages in thread
From: Noralf Trønnes @ 2018-01-03 13:01 UTC (permalink / raw)
  To: David Lechner, dri-devel, devicetree
  Cc: limor, Linus Walleij, Rob Herring, Mark Rutland, linux-kernel


Den 21.12.2017 19.33, skrev David Lechner:
> This updates the device tree compatible string for an ILI9225 display.
> Detailed explanation is in the patches.
>
> David Lechner (3):
>    dt-bindings: Add "vot" vendor prefix
>    dt-bindings: update compatible string for ILI9225
>    drm/tinydrm: Update ILI9225 compatible string

Series applied to drm-misc.

Noralf.

>   Documentation/devicetree/bindings/display/ilitek,ili9225.txt | 4 ++--
>   Documentation/devicetree/bindings/vendor-prefixes.txt        | 1 +
>   drivers/gpu/drm/tinydrm/ili9225.c                            | 4 ++--
>   3 files changed, 5 insertions(+), 4 deletions(-)
>

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

end of thread, other threads:[~2018-01-03 13:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-21 18:33 [PATCH 0/3] update compatible string for ILI9225 David Lechner
2017-12-21 18:33 ` [PATCH 1/3] dt-bindings: Add "vot" vendor prefix David Lechner
2017-12-26 21:49   ` Rob Herring
2017-12-21 18:33 ` [PATCH 2/3] dt-bindings: update compatible string for ILI9225 David Lechner
2017-12-26 21:50   ` Rob Herring
2017-12-21 18:33 ` [PATCH 3/3] drm/tinydrm: Update ILI9225 compatible string David Lechner
2018-01-03 13:01 ` [PATCH 0/3] update compatible string for ILI9225 Noralf Trønnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®