commit | da9594089fceaa344a667cc9a0baea17c640b15e | [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 | 06dd7582316a3ce0331ee3a15b34f59166497f9a [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>