]> git.dujemihanovic.xyz Git - u-boot.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)
commit29af2ac48c8f910cc2efc8099323f9d619fb2bd5
tree15b483ce4e802e94ac2c7f04033bff5eb848b363
parentb5a3387dc163dbb958c362d95ddc7415bebdca61
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