-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RP1 clocks #6459
RP1 clocks #6459
Commits on Nov 25, 2024
-
dt-bindings: net: cdns,macb: Add compatible for Raspberry Pi RP1
The Raspberry Pi RP1 chip has the Cadence GEM ethernet controller, so add a compatible string for it. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b448e46 - Browse repository at this point
Copy the full SHA b448e46View commit details -
net: macb: Add support for Raspberry Pi RP1 ethernet controller
The RP1 chip has the Cadence GEM block, but wants the tx_clock to always run at 125MHz, in the same way as sama7g5. Add the relevant configuration. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7502d70 - Browse repository at this point
Copy the full SHA 7502d70View commit details -
rp1: clk: Only set PLL_SEC_RST in rp1_pll_divider_off
Rather than clearing all the bits in rp1_pll_divider_off and setting PLL_SEC_RST, retain the status of all the other bits. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 944f616 - Browse repository at this point
Copy the full SHA 944f616View commit details -
rp1: clk: Rationalise the use of the CLK_IS_CRITICAL flag
The clock setup had been copied from clk-bcm2835 which had to cope with the firmware having configured clocks, so there were flags of CLK_IS_CRITICAL and CLK_IGNORE_UNUSED dotted around. That isn't the situation with RP1 where only the main PLLs, CLK_SYS, and CLK_SLOW_SYS are critical, so update the configuration to match. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a9e687 - Browse repository at this point
Copy the full SHA 4a9e687View commit details -
dt: arm64: Fixup RP1 ethernet DT configuration
Configure RP1's ethernet block to do the correct thing. clk_eth is intended to be fixed at 125MHz, so use a new compatible, and use assigned-clocks to configure the clock appropriately. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 325a73a - Browse repository at this point
Copy the full SHA 325a73aView commit details -
The DMA block has a clock, but wasn't defined in the driver. This resulted in the parent being disabled as unused, and then DMA stopped working. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 95642ab - Browse repository at this point
Copy the full SHA 95642abView commit details -
rp1: clk: Remove CLK_IGNORE_UNUSED flags
There should be no issue in disabling the RP1 clocks as long as the kernel knows about all consumers. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 31993fd - Browse repository at this point
Copy the full SHA 31993fdView commit details -
dt: rp1: Use clk_sys for ethernet hclk and pclk
hclk and pclk of the MAC are connected to clk_sys, so define them as being connected accordingly, rather than having fake fixed clocks for them. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ade928 - Browse repository at this point
Copy the full SHA 2ade928View commit details -
dt: rp1: Link RP1 DMA to the associated clock
This makes the kernel representation of the clock structure match reality. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 56a949d - Browse repository at this point
Copy the full SHA 56a949dView commit details