[PATCH 3/4] memory: brcmstb_dpfe: support DPFE API v4
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Wed Dec 6 03:10:17 PST 2023
On 05/12/2023 19:47, Markus Mayer wrote:
> Add support for version 4 of the DPFE API. This new version is largely
> identical to version 3. The main difference is that all commands now
> take the MHS version number as the first argument. Any other arguments
> have been pushed down by one (i.e. what used to be arg0 in v3 is arg1 in
> v4).
>
> Signed-off-by: Markus Mayer <mmayer at broadcom.com>
> ---
...
> +
> static const char *get_error_text(unsigned int i)
> {
> static const char * const error_text[] = {
> @@ -929,8 +954,12 @@ static const struct of_device_id brcmstb_dpfe_of_match[] = {
> { .compatible = "brcm,dpfe-cpu-v1", .data = &dpfe_api_old_v2 },
> { .compatible = "brcm,dpfe-cpu-v2", .data = &dpfe_api_new_v2 },
> { .compatible = "brcm,dpfe-cpu-v3", .data = &dpfe_api_v3 },
> + { .compatible = "brcm,dpfe-cpu-v4", .data = &dpfe_api_v4 },
>
No, use SoC specific compatible.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list