linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* rk3328 USB3 support
@ 2020-08-15 19:48 Cameron Nemo
  0 siblings, 0 replies; only message in thread
From: Cameron Nemo @ 2020-08-15 19:48 UTC (permalink / raw)
  To: linux-rockchip; +Cc: devicetree, heiko, linux-arm-kernel

Hello all,

I was reading a past discussion about enabling USB3 support for the rk3328 boards:

https://patchwork.kernel.org/patch/10853379/

In the discussions Heiko Stuebner outlined a possible path forward to enabling USB3
for these devices without  disrupting rk3399 devices in the future:

> A possible way forward would be to introduce a separate compatible for
> rk3328 (both in the binding doc and the generic dwc3 driver), so that
> we get only a
>
>               compatible = "rockchip,rk3328-dwc3";
>
> Which then even can move easily into a new driver if necessary without
> causing issues for existing devicetrees.

I am new to kernel development, but it seems like this is just moving some pieces around.
Specifically I believe I need to:

- edit drivers/usb/dwc3/dwc3-of-simple.c to add "rockchip,rk3328-dwc3" in the two locations
  that reference rk3399
- adjust the dtsi in the patch linked above to contain the single compatible line for rk3328

Would that be correct?

Thanks,
--
Cameron Nemo

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-15 19:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-15 19:48 rk3328 USB3 support Cameron Nemo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).