rockchip: clk: rk3288: handle clk_enable requests for GMAC
Since b0ba1e7e9d
(rockchip: clk: rk3288: add clk_enable function and support USB HOST0/HSIC)
Ethernet no longer probes on RK3288.
Add no-ops for GMAC clocks observed to be requested which match the
clk_enable cases in RK3368 and RK3399.
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Cc: Wadim Egorov <w.egorov@phytec.de>
Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
b1959bd0b0
commit
ed1030e152
@ -898,6 +898,16 @@ static int rk3288_clk_enable(struct clk *clk)
|
||||
case HCLK_USBHOST0:
|
||||
case HCLK_HSIC:
|
||||
return 0;
|
||||
|
||||
case SCLK_MAC:
|
||||
case SCLK_MAC_RX:
|
||||
case SCLK_MAC_TX:
|
||||
case SCLK_MACREF:
|
||||
case SCLK_MACREF_OUT:
|
||||
case ACLK_GMAC:
|
||||
case PCLK_GMAC:
|
||||
/* Required to successfully probe the Designware GMAC driver */
|
||||
return 0;
|
||||
}
|
||||
|
||||
debug("%s: unsupported clk %ld\n", __func__, clk->id);
|
||||
|
Loading…
Reference in New Issue
Block a user