uio_pruss: add support for devicetree and am33xx
Get series with b4
b4 am 20140707084824.GA83417@localhostVersions newest first
- v1 Latest0 of 13 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 13 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/13] uio_pruss: add support for devicetree and am33xx
Quoted 20 lines · Andre Heider
Hi,
this series adds PRUv2 support to
uio_prussthrough devicetree, makes the device usable on am33xx and enables it on beaglebone black. Inspired by old patches from Matt Porter found in a downstream tree.To archieve that this series:
* adds a flag toomap_hwmod.cto get PRUSS out of hardreset (patch 5 and 6)
* adds devicetree support touio_pruss(patch 7 and 9)
* adds the device to the am33xx dtsi and boneblack dts (patch 12 and 13)Bits and pieces:
* some cleanup (patch 1-4)
* take care of a fact that SRAM on am33xx is not exposed through UIO (patch 8)
* add runtime pm support to enable clocks (patch 10)
* allow the driver to be compiled onSOC_AM33XX(patch 11)This is only tested on beaglebone black (as that's the only hardware of the PRUSS enabled families I have) with some basic GPIO and IRQ tests.
Quoted 11 lines
Notes:
* I just got this hardware and I don't know if this UIO PRUSS business is desired. Looking at the userspace driver I'd guess not so much ;), but this interface is there for older generations anyway, and this small series lets me use the device.
* is the hardreset thing I did there the right thing to do? I think the proper way would be a reset controller (which apparently doesn't yet exist for this SoC?) and let the driver deassert/assert on probe/remove?
* the platform device path has aclk_enable()/clk_put()calls. Are those now redundant with the introducedpm_runtime_enable()pm_runtime_disable()calls?
@OMAP guys: any comments? The series depends on patch 5 and 6; both touch common hwmod code.
I noticed that AM437x now comes with 4 PRUSS cores, maybe you had something different in mind on how to expose these?
Thanks in advance,
Andre