On 7/10/23 10:13, Krzysztof Kozlowski wrote:
On 08/07/2023 01:26, Marek Vasut wrote:
The MX8M CM7 boot via SMC call is problematic, since not all versions
of ATF support this interface. Document MMIO support used to boot the
CM7 on MX8MN/MP instead and discern MMIO interface using DT compatible
string. Document GPR register syscon phandle which is required by the
MMIO interface too.
Signed-off-by: Marek Vasut <marex@xxxxxxx>
Note that the MMIO being discerned using compatible string is similar
approach to "st,stm32mp1-rcc" vs "st,stm32mp1-rcc-secure".
Same hardware should not have two compatibles, depending on the bus it is.
Yes, I know, but for whatever reason the ST does, so I picked the same
approach here. What else would you suggest, boolean properly like Peng
The compatible is also easier to handle on driver level, at least in
Linux, see 2/2 .