[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f29f4d5f-b23e-5729-ea51-b8995171347f@ti.com>
Date: Mon, 13 May 2024 17:19:16 +0530
From: Ravi Gunasekaran <r-gunasekaran@...com>
To: <nm@...com>, <vigneshr@...com>, <afd@...com>, <robh@...nel.org>,
<rogerq@...nel.org>
CC: <kristo@...nel.org>, <krzk+dt@...nel.org>, <conor+dt@...nel.org>,
<srk@...com>, <s-vadapalli@...com>,
<linux-arm-kernel@...ts.infradead.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
Ravi
Gunasekaran <r-gunasekaran@...com>
Subject: Re: [PATCH v2 1/3] arm64: dts: ti: k3-j722s-main: Add support for
SERDES0
Roger,
On 5/13/24 5:14 PM, Ravi Gunasekaran wrote:
> AM62P's DT source files are reused for J722S inorder to
> avoid duplication of nodes. But J722S has additional
> peripherals that are not present in AM62P.
>
> Introduce a -main.dtsi to define such additional main
> domain peripherals and define the SERDES0 node.
>
> Signed-off-by: Ravi Gunasekaran <r-gunasekaran@...com>
> ---
> Changes since v1:
> ----------------
> * Newly introduced k3-j722s-main.dtsi to add main domain
> peripherals that are additionally present in J722S
>
> * Used generic node names - renamed "clock-cmnrefclk" to "clk-0",
> "wiz@...0000" to "phy@...0000"
>
[...]
> +
> +&cbass_main {
> + serdes_wiz0: phy@...0000 {
> + compatible = "ti,am64-wiz-10g";
> + ranges = <0x0f000000 0x0 0x0f000000 0x00010000>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + power-domains = <&k3_pds 279 TI_SCI_PD_EXCLUSIVE>;
> + clocks = <&k3_clks 279 0>, <&k3_clks 279 1>, <&serdes_refclk>;
> + clock-names = "fck", "core_ref_clk", "ext_ref_clk";
> + num-lanes = <1>;
> + #reset-cells = <1>;
> + #clock-cells = <1>;
> +
> + assigned-clocks = <&k3_clks 279 1>;
> + assigned-clock-parents = <&k3_clks 279 5>;
> +
> + serdes0: serdes@...0000 {
[1] expects the node name to be "serdes". So I could not rename this node to "phy"
as discussed in the v1 series.
[1] - https://elixir.bootlin.com/linux/latest/source/drivers/phy/ti/phy-j721e-wiz.c#L1474
> + compatible = "ti,j721e-serdes-10g";
[...]
--
Regards,
Ravi
Powered by blists - more mailing lists