mbox series

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

Message ID 20190402133752.6912-1-rogerq@ti.com
Headers show
Series bus: ti-sysc: Add generic enable/disable & PRUSS | expand

Message

Roger Quadros April 2, 2019, 1:37 p.m. UTC
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

Comments

Roger Quadros April 2, 2019, 1:39 p.m. UTC | #1
On 02/04/2019 16:37, Roger Quadros wrote:
> 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.


I forgot to mention that this must be applied on top of
https://lkml.org/lkml/2019/3/25/1180

> 

> 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(-)

> 


-- 
cheers,
-roger

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