clk: clk_octeon: Add simple MIPS Octeon clock driver
authorStefan Roese <sr@denx.de>
Thu, 30 Jul 2020 11:56:16 +0000 (13:56 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 3 Aug 2020 19:11:41 +0000 (21:11 +0200)
commitb113c9b570a3d7ec654971b972ffb7b550139f75
tree0a6d8af238fd258318bb4f51afcea4f1282c4f8e
parent7ab932825dd0ef363c2c8523e5b82836f1417dca
clk: clk_octeon: Add simple MIPS Octeon clock driver

This patch adds a simple clock driver for the Marvell Octeon MIPS SoC
family. Its for IO clock rate passing via DT in some of the Octeon
driver, like I2C. So that we don't need to use the non-mainline API
octeon_get_io_clock().

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Lukasz Majewski <lukma@denx.de>
drivers/clk/Kconfig
drivers/clk/Makefile
drivers/clk/clk_octeon.c [new file with mode: 0644]
include/dt-bindings/clock/octeon-clock.h [new file with mode: 0644]