Thread (14 messages) 14 messages, 3 authors, 2015-07-28

[PATCH v3 2/7] ARM: bcm2835: Add a Raspberry Pi-specific clock driver.

From: lee@kernel.org (Lee Jones)
Date: 2015-06-09 09:56:45
Also in: linux-clk, lkml

On Mon, 08 Jun 2015, Eric Anholt wrote:
Unfortunately, the clock manager's registers are not accessible by the
ARM, so we have to request that the firmware modify our clocks for us.

This driver only registers the clocks at the point they are requested
by a client driver.  This is partially to support returning
-EPROBE_DEFER when the firmware driver isn't supported yet, but it
also avoids issues with disabling "unused" clocks due to them not yet
being connected to their consumers in the DT.

v2: Declare the mutex static (from review by Baruch Siach), merge
    description and copyright comments.

v3: Update for new rpi firmware API.  Update the compatible string.
    Make the firmware handle be under a vendor-namespaced property.
    Make the DT indices match the firmware clock IDs.  Move the driver
    under the firmware driver's Kconfig, since it requires it.  Move a
    container_of() from 2 callers into the callee.

Signed-off-by: Eric Anholt <redacted>
---
 drivers/clk/Makefile          |   1 +
 drivers/clk/clk-raspberrypi.c | 242 ++++++++++++++++++++++++++++++++++++++++++
This is not an "ARM" patch.

The subject line needs to reflect the subsystem you are submitting to.

`git log --oneline -- <subsystem>`
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help