From: John Madieu <john.madieu.xa@bp.renesas.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: "geert+renesas@glider.be" <geert+renesas@glider.be>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"robh@kernel.org" <robh@kernel.org>,
"rafael@kernel.org" <rafael@kernel.org>,
"daniel.lezcano@linaro.org" <daniel.lezcano@linaro.org>,
"magnus.damm@gmail.com" <magnus.damm@gmail.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"john.madieu@gmail.com" <john.madieu@gmail.com>,
"rui.zhang@intel.com" <rui.zhang@intel.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-renesas-soc@vger.kernel.org"
<linux-renesas-soc@vger.kernel.org>,
"sboyd@kernel.org" <sboyd@kernel.org>,
Biju Das <biju.das.jz@bp.renesas.com>,
"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
"lukasz.luba@arm.com" <lukasz.luba@arm.com>
Subject: RE: [PATCH v3 2/6] dt-bindings: thermal: r9a09g047-tsu: Document the TSU unit
Date: Mon, 17 Mar 2025 10:56:34 +0000 [thread overview]
Message-ID: <OSBPR01MB2775B1B2FB8EE446E15B38CEFFDF2@OSBPR01MB2775.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <20250317-ubiquitous-acrid-gorilla-71d726@krzk-bin>
Hi Krzysztof,
Thanks for the review!
> -----Original Message-----
> From: Krzysztof Kozlowski <krzk@kernel.org>
> Sent: Monday, March 17, 2025 10:29 AM
> To: John Madieu <john.madieu.xa@bp.renesas.com>
> Subject: Re: [PATCH v3 2/6] dt-bindings: thermal: r9a09g047-tsu: Document
> the TSU unit
>
> On Sat, Mar 15, 2025 at 09:12:12AM +0100, John Madieu wrote:
> > The Renesas RZ/G3E SoC includes a Thermal Sensor Unit (TSU) block
> > designed to measure the junction temperature. The device provides
> > real-time temperature measurements for thermal management, utilizing a
> > single dedicated channel (channel 1) for temperature sensing.
>
> Please wrap commit message according to Linux coding style / submission
> process (neither too early nor over the limit):
Will be fixed in v4.
>
> Please run scripts/checkpatch.pl and fix reported warnings. After that,
> run also 'scripts/checkpatch.pl --strict' and (probably) fix more
> warnings. Some warnings can be ignored, especially from --strict run, but
> the code here looks like it needs a fix. Feel free to get in touch if the
> warning is not clear.
Noted. Thanks!
>
> >
> > Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com>
> > ---
> > v1 -> v2:
> > * Fix reg property specifier to get rid of yamlint warnings
> > * Fix IRQ name to reflect TSU expectations
>
> ...
>
> > + interrupts:
> > + description: |
> > + Interrupt specifiers for the TSU:
> > + - S12TSUADI1: Conversion complete interrupt signal (pulse)
> > + - S12TSUADCMPI1: Comparison result interrupt signal (level)
>
> Same problems as before - you need to list and describe items to have
> constraints. Otherwise why 5 interrupts are allowed but only two
> interrupt-names (test this)?
>
> There is no syntax like above in any other bindings. If you found such,
> please share the filename so we can fix it.
Will fix it in v4.
>
> > +
> > + interrupt-names:
> > + items:
> > + - const: adi
> > + - const: adcmpi
> > +
> > + "#thermal-sensor-cells":
> > + const: 0
> > +
> > + renesas,tsu-calibration-sys:
> > + $ref: /schemas/types.yaml#/definitions/phandle
> > + description: |
> > + Phandle to the system controller (sys) that contains the TSU
> > + calibration values used for temperature calculations.
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - clocks
> > + - resets
> > + - power-domains
> > + - interrupts
> > + - interrupt-names
> > + - "#thermal-sensor-cells"
> > + - renesas,tsu-calibration-sys
> > +
> > + thermal-zones {
>
> Drop the node, no need to show how to use provider binding.
Noted. Thanks!
>
> Best regards,
> Krzysztof
Regards,
John
next prev parent reply other threads:[~2025-03-17 10:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-15 8:12 [PATCH v3 0/6] thermal: renesas: Add support fot RZ/G3E John Madieu
2025-03-15 8:12 ` [PATCH v3 1/6] soc: renesas: rz-sysc: add syscon/regmap support John Madieu
2025-03-17 15:12 ` Geert Uytterhoeven
2025-03-17 15:49 ` John Madieu
2025-03-27 12:02 ` John Madieu
2025-03-15 8:12 ` [PATCH v3 2/6] dt-bindings: thermal: r9a09g047-tsu: Document the TSU unit John Madieu
2025-03-17 9:28 ` Krzysztof Kozlowski
2025-03-17 10:56 ` John Madieu [this message]
2025-03-15 8:12 ` [PATCH v3 3/6] thermal: renesas: rzg3e: Add thermal driver for the Renesas RZ/G3E SoC John Madieu
2025-03-15 8:12 ` [PATCH v3 4/6] thermal: renesas: rzg3e: Add safety check when reading temperature John Madieu
2025-03-15 8:12 ` [PATCH v3 5/6] arm64: dts: renesas: r9a09g047: Add TSU node John Madieu
2025-03-15 8:12 ` [PATCH v3 6/6] arm64: defconfig: Enable RZ/G3E thermal John Madieu
2025-03-17 9:29 ` Krzysztof Kozlowski
2025-03-17 11:14 ` John Madieu
2025-03-17 13:06 ` Geert Uytterhoeven
2025-03-17 13:10 ` John Madieu
2025-03-17 14:56 ` Krzysztof Kozlowski
2025-03-17 14:55 ` Krzysztof Kozlowski
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=OSBPR01MB2775B1B2FB8EE446E15B38CEFFDF2@OSBPR01MB2775.jpnprd01.prod.outlook.com \
--to=john.madieu.xa@bp.renesas.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=john.madieu@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=lukasz.luba@arm.com \
--cc=magnus.damm@gmail.com \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=rui.zhang@intel.com \
--cc=sboyd@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
all inboxes | Powered by JetHome®