platform/x86: pmc_atom: improve critclk_systems matching for Siemens PCs
authorHenning Schild <henning.schild@siemens.com>
Mon, 13 Dec 2021 12:05:02 +0000 (13:05 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 23 Dec 2021 17:09:41 +0000 (18:09 +0100)
commit4ba0b8187d98cb4c5e33c0e98895ac5dcb86af83
treee84921a98c3a1179b40e83a8ca45f1c374ea1752
parent2ebd32ce2aecd5ee57d9bdcac80e0df26c351061
platform/x86: pmc_atom: improve critclk_systems matching for Siemens PCs

Siemens industrial PCs unfortunately can not always be properly
identified the way we used to. An earlier commit introduced code that
allows proper identification without looking at DMI strings that could
differ based on product branding.
Switch over to that proper way and revert commits that used to collect
the machines based on unstable strings.

Fixes: 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL")
Fixes: e8796c6c69d1 ("platform/x86: pmc_atom: Add Siemens CONNECT ...")
Fixes: f110d252ae79 ("platform/x86: pmc_atom: Add Siemens SIMATIC ...")
Fixes: ad0d315b4d4e ("platform/x86: pmc_atom: Add Siemens SIMATIC ...")
Tested-by: Michael Haener <michael.haener@siemens.com>
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Link: https://lore.kernel.org/r/20211213120502.20661-5-henning.schild@siemens.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/pmc_atom.c