]> git.baikalelectronics.ru Git - uboot.git/commit
clk: versal: Move pm_query_id out of clock driver
authorMichal Simek <michal.simek@xilinx.com>
Thu, 23 Jul 2020 07:24:06 +0000 (09:24 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 20 Aug 2020 08:57:46 +0000 (10:57 +0200)
commit66bc6c1a6762daf408b190fbcc4a87ca37ad99d8
tree15b483ce4e802e94ac2c7f04033bff5eb848b363
parentab81318d451d3f32cc2121fea455fe51845cd39b
clk: versal: Move pm_query_id out of clock driver

There is no reason to have firmware specific structure in clock driver.
Move it to generic location and also initialize enum values which is based
on https://lore.kernel.org/linux-arm-kernel/20200318125003.GA2727094@kroah.com/
recommended way to go to make sure that values guaranteed by compiler.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/clk/clk_versal.c
include/zynqmp_firmware.h