Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: Stefan Agner <stefan@agner.ch>
To: Frank Li <Frank.Li@nxp.com>
Cc: David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Alison Wang <alison.wang@nxp.com>,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, imx@lists.linux.dev
Subject: Re: [PATCH 1/1] dt-bindings: display: imx: convert fsl,tcon.txt to yaml format
Date: Fri, 18 Apr 2025 13:25:57 +0200	[thread overview]
Message-ID: <31079c1f420febe688a84a292786d646@agner.ch> (raw)
In-Reply-To: <20250417151134.3569837-1-Frank.Li@nxp.com>

On 2025-04-17 17:11, Frank Li wrote:
> Convert fsl,tcon.txt to yaml format.
> 
> Signed-off-by: Frank Li <Frank.Li@nxp.com>

Reviewed-by: Stefan Agner <stefan@agner.ch>

> ---
>  .../devicetree/bindings/display/fsl,tcon.txt  | 17 --------
>  .../bindings/display/fsl,vf610-tcon.yaml      | 43 +++++++++++++++++++
>  MAINTAINERS                                   |  2 +-
>  3 files changed, 44 insertions(+), 18 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/display/fsl,tcon.txt
>  create mode 100644 Documentation/devicetree/bindings/display/fsl,vf610-tcon.yaml
> 
> diff --git a/Documentation/devicetree/bindings/display/fsl,tcon.txt b/Documentation/devicetree/bindings/display/fsl,tcon.txt
> deleted file mode 100644
> index 475008747801e..0000000000000
> --- a/Documentation/devicetree/bindings/display/fsl,tcon.txt
> +++ /dev/null
> @@ -1,17 +0,0 @@
> -Device Tree bindings for Freescale TCON Driver
> -
> -Required properties:
> -- compatible:		Should be one of
> -	* "fsl,vf610-tcon".
> -
> -- reg:			Address and length of the register set for tcon.
> -- clocks:		From common clock binding: handle to tcon ipg clock.
> -- clock-names:		From common clock binding: Shall be "ipg".
> -
> -Examples:
> -timing-controller@4003d000 {
> -	compatible = "fsl,vf610-tcon";
> -	reg = <0x4003d000 0x1000>;
> -	clocks = <&clks VF610_CLK_TCON0>;
> -	clock-names = "ipg";
> -};
> diff --git a/Documentation/devicetree/bindings/display/fsl,vf610-tcon.yaml b/Documentation/devicetree/bindings/display/fsl,vf610-tcon.yaml
> new file mode 100644
> index 0000000000000..06bd680524a56
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/fsl,vf610-tcon.yaml
> @@ -0,0 +1,43 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/fsl,vf610-tcon.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Freescale TCON
> +
> +maintainers:
> +  - Frank Li <Frank.Li@nxp.com>
> +
> +properties:
> +  compatible:
> +    const: fsl,vf610-tcon
> +
> +  reg:
> +    maxItems: 1
> +
> +  clocks:
> +    maxItems: 1
> +
> +  clock-names:
> +    items:
> +      - const: ipg
> +
> +required:
> +  - compatible
> +  - reg
> +  - clocks
> +  - clock-names
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    #include <dt-bindings/clock/vf610-clock.h>
> +
> +    timing-controller@4003d000 {
> +        compatible = "fsl,vf610-tcon";
> +        reg = <0x4003d000 0x1000>;
> +        clocks = <&clks VF610_CLK_TCON0>;
> +        clock-names = "ipg";
> +    };
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 65e0716554203..a1e4c9a6038cb 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -7895,7 +7895,7 @@ L:	dri-devel@lists.freedesktop.org
>  S:	Supported
>  T:	git https://gitlab.freedesktop.org/drm/misc/kernel.git
>  F:	Documentation/devicetree/bindings/display/fsl,dcu.txt
> -F:	Documentation/devicetree/bindings/display/fsl,tcon.txt
> +F:	Documentation/devicetree/bindings/display/fsl,vf610-tcon.yaml
>  F:	drivers/gpu/drm/fsl-dcu/
>  
>  DRM DRIVERS FOR FREESCALE IMX 5/6

  reply	other threads:[~2025-04-18 11:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-17 15:11 [PATCH 1/1] dt-bindings: display: imx: convert fsl,tcon.txt to yaml format Frank Li
2025-04-18 11:25 ` Stefan Agner [this message]
2025-04-22 12:57 ` Rob Herring (Arm)

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=31079c1f420febe688a84a292786d646@agner.ch \
    --to=stefan@agner.ch \
    --cc=Frank.Li@nxp.com \
    --cc=airlied@gmail.com \
    --cc=alison.wang@nxp.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=imx@lists.linux.dev \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=robh@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox