From: Rob Herring <robh@kernel.org>
To: Thierry Bultel <thierry.bultel.yh@bp.renesas.com>
Cc: thierry.bultel@linatsea.fr, linux-renesas-soc@vger.kernel.org,
geert@linux-m68k.org, paul.barker.ct@bp.renesas.com,
Geert Uytterhoeven <geert+renesas@glider.be>,
linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH v3 03/13] dt-bindings: serial: Add compatible for Renesas RZ/T2H SoC in sci
Date: Mon, 3 Mar 2025 07:35:40 -0600 [thread overview]
Message-ID: <20250303133540.GA1681980-robh@kernel.org> (raw)
In-Reply-To: <20250226130935.3029927-4-thierry.bultel.yh@bp.renesas.com>
On Wed, Feb 26, 2025 at 02:09:22PM +0100, Thierry Bultel wrote:
> Document RZ/T2H (a.k.a r9a09g077) in SCI binding.
>
> Signed-off-by: Thierry Bultel <thierry.bultel.yh@bp.renesas.com>
> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
> ---
> .../bindings/serial/renesas,sci.yaml | 64 ++++++++++++-------
> 1 file changed, 40 insertions(+), 24 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/serial/renesas,sci.yaml b/Documentation/devicetree/bindings/serial/renesas,sci.yaml
> index 64d3db6e54e5..2c4080283963 100644
> --- a/Documentation/devicetree/bindings/serial/renesas,sci.yaml
> +++ b/Documentation/devicetree/bindings/serial/renesas,sci.yaml
> @@ -9,9 +9,6 @@ title: Renesas Serial Communication Interface
> maintainers:
> - Geert Uytterhoeven <geert+renesas@glider.be>
>
> -allOf:
> - - $ref: serial.yaml#
> -
> properties:
> compatible:
> oneOf:
> @@ -22,6 +19,8 @@ properties:
> - renesas,r9a07g054-sci # RZ/V2L
> - const: renesas,sci # generic SCI compatible UART
>
> + - const: renesas,r9a09g077-sci # RZ/T2H
> +
Perhaps explain in the commit msg why the 'renesas,sci' is not
applicable for this chip.
> - items:
> - const: renesas,sci # generic SCI compatible UART
>
> @@ -54,8 +53,6 @@ properties:
> - fck # UART functional clock
> - sck # optional external clock input
>
> - uart-has-rtscts: false
> -
> required:
> - compatible
> - reg
> @@ -63,25 +60,44 @@ required:
> - clocks
> - clock-names
>
> -if:
> - properties:
> - compatible:
> - contains:
> - enum:
> - - renesas,r9a07g043-sci
> - - renesas,r9a07g044-sci
> - - renesas,r9a07g054-sci
> -then:
> - properties:
> - resets:
> - maxItems: 1
> -
> - power-domains:
> - maxItems: 1
> -
> - required:
> - - resets
> - - power-domains
> +allOf:
> + - $ref: serial.yaml#
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: renesas,r9a09g077-sci
> + then:
> + properties:
> + uart-has-rtscts: true
Drop. It is already allowed.
> + power-domains:
> + maxItems: 1
> + required:
> + - power-domains
> +
> + else:
> + properties:
> + uart-has-rtscts: false
> +
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - renesas,r9a07g043-sci
> + - renesas,r9a07g044-sci
> + - renesas,r9a07g054-sci
> + then:
> + properties:
> + resets:
> + maxItems: 1
> +
> + power-domains:
> + maxItems: 1
> +
> + required:
> + - resets
> + - power-domains
>
> unevaluatedProperties: false
>
> --
> 2.43.0
>
next prev parent reply other threads:[~2025-03-03 13:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20250226130935.3029927-1-thierry.bultel.yh@bp.renesas.com>
2025-02-26 13:09 ` [PATCH v3 03/13] dt-bindings: serial: Add compatible for Renesas RZ/T2H SoC in sci Thierry Bultel
2025-03-03 13:35 ` Rob Herring [this message]
2025-03-03 15:10 ` Thierry Bultel
2025-03-03 15:42 ` Geert Uytterhoeven
2025-02-26 13:09 ` [PATCH v3 07/13] serial: sh-sci: Fix a comment about SCIFA Thierry Bultel
2025-02-26 13:09 ` [PATCH v3 08/13] serial: sh-sci: Introduced function pointers Thierry Bultel
2025-02-27 14:15 ` kernel test robot
2025-02-26 13:09 ` [PATCH v3 09/13] serial: sh-sci: Introduced sci_of_data Thierry Bultel
2025-02-27 13:23 ` kernel test robot
2025-03-06 10:17 ` Geert Uytterhoeven
2025-02-26 13:09 ` [PATCH v3 10/13] serial: sh-sci: Add support for RZ/T2H SCI Thierry Bultel
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=20250303133540.GA1681980-robh@kernel.org \
--to=robh@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=paul.barker.ct@bp.renesas.com \
--cc=thierry.bultel.yh@bp.renesas.com \
--cc=thierry.bultel@linatsea.fr \
/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