mbox series

[V4,net-next,0/4] net: ethernet: stmmac: cleanup clock and optimization

Message ID 20191107084757.17910-1-christophe.roullier@st.com (mailing list archive)
Headers show
Series net: ethernet: stmmac: cleanup clock and optimization | expand

Message

Christophe Roullier Nov. 7, 2019, 8:47 a.m. UTC
Some improvements: 
 - manage syscfg as optional clock, 
 - update slew rate of ETH_MDIO pin, 
 - Enable gating of the MAC TX clock during TX low-power mode

V4: Update with Andrew Lunn remark

Christophe Roullier (4):
  net: ethernet: stmmac: Add support for syscfg clock
  ARM: dts: stm32: remove syscfg clock on stm32mp157c ethernet
  ARM: dts: stm32: adjust slew rate for Ethernet
  ARM: dts: stm32: Enable gating of the MAC TX clock during TX low-power
    mode on stm32mp157c

 arch/arm/boot/dts/stm32mp157-pinctrl.dtsi     |  9 ++++++--
 arch/arm/boot/dts/stm32mp157c.dtsi            |  7 +++---
 .../net/ethernet/stmicro/stmmac/dwmac-stm32.c | 23 +++++++------------
 3 files changed, 18 insertions(+), 21 deletions(-)

Comments

David Miller Nov. 7, 2019, 11:26 p.m. UTC | #1
From: Christophe Roullier <christophe.roullier@st.com>
Date: Thu, 7 Nov 2019 09:47:53 +0100

> Some improvements: 
>  - manage syscfg as optional clock, 
>  - update slew rate of ETH_MDIO pin, 
>  - Enable gating of the MAC TX clock during TX low-power mode
> 
> V4: Update with Andrew Lunn remark

This is mostly ARM DT updates, which tree should this go through?

I don't want to step on toes this time :-)
Alexandre TORGUE Nov. 8, 2019, 10:35 a.m. UTC | #2
Hi David

On 11/8/19 12:26 AM, David Miller wrote:
> From: Christophe Roullier <christophe.roullier@st.com>
> Date: Thu, 7 Nov 2019 09:47:53 +0100
> 
>> Some improvements:
>>   - manage syscfg as optional clock,
>>   - update slew rate of ETH_MDIO pin,
>>   - Enable gating of the MAC TX clock during TX low-power mode
>>
>> V4: Update with Andrew Lunn remark
> 
> This is mostly ARM DT updates, which tree should this go through?
> 
> I don't want to step on toes this time :-)
> 

I'll take DT patches in my STM32 tree.

Thanks
Alex
David Miller Nov. 8, 2019, 7:21 p.m. UTC | #3
From: Alexandre Torgue <alexandre.torgue@st.com>
Date: Fri, 8 Nov 2019 11:35:23 +0100

> Hi David
> 
> On 11/8/19 12:26 AM, David Miller wrote:
>> From: Christophe Roullier <christophe.roullier@st.com>
>> Date: Thu, 7 Nov 2019 09:47:53 +0100
>> 
>>> Some improvements:
>>>   - manage syscfg as optional clock,
>>>   - update slew rate of ETH_MDIO pin,
>>>   - Enable gating of the MAC TX clock during TX low-power mode
>>>
>>> V4: Update with Andrew Lunn remark
>> This is mostly ARM DT updates, which tree should this go through?
>> I don't want to step on toes this time :-)
>> 
> 
> I'll take DT patches in my STM32 tree.

Ok, I took patch #1 into net-next.
Alexandre TORGUE Dec. 9, 2019, 2:02 p.m. UTC | #4
Hi Christophe

On 11/7/19 9:47 AM, Christophe Roullier wrote:
> Some improvements:
>   - manage syscfg as optional clock,
>   - update slew rate of ETH_MDIO pin,
>   - Enable gating of the MAC TX clock during TX low-power mode
> 
> V4: Update with Andrew Lunn remark
> 
> Christophe Roullier (4):
>    net: ethernet: stmmac: Add support for syscfg clock
>    ARM: dts: stm32: remove syscfg clock on stm32mp157c ethernet
>    ARM: dts: stm32: adjust slew rate for Ethernet
>    ARM: dts: stm32: Enable gating of the MAC TX clock during TX low-power
>      mode on stm32mp157c
> 
>   arch/arm/boot/dts/stm32mp157-pinctrl.dtsi     |  9 ++++++--
>   arch/arm/boot/dts/stm32mp157c.dtsi            |  7 +++---
>   .../net/ethernet/stmicro/stmmac/dwmac-stm32.c | 23 +++++++------------
>   3 files changed, 18 insertions(+), 21 deletions(-)
> 

For DT patches:

Applied on stm32-next.

Thanks.
Alex