Re: [PATCH 11/14] bus: ti-sysc: Add quirk handling for external optional functional clock

From: Tony Lindgren
Date: Mon Apr 08 2019 - 12:51:28 EST


* Tony Lindgren <tony@xxxxxxxxxxx> [190325 22:00]:
> @@ -200,6 +278,12 @@ static int sysc_get_clocks(struct sysc *ddata)
> if (ddata->nr_clocks < 1)
> return 0;
>
> + if ((ddata->cfg.quirks & SYSC_QUIRK_EXT_OPT_CLOCK)) {
> + error = sysc_init_ext_opt_clock(ddata, NULL);
> + if (error)
> + return error;
> + }
> +

After some more testing with mcpdm, these flags are not enough
for dropping the platform data. We need to use the same flags
as in platform data, and add SYSC_QUIRK_NO_RESET_ON_INIT and
SYSC_QUIRK_SWSUP_SIDLE to avoid patching this again. Updated
patch below.

Regards,

Tony

8< ----------------------