commit | ec9712cee18ab23f5950f9f860a7b1550440abad | [log] [tgz] |
---|---|---|
author | Rajan Vaja <rajan.vaja@xilinx.com> | Fri Jul 20 03:16:27 2018 -0700 |
committer | Rajan Vaja <rajan.vaja@xilinx.com> | Mon Aug 27 06:49:46 2018 -0700 |
tree | f6c673a1da520ba05c6b381fb16c3a346dd5babf | |
parent | 6d4f6aea2cd96a4a57ffa2d88b9230e2cab88f28 [diff] |
zynqmp: pm: Add API to get number of clocks Currently in Linux maximum number of clocks is hard-coded and so it needs to allocate static memory. It can get actual clock number after querying all clock names by special clock name string. Add new query data parameter to get actual number of clocks so Linux can get actual clock numbers in advance. Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>