[RFC PATCH 0/4] bus: ti-sysc: Add generic enable/disable & PRUSS

From: Roger Quadros
Date: Tue Apr 02 2019 - 09:38:03 EST


Hi Tony,

Non legacy modules will rely on generic enable/disable functions.

I had to disable usb_otg_ss3 and 4 on am57xx idk to be able to boot.
It is explicitly stated in TRM to not use USB3 and 4 on AM57xx, and
I haven't seen any dra7 based board using them so let's keep it disabled.

Handle the PRU-ICSS type as it needs some special handling especially
during suspend/resume.

cheers,
-roger

Roger Quadros (4):
ARM: dts: dra7: Keep usb_otg_ss3 and usb_otg_ss4 disabled
bus: ti-sysc: Add generic enable/disable functions
bus: ti-sysc: Add support for PRU-ICSS type
bus: ti-sysc: Ensure PRU-ICSS doesn't break suspend/resume

.../devicetree/bindings/bus/ti-sysc.txt | 1 +
arch/arm/boot/dts/dra7-l4.dtsi | 2 +
drivers/bus/ti-sysc.c | 171 ++++++++++++++++++
include/linux/platform_data/ti-sysc.h | 7 +-
4 files changed, 180 insertions(+), 1 deletion(-)

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki