clk: keystone: syscon-clk: Allow the clock node to not be of type syscon
authorAndrew Davis <afd@ti.com>
Tue, 16 May 2023 18:46:25 +0000 (13:46 -0500)
committerStephen Boyd <sboyd@kernel.org>
Fri, 16 Jun 2023 18:57:50 +0000 (11:57 -0700)
commit595409cf07ade54d6265942f25a3d33b0d76a17c
treec35b5fd9aa41f3bb0b0caf45e8d47bf2c67ae39b
parentac9a78681b921877518763ba0e89202254349d1b
clk: keystone: syscon-clk: Allow the clock node to not be of type syscon

There is a helper device_node_to_regmap() we can use that does not force
this clock DT node to be a "syscon" node. It should work the same in
this case but allow us to remove the unneeded "syscon" compatible.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20230516184626.154892-1-afd@ti.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/keystone/syscon-clk.c