Skip to content

CREG clk driver for NXP LPC18xx family

Stephen Boyd linux-arm-kernel linux-clk linux-devicetree 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 2 patches 0 repliesNew

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2clk: add lpc18xx creg clk driver+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] CREG clk driver for NXP LPC18xx family
Quoted 17 lines · Joachim Eastwood

Hi Stephen,

Quoted 7 lines · Stephen Boyd
Quoted 6 lines · Joachim Eastwood

This patch set adds a clk driver for the low power clocks found in the CREG block on lpc18xx. CREG is a collection of miscellaneous configuration registers that can be accessed through a syscon regmap interface. The clk driver makes it possible to setup and enabled these two clocks.

Quoted 6 lines
Quoted 3 lines

This need to support peripherals like the internal RTC on the lpc18xx platform.

I know this is many months old, but is this driver still required? I can apply it to clk-next if so.

Quoted 7 lines

It is still needed for the internal RTC (rtc-lpc24xx) on lpc18xx. The RTC uses a 1 kHz clock that is controlled in CREG (misc system regs).

Note; if you apply it you will most likely get a very trivial conflict in drivers/clk/nxp/Makefile because clk-lpc32xx.c has been added since these patches was sent.

Hm, ok. I see that Mike had some comments on the thread that look to be left unanswered? Care to address those first?

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project