[PATCH v2 2/2] drm/tiny: add display driver for philips pcd8544 display controller

2023-07-19 Thread Viktar Simanenka
Support for common monochrome LCD displays based on PCD8544 (such as Nokia 5110/3310 LCD) SPI controlled displays. Signed-off-by: Viktar Simanenka V2: checked and fixed with sparse and smatch changed param prefixes v1 link: https://lore.kernel.org/linux-devicetree/20230718080727.323426-1

[PATCH v2 1/2] dt-bindings: add bindings for pcd8544 displays

2023-07-19 Thread Viktar Simanenka
Signed-off-by: Viktar Simanenka V2: deleted oneOf property from compatible changed prefix from 'philips' to existing vendor prefix 'nxp' placed `reg = <0>` right after `compatible` About parameters exposed for controller: inverted - I had an unbranded display that

[PATCH v3 1/2] dt-bindings: display: add bindings for pcd8544 displays

2023-07-20 Thread Viktar Simanenka
Add device tree binding documentation for PCD8544 LCD display controller. Signed-off-by: Viktar Simanenka --- v3:add a little more description to the exposed vendor properties add commit message finally v2 link: https://lore.kernel.org/linux-devicetree/20230719154450.620410-1-viteo

[PATCH v3 2/2] drm/tiny: add display driver for philips pcd8544 display controller

2023-07-20 Thread Viktar Simanenka
Add support for monochrome LCD SPI displays (such as Nokia 5110/3310 LCD) based on PCD8544 LCD display controller. Signed-off-by: Viktar Simanenka --- v3:nothing changed from v2 v2:checked and fixed with sparse and smatch changed param prefixes v2 link: https://lore.kernel.org/linux

Re: [PATCH v3 1/2] dt-bindings: display: add bindings for pcd8544 displays

2023-07-21 Thread Viktar Simanenka
On Fri, Jul 21, 2023 at 11:42 AM Krzysztof Kozlowski wrote: > > On 20/07/2023 14:40, Viktar Simanenka wrote: > > +allOf: > > + - $ref: panel/panel-common.yaml# > > This is not a panel, is it? I can't clearly tell the difference between LCD display and panel. I

[PATCH v4 1/2] dt-bindings: display: add bindings for pcd8544 displays

2023-07-24 Thread Viktar Simanenka
Add device tree binding documentation for PCD8544 LCD display controller. Signed-off-by: Viktar Simanenka --- v4:remove reference to panel/panel-common.yaml add optional backlight property v3 link: https://lore.kernel.org/linux-devicetree/20230720124026.356603-1-viteo...@gmail.com

[PATCH v4 2/2] drm/tiny: add display driver for philips pcd8544 display controller

2023-07-24 Thread Viktar Simanenka
Add support for monochrome LCD SPI displays (such as Nokia 5110/3310 LCD) based on PCD8544 LCD display controller. Signed-off-by: Viktar Simanenka --- v4: nothing changed from v2 (and v3) v2:checked and fixed with sparse and smatch changed param prefixes v2 link: https://lore.kernel.org

[PATCH v4 1/2 RESEND] dt-bindings: display: add bindings for pcd8544 displays

2023-08-07 Thread Viktar Simanenka
Add device tree binding documentation for PCD8544 LCD display controller. Signed-off-by: Viktar Simanenka Reviewed-by: Krzysztof Kozlowski --- v4:remove reference to panel/panel-common.yaml add optional backlight property v3 link: https://lore.kernel.org/linux-devicetree/20230720124026.356603

[PATCH v4 2/2 RESEND] drm/tiny: add display driver for philips pcd8544 display controller

2023-08-07 Thread Viktar Simanenka
Add support for monochrome LCD SPI displays (such as Nokia 5110/3310 LCD) based on PCD8544 LCD display controller. Signed-off-by: Viktar Simanenka --- v4:nothing changed from v2 (and v3) v2:checked and fixed with sparse and smatch changed param prefixes v2 link: https://lore.kernel.org/linux

[PATCH] TinyDRM display driver for Philips PCD8544 display controller

2023-07-18 Thread Viktar Simanenka
Support for common monochrome LCD displays based on PCD8544 (such as Nokia 5110/3310 LCD) SPI controlled displays. Signed-off-by: Viktar Simanenka --- .../bindings/display/philips,pcd8544.yaml | 92 drivers/gpu/drm/tiny/Kconfig | 11 + drivers/gpu/drm/tiny/pcd8544.c

[PATCH 1/2] dt-bindings: add vendor-prefixes and bindings for pcd8544 displays

2023-07-19 Thread Viktar Simanenka
philips,pcd8544.yaml @@ -0,0 +1,89 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/philips,pcd8544.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Philips PCD8544 LCD Display Controller + +maintainers:

[PATCH 2/2] drm/tiny: add display driver for philips pcd8544 display controller

2023-07-19 Thread Viktar Simanenka
. > Drop. And run coccinelle, smatch and sparse. Run through and fixed warnings with smatch and sparse. Signed-off-by: Viktar Simanenka --- drivers/gpu/drm/tiny/Kconfig | 11 + drivers/gpu/drm/tiny/Makefile | 1 + drivers/gpu/drm/tiny/pcd8544.c | 506 + 3

[PATCH 1/2] dt-bindings: add vendor-prefixes and bindings for pcd8544 displays

2023-07-19 Thread Viktar Simanenka
Signed-off-by: Viktar Simanenka --- .../bindings/display/philips,pcd8544.yaml | 89 +++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + 2 files changed, 91 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/philips,pcd8544.yaml diff --git a

[PATCH 2/2] drm/tiny: add display driver for philips pcd8544 display controller

2023-07-19 Thread Viktar Simanenka
Support for common monochrome LCD displays based on PCD8544 (such as Nokia 5110/3310 LCD) SPI controlled displays. Signed-off-by: Viktar Simanenka --- drivers/gpu/drm/tiny/Kconfig | 11 + drivers/gpu/drm/tiny/Makefile | 1 + drivers/gpu/drm/tiny/pcd8544.c | 506