From patchwork Wed Jun 26 14:40:37 2024
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Patchwork-Submitter: Philipp Zabel
X-Patchwork-Id: 13713100
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.lore.kernel.org (Postfix) with ESMTPS id 8D8C4C27C4F
for ; Wed, 26 Jun 2024 14:40:52 +0000 (UTC)
Received: from gabe.freedesktop.org (localhost [127.0.0.1])
by gabe.freedesktop.org (Postfix) with ESMTP id C721310E7A9;
Wed, 26 Jun 2024 14:40:51 +0000 (UTC)
Received: from metis.whiteo.stw.pengutronix.de
(metis.whiteo.stw.pengutronix.de [185.203.201.7])
by gabe.freedesktop.org (Postfix) with ESMTPS id E48BB10E2CB
for ; Wed, 26 Jun 2024 14:40:41 +0000 (UTC)
Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54])
by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92)
(envelope-from )
id 1sMTp9-0007iB-Bv; Wed, 26 Jun 2024 16:40:39 +0200
From: Philipp Zabel
Subject: =?utf-8?q?=5BPATCH_0/2=5D_drm/panel=3A_ilitek-ili9881c=3A_Support_i?=
=?utf-8?q?n-panel_180=C2=B0_rotation?=
Date: Wed, 26 Jun 2024 16:40:37 +0200
Message-Id:
<20240626-drm-panel-ili9881c-rotation-v1-0-e0ff54173e32@pengutronix.de>
MIME-Version: 1.0
X-B4-Tracking: v=1; b=H4sIAGUofGYC/x3MQQ5AMBBA0avIrE1CKeUqYtG0g0komYpIxN01l
m/x/wORhClCnz0gdHHkPSSUeQZusWEmZJ8MqlB10agGvWx42EAr8sqdMaVD2U97pg517XVljdG
+dZAOh9DE938fxvf9AIQuxcBtAAAA
To: Neil Armstrong ,
Jessica Zhang , Sam Ravnborg ,
Maarten Lankhorst ,
Maxime Ripard , Thomas Zimmermann ,
David Airlie , Daniel Vetter
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
kernel@pengutronix.de, Philipp Zabel
X-Mailer: b4 0.14-dev
X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::54
X-SA-Exim-Mail-From: p.zabel@pengutronix.de
X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de);
SAEximRunCond expanded to false
X-PTX-Original-Recipient: dri-devel@lists.freedesktop.org
X-BeenThere: dri-devel@lists.freedesktop.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Direct Rendering Infrastructure - Development
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
The Ilitek IL9881C controller can rotate the image by 180°. This
might be desirable on devices with their display mounted upside down,
that don't have rotation capability in the SoC display controller.
Signed-off-by: Philipp Zabel
---
Philipp Zabel (2):
drm/panel: ilitek-ili9881c: Explicitly set address mode, allow 180° rotation
drm/panel: ilitek-ili9881c: Report subpixel order according to rotation
drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 23 +++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
---
base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
change-id: 20240626-drm-panel-ili9881c-rotation-54d53a885d7c
Best regards,