aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/tegra/clk-bpmp.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-10-19clk: tegra: Check BPMP response return codeTimo Alho1-5/+10
Check return code in BPMP response message(s). The typical error case is when a clock operation is attempted with an invalid clock identifier. Also remove error print from call to clk_get_info() as the implementation loops through the range of all possible identifiers, yet the operation is expected to error out when the clock ID is unused. Signed-off-by: Timo Alho <talho@nvidia.com> Acked-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-02-03clk: tegra: Add BPMP clock driverThierry Reding1-0/+620
This driver uses the services provided by the BPMP firmware driver to implement a clock driver based on the MRQ_CLK request. This part of the BPMP ABI provides a means to enumerate and control clocks and should allow the driver to work on any chip that supports this ABI. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>