soc: ti: pruss: support CORECLK_MUX and IEPCLK_MUX
authorGrzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
Sat, 12 Sep 2020 04:47:10 +0000 (21:47 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Sat, 12 Sep 2020 04:47:10 +0000 (21:47 -0700)
commitba59c9b43c86b2c2396acac94e41d946cbaec9fe
treed0558763565d70c7a3966271566cac5f08939be0
parent25bafac9408f67873f03909401deecfb16974d84
soc: ti: pruss: support CORECLK_MUX and IEPCLK_MUX

The IEPCLK_MUX is present on all SoCs whereas the CORECLK_MUX is present
only on AM65x SoCs and J721E. Add support for both these CLK muxes.

This allows the clock rates and clock parents for these to be controlled
through DT leveraging the clk infrastructure for configuring the default
parents and rates.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
drivers/soc/ti/pruss.c
include/linux/pruss_driver.h