From: Vignesh Raghavendra <vigneshr@ti.com>
To: Roger Quadros <rogerq@kernel.org>,
MD Danish Anwar <danishanwar@ti.com>, <conor+dt@kernel.org>,
<krzk+dt@kernel.org>, <robh@kernel.org>, <ssantosh@kernel.org>,
<nm@ti.com>
Cc: <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <s-anna@ti.com>,
<kristo@kernel.org>, <srk@ti.com>
Subject: Re: [PATCH v3 1/2] dt-bindings: soc: ti: pruss: Add clocks for ICSSG
Date: Tue, 19 Nov 2024 11:42:30 +0530 [thread overview]
Message-ID: <d738bb00-e295-4d74-8ba2-efd82b6df2ea@ti.com> (raw)
In-Reply-To: <6e11c85a-5883-4a28-b5bd-98da28f20425@kernel.org>
On 18/11/24 19:22, Roger Quadros wrote:
>
>
> On 18/11/2024 15:33, Roger Quadros wrote:
>> Hi,
>>
>> On 13/11/2024 13:09, MD Danish Anwar wrote:
>>> The ICSSG module has 7 clocks for each instance.
>>>
>>> These clocks are ICSSG0_CORE_CLK, ICSSG0_IEP_CLK, ICSSG0_ICLK,
>>> ICSSG0_UART_CLK, RGMII_MHZ_250_CLK, RGMII_MHZ_50_CLK and RGMII_MHZ_5_CLK
>>> These clocks are described in AM64x TRM Section 6.4.3 Table 6-398.
>>>
>>> Add these clocks to the dt binding of ICSSG.
>>>
>>> Link: https://www.ti.com/lit/pdf/spruim2 (AM64x TRM)
>>> Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
>>> ---
>>> Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml | 10 ++++++++++
>>> 1 file changed, 10 insertions(+)
>>>
>>> diff --git a/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml b/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
>>> index 3cb1471cc6b6..927b3200e29e 100644
>>> --- a/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
>>> +++ b/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
>>> @@ -92,6 +92,16 @@ properties:
>>> description: |
>>> This property is as per sci-pm-domain.txt.
>>>
>>> + clocks:
>>> + items:
>>> + - description: ICSSG_CORE Clock
>>> + - description: ICSSG_IEP Clock
>>> + - description: ICSSG_RGMII_MHZ_250 Clock
>>> + - description: ICSSG_RGMII_MHZ_50 Clock
>>> + - description: ICSSG_RGMII_MHZ_5 Clock
>>> + - description: ICSSG_UART Clock
>>> + - description: ICSSG_ICLK Clock
>>> +
>>
>> There are actually many more clocks [1]
>> What is the purpose of adding all these clocks in the DT if driver doesn't
>> use them?
>>
DT should completely describe the HW and not based on what Linux driver
needs. So its valid to describe all clock inputs to a module
irrespective of what driver does with it.
>> Only CORE and IEP clocks parent can be configured via clock muxes.
>> Those are already defined in the icssg?_cfg nodes.
>
> Actually those clock muxes are internal to ICSSG.
> We still need to be able to set clock parents of CORE and IEP clock.
>
> So pruss block needs at most 2 clocks like you had in v2 of this patch?
>
>>
>> [1] - https://software-dl.ti.com/tisci/esd/22_01_02/5_soc_doc/am64x/clocks.html
>>
>>> patternProperties:
>>>
>>> memories@[a-f0-9]+$:
>>
>
--
Regards
Vignesh
https://ti.com/opensource
next prev parent reply other threads:[~2024-11-19 6:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-13 11:09 [PATCH v3 0/2] Add Clocks for ICSSG MD Danish Anwar
2024-11-13 11:09 ` [PATCH v3 1/2] dt-bindings: soc: ti: pruss: Add clocks " MD Danish Anwar
2024-11-14 20:11 ` Conor Dooley
2024-11-18 13:33 ` Roger Quadros
2024-11-18 13:52 ` Roger Quadros
2024-11-19 6:12 ` Vignesh Raghavendra [this message]
2024-11-19 10:45 ` Roger Quadros
2024-11-20 13:23 ` Anwar, Md Danish
2024-11-21 13:08 ` Roger Quadros
2024-11-21 13:10 ` Roger Quadros
2024-11-13 11:09 ` [PATCH v3 2/2] arm64: dts: ti: k3-am64-main: Switch ICSSG clock to core clock MD Danish Anwar
2024-11-19 10:47 ` Roger Quadros
2024-11-20 12:52 ` Wadim Egorov
2024-11-21 13:13 ` Roger Quadros
2024-12-16 10:23 ` [PATCH v3 0/2] Add Clocks for ICSSG MD Danish Anwar
2024-12-26 20:31 ` Nishanth Menon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d738bb00-e295-4d74-8ba2-efd82b6df2ea@ti.com \
--to=vigneshr@ti.com \
--cc=conor+dt@kernel.org \
--cc=danishanwar@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=kristo@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nm@ti.com \
--cc=robh@kernel.org \
--cc=rogerq@kernel.org \
--cc=s-anna@ti.com \
--cc=srk@ti.com \
--cc=ssantosh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox