summaryrefslogtreecommitdiff
path: root/tools/docs/parse-headers.py
diff options
context:
space:
mode:
authorMaíra Canal <mcanal@igalia.com>2025-08-01 00:06:18 +0300
committerStephen Boyd <sboyd@kernel.org>2025-09-21 19:09:34 +0300
commit919d6924ae9b4bcc9cb1d5ce4b78d5b92665d630 (patch)
tree7ec6c0d436e2b10792e9234329107e309f15c434 /tools/docs/parse-headers.py
parent072ce917bf95fc31f3c8c106b71a31e8607553ce (diff)
downloadlinux-919d6924ae9b4bcc9cb1d5ce4b78d5b92665d630.tar.xz
clk: bcm: rpi: Turn firmware clock on/off when preparing/unpreparing
Currently, when we prepare or unprepare RPi's clocks, we don't actually enable/disable the firmware clock. This means that `clk_disable_unprepare()` doesn't actually change the clock state at all, nor does it lowers the clock rate. From the Mailbox Property Interface documentation [1], we can see that we should use `RPI_FIRMWARE_SET_CLOCK_STATE` to set the clock state off/on. Therefore, use `RPI_FIRMWARE_SET_CLOCK_STATE` to create a prepare and an unprepare hook for RPi's firmware clock. As now the clocks are actually turned off, some of them are now marked CLK_IS_CRITICAL, as those are required to be on during the whole system operation. Link: https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface [1] Signed-off-by: Maíra Canal <mcanal@igalia.com> Reviewed-by: Stefan Wahren <wahrenst@gmx.net> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions