es: 47f2a9ce527a ("net: stmmac: dma channel init prepared for multiple
queues")
Reviewed-by: Zhang, Baoli
Signed-off-by: Ong Boon Leong
Signed-off-by: Weifeng Voon
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
index
From: "Tan, Tee Min"
Currently ethtool was not able to get/set the flow control due to a
missing "!". It will always return -EOPNOTSUPP even the device is
flow control supported.
This patch fixes the condition check for ethtool flow control get/set
function for ETHTOOL_LINK_MODE_Asym_Pause_BIT.
From: Ong Boon Leong
With xPCS functions now ready, we add them into the main driver and
ethtool logics. To differentiate from EQoS MAC PCS and DWC Ethernet
xPCS, we introduce 'has_xpcs' in platform data as a mean to indicate
whether GBE controller includes xPCS or not.
To support platform-speci
iewed-by: Zhang, Baoli
Signed-off-by: Weifeng Voon
Signed-off-by: Ong Boon Leong
---
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
b/drivers/net/ethernet/stmicro/stmm
This allows applications to set the transfer timeout in 10ms increments via
ioctl I2C_TIMEOUT.
Signed-off-by: Weifeng Voon
---
changelog v2:
* No code change, just change to a more suitable title
changelog v3:
* Move changelog out of commit log
drivers/i2c/busses/i2c-designware-core.c | 2
This allows applications to set the transfer timeout in 10ms increments via
ioctl I2C_TIMEOUT.
changelog v2:
* No code change, just change to a more suitable title
Signed-off-by: Weifeng Voon
---
drivers/i2c/busses/i2c-designware-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
This allows applications to set the transfer timeout in 10ms increments via
ioctl I2C_TIMEOUT.
Signed-off-by: Weifeng Voon
---
drivers/i2c/busses/i2c-designware-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/i2c-designware-core.c
b/drivers/i2c
This patch enabled fast mode plus. The fast mode plus and fast speed
share the same HCNT and LCNT register. So, the fast mode plus will only
run when the HCNT and LCNT value is provided. Else, it will run at fast
speed as default.
Signed-off-by: Weifeng Voon
---
drivers/i2c/busses/i2c
: Weifeng Voon
---
drivers/i2c/busses/i2c-designware-core.h| 2 ++
drivers/i2c/busses/i2c-designware-platdrv.c | 12 ++--
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/i2c/busses/i2c-designware-core.h
b/drivers/i2c/busses/i2c-designware-core.h
index cd409e7
DW_IC_CON_MASTER, DW_IC_CON_SLAVE_DISABLE and DW_IC_CON_RESTART_EN are
common config that need to be set for i2c designware master. So, configure
it first without having to repeat inside the if else.
Signed-off-by: Weifeng Voon
---
drivers/i2c/busses/i2c-designware-platdrv.c | 10 ++
1
This patch enabled high speed mode. High speed mode can be turn on by
setting the clk_freq to 340. High speed HCNT and LCNT are needed
as there is no default value provided.
Signed-off-by: Weifeng Voon
---
drivers/i2c/busses/i2c-designware-core.c| 26 +-
drivers
Enabled fast mode plus and high speed which supported by APL SoC.
Weifeng Voon (5):
i2c: designware: Move clk_freq into struct dw_i2c_dev
i2c: designware: get fast plus and high speed *CNT configuration
i2c: designware: Enable fast mode plus
i2c: designware: set the common config before
I2C designware controller can run at fast mode plus and high speed. This
patch adds the capability to get the HCNT, LCNT configuration via
FPCN (fast plus) and HSCN (high speed) ACPI method.
Signed-off-by: Weifeng Voon
---
drivers/i2c/busses/i2c-designware-core.h| 8
drivers/i2c
13 matches
Mail list logo