Message ID | 20200512095852.29520-1-david.wu@rock-chips.com |
---|---|
State | New |
Headers | show |
Series | Add dwc_eth_qos support for rockchip | expand |
Hi David On 5/12/20 11:58 AM, David Wu wrote: > The Rockchip CSR clock range is from 100M to 150M, add > EQOS_MAC_MDIO_ADDRESS_CR_100_150. > > Signed-off-by: David Wu <david.wu at rock-chips.com> > --- > > Changes in v2: > - None > > drivers/net/dwc_eth_qos.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/dwc_eth_qos.h b/drivers/net/dwc_eth_qos.h > index def2706271..39f8452c17 100644 > --- a/drivers/net/dwc_eth_qos.h > +++ b/drivers/net/dwc_eth_qos.h > @@ -12,10 +12,10 @@ > #define EQOS_MAC_RXQ_CTRL0_RXQ0EN_ENABLED_DCB 2 > #define EQOS_MAC_RXQ_CTRL0_RXQ0EN_ENABLED_AV 1 > > +#define EQOS_MAC_MDIO_ADDRESS_CR_100_150 1 > #define EQOS_MAC_MDIO_ADDRESS_CR_20_35 2 > #define EQOS_MAC_MDIO_ADDRESS_CR_250_300 5 > > - > struct eqos_config { > bool reg_access_always_ok; > int mdio_wait; Reviewed-by: Patrice Chotard <patrice.chotard at st.com> Thanks
diff --git a/drivers/net/dwc_eth_qos.h b/drivers/net/dwc_eth_qos.h index def2706271..39f8452c17 100644 --- a/drivers/net/dwc_eth_qos.h +++ b/drivers/net/dwc_eth_qos.h @@ -12,10 +12,10 @@ #define EQOS_MAC_RXQ_CTRL0_RXQ0EN_ENABLED_DCB 2 #define EQOS_MAC_RXQ_CTRL0_RXQ0EN_ENABLED_AV 1 +#define EQOS_MAC_MDIO_ADDRESS_CR_100_150 1 #define EQOS_MAC_MDIO_ADDRESS_CR_20_35 2 #define EQOS_MAC_MDIO_ADDRESS_CR_250_300 5 - struct eqos_config { bool reg_access_always_ok; int mdio_wait;
The Rockchip CSR clock range is from 100M to 150M, add EQOS_MAC_MDIO_ADDRESS_CR_100_150. Signed-off-by: David Wu <david.wu at rock-chips.com> --- Changes in v2: - None drivers/net/dwc_eth_qos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)