clk: mmp2: add SP clock
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 15 Nov 2018 18:10:24 +0000 (10:10 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 15 Nov 2018 19:14:36 +0000 (11:14 -0800)
commitfc27c2394d96fd19854b7e2d3f0e60df0d86fc90
tree87b7619c72d5bf056195e0ca14a0f81195cf38ff
parente8a2c779141415105825e65a4715f1130bba61b1
clk: mmp2: add SP clock

The "security processor", sometimes referred to as "wireless trusted
module" or "generic encrypt unit" is a low-power core present on MMP2,
that has nothing to do with security, wireless, trust or encryption.

On an OLPC machine it runs CForth and serves as a keyboard controller:
http://dev.laptop.org/git/users/wmb/cforth/tree/src/app/arm-xo-1.75/ps2.fth

The register address was obtained from the OLPC kernel, since the
datasheet seems to be the Marvell's most important business secret.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/clk/mmp/clk-of-mmp2.c