Re: [PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

2022-12-13 Thread Sean Anderson
On 12/12/22 18:37, Stephen Boyd wrote: > Quoting Sean Anderson (2022-12-08 07:36:45) >> On 12/6/22 21:17, Stephen Boyd wrote: >> > Quoting Sean Anderson (2022-11-01 16:27:21) >> >> On 11/1/22 16:10, Stephen Boyd wrote: >> >> >> >> >> >> Oh, I remember why I did this. I need the reference clock

Re: [PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

2022-12-12 Thread Stephen Boyd
Quoting Sean Anderson (2022-12-08 07:36:45) > On 12/6/22 21:17, Stephen Boyd wrote: > > Quoting Sean Anderson (2022-11-01 16:27:21) > >> On 11/1/22 16:10, Stephen Boyd wrote: > >> >> > >> >> Oh, I remember why I did this. I need the reference clock for > >> >> clk_hw_round_rate, > >> >> which is

Re: [PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

2022-12-08 Thread Sean Anderson
On 12/6/22 21:17, Stephen Boyd wrote: > Quoting Sean Anderson (2022-11-01 16:27:21) >> On 11/1/22 16:10, Stephen Boyd wrote: >> >> >> >> Oh, I remember why I did this. I need the reference clock for >> >> clk_hw_round_rate, >> >> which is AFAICT the only correct way to implement round_rate. >>

Re: [PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

2022-12-06 Thread Stephen Boyd
Quoting Sean Anderson (2022-11-01 16:27:21) > On 11/1/22 16:10, Stephen Boyd wrote: > >> > >> Oh, I remember why I did this. I need the reference clock for > >> clk_hw_round_rate, > >> which is AFAICT the only correct way to implement round_rate. > >> > > > > Is the reference clk the parent of

Re: [PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

2022-11-01 Thread Sean Anderson
On 11/1/22 16:07, Stephen Boyd wrote: > Quoting Sean Anderson (2022-10-28 09:13:57) >> On 10/27/22 19:03, Stephen Boyd wrote: >> > Quoting Sean Anderson (2022-10-27 12:11:08) >> >> diff --git a/drivers/phy/freescale/Kconfig b/drivers/phy/freescale/Kconfig >> >> index 853958fb2c06..a6f9e39b

Re: [PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

2022-11-01 Thread Sean Anderson
On 11/1/22 16:10, Stephen Boyd wrote: > Quoting Sean Anderson (2022-10-28 09:33:59) >> On 10/28/22 12:13, Sean Anderson wrote: >> > On 10/27/22 19:03, Stephen Boyd wrote: >> >>> +   ref = devm_clk_get(dev, ref_name); >> >>> +   if (IS_ERR(clk->ref)) { >> >>> +   ret =

Re: [PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

2022-11-01 Thread Stephen Boyd
Quoting Sean Anderson (2022-10-28 09:33:59) > On 10/28/22 12:13, Sean Anderson wrote: > > On 10/27/22 19:03, Stephen Boyd wrote: > >>> +   ref = devm_clk_get(dev, ref_name); > >>> +   if (IS_ERR(clk->ref)) { > >>> +   ret = PTR_ERR(clk->ref); > >>> +  

Re: [PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

2022-11-01 Thread Stephen Boyd
Quoting Sean Anderson (2022-10-28 09:13:57) > On 10/27/22 19:03, Stephen Boyd wrote: > > Quoting Sean Anderson (2022-10-27 12:11:08) > >> diff --git a/drivers/phy/freescale/Kconfig b/drivers/phy/freescale/Kconfig > >> index 853958fb2c06..a6f9e39b 100644 > >> --- a/drivers/phy/freescale/Kconfig

Re: [PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

2022-10-31 Thread Sean Anderson
On 10/29/22 05:11, Bagas Sanjaya wrote: > On Thu, Oct 27, 2022 at 03:11:08PM -0400, Sean Anderson wrote: >> .. only:: subproject and html >> diff --git a/Documentation/driver-api/phy/lynx_10g.rst >> b/Documentation/driver-api/phy/lynx_10g.rst >> new file mode 100644 >> index

Re: [PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

2022-10-29 Thread Bagas Sanjaya
On Thu, Oct 27, 2022 at 03:11:08PM -0400, Sean Anderson wrote: > .. only:: subproject and html > diff --git a/Documentation/driver-api/phy/lynx_10g.rst > b/Documentation/driver-api/phy/lynx_10g.rst > new file mode 100644 > index ..ebbf4dd86726 > --- /dev/null > +++

Re: [PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

2022-10-28 Thread Sean Anderson
On 10/28/22 12:13, Sean Anderson wrote: On 10/27/22 19:03, Stephen Boyd wrote: Quoting Sean Anderson (2022-10-27 12:11:08) diff --git a/drivers/phy/freescale/Kconfig b/drivers/phy/freescale/Kconfig index 853958fb2c06..a6f9e39b 100644 --- a/drivers/phy/freescale/Kconfig +++

Re: [PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

2022-10-28 Thread Sean Anderson
On 10/27/22 19:03, Stephen Boyd wrote: Quoting Sean Anderson (2022-10-27 12:11:08) diff --git a/drivers/phy/freescale/Kconfig b/drivers/phy/freescale/Kconfig index 853958fb2c06..a6f9e39b 100644 --- a/drivers/phy/freescale/Kconfig +++ b/drivers/phy/freescale/Kconfig @@ -47,3 +47,25 @@ config

Re: [PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

2022-10-27 Thread Stephen Boyd
Quoting Sean Anderson (2022-10-27 12:11:08) > diff --git a/drivers/phy/freescale/Kconfig b/drivers/phy/freescale/Kconfig > index 853958fb2c06..a6f9e39b 100644 > --- a/drivers/phy/freescale/Kconfig > +++ b/drivers/phy/freescale/Kconfig > @@ -47,3 +47,25 @@ config PHY_FSL_LYNX_28G >

[PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

2022-10-27 Thread Sean Anderson
This adds support for the Lynx 10G "SerDes" devices found on various NXP QorIQ SoCs. There may be up to four SerDes devices on each SoC, each supporting up to eight lanes. Protocol support for each SerDes is highly heterogeneous, with each SoC typically having a totally different selection of