Skip to contentSkip to conversation

clk: at91: add at91sam9n12 pmc driver

PATCH New Alexandre Belloni 1 participant 1 message Jan 17, 2020

Subsystems (2)
lore
Share & tools
lore

Alexandre Belloni

author maintainer
#0 lore raw

PATCH v2 1/1 clk: at91: add at91sam9n12 pmc driver

Add a driver for the PMC clocks of the at91sam9n12 family.

---
Changes in v2:
- use nck for the number of peripheral clocks
- correct alignment

 drivers/clk/at91/Makefile      |   3 +-
 drivers/clk/at91/at91sam9n12.c | 239 +++++++++++++++++++++++++++++++++
 2 files changed, 241 insertions(+), 1 deletion(-)
 create mode 100644 drivers/clk/at91/at91sam9n12.c
drivers/clk/at91/Makefile +2 -1
index 3732241352ce..d467c6f8650a 100644
@@ -15,7 +15,8 @@ obj-$(CONFIG_HAVE_AT91_H32MX)		+= clk-h32mx.o
 obj-$(CONFIG_HAVE_AT91_GENERATED_CLK)	+= clk-generated.o
 obj-$(CONFIG_HAVE_AT91_I2S_MUX_CLK)	+= clk-i2s-mux.o
 obj-$(CONFIG_HAVE_AT91_SAM9X60_PLL)	+= clk-sam9x60-pll.o
-obj-$(CONFIG_SOC_AT91SAM9) += at91sam9260.o at91sam9rl.o at91sam9x5.o
+obj-$(CONFIG_SOC_AT91SAM9) += at91sam9260.o at91sam9rl.o
+obj-$(CONFIG_SOC_AT91SAM9) += at91sam9n12.o at91sam9x5.o
 obj-$(CONFIG_SOC_SAM9X60) += sam9x60.o
 obj-$(CONFIG_SOC_SAMA5D4) += sama5d4.o
 obj-$(CONFIG_SOC_SAMA5D2) += sama5d2.o
drivers/clk/at91/at91sam9n12.c new file +239 -0

239 lines not on this page · raw message

Signature · 1 line
2.24.1