From: Marek Vasut <marek.vasut@mailbox.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org,
"Krzysztof Wilczyński" <kw@linux.com>,
"Rafał Miłecki" <rafal@milecki.pl>,
"Aradhya Bhatia" <a-bhatia1@ti.com>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Conor Dooley" <conor+dt@kernel.org>,
"Geert Uytterhoeven" <geert+renesas@glider.be>,
"Heiko Stuebner" <heiko@sntech.de>,
"Junhao Xie" <bigfoot@classfun.cn>,
"Kever Yang" <kever.yang@rock-chips.com>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Kuninori Morimoto" <kuninori.morimoto.gx@renesas.com>,
"Lorenzo Pieralisi" <lpieralisi@kernel.org>,
"Magnus Damm" <magnus.damm@gmail.com>,
"Manivannan Sadhasivam" <manivannan.sadhasivam@linaro.org>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Rob Herring" <robh@kernel.org>,
"Yoshihiro Shimoda" <yoshihiro.shimoda.uh@renesas.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-pci@vger.kernel.org, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 1/4] dt-bindings: PCI: rcar-gen4-pci-host: Document optional aux clock
Date: Mon, 31 Mar 2025 15:45:18 +0200 [thread overview]
Message-ID: <4b5fc903-f2c1-4e7e-8a4f-629566bff3ad@mailbox.org> (raw)
In-Reply-To: <20250331-excellent-nautilus-of-apotheosis-fbd30a@krzk-bin>
On 3/31/25 10:19 AM, Krzysztof Kozlowski wrote:
> On Sun, Mar 30, 2025 at 09:56:09PM +0200, Marek Vasut wrote:
>> diff --git a/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml b/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml
>> index bb3f843c59d91..5e2624d4c62c7 100644
>> --- a/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml
>> +++ b/Documentation/devicetree/bindings/pci/rcar-gen4-pci-host.yaml
>> @@ -46,12 +46,14 @@ properties:
>> - const: app
>>
>> clocks:
>> - maxItems: 2
>> + minItems: 2
>> + maxItems: 3
>>
>> clock-names:
>
> missing minItems: 2
>
> (xxx and xxx-names are always synced in dimensions)
Fixed, noted, thanks !
> I understand that clock is optional? Your diagram in commit msg suggests
> that clock is there always.
The clocks which supply the PCIe controller ("ref" clock) and PCIe bus
("aux" clock) can be modeled as either, single clock (one clock for both
controller AND bus, i.e. single "ref" clock), or two separate clocks
(one for controller AND one for bus, i.e. "ref" clock AND "aux" clock).
That depends on whether the clock generator (the 9FGV0441 brick in the
ASCII schematic in the commit message in this case) has one flip switch
to enable both clock (controller and bus, i.e. "ref" clock only), or has
separate flip switches to enable the different outputs (controller or
bus, i.e. "ref" and "aux" clock).
So yes, the "aux" is optional from the software side, but on the
hardware side, the "aux" bus clock are always there. They however do not
always have separate flip switch to enable/disable them.
--
Best regards,
Marek Vasut
next prev parent reply other threads:[~2025-03-31 13:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-30 19:56 [PATCH 0/4] arm64: dts: renesas: r8a779g3: Add Renesas R-Car V4H Sparrow Hawk board support Marek Vasut
2025-03-30 19:56 ` [PATCH 1/4] dt-bindings: PCI: rcar-gen4-pci-host: Document optional aux clock Marek Vasut
2025-03-31 8:19 ` Krzysztof Kozlowski
2025-03-31 13:45 ` Marek Vasut [this message]
2025-03-30 19:56 ` [PATCH 2/4] dt-bindings: vendor-prefixes: Add Retronix Technology Inc Marek Vasut
2025-03-31 8:20 ` Krzysztof Kozlowski
2025-03-31 10:02 ` Geert Uytterhoeven
2025-03-30 19:56 ` [PATCH 3/4] dt-bindings: soc: renesas: Document Renesas R-Car V4H Sparrow Hawk board support Marek Vasut
2025-03-31 8:20 ` Krzysztof Kozlowski
2025-03-30 19:56 ` [PATCH 4/4] arm64: dts: renesas: r8a779g3: Add " Marek Vasut
2025-03-31 0:27 ` Kuninori Morimoto
2025-04-01 9:49 ` Geert Uytterhoeven
2025-04-01 10:55 ` Marek Vasut
2025-03-31 10:05 ` [PATCH 0/4] " Niklas Söderlund
2025-03-31 13:32 ` Rob Herring (Arm)
2025-03-31 13:48 ` Marek Vasut
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=4b5fc903-f2c1-4e7e-8a4f-629566bff3ad@mailbox.org \
--to=marek.vasut@mailbox.org \
--cc=a-bhatia1@ti.com \
--cc=bhelgaas@google.com \
--cc=bigfoot@classfun.cn \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=heiko@sntech.de \
--cc=kever.yang@rock-chips.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=kw@linux.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=magnus.damm@gmail.com \
--cc=manivannan.sadhasivam@linaro.org \
--cc=neil.armstrong@linaro.org \
--cc=rafal@milecki.pl \
--cc=robh@kernel.org \
--cc=yoshihiro.shimoda.uh@renesas.com \
/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;
as well as URLs for NNTP newsgroup(s).