SCMI v3.1 support described in DEN0056D_System_Control_and_Management_Interface_v3_1-6.pdf
This implements Shared Memory Transfer type only for now.
Differential D37316
SCMI support br on Nov 9 2022, 4:43 PM. Authored by Tags None Referenced Files
Details
SCMI v3.1 support described in DEN0056D_System_Control_and_Management_Interface_v3_1-6.pdf This implements Shared Memory Transfer type only for now. Works on ARM Morello platform (Controls HDMI pixel clock frequency.)
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes Comment Actions I think the extres changes should be split out to a new file. Can you add scmi_ to the start of all the scmi files. The build system puts all the .o files in the same directory so we need to make sure the source files have a unique name.
Comment Actions Yes, I can add. I only worry that those files are generic drivers used by SCMI. They are not part of SCMI spec I think. I.e. doorbell, cpufreq and mmio.
Comment Actions Your stack is the wrong way round; this needs to depend on D37325 not the other way round
Comment Actions o Remove perf protocol for now.
Comment Actions o Make in_buf const;
Comment Actions I don't think that this should live under sys/arm64/scmi. Comment Actions Same thing for the doorbell part, creating a new sys/dev/mailbox/<vendor> might be the right way, we already have some stuff for broadcom that should go there and a lot of other SoCs have mailbox stuff. Comment Actions BTW I would argue that part of the doorbell driver should be generic, a new interface is something that would be needed and some generic function to get the doorbell device based on the mbox-names/mboxes DT properties should be written.
Comment Actions That directory contains 23-25 y.o. source code and a README file for FreeBSD 5x. Comment Actions ,>>! In D37316#856933, @br wrote:
Mhm, where ? (edit: meh, damn phab sucks, looks better, will have a better look tomorow) Comment Actions sys/dev/sram is fine for me. Comment Actions Address Manu's comments on ARM Doorbell: Comment Actions Haven't fully reviewed this but this looks good enough to be commited (after my last two comments) and if there is any problems we can take care of those in the tree. Comment Actions ARM Doorbell: o Return EBUSY on detach |