lkml.org 
[lkml]   [2019]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 4/9] PM / devfreq: exynos-bus: Replace deprecated 'devfreq' property
    On Tue, Dec 17, 2019 at 02:57:33PM +0900, Chanwoo Choi wrote:
    > In order to remove the deprecated 'devfreq' property, replace with
    > new 'exynos,parent-bus' property in order to get the parent devfreq device
    > in devicetree file instead of 'devfreq' property. But, to guarantee the
    > backward-compatibility, keep the support 'devfreq' property.
    >
    > Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
    > ---
    > .../bindings/devfreq/exynos-bus.txt | 16 +++++++--------
    > drivers/devfreq/exynos-bus.c | 20 ++++++++++++-------
    > 2 files changed, 21 insertions(+), 15 deletions(-)
    >
    > diff --git a/Documentation/devicetree/bindings/devfreq/exynos-bus.txt b/Documentation/devicetree/bindings/devfreq/exynos-bus.txt
    > index e71f752cc18f..c948cee01124 100644
    > --- a/Documentation/devicetree/bindings/devfreq/exynos-bus.txt
    > +++ b/Documentation/devicetree/bindings/devfreq/exynos-bus.txt
    > @@ -45,7 +45,7 @@ Required properties only for parent bus device:
    > of buses.
    >
    > Required properties only for passive bus device:
    > -- devfreq: the parent bus device.
    > +- exynos,parent-bus: the parent bus device.

    If you are going to do something new, why not use the interconnect
    binding here?

    Rob

    \
     
     \ /
      Last update: 2019-12-26 22:02    [W:2.327 / U:10.240 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site