[PATCH v1 2/3] cpufreq: dt-platdev: Add JH7110 SOC to the allowlist

Conor Dooley conor.dooley at microchip.com
Tue Apr 11 02:20:31 PDT 2023


On Tue, Apr 11, 2023 at 04:32:56PM +0800, Mason Huo wrote:
> Add the compatible strings for supporting the generic
> cpufreq driver on the StarFive JH7110 SoC.
> 
> Signed-off-by: Mason Huo <mason.huo at starfivetech.com>
> ---
>  drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
> index e85703651098..a1ac955aa7e2 100644
> --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> @@ -92,6 +92,7 @@ static const struct of_device_id allowlist[] __initconst = {
>  
>  	{ .compatible = "xlnx,zynq-7000", },
>  	{ .compatible = "xlnx,zynqmp", },
> +	{ .compatible = "starfive,jh7110", },

This struct looks to be in alphabetical order with a blank line between
vendors.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20230411/26c58169/attachment.sig>


More information about the linux-riscv mailing list