]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: Inform the core about consumer devices
authorStephen Boyd <sboyd@kernel.org>
Tue, 11 Dec 2018 16:34:16 +0000 (08:34 -0800)
committerStephen Boyd <sboyd@kernel.org>
Fri, 1 Mar 2019 19:17:22 +0000 (11:17 -0800)
commitefa850487a6b6742699e3352d8562f5aba531ae7
tree44515c79e2a05d5602cfbade81753302222a5c86
parent4472287a3b2f52f4aa53f294ccb74392dde4e07d
clk: Inform the core about consumer devices

We'd like to have a pointer to the device that's consuming a particular
clk in the clk framework so we can link the consumer to the clk provider
with a PM device link. Add a device argument to clk_hw_create_clk() for
this so it can be used in subsequent patches to add and remove the link.

Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Jerome Brunet <jbrunet@baylibre.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Jeffrey Hugo <jhugo@codeaurora.org>
Cc: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk.c
drivers/clk/clk.h
drivers/clk/clkdev.c