devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 0/3] drm/panel: Add Samsung AMS495QA01 Panel
@ 2022-11-29 17:29 Chris Morgan
  2022-11-29 17:29 ` [PATCH V4 1/3] dt-bindings: display: panel: Add Samsung AMS495QA01 Chris Morgan
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Chris Morgan @ 2022-11-29 17:29 UTC (permalink / raw)
  To: linux-rockchip
  Cc: devicetree, dri-devel, maccraft123mc, heiko,
	krzysztof.kozlowski+dt, robh+dt, daniel, airlied, sam,
	thierry.reding, linus.walleij, Chris Morgan

From: Chris Morgan <macromorgan@hotmail.com>

Add the Samsung AMS495QA01 panel as found on the Anbernic RG503. This
panel uses DSI to receive video signals, but 3-wire SPI to receive
command signals.

Changes since V3:
 - Updated documentation to add spi-peripheral-props.yaml per updates
   made for similar devices. Note that I removed a "Reviewed-by" tag
   from Rob Herring since this change probably needs to be confirmed.
 - Added binding for RG503, since this device is now accepted with this
   request: https://lore.kernel.org/linux-rockchip/166274831283.21181.6861718157177507544.b4-ty@sntech.de/

Changes since V2:
 - Added 50hz mode at request of userspace devs.
 - Renamed "dupa" to panel name. Good catch Maya.
 - Added Maya's Signed-off-by.
 - Removed check for max backlight, since it is already done by
   backlight_device_set_brightness.
 - Fixed minor formatting issues on devicetree binding documentation
   and added port to provided example.

Changes since V1:
 - Removed errant reference to backlight in documentation. This is an
   OLED panel.
 - Made elvss regulator optional. In my case its hard wired and not
   controllable.
 - Added "prepared" enum to track panel status to prevent unbalanced
   regulator enable/disable.

Chris Morgan (3):
  dt-bindings: display: panel: Add Samsung AMS495QA01
  drm/panel: Add Samsung AMS495QA01 MIPI-DSI LCD panel
  arm64: dts: rockchip: add display to RG503

 .../display/panel/samsung,ams495qa01.yaml     |  57 ++
 .../dts/rockchip/rk3566-anbernic-rg503.dts    |  61 ++
 drivers/gpu/drm/panel/Kconfig                 |  10 +
 drivers/gpu/drm/panel/Makefile                |   1 +
 .../gpu/drm/panel/panel-samsung-ams495qa01.c  | 547 ++++++++++++++++++
 5 files changed, 676 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,ams495qa01.yaml
 create mode 100644 drivers/gpu/drm/panel/panel-samsung-ams495qa01.c

-- 
2.25.1


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

end of thread, other threads:[~2022-12-06 14:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-29 17:29 [PATCH V4 0/3] drm/panel: Add Samsung AMS495QA01 Panel Chris Morgan
2022-11-29 17:29 ` [PATCH V4 1/3] dt-bindings: display: panel: Add Samsung AMS495QA01 Chris Morgan
2022-12-01 23:34   ` Rob Herring
2022-12-02 23:27   ` Linus Walleij
2022-11-29 17:29 ` [PATCH V4 2/3] drm/panel: Add Samsung AMS495QA01 MIPI-DSI LCD panel Chris Morgan
2022-12-03  9:03   ` Linus Walleij
2022-12-03 10:18     ` Heiko Stübner
2022-12-06 13:58       ` Linus Walleij
2022-12-03 19:01     ` Chris Morgan
2022-12-06 14:24       ` Linus Walleij
2022-11-29 17:29 ` [PATCH V4 3/3] arm64: dts: rockchip: add display to RG503 Chris Morgan

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