[PATCH 09/16] bus: ti-sysc: Add handling for clkctrl opt clocks
From: robh@kernel.org (Rob Herring)
Date: 2018-05-01 13:39:06
Also in:
linux-devicetree, linux-omap, lkml
From: robh@kernel.org (Rob Herring)
Date: 2018-05-01 13:39:06
Also in:
linux-devicetree, linux-omap, lkml
On Mon, Apr 23, 2018 at 10:45:42AM -0700, Tony Lindgren wrote:
There can be up to eight optional device functional gate gate clocks for each clkctrl instance in clkctrl register bits 8 to 15. Some of them are only needed for module level reset while others may always be needed during use. Let's add support for those and update the binding doc accordingly. Note that the optional clkctrl mux and divider clocks starting at bit 20 can be directly mapped to the child devices, and ti-sysc does not need to manage those. And as GPIOs need the optional clocks for reset, we can now add it with SYSC_QUIRK_OPT_CLKS_IN_RESET. Cc: Mark Rutland <mark.rutland@arm.com> Cc: Rob Herring <robh@kernel.org> Cc: Tero Kristo <redacted> Cc: devicetree at vger.kernel.org Signed-off-by: Tony Lindgren <tony@atomide.com> --- .../devicetree/bindings/bus/ti-sysc.txt | 6 +-
Reviewed-by: Rob Herring <robh@kernel.org>
drivers/bus/ti-sysc.c | 140 ++++++++++++++---- 2 files changed, 120 insertions(+), 26 deletions(-)