clk: x86: Move clk-pmc-atom register defines to include/linux/platform_data/x86/pmc_a...
authorHans de Goede <hdegoede@redhat.com>
Tue, 5 Mar 2024 10:59:11 +0000 (11:59 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 12 Mar 2024 10:48:15 +0000 (12:48 +0200)
commitdbab9afe8640a51ffcce87bfdb59a814e0dc7780
treeef3eb75264ec373f87ffef916d7079e6bca9a269
parent5878e5b760b6fcf7bc00dec085ba2b439a929871
clk: x86: Move clk-pmc-atom register defines to include/linux/platform_data/x86/pmc_atom.h

Move the register defines for the Atom (Bay Trail, Cherry Trail) PMC
clocks to include/linux/platform_data/x86/pmc_atom.h.

This is a preparation patch to extend the S0i3 readiness checks
in drivers/platform/x86/pmc_atom.c with checking that the PMC
clocks are off on suspend entry.

Note these are added to include/linux/platform_data/x86/pmc_atom.h rather
then to include/linux/platform_data/x86/clk-pmc-atom.h because the former
already has all the other Atom PMC register defines.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240305105915.76242-2-hdegoede@redhat.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/clk/x86/clk-pmc-atom.c
include/linux/platform_data/x86/pmc_atom.h