Searched hist:bbdcdd044a662de7a1b33b02eb2ccd81596b6420 (Results 1 – 2 of 2) sorted by relevance
| /rk3399_ARM-atf/plat/imx/common/ |
| H A D | imx_clock.c | bbdcdd044a662de7a1b33b02eb2ccd81596b6420 Fri Jul 13 09:21:40 UTC 2018 Bryan O'Donoghue <bryan.odonoghue@linaro.org> imx: imx_clock: wdog: Add watchdog clock API
This patch adds a set of functions to enable the clock for each of the watchdog IP blocks.
Unlike the MMC and UART blocks, the watchdog blocks operate off of the one root clock, only the clock-gates are enable/disabled individually.
As a consequence the function clock_set_wdog_clk_root_bits() is used to set the root-slice just once for all of the watchdog blocks.
Future implementations may need to change this model but for now on the one supported processor and similar NXP SoCs this model should work fine.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
|
| /rk3399_ARM-atf/plat/imx/common/include/ |
| H A D | imx_clock.h | bbdcdd044a662de7a1b33b02eb2ccd81596b6420 Fri Jul 13 09:21:40 UTC 2018 Bryan O'Donoghue <bryan.odonoghue@linaro.org> imx: imx_clock: wdog: Add watchdog clock API
This patch adds a set of functions to enable the clock for each of the watchdog IP blocks.
Unlike the MMC and UART blocks, the watchdog blocks operate off of the one root clock, only the clock-gates are enable/disabled individually.
As a consequence the function clock_set_wdog_clk_root_bits() is used to set the root-slice just once for all of the watchdog blocks.
Future implementations may need to change this model but for now on the one supported processor and similar NXP SoCs this model should work fine.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
|