From: Chris Morgan <macroalpha82@gmail.com>
To: dri-devel@lists.freedesktop.org
Cc: jernej.skrabec@gmail.com, narmstrong@baylibre.com,
airlied@linux.ie, jonas@kwiboo.se,
Chris Morgan <macromorgan@hotmail.com>,
robert.foss@linaro.org, lkundrak@v3.sk, robh+dt@kernel.org,
Laurent.pinchart@ideasonboard.com, andrzej.hajda@intel.com
Subject: [PATCH 1/2] dt-bindings: Add byteswap order to chrontel ch7033
Date: Wed, 30 Mar 2022 14:39:40 -0500 [thread overview]
Message-ID: <20220330193941.3720-2-macroalpha82@gmail.com> (raw)
In-Reply-To: <20220330193941.3720-1-macroalpha82@gmail.com>
From: Chris Morgan <macromorgan@hotmail.com>
Update dt-binding documentation to add support for setting byteswap of
chrontel ch7033.
New property name of chrontel,byteswap added to set the byteswap order.
This property is optional.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
.../bindings/display/bridge/chrontel,ch7033.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/bridge/chrontel,ch7033.yaml b/Documentation/devicetree/bindings/display/bridge/chrontel,ch7033.yaml
index bb6289c7d375..ecd3062c5215 100644
--- a/Documentation/devicetree/bindings/display/bridge/chrontel,ch7033.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/chrontel,ch7033.yaml
@@ -14,6 +14,14 @@ properties:
compatible:
const: chrontel,ch7033
+ chrontel,byteswap:
+ $ref: /schemas/types.yaml#/definitions/uint8
+ enum: [0, 1, 2, 3, 4, 5]
+ description: |
+ Set the byteswap value of the bridge. Values 0-5 correspond to
+ BYTE_SWAP_RGB, BYTE_SWAP_RBG, BYTE_SWAP_GRB, BYTE_SWAP_GBR,
+ BYTE_SWAP_BRG, and BYTE_SWAP_BGR respectively.
+
reg:
maxItems: 1
description: I2C address of the device
--
2.25.1
next prev parent reply other threads:[~2022-03-30 19:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-30 19:39 [PATCH 0/2] chrontel-ch7033: Add byteswap order option Chris Morgan
2022-03-30 19:39 ` Chris Morgan [this message]
2022-08-29 16:19 ` [PATCH 1/2] dt-bindings: Add byteswap order to chrontel ch7033 Robert Foss
2022-03-30 19:39 ` [PATCH 2/2] drm/bridge: chrontel-ch7033: Add option for setting byteswap order Chris Morgan
2022-08-29 16:19 ` Robert Foss
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=20220330193941.3720-2-macroalpha82@gmail.com \
--to=macroalpha82@gmail.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@linux.ie \
--cc=andrzej.hajda@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=lkundrak@v3.sk \
--cc=macromorgan@hotmail.com \
--cc=narmstrong@baylibre.com \
--cc=robert.foss@linaro.org \
--cc=robh+dt@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox