From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: "Vesa Jääskeläinen" <vesa.jaaskelainen@vaisala.com>
Cc: Wei Fang <wei.fang@nxp.com>, Shenwei Wang <shenwei.wang@nxp.com>,
Clark Wang <xiaoning.wang@nxp.com>,
NXP Linux Team <linux-imx@nxp.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Russell King <linux@armlinux.org.uk>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/2] dt-bindings: net: fsl,fec: Add TX clock controls
Date: Wed, 12 Jul 2023 22:36:35 +0200 [thread overview]
Message-ID: <006f9599-6aa4-52ac-068a-831893ec6bf8@linaro.org> (raw)
In-Reply-To: <20230711150808.18714-2-vesa.jaaskelainen@vaisala.com>
On 11/07/2023 17:08, Vesa Jääskeläinen wrote:
> With fsl,fec-tx-clock-output one can control if TX clock is routed outside
> of the chip.
>
> With fsl,fec-tx-clk-as-ref-clock one can select if external TX clock is as
> reference clock.
>
> Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
> ---
> .../devicetree/bindings/net/fsl,fec.yaml | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/fsl,fec.yaml b/Documentation/devicetree/bindings/net/fsl,fec.yaml
> index b494e009326e..c09105878bc6 100644
> --- a/Documentation/devicetree/bindings/net/fsl,fec.yaml
> +++ b/Documentation/devicetree/bindings/net/fsl,fec.yaml
> @@ -166,6 +166,21 @@ properties:
> description:
> If present, indicates that the hardware supports waking up via magic packet.
>
> + fsl,fec-tx-clock-output:
> + $ref: /schemas/types.yaml#/definitions/flag
> + description:
> + If present, ENETx_TX_CLK output driver is enabled.
> + If not present, ENETx_TX_CLK output driver is disabled.
Here...
> +
> + fsl,fec-tx-clk-as-ref-clock:
> + $ref: /schemas/types.yaml#/definitions/flag
> + description:
> + If present, gets ENETx TX reference clk from the ENETx_TX_CLK pin. In
> + this use case, an external OSC provides the clock for both the external
> + PHY and the internal controller.
> + If not present, ENETx TX reference clock is driven by ref_enetpllx. This
> + clock is also output to pins via the IOMUX.ENET_REF_CLKx function.
and here:
In general, Common Clock Framework and its bindings should be used for
handling clock providers and consumers. Why it cannot be used for these
two cases?
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-07-12 20:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-11 15:08 [PATCH 0/2] ARM: imx: imx6sx: Add support for TX clock controls Vesa Jääskeläinen
2023-07-11 15:08 ` [PATCH 1/2] dt-bindings: net: fsl,fec: Add " Vesa Jääskeläinen
2023-07-12 20:36 ` Krzysztof Kozlowski [this message]
2023-07-13 8:29 ` Vesa Jääskeläinen
2023-07-13 8:47 ` Ahmad Fatoum
2023-07-13 9:07 ` Vesa Jääskeläinen
2023-07-11 15:08 ` [PATCH 2/2] ARM: imx: imx6sx: Add support for " Vesa Jääskeläinen
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=006f9599-6aa4-52ac-068a-831893ec6bf8@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=shenwei.wang@nxp.com \
--cc=vesa.jaaskelainen@vaisala.com \
--cc=wei.fang@nxp.com \
--cc=xiaoning.wang@nxp.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).