clk: ti: add mux clock driver
authorDario Binacchi <dariobin@libero.it>
Tue, 29 Dec 2020 23:06:32 +0000 (00:06 +0100)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 12 Jan 2021 05:28:04 +0000 (10:58 +0530)
commitd09f063a04bea982ef554105f73bfbaf56dc5ab4
treefbe7aef720e4854011a1597286de3f51e491462d
parent2983ad55a13e9afcdf1a3d8f55eea038c0a0e8a3
clk: ti: add mux clock driver

The driver manages a register-mapped multiplexer with multiple input
clock signals or parents, one of which can be selected as output. It
uses routines provided by the common clock framework (ccf).

The code is based on the drivers/clk/ti/mux.c driver of the Linux
kernel version 5.9-rc7.
For DT binding details see:
- Documentation/devicetree/bindings/clock/ti/mux.txt

Signed-off-by: Dario Binacchi <dariobin@libero.it>
drivers/clk/Kconfig
drivers/clk/Makefile
drivers/clk/ti/Kconfig [new file with mode: 0644]
drivers/clk/ti/Makefile [new file with mode: 0644]
drivers/clk/ti/clk-mux.c [new file with mode: 0644]