From: Rob Herring <robh@kernel.org>
To: Langyan Ye <yelangyan@huaqin.corp-partner.google.com>
Cc: neil.armstrong@linaro.org, jessica.zhang@oss.qualcomm.com,
airlied@gmail.com, simona@ffwll.ch,
maarten.lankhorst@linux.intel.com, mripard@kernel.org,
tzimmermann@suse.de, krzk+dt@kernel.org, conor+dt@kernel.org,
dianders@chromium.org, dri-devel@lists.freedesktop.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 1/2] dt-bindings: display: panel: Add Tianma TL121BVMS07-00 panel
Date: Mon, 6 Oct 2025 20:16:49 -0500 [thread overview]
Message-ID: <20251007011649.GA706748-robh@kernel.org> (raw)
In-Reply-To: <20250930075044.1368134-2-yelangyan@huaqin.corp-partner.google.com>
On Tue, Sep 30, 2025 at 03:50:43PM +0800, Langyan Ye wrote:
> Add device tree bindings for the Tianma TL121BVMS07-00 12.1"
> MIPI-DSI TFT LCD panel.
>
> Signed-off-by: Langyan Ye <yelangyan@huaqin.corp-partner.google.com>
> ---
> .../display/panel/tianma,tl121bvms07-00.yaml | 85 +++++++++++++++++++
> 1 file changed, 85 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/panel/tianma,tl121bvms07-00.yaml
>
> diff --git a/Documentation/devicetree/bindings/display/panel/tianma,tl121bvms07-00.yaml b/Documentation/devicetree/bindings/display/panel/tianma,tl121bvms07-00.yaml
> new file mode 100644
> index 000000000000..e654b86782e6
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/panel/tianma,tl121bvms07-00.yaml
> @@ -0,0 +1,85 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/panel/tianma,tl121bvms07-00.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Tianma TL121BVMS07-00 12.1" MIPI-DSI TFT LCD Panel
> +
> +maintainers:
> + - Langyan Ye <yelangyan@huaqin.corp-partner.google.com>
> +
> +description: |
Don't need '|' if no formatting to preserve.
> + The Tianma TL121BVMS07-00 is a 12.1-inch MIPI-DSI TFT LCD panel.
> + It requires multiple regulators (AVDD, AVEE, and 1.8V logic)
> + and an enable GPIO. Optional properties such as backlight and
> + rotation are inherited from panel-common.yaml.
Wrap lines at 80 char. The last sentence can be dropped as it says what
the schema do.
> +
> +allOf:
> + - $ref: panel-common.yaml#
> +
> +properties:
> + compatible:
> + const: tianma,tl121bvms07-00
> +
> + reg:
> + description: DSI virtual channel number
> + minimum: 0
> + maximum: 3
Just 'reg: true'. dsi-controller.yaml already has these constraints.
> +
> + enable-gpios:
> + maxItems: 1
> + description: GPIO specifier for the enable pin
> +
> + avdd-supply:
> + description: phandle of the regulator that provides positive voltage
> +
> + avee-supply:
> + description: phandle of the regulator that provides negative voltage
> +
> + pp1800-supply:
> + description: core voltage supply
> +
> + backlight:
> + $ref: /schemas/types.yaml#/definitions/phandle
Already has a type in panel-common.yaml. Drop.
> + description: Phandle to the backlight device.
> +
> + port:
> + $ref: /schemas/graph.yaml#/properties/port
> + description: Input port of the panel, connected to the DSI host.
Already in panel-common.yaml.
Either just 'true' for both of these or drop and use
'unevaluatedProperties' instead of 'additionalProperties'.
> +
> +required:
> + - compatible
> + - reg
> + - enable-gpios
> + - avdd-supply
> + - avee-supply
> + - pp1800-supply
> + - port
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + dsi0 {
dsi {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + mipi_panel: panel@0 {
drop unused labels.
> + compatible = "tianma,tl121bvms07-00";
> + reg = <0>;
> + enable-gpios = <&pio 25 0>;
> + avdd-supply = <&en_pp5800_mipi_disp>;
> + avee-supply = <&en_pp5800_mipi_disp>;
> + pp1800-supply = <&mt6359_vcn18_ldo_reg>;
> + backlight = <&backlight>;
> +
> + port {
> + panel_in: endpoint {
> + remote-endpoint = <&dsi_out>;
> + };
> + };
> + };
> + };
> +
> +...
> --
> 2.34.1
>
next prev parent reply other threads:[~2025-10-07 1:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-30 7:50 [PATCH v1 0/2] Add support for Tianma TL121BVMS07-00 panel Langyan Ye
2025-09-30 7:50 ` [PATCH v1 1/2] dt-bindings: display: panel: Add " Langyan Ye
2025-10-07 1:16 ` Rob Herring [this message]
2025-09-30 7:50 ` [PATCH v1 2/2] drm/panel: Add driver for " Langyan Ye
2025-10-05 23:21 ` Dmitry Baryshkov
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=20251007011649.GA706748-robh@kernel.org \
--to=robh@kernel.org \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jessica.zhang@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
--cc=yelangyan@huaqin.corp-partner.google.com \
/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.