drm/panel: Add support for LG.Philips SW43101 DSI video mode panel
From: | Yassine Oudjana <y.oudjana-AT-protonmail.com> | |
To: | Thierry Reding <thierry.reding-AT-gmail.com>, Sam Ravnborg <sam-AT-ravnborg.org>, David Airlie <airlied-AT-linux.ie>, Daniel Vetter <daniel-AT-ffwll.ch>, Rob Herring <robh+dt-AT-kernel.org> | |
Subject: | [PATCH v3 0/2] drm/panel: Add support for LG.Philips SW43101 DSI video mode panel | |
Date: | Sun, 21 Nov 2021 03:49:19 +0000 | |
Message-ID: | <20211121034748.158296-1-y.oudjana@protonmail.com> | |
Cc: | Yassine Oudjana <y.oudjana-AT-protonmail.com>, dri-devel-AT-lists.freedesktop.org, devicetree-AT-vger.kernel.org, phone-devel-AT-vger.kernel.org, ~postmarketos/upstreaming-AT-lists.sr.ht, linux-kernel-AT-vger.kernel.org | |
Archive-link: | Article |
This adds a driver for the LG.Philips SW43101 FHD (1080x1920) 58Hz OLED DSI video mode panel, found on the Xiaomi Mi Note 2. Changes since v2: - Make the DT schema patch first in the series. - Use backlight_get_brightness where needed. - Remove 0xff mask from return value in sw43101_bl_get_brightness. - Constify struct backlight_properties props in sw43101_create_backlight. Changes since v1: - Add regulator support. - Add MAINTAINERS entry. - Dual-license DT binding. Yassine Oudjana (2): dt-bindings: display: Add DT schema for LG.Philips SW43101 drm/panel: Add driver for LG.Philips SW43101 DSI video mode panel .../display/panel/lgphilips,sw43101.yaml | 75 ++++ MAINTAINERS | 6 + drivers/gpu/drm/panel/Kconfig | 10 + drivers/gpu/drm/panel/Makefile | 1 + .../gpu/drm/panel/panel-lgphilips-sw43101.c | 358 ++++++++++++++++++ 5 files changed, 450 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/lgphilips,sw43101.yaml create mode 100644 drivers/gpu/drm/panel/panel-lgphilips-sw43101.c -- 2.33.1