Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1588278
| Path | csiph.com!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Masahiro Yamada <yamada.masahiro@socionext.com> |
| Newsgroups | linux.kernel |
| Subject | Recommended notation for OPP to avoid DTC warnings |
| Date | Sun, 26 Feb 2017 06:40:01 +0100 |
| Message-ID | <teZIR-2eX-5@gated-at.bofh.it> (permalink) |
| X-Original-To | Viresh Kumar <viresh.kumar@linaro.org>, Rob Herring <robh+dt@kernel.org>, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, Mark Rutland <mark.rutland@arm.com> |
| Dkim-Filter | OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com v1Q5I4Oo025366 |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1488086285; bh=dJn32Q2RttrTn/uQQ8boDw1G4A90bEDi2SKf3YLOB1M=; h=From:Date:Subject:To:Cc:From; b=i/xNObavAnCkohxLuzdDOtrF98zLW234jHYAC0zlg/5GOda1oT9X5zvBkXyCXdi49 O5kxvKlG0e2JrQ4+fPzRU9tn6MUtgM+Z2NHhQsWHKmFwLizoc6pdpWgi76veXM/R2h l3KYWsSp3I3ooe1EpZQvqcfK/T7jQOXnG08/ZEWw0JOEPbLLgs9QZR7mEihHhFlEBw UI8VUzL5RL4RJLb/2M1HpnR+7FPDWxsRPAz3ucIKUyEdroDcD8LHBjKc8RviCzM7Nw N+YQjYHcajHVym+rOgNJXTUbTKKgjRHRZRJFYNY1uCrgmHSms96AH+IrJYgHvzjM6Y kJr23hxwPZZvw== |
| X-Nifty-Srcip | [209.85.161.176] |
| X-Gm-Message-State | AMke39namsNwIrqwK/RUvhu9qlU9hrXgkO6FyWX/sHUWdSkau9LgtHZKWiVVfwKI8alJPq/wNT4r0i7IkpmC5g== |
| X-Received | by 10.129.74.67 with SMTP id x64mr7849410ywa.298.1488086283986; Sat, 25 Feb 2017 21:18:03 -0800 (PST) |
| MIME-Version | 1.0 |
| X-Gmail-Original-Message-ID | <CAK7LNAQyc9=3d07-1upywYDk-AaRUGK4mJwAVduCuEJgnY1uFA@mail.gmail.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 44 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | masahiroy@kernel.org, linux-arm-kernel <linux-arm-kernel@lists.infradead.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org> |
| X-Original-Date | Sun, 26 Feb 2017 14:18:03 +0900 |
| X-Original-Message-ID | <CAK7LNAQyc9=3d07-1upywYDk-AaRUGK4mJwAVduCuEJgnY1uFA@mail.gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1588278 |
Show key headers only | View raw
Hi.
Decumentation/devicetree/bindings/opp/opp.txt
takes examples like this:
opp@1000000000 {
opp-hz = /bits/ 64 <1000000000>;
opp-microvolt = <970000 975000 985000>;
opp-microamp = <70000>;
clock-latency-ns = <300000>;
opp-suspend;
};
opp@1100000000 {
opp-hz = /bits/ 64 <1100000000>;
opp-microvolt = <980000 1000000 1010000>;
opp-microamp = <80000>;
clock-latency-ns = <310000>;
};
opp@1200000000 {
opp-hz = /bits/ 64 <1200000000>;
opp-microvolt = <1025000>;
clock-latency-ns = <290000>;
turbo-mode;
};
If we follow this notation and the device-tree is built with W=1,
DTC warns like follows:
Warning (unit_address_vs_reg): Node /opp_table0/opp@1000000000 has a
unit name, but no reg property
Is there a recommended notation to avoid it?
Maybe, simply omit the "@" ?
--
Best Regards
Masahiro Yamada
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Recommended notation for OPP to avoid DTC warnings Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-02-26 06:40 +0100
Re: Recommended notation for OPP to avoid DTC warnings Viresh Kumar <viresh.kumar@linaro.org> - 2017-02-27 05:20 +0100
Re: Recommended notation for OPP to avoid DTC warnings Mark Rutland <mark.rutland@arm.com> - 2017-02-27 12:00 +0100
Re: Recommended notation for OPP to avoid DTC warnings Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-02-27 12:00 +0100
Re: Recommended notation for OPP to avoid DTC warnings Viresh Kumar <viresh.kumar@linaro.org> - 2017-02-27 12:30 +0100
csiph-web