All of lore.kernel.org
 help / color / mirror / Atom feed
From: Archit More <architmore303@gmail.com>
To: Neil Armstrong <neil.armstrong@linaro.org>,
	Douglas Anderson <dianders@chromium.org>
Cc: Akash Sukhavasi <akash.sukhavasi@gmail.com>,
	Chris Morgan <macromorgan@hotmail.com>,
	Jessica Zhang <jesszhan0024@gmail.com>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	Archit More <architmore303@gmail.com>
Subject: [PATCH 2/3] drm/panel: kingdisplay-kd097d04: Use lowercase hex literals
Date: Thu, 19 Nov 2026 21:53:52 +0530	[thread overview]
Message-ID: <20261119162353.12962-3-architmore303@gmail.com> (raw)
In-Reply-To: <20261119162353.12962-1-architmore303@gmail.com>

Convert hexadecimal literals in the KD097D04 initialization sequence
to lowercase.

Suggested-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Archit More <architmore303@gmail.com>
---
 .../drm/panel/panel-kingdisplay-kd097d04.c    | 242 +++++++++---------
 1 file changed, 121 insertions(+), 121 deletions(-)

diff --git a/drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c b/drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c
index 6a3ecdcc1795..c801e94bc4d0 100644
--- a/drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c
+++ b/drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c
@@ -38,137 +38,137 @@ struct kingdisplay_panel_cmd {
  */
 static const struct kingdisplay_panel_cmd init_code[] = {
 	/* voltage setting */
-	{ 0xB0, 0x00 },
-	{ 0xB2, 0x02 },
-	{ 0xB3, 0x11 },
-	{ 0xB4, 0x00 },
-	{ 0xB6, 0x80 },
+	{ 0xb0, 0x00 },
+	{ 0xb2, 0x02 },
+	{ 0xb3, 0x11 },
+	{ 0xb4, 0x00 },
+	{ 0xb6, 0x80 },
 	/* VCOM disable */
-	{ 0xB7, 0x02 },
-	{ 0xB8, 0x80 },
-	{ 0xBA, 0x43 },
+	{ 0xb7, 0x02 },
+	{ 0xb8, 0x80 },
+	{ 0xba, 0x43 },
 	/* VCOM setting */
-	{ 0xBB, 0x53 },
+	{ 0xbb, 0x53 },
 	/* VSP setting */
-	{ 0xBC, 0x0A },
+	{ 0xbc, 0x0a },
 	/* VSN setting */
-	{ 0xBD, 0x4A },
+	{ 0xbd, 0x4a },
 	/* VGH setting */
-	{ 0xBE, 0x2F },
+	{ 0xbe, 0x2f },
 	/* VGL setting */
-	{ 0xBF, 0x1A },
-	{ 0xF0, 0x39 },
-	{ 0xF1, 0x22 },
+	{ 0xbf, 0x1a },
+	{ 0xf0, 0x39 },
+	{ 0xf1, 0x22 },
 	/* Gamma setting */
-	{ 0xB0, 0x02 },
-	{ 0xC0, 0x00 },
-	{ 0xC1, 0x01 },
-	{ 0xC2, 0x0B },
-	{ 0xC3, 0x15 },
-	{ 0xC4, 0x22 },
-	{ 0xC5, 0x11 },
-	{ 0xC6, 0x15 },
-	{ 0xC7, 0x19 },
-	{ 0xC8, 0x1A },
-	{ 0xC9, 0x16 },
-	{ 0xCA, 0x18 },
-	{ 0xCB, 0x13 },
-	{ 0xCC, 0x18 },
-	{ 0xCD, 0x13 },
-	{ 0xCE, 0x1C },
-	{ 0xCF, 0x19 },
-	{ 0xD0, 0x21 },
-	{ 0xD1, 0x2C },
-	{ 0xD2, 0x2F },
-	{ 0xD3, 0x30 },
-	{ 0xD4, 0x19 },
-	{ 0xD5, 0x1F },
-	{ 0xD6, 0x00 },
-	{ 0xD7, 0x01 },
-	{ 0xD8, 0x0B },
-	{ 0xD9, 0x15 },
-	{ 0xDA, 0x22 },
-	{ 0xDB, 0x11 },
-	{ 0xDC, 0x15 },
-	{ 0xDD, 0x19 },
-	{ 0xDE, 0x1A },
-	{ 0xDF, 0x16 },
-	{ 0xE0, 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line
-- 
2.34.1


  parent reply	other threads:[~2026-11-19 16:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19 16:23 [PATCH 0/3] drm/panel: Use lowercase hex literals in three panel drivers Archit More
2026-11-19 16:23 ` [PATCH 1/3] drm/panel: newvision-nv3051d: Use lowercase hex literals Archit More
2026-11-19 16:23 ` Archit More [this message]
2026-11-19 16:23 ` [PATCH 3/3] drm/panel: leadtek-ltk500hd1829: " Archit More
2026-11-19 22:00 ` [PATCH 0/3] drm/panel: Use lowercase hex literals in three panel drivers Doug Anderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261119162353.12962-3-architmore303@gmail.com \
    --to=architmore303@gmail.com \
    --cc=airlied@gmail.com \
    --cc=akash.sukhavasi@gmail.com \
    --cc=dianders@chromium.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jesszhan0024@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=macromorgan@hotmail.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.