public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>,
	"Geert Uytterhoeven" <geert@linux-m68k.org>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Hans Verkuil <hverkuil@xs4all.nl>,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Jacopo Mondi <jacopo.mondi@ideasonboard.com>,
	linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 1/7] dt-bindings: media: renesas,isp: Add ISP core function block
Date: Tue, 18 Mar 2025 08:29:17 +0100	[thread overview]
Message-ID: <200a47e6-3898-428d-88fd-aa4f87db656e@kernel.org> (raw)
In-Reply-To: <20250317194419.GB949127@ragnatech.se>

On 17/03/2025 20:44, Niklas Söderlund wrote:
>>> Ahh I see. But I would like to have names if possible.
>>>
>>> The driver is backward compatible with the old bindings, and going
>>> forward we have better bindings with names. All users are updated in the
>>> next commits in this series so the warnings will go way rather quickly.
>>
>> Note that the driver does not _have_ to obtain the "cs" clock by name,
>> as it will always be the first clock anyway ("make dtbs_check" will
>> sort-of enforce that).  So you can simplify the code by obtaining
>> the first clock without specifying a name, and the second (optional)
>> clock with a name.
> 
> I understand that, and for this fix this would be acceptable. I'm just 
> trying to think a head, something I should have done when first writing 
> these bindings...
> 
> I'm fearing a scenario where we will need to add a 3rd reg region or 
> clock. I don't think we will need that for the compatible values we have 

Bindings should be complete, so add 3rd clock now.

If you need to add it later, what's the problem? The position or order
is strictly fixed, so at 3rd place you will always have new foo-clock.

> here, but then I never though we get the documentation that now allows 
> us to describe the second region...
Best regards,
Krzysztof

  reply	other threads:[~2025-03-18  7:29 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-15 15:27 [PATCH 0/7] rcar-isp: Prepare for ISP core support Niklas Söderlund
2025-03-15 15:27 ` [PATCH 1/7] dt-bindings: media: renesas,isp: Add ISP core function block Niklas Söderlund
2025-03-17 11:31   ` Krzysztof Kozlowski
2025-03-17 11:49     ` Niklas Söderlund
2025-03-17 15:02       ` Krzysztof Kozlowski
2025-03-17 15:34         ` Niklas Söderlund
2025-03-18  7:27           ` Krzysztof Kozlowski
2025-03-18  8:05             ` Geert Uytterhoeven
2025-03-18  8:05             ` Niklas Söderlund
2025-03-17 11:33   ` Krzysztof Kozlowski
2025-03-17 11:50     ` Niklas Söderlund
2025-03-17 14:57       ` Krzysztof Kozlowski
2025-03-17 15:37         ` Niklas Söderlund
2025-03-17 19:21           ` Geert Uytterhoeven
2025-03-17 19:44             ` Niklas Söderlund
2025-03-18  7:29               ` Krzysztof Kozlowski [this message]
2025-03-18  7:56                 ` Niklas Söderlund
2025-03-18  7:50               ` Geert Uytterhoeven
2025-03-15 15:27 ` [PATCH 2/7] arm64: dts: renesas: r8a779a0: " Niklas Söderlund
2025-03-19 14:50   ` Jacopo Mondi
2025-03-19 15:07     ` Niklas Söderlund
2025-03-19 15:19       ` Jacopo Mondi
2025-04-10 15:54   ` Geert Uytterhoeven
2025-04-10 16:40     ` Niklas Söderlund
2025-03-15 15:27 ` [PATCH 3/7] arm64: dts: renesas: r8a779g0: " Niklas Söderlund
2025-03-19 14:37   ` Jacopo Mondi
2025-04-10 15:54   ` Geert Uytterhoeven
2025-03-15 15:27 ` [PATCH 4/7] arm64: dts: renesas: r8a779h0: " Niklas Söderlund
2025-03-19 14:40   ` Jacopo Mondi
2025-04-10 15:57   ` Geert Uytterhoeven
2025-03-15 15:27 ` [PATCH 5/7] media: rcar-isp: Move driver to own directory Niklas Söderlund
2025-03-19 14:25   ` Jacopo Mondi
2025-03-15 15:27 ` [PATCH 6/7] media: rcar-isp: Rename base register variable Niklas Söderlund
2025-03-19 14:26   ` Jacopo Mondi
2025-03-15 15:27 ` [PATCH 7/7] media: rcar-isp: Parse named cs memory region Niklas Söderlund
2025-03-19 14:28   ` Jacopo Mondi

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=200a47e6-3898-428d-88fd-aa4f87db656e@kernel.org \
    --to=krzk@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=geert@linux-m68k.org \
    --cc=hverkuil@xs4all.nl \
    --cc=jacopo.mondi@ideasonboard.com \
    --cc=krzk+dt@kernel.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=niklas.soderlund+renesas@ragnatech.se \
    --cc=robh@kernel.org \
    --cc=sakari.ailus@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox