[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <04b409b7-0d8c-4b60-1fd5-3486f47cc04c@linaro.org>
Date: Sat, 28 Jan 2023 11:08:00 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Li Chen <me@...ux.beauty>
Cc: li chen <lchen@...arella.com>,
michael turquette <mturquette@...libre.com>,
stephen boyd <sboyd@...nel.org>,
rob herring <robh+dt@...nel.org>,
krzysztof kozlowski <krzysztof.kozlowski+dt@...aro.org>,
"moderated list:arm/ambarella soc support"
<linux-arm-kernel@...ts.infradead.org>,
"open list:common clk framework" <linux-clk@...r.kernel.org>,
"open list:open firmware and flattened device tree bindings"
<devicetree@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>,
arnd bergmann <arnd@...db.de>
Subject: Re: [PATCH 07/15] dt-bindings: clock: Add Ambarella clock bindings
On 28/01/2023 10:42, Li Chen wrote:
> Got it, I will model it as:
>
> rct_syscon(compatible include "ambarella, <SoC>-clock"...)
> | peripheral A
> | peripheral B
> | ...
>
>
> One more question, two driver models:
> a. compatible = "ambarella, <SoC>-clock", handle all clocks(pll, div, mux, composite) in single driver.
> b. compatible = "ambarella, <SoC>-pll-clock", "ambarella, <SoC>-composite-clock", "ambarella, <SoC>-div-clock"......
> and implement a driver for each of them.
>
> Which driver model is preferred?
We do not talk here at all about drivers. This is independent and not
really related.
Anyway, independent features mostly have separate drivers. Each separate
driver should be located in respective subsystem. But again - we do not
talk here about drivers at all, so please do not bring them into the
problem. It will make everything more complicated...
Best regards,
Krzysztof
Powered by blists - more mailing lists