From: Brian Norris <briannorris@chromium.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>,
Heiko Stuebner <heiko@sntech.de>
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Chanwoo Choi <cw00.choi@samsung.com>,
Rob Herring <robh+dt@kernel.org>, Lin Huang <hl@rock-chips.com>,
Heiko Stuebner <heiko@sntech.de>,
Derek Basehore <dbasehore@chromium.org>,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 01/15] dt-bindings: devfreq: rk3399_dmc: Convert to YAML
Date: Tue, 8 Mar 2022 11:06:49 -0800 [thread overview]
Message-ID: <YiepSZXhmUZVwjKo@google.com> (raw)
In-Reply-To: <bf59a2bc-a708-27de-866a-346085dcee7d@canonical.com>
On Tue, Mar 08, 2022 at 07:03:15PM +0100, Krzysztof Kozlowski wrote:
> On 08/03/2022 01:09, Brian Norris wrote:
> Apologies for jumping in late in discussion, but how about moving it to
> memory-controllers or interconnect directory? devfreq is Linux specific
> and DMC sounds a lot like dynamic memory controller.
Sure! Will do in v4.
> >
> > .../bindings/devfreq/rk3399_dmc.txt | 212 -------------
> > .../bindings/devfreq/rk3399_dmc.yaml | 294 ++++++++++++++++++
>
> file name:
> rockchip,rk3399-dmc.yaml
Ack.
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/devfreq/rk3399_dmc.yaml
> > + devfreq-events:
> > + $ref: /schemas/types.yaml#/definitions/phandle-array
> > + minItems: 1
> > + maxItems: 1
>
> Rob previously asked about max, but it seems it is only one phandle,
> right? Then the type - 'phandle'.
Sure! Don't know why I didn't notice that.
> > + rockchip,ddr3_odt:
> > + $ref: /schemas/types.yaml#/definitions/uint32
> > + description:
> > + When the DRAM type is DDR3, this parameter defines the DRAM side ODT
> > + strength in ohms. Default value is 120.
>
> Here and in all other places - instead of describing default value in
> description, just add "default: 120".
Yep. Most of these properties are actually deprecated in the end, but
doesn't hurt to use the facilities available.
> Best regards,
> Krzysztof
Thanks for the reviews! I'll roll them all into v4 shortly.
While I'm at it: I think I have Reviewed-by's for all the DT patches
(except this one). Given it also touches Rockchip device trees, maybe
this all needs to go through Heiko / linux-rockchip? Or if not, it'd be
nice if Heiko spoke up to tell the devfreq maintainers instead.
Regards,
Brian
next prev parent reply other threads:[~2022-03-08 19:06 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-08 0:09 [PATCH v3 00/15] rk3399: Clean up and enable DDR DVFS Brian Norris
2022-03-08 0:09 ` [PATCH v3 01/15] dt-bindings: devfreq: rk3399_dmc: Convert to YAML Brian Norris
2022-03-08 18:03 ` Krzysztof Kozlowski
2022-03-08 19:06 ` Brian Norris [this message]
2022-03-08 0:09 ` [PATCH v3 02/15] dt-bindings: devfreq: rk3399_dmc: Deprecate unused/redundant properties Brian Norris
2022-03-08 18:04 ` Krzysztof Kozlowski
2022-03-08 0:09 ` [PATCH v3 03/15] dt-bindings: devfreq: rk3399_dmc: Fix Hz units Brian Norris
2022-03-08 18:05 ` Krzysztof Kozlowski
2022-03-08 0:09 ` [PATCH v3 04/15] dt-bindings: devfreq: rk3399_dmc: Specify idle params in nanoseconds Brian Norris
2022-03-08 18:09 ` Krzysztof Kozlowski
2022-03-08 0:09 ` [PATCH v3 05/15] dt-bindings: devfreq: rk3399_dmc: Add more disable-freq properties Brian Norris
2022-03-08 18:10 ` Krzysztof Kozlowski
2022-03-08 0:09 ` [PATCH v3 06/15] PM / devfreq: rk3399_dmc: Drop undocumented ondemand DT props Brian Norris
2022-03-08 0:09 ` [PATCH v3 07/15] PM / devfreq: rk3399_dmc: Drop excess timing properties Brian Norris
2022-03-08 0:09 ` [PATCH v3 08/15] PM / devfreq: rk3399_dmc: Use bitfield macro definitions for ODT_PD Brian Norris
2022-03-08 0:09 ` [PATCH v3 09/15] PM / devfreq: rk3399_dmc: Support new disable-freq properties Brian Norris
2022-03-08 0:09 ` [PATCH v3 10/15] PM / devfreq: rk3399_dmc: Support new *-ns properties Brian Norris
2022-03-08 0:09 ` [PATCH v3 11/15] arm64: dts: rk3399: Add dfi and dmc nodes Brian Norris
2022-03-08 0:09 ` [PATCH v3 12/15] arm64: dts: rockchip: Enable dmc and dfi nodes on gru Brian Norris
2022-03-08 0:09 ` [PATCH v3 13/15] PM / devfreq: rk3399_dmc: Disable edev on remove() Brian Norris
2022-03-08 0:09 ` [PATCH v3 14/15] PM / devfreq: rk3399_dmc: Use devm_pm_opp_of_add_table() Brian Norris
2022-03-08 0:09 ` [PATCH v3 15/15] PM / devfreq: rk3399_dmc: Avoid static (reused) profile Brian Norris
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=YiepSZXhmUZVwjKo@google.com \
--to=briannorris@chromium.org \
--cc=cw00.choi@samsung.com \
--cc=dbasehore@chromium.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=hl@rock-chips.com \
--cc=krzysztof.kozlowski@canonical.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=myungjoo.ham@samsung.com \
--cc=robh+dt@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;
as well as URLs for NNTP newsgroup(s).