]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: add support for clk_is_match()
authorSekhar Nori <nsekhar@ti.com>
Thu, 1 Aug 2019 13:42:55 +0000 (19:12 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 12 Aug 2019 17:33:38 +0000 (13:33 -0400)
commitacbb7cd4d34caec36ff6d044a8f55325fa27459f
tree5e6a7ce2f65e365a906d16b702f9493535811242
parent71cd80af863945e81f468c22e5e1afb06eba75cd
clk: add support for clk_is_match()

Add support for clk_is_match() which is required to
know if two clock pointers point to the same exact
physical clock.

Also add a unit test for the new API.

Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
drivers/clk/clk-uclass.c
include/clk.h
test/dm/clk.c