
On 2/26/19 7:37 PM, Oleksandr wrote:
Hi, Marek
Hi,
- It should be new pm-r8a7791.c file which will don't have any CA7
related stuff (CPU cores, SCU, etc).
I'd like to have a generic pm-gen2.c file , which parses the DT and figures the configuration out that way. We are trying to get rid of all the ad-hoc hardcoded configuration stuff in favor of DT.
Or it should be the single pm-r8a779x.c which must distinguish what SoC is being used and do proper things.
Right
I agree to have a single generic pm-gen2.c file which covers all Gen2 SoCs.
But, unfortunately, I only have Stout boards (H2), and therefore can check only on them. This is why the current patch series adds support for H2 SoC only.
Theoretically, I could add support for M2 as well, but, I wouldn't have possibility to check.
I would focus on the r8a7790 for now, as the Stout board is our nearest target which we want to support in Xen and the PSCI feature is a mandatory option.
What do you think?
Could you, please, answer that question...
I am sorry, I am too busy right now. I will answer that once I can properly study the problem and give you a useful answer.