Skip to content

Commit 765ea12

Browse files
committed
Merge tag 'clk-microchip-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into clk-microchip
Pull Microchip clk driver updates from Claudiu Beznea: - Support for the SAMA7D65 SoC - Clock IDs for for the slow clock controller * tag 'clk-microchip-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux: clk: at91: sama7d65: add sama7d65 pmc driver dt-bindings: clock: Add SAMA7D65 PMC compatible string dt-bindings: clocks: atmel,at91sam9x5-sckc: add sama7d65 clk: at91: sckc: Use SCKC_{TD, MD}_SLCK IDs for clk32k clocks dt-bindings: clk: at91: Add clock IDs for the slow clock controller
2 parents 40384c8 + 9a49771 commit 765ea12

File tree

9 files changed

+1403
-13
lines changed

9 files changed

+1403
-13
lines changed

Documentation/devicetree/bindings/clock/atmel,at91rm9200-pmc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ properties:
4343
- atmel,sama5d4-pmc
4444
- microchip,sam9x60-pmc
4545
- microchip,sam9x7-pmc
46+
- microchip,sama7d65-pmc
4647
- microchip,sama7g5-pmc
4748
- const: syscon
4849

@@ -90,6 +91,7 @@ allOf:
9091
enum:
9192
- microchip,sam9x60-pmc
9293
- microchip,sam9x7-pmc
94+
- microchip,sama7d65-pmc
9395
- microchip,sama7g5-pmc
9496
then:
9597
properties:

Documentation/devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ properties:
2020
- items:
2121
- enum:
2222
- microchip,sam9x7-sckc
23+
- microchip,sama7d65-sckc
2324
- microchip,sama7g5-sckc
2425
- const: microchip,sam9x60-sckc
2526

drivers/clk/at91/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ obj-$(CONFIG_SOC_SAM9X7) += sam9x7.o
2424
obj-$(CONFIG_SOC_SAMA5D3) += sama5d3.o dt-compat.o
2525
obj-$(CONFIG_SOC_SAMA5D4) += sama5d4.o dt-compat.o
2626
obj-$(CONFIG_SOC_SAMA5D2) += sama5d2.o dt-compat.o
27+
obj-$(CONFIG_SOC_SAMA7D65) += sama7d65.o
2728
obj-$(CONFIG_SOC_SAMA7G5) += sama7g5.o

drivers/clk/at91/clk-master.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
#define PMC_MCR_CSS_SHIFT (16)
2222

23-
#define MASTER_MAX_ID 4
23+
#define MASTER_MAX_ID 9
2424

2525
#define to_clk_master(hw) container_of(hw, struct clk_master, hw)
2626

drivers/clk/at91/clk-sam9x60-pll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#define UPLL_DIV 2
2424
#define PLL_MUL_MAX (FIELD_GET(PMC_PLL_CTRL1_MUL_MSK, UINT_MAX) + 1)
2525

26-
#define PLL_MAX_ID 7
26+
#define PLL_MAX_ID 9
2727

2828
struct sam9x60_pll_core {
2929
struct regmap *regmap;

drivers/clk/at91/pmc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ static struct syscore_ops pmc_syscore_ops = {
151151
static const struct of_device_id pmc_dt_ids[] = {
152152
{ .compatible = "atmel,sama5d2-pmc" },
153153
{ .compatible = "microchip,sama7g5-pmc", },
154+
{ .compatible = "microchip,sama7d65-pmc", },
154155
{ /* sentinel */ }
155156
};
156157

0 commit comments

Comments
 (0)