[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <042F8805D2046347BB8420BEAE397A4066F2E07D@WILL-MAIL001.REu.RohmEu.com>
Date: Tue, 4 Dec 2018 18:59:24 +0000
From: "Vaittinen, Matti" <Matti.Vaittinen@...rohmeurope.com>
To: Stephen Boyd <sboyd@...nel.org>
CC: "mazziesaccount@...il.com" <mazziesaccount@...il.com>,
Jonathan Corbet <corbet@....net>,
Michael Turquette <mturquette@...libre.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
"Bartlomiej Zolnierkiewicz" <b.zolnierkie@...sung.com>,
Russell King <linux@...linux.org.uk>,
Andy Gross <andy.gross@...aro.org>,
David Brown <david.brown@...aro.org>,
Andrey Smirnov <andrew.smirnov@...il.com>,
"Guenter Roeck" <linux@...ck-us.net>,
Rob Herring <robh@...nel.org>,
Sebastian Reichel <sre@...nel.org>,
Huang Shijie <sjhuang@...vatar.ai>,
Daniel Kurtz <djkurtz@...omium.org>,
Akshu Agrawal <akshu.agrawal@....com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-clk@...r.kernel.org" <linux-clk@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-arm-msm@...r.kernel.org" <linux-arm-msm@...r.kernel.org>,
"linux-soc@...r.kernel.org" <linux-soc@...r.kernel.org>
Subject: RE: [PATCH v4 1/8] clk: clkdev/of_clk - add managed lookup and
provider registrations
Hello Stephen,
.
> > I think we should use parent device's node, not the paren node in DT,
> > right? But I agree, we should only look "one level up in the chain".
> Are these two things different? I'm suggesting looking at
> device_node::parent and trying to find a #clock-cells property.
I thought that MFD sub-devices may completely lack the DT node but I will verify this tomorrow. BTW, I already did the patch version 6 which checks the dev->parent->of_node if #clock-cells is not found from device's own node or if own node is NULL.
Br. Matti Vaittinen
Powered by blists - more mailing lists