commit | b81eb44cab1120a00246011b8fea5d5f6a148321 | [log] [tgz] |
---|---|---|
author | Harsh Shah <harshs@codeaurora.org> | Fri Oct 27 00:05:11 2017 -0700 |
committer | Senthil Rajagopal <skrajago@codeaurora.org> | Sun Nov 05 16:08:46 2017 +0530 |
tree | 8a06e759b8cbeba91952dd1f45521149a96b92bd | |
parent | cd0be6b62d4f778f35a63930ecb0ec7e4cb95cfd [diff] |
msm: camera: util: Add support for option clk Camera devices can have clocks which need not be turned ON by default and only in some usecases. These are represented in DT by clock-names-option and clocks-option. Add APIs for the devices to get references to these clocks and then enable them using the existing clk_enable API. Change-Id: I12812e9cbe754e37d2c9a074a91ee1d02c323352 Signed-off-by: Harsh Shah <harshs@codeaurora.org>