[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <160820221883.1580929.5758849422177353179@swboyd.mtv.corp.google.com>
Date: Thu, 17 Dec 2020 02:50:18 -0800
From: Stephen Boyd <sboyd@...nel.org>
To: Sergio Paracuellos <sergio.paracuellos@...il.com>
Cc: Michael Turquette <mturquette@...libre.com>,
Rob Herring <robh+dt@...nel.org>,
John Crispin <john@...ozen.org>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Greg KH <gregkh@...uxfoundation.org>,
Chuanhong Guo <gch981213@...il.com>,
Weijie Gao <hackpascal@...il.com>,
COMMON CLK FRAMEWORK <linux-clk@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
"open list:MIPS <linux-mips@...r.kernel.org>, open list:STAGING
SUBSYSTEM <devel@...verdev.osuosl.org>, NeilBrown <neil@...wn.name>,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>
Subject: Re: [PATCH v4 2/6] dt: bindings: add mt7621-clk device tree binding documentation
Quoting Sergio Paracuellos (2020-12-17 02:38:37)
> On Thu, Dec 17, 2020 at 11:32 AM Stephen Boyd <sboyd@...nel.org> wrote:
> >
> > Quoting Sergio Paracuellos (2020-12-17 02:14:10)
> > > node is to use architecture operations in
> > > 'arch/mips/include/asm/mach-ralink/ralink_regs.h'
> > > instead of getting a phandle using the regmap is being currently used...
> >
> > Can that be done with
> >
> > CLK_OF_DECLARE_DRIVER("mediatek,mt7621-sysc", my_timer_clk_init)
> >
> > ? Is the syscon used anywhere besides by the clk driver?
>
> Yes, for example all the gates use them to access SYSC_REG_CLKCFG1 in
> all of their 'mt7621_gate_ops' and also in all 'recalc_rate' functions
> where SYSC_REG_SYSTEM_CONFIG0, is readed.
That sounds like it's only used by the clk provider/driver? Any other
code uses the syscon?
Powered by blists - more mailing lists