Re: [PATCH 4/7] usb: renesas_usbhs: tidyup usbhs_sys_clock_ctrl() was local function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Felipe

> > > not related to $SUBJECT, but I wonder if this should be done by clock
> > > API ?
> > 
> > Thank you for your idea.
> > SuperH chip has CPG (Clock Pulse Generator), and we use clock API to control it.
> > Of course renesas_usbhs driver is using it.
> > 
> > OTOH, renesas_usbhs USBHS has special bit to enable or halt
> > the supply of CPG clock to this IP.
> 
> by supply you mean voltage supply ? shouldn't that be modeled on
> regulator framework, then ?

Not voltage, but I understood your opinion.
I guess this "regulator framework" mean struct hc_driver.start ?
If so I can send patch.

Best regards
---
Kuninori Morimoto
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux