From: Icenowy Zheng <icenowy@aosc.io>
To: Vasily Khoruzhick <anarsoul@gmail.com>
Cc: Yangtao Li <tiny.windzz@gmail.com>,
"Rafael J . Wysocki" <rafael@kernel.org>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Amit Kucheria <amitk@kernel.org>, Zhang Rui <rui.zhang@intel.com>,
Rob Herring <robh+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
Linux PM <linux-pm@vger.kernel.org>,
devicetree <devicetree@vger.kernel.org>,
arm-linux <linux-arm-kernel@lists.infradead.org>,
linux-sunxi@lists.linux.dev,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] dt-bindings: thermal: sun8i-thermal: add binding for R329 THS
Date: Sat, 23 Apr 2022 07:51:54 +0800 [thread overview]
Message-ID: <9525d336040d2fc89005d2923f0d8ee98597ac86.camel@aosc.io> (raw)
In-Reply-To: <CA+E=qVfMm=8aQOM_HW_3EeqqLi-Fgn1Ex3h6kor89FQ0KfTvRw@mail.gmail.com>
在 2022-04-22星期五的 11:44 -0700,Vasily Khoruzhick写道:
> On Fri, Apr 22, 2022 at 9:12 AM <icenowy@outlook.com> wrote:
> >
> > From: Icenowy Zheng <icenowy@aosc.io>
> >
> > R329 has a thermal sensor controller that has only one sensor, and
> > the
> > structure of it is like the H6 one.
> >
> > Add device tree binding for it.
> >
> > Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
> > ---
> > .../devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 3
> > +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git
> > a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-
> > ths.yaml
> > b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-
> > ths.yaml
> > index 6e0b110153b0..87b4103e0a5f 100644
> > --- a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-
> > a83t-ths.yaml
> > +++ b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-
> > a83t-ths.yaml
> > @@ -20,6 +20,7 @@ properties:
> > - allwinner,sun50i-a100-ths
> > - allwinner,sun50i-h5-ths
> > - allwinner,sun50i-h6-ths
> > + - allwinner,sun50i-r329-ths
> >
> > clocks:
> > minItems: 1
> > @@ -63,6 +64,7 @@ allOf:
> > enum:
> > - allwinner,sun50i-a100-ths
> > - allwinner,sun50i-h6-ths
> > + - allwinner,sun50i-r329-ths
> >
> > then:
> > properties:
> > @@ -85,6 +87,7 @@ allOf:
> > compatible:
> > contains:
> > const: allwinner,sun8i-h3-ths
> > + const: allwinner,sun8i-r329-ths
> >
> > then:
> > properties:
>
> There's also a check at line #99 that requires clock, clock-names and
> resets properties for thermal sensors in other Allwinner SoCs. Are
> these not required for r329?
Thanks for this tip, I will add R329 to this check in the next
revision.
>
> Also are you planning to add a node for thermal sensor to r329 dtsi?
>
>
> > --
> > 2.35.1
> >
next prev parent reply other threads:[~2022-04-23 5:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-22 16:11 [PATCH 1/2] dt-bindings: thermal: sun8i-thermal: add binding for R329 THS icenowy
2022-04-22 18:44 ` Vasily Khoruzhick
2022-04-22 23:51 ` Icenowy Zheng [this message]
2022-04-22 21:10 ` Rob Herring
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=9525d336040d2fc89005d2923f0d8ee98597ac86.camel@aosc.io \
--to=icenowy@aosc.io \
--cc=amitk@kernel.org \
--cc=anarsoul@gmail.com \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=jernej.skrabec@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=rafael@kernel.org \
--cc=robh+dt@kernel.org \
--cc=rui.zhang@intel.com \
--cc=samuel@sholland.org \
--cc=tiny.windzz@gmail.com \
--cc=wens@csie.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;
as well as URLs for NNTP newsgroup(s).