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(-)
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
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
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>;
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";
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
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);
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(-)
dri-devel@lists.freedesktop.org