summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-02-12 23:25:32 +0300
committerTom Rini <trini@konsulko.com>2023-02-12 23:25:32 +0300
commit9345f165eb52888a61f3a67546f7834dfb9238b2 (patch)
treec92fa4df033f811914aa92ac306baba36ecd9bc6 /include
parent386e77cda8b690dbf5b2b7c828b3313205e5078c (diff)
parent5a675abfe7c3f12b475cc0a6c9074a9fbe0b6bb6 (diff)
downloadu-boot-9345f165eb52888a61f3a67546f7834dfb9238b2.tar.xz
Merge tag 'clk-2023.04-rc1' of https://source.denx.de/u-boot/custodians/u-boot-clk
Clock changes for 2023.04-rc1 This contains various fixes and small features. I've included a reset patch as well since it was in the same series as a clock patch.
Diffstat (limited to 'include')
-rw-r--r--include/clk.h4
-rw-r--r--include/reset.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/include/clk.h b/include/clk.h
index 138766bd49..d91285235f 100644
--- a/include/clk.h
+++ b/include/clk.h
@@ -167,7 +167,7 @@ int clk_get_bulk(struct udevice *dev, struct clk_bulk *bulk);
* clk_get_by_name() - Get/request a clock by name.
* @dev: The client device.
* @name: The name of the clock to request, within the client's list of
- * clocks.
+ * clocks, or NULL to request the first clock in the list.
* @clk: A pointer to a clock struct to initialize.
*
* This looks up and requests a clock. The name is relative to the client
@@ -184,7 +184,7 @@ int clk_get_by_name(struct udevice *dev, const char *name, struct clk *clk);
* clk_get_by_name_nodev - Get/request a clock by name without a device.
* @node: The client ofnode.
* @name: The name of the clock to request, within the client's list of
- * clocks.
+ * clocks, or NULL to request the first clock in the list.
* @clk: A pointer to a clock struct to initialize.
*
* Return: 0 if OK, or a negative error code.
diff --git a/include/reset.h b/include/reset.h
index 965f02e0ce..036a786d2a 100644
--- a/include/reset.h
+++ b/include/reset.h
@@ -238,7 +238,8 @@ int reset_get_bulk(struct udevice *dev, struct reset_ctl_bulk *bulk);
*
* @dev: The client device.
* @name: The name of the reset signal to request, within the client's
- * list of reset signals.
+ * list of reset signals, or NULL to request the first reset
+ * signal in the list.
* @reset_ctl: A pointer to a reset control struct to initialize.
* Return: 0 if OK, or a negative error code.
*/