Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6577594rwi; Mon, 24 Oct 2022 03:26:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4xowWWa/B5psTMvh73mBnMViqn+qTLnHYLFcOkNV8LGhp39u2Ya+6McszJVGhHP8blNUIQ X-Received: by 2002:a05:6a00:1ac8:b0:563:7d18:7a15 with SMTP id f8-20020a056a001ac800b005637d187a15mr32789246pfv.59.1666607161280; Mon, 24 Oct 2022 03:26:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666607161; cv=none; d=google.com; s=arc-20160816; b=I1RJBbmP7ZUM67bYX3bFFt/Xnp5m7vj2zRuRfaHsE/qP0VJ+3vFwn4lEOf3z5Kj11j UyixVj/AMUzFlzrfHkqaxHvJy6cN6pDBhWkgZaUOIJzZe3neB9Kl+bIJXWhbrJ3IN73L Czh37MWtm/cvAj4jlPeeWmm+DqD8v5RT925tWJr2LwJ1H05c0whrINFv/TmQPNW17YMa uUv2KeNyQ0z8nvUbJUq+pyCugJm/DVWweNBf9hI1w57DtgK4BvY4o2c8lD+4T703Y0PA otzFnn3RTNFwbpBGlkJ81ilig/QgSLP/hU8b9ZLQfX6D0brh7d2/+TVBfwOTqgXQ5RaM uc4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:subject:from:date :dkim-signature; bh=dcuzIeCsR0BdVkEGYLXcBGP/a2q4WpPbtpbnIwjnO6Q=; b=t5A0nRKMzB0nFmPj/Z3Ug00WA5LqoXIy2g3BmsHLtnLaA5LxsrNU7/OglQw4FRSI4P acMBMmEf4Wwz0mRYrdRa5zsnGIfHv52WzEmni1i+mv32CyPqa7f0K7Dx3TL83LkZj6RH jsQG5ssdafZV2UAASRHByoag6JhchRAzy3MqT/QkpHLrXX6X4CLVUFmdEjuiAIs/2zM/ K5fOFe0SX23ut5GHXUtKaxlUGjZoW78GMwlU7dVHi5f+Bu4rVWWMA+SdAcFKAhCPBODP QpS6eIRCZD+BHABX9urChaQmHJYzptUzRgu5aBWr1j4L4mee73DmX9OVKjZWUGG8Hz1O 2G5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=fLgnbghv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x2-20020a056a00188200b00535fa14ffaasi40028386pfh.116.2022.10.24.03.25.50; Mon, 24 Oct 2022 03:26:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=fLgnbghv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230253AbiJXJsN (ORCPT + 99 others); Mon, 24 Oct 2022 05:48:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229755AbiJXJsM (ORCPT ); Mon, 24 Oct 2022 05:48:12 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88A7064E8; Mon, 24 Oct 2022 02:48:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1666604887; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dcuzIeCsR0BdVkEGYLXcBGP/a2q4WpPbtpbnIwjnO6Q=; b=fLgnbghv7zTVu9c71ewRgpEKbXGOO5xFprh9KahwBnbZZbB8ozbjI0Ite55sdxgYpbCiWV Nn+nNQI/zqTpBWbCyH0t38kik5gG9t+aLPPBPW/XEU1jt39xe+bkQwrZGgILyq1McHNbAA nd+z7dmU1HqXhzjvFy3LeoHxCkBP4Vg= Date: Mon, 24 Oct 2022 10:47:57 +0100 From: Paul Cercueil Subject: Re: [PATCH v5 3/3] clk: Add Ingenic JZ4755 CGU driver To: Siarhei Volkau Cc: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org Message-Id: In-Reply-To: <20221024044057.4151633-4-lis8215@gmail.com> References: <20221024044057.4151633-1-lis8215@gmail.com> <20221024044057.4151633-4-lis8215@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Siarhei, Le lun. 24 oct. 2022 =E0 07:40:56 +0300, Siarhei Volkau=20 a =E9crit : > Add support for the clocks provided by the CGU in the Ingenic JZ4755 > SoC. >=20 > Signed-off-by: Siarhei Volkau > --- > drivers/clk/ingenic/Kconfig | 10 + > drivers/clk/ingenic/Makefile | 1 + > drivers/clk/ingenic/jz4755-cgu.c | 346=20 > +++++++++++++++++++++++++++++++ > 3 files changed, 357 insertions(+) > create mode 100644 drivers/clk/ingenic/jz4755-cgu.c >=20 > diff --git a/drivers/clk/ingenic/Kconfig b/drivers/clk/ingenic/Kconfig > index 898f1bc47..f80ac4f29 100644 > --- a/drivers/clk/ingenic/Kconfig > +++ b/drivers/clk/ingenic/Kconfig > @@ -15,6 +15,16 @@ config INGENIC_CGU_JZ4740 >=20 > If building for a JZ4740 SoC, you want to say Y here. >=20 > +config INGENIC_CGU_JZ4755 > + bool "Ingenic JZ4755 CGU driver" > + default MACH_JZ4755 > + select INGENIC_CGU_COMMON > + help > + Support the clocks provided by the CGU hardware on Ingenic JZ4755 > + and compatible SoCs. > + > + If building for a JZ4755 SoC, you want to say Y here. > + > config INGENIC_CGU_JZ4725B > bool "Ingenic JZ4725B CGU driver" > default MACH_JZ4725B > diff --git a/drivers/clk/ingenic/Makefile=20 > b/drivers/clk/ingenic/Makefile > index 9edfaf461..81d8e23c2 100644 > --- a/drivers/clk/ingenic/Makefile > +++ b/drivers/clk/ingenic/Makefile > @@ -1,6 +1,7 @@ > # SPDX-License-Identifier: GPL-2.0-only > obj-$(CONFIG_INGENIC_CGU_COMMON) +=3D cgu.o pm.o > obj-$(CONFIG_INGENIC_CGU_JZ4740) +=3D jz4740-cgu.o > +obj-$(CONFIG_INGENIC_CGU_JZ4755) +=3D jz4755-cgu.o > obj-$(CONFIG_INGENIC_CGU_JZ4725B) +=3D jz4725b-cgu.o > obj-$(CONFIG_INGENIC_CGU_JZ4760) +=3D jz4760-cgu.o > obj-$(CONFIG_INGENIC_CGU_JZ4770) +=3D jz4770-cgu.o > diff --git a/drivers/clk/ingenic/jz4755-cgu.c=20 > b/drivers/clk/ingenic/jz4755-cgu.c > new file mode 100644 > index 000000000..4f869efa7 > --- /dev/null > +++ b/drivers/clk/ingenic/jz4755-cgu.c > @@ -0,0 +1,346 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Ingenic JZ4755 SoC CGU driver > + * Heavily based on JZ4725b CGU driver > + * > + * Copyright (C) 2022 Siarhei Volkau > + * Author: Siarhei Volkau > + */ > + > +#include > +#include > +#include > + > +#include > + > +#include "cgu.h" > +#include "pm.h" > + > +/* CGU register offsets */ > +#define CGU_REG_CPCCR 0x00 > +#define CGU_REG_LCR 0x04 > +#define CGU_REG_CPPCR 0x10 > +#define CGU_REG_CLKGR 0x20 > +#define CGU_REG_OPCR 0x24 > +#define CGU_REG_I2SCDR 0x60 > +#define CGU_REG_LPCDR 0x64 > +#define CGU_REG_MSCCDR 0x68 > +#define CGU_REG_SSICDR 0x74 > +#define CGU_REG_CIMCDR 0x7C > + > +/* bits within the LCR register */ > +#define LCR_SLEEP BIT(0) > + > +static struct ingenic_cgu *cgu; > + > +static const s8 pll_od_encoding[4] =3D { > + 0x0, 0x1, -1, 0x3, > +}; > + > +static const u8 jz4755_cgu_cpccr_div_table[] =3D { > + 1, 2, 3, 4, 6, 8, > +}; > + > +static const u8 jz4755_cgu_pll_half_div_table[] =3D { > + 2, 1, > +}; > + > +static const struct ingenic_cgu_clk_info jz4755_cgu_clocks[] =3D { > + > + /* External clocks */ > + > + [JZ4755_CLK_EXT] =3D { "ext", CGU_CLK_EXT }, > + [JZ4755_CLK_OSC32K] =3D { "osc32k", CGU_CLK_EXT }, > + > + [JZ4755_CLK_PLL] =3D { > + "pll", CGU_CLK_PLL, > + .parents =3D { JZ4755_CLK_EXT, -1, -1, -1 }, You don't have CGU_CLK_MUX so you only have one parent, therefore you=20 can do: .parents =3D { JZ4755_CLK_EXT, }, Sorry for not noticing it before. Same for all the other appearances below. > + .pll =3D { > + .reg =3D CGU_REG_CPPCR, > + .rate_multiplier =3D 1, > + .m_shift =3D 23, > + .m_bits =3D 9, > + .m_offset =3D 2, > + .n_shift =3D 18, > + .n_bits =3D 5, > + .n_offset =3D 2, > + .od_shift =3D 16, > + .od_bits =3D 2, > + .od_max =3D 4, > + .od_encoding =3D pll_od_encoding, > + .stable_bit =3D 10, > + .bypass_reg =3D CGU_REG_CPPCR, > + .bypass_bit =3D 9, > + .enable_bit =3D 8, > + }, > + }, > + > + /* Muxes & dividers */ > + > + [JZ4755_CLK_PLL_HALF] =3D { > + "pll half", CGU_CLK_DIV, > + .parents =3D { JZ4755_CLK_PLL, -1, -1, -1 }, > + .div =3D { > + CGU_REG_CPCCR, 21, 1, 1, -1, -1, -1, 0, > + jz4755_cgu_pll_half_div_table, > + }, > + }, > + > + [JZ4755_CLK_EXT_HALF] =3D { > + "ext half", CGU_CLK_DIV, > + .parents =3D { JZ4755_CLK_EXT, -1, -1, -1 }, > + .div =3D { > + CGU_REG_CPCCR, 30, 1, 1, -1, -1, -1, 0, > + NULL, > + }, > + }, > + > + [JZ4755_CLK_CCLK] =3D { > + "cclk", CGU_CLK_DIV, > + .parents =3D { JZ4755_CLK_PLL, -1, -1, -1 }, > + .div =3D { > + CGU_REG_CPCCR, 0, 1, 4, 22, -1, -1, 0, > + jz4755_cgu_cpccr_div_table, > + }, > + }, > + > + [JZ4755_CLK_H0CLK] =3D { > + "hclk", CGU_CLK_DIV, > + .parents =3D { JZ4755_CLK_PLL, -1, -1, -1 }, > + .div =3D { > + CGU_REG_CPCCR, 4, 1, 4, 22, -1, -1, 0, > + jz4755_cgu_cpccr_div_table, > + }, > + }, > + > + [JZ4755_CLK_PCLK] =3D { > + "pclk", CGU_CLK_DIV, > + .parents =3D { JZ4755_CLK_PLL, -1, -1, -1 }, > + .div =3D { > + CGU_REG_CPCCR, 8, 1, 4, 22, -1, -1, 0, > + jz4755_cgu_cpccr_div_table, > + }, > + }, > + > + [JZ4755_CLK_MCLK] =3D { > + "mclk", CGU_CLK_DIV, > + .parents =3D { JZ4755_CLK_PLL, -1, -1, -1 }, > + .div =3D { > + CGU_REG_CPCCR, 12, 1, 4, 22, -1, -1, 0, > + jz4755_cgu_cpccr_div_table, > + }, > + }, > + > + [JZ4755_CLK_H1CLK] =3D { > + "h1clk", CGU_CLK_DIV, > + .parents =3D { JZ4755_CLK_PLL, -1, -1, -1 }, > + .div =3D { > + CGU_REG_CPCCR, 16, 1, 4, 22, -1, -1, 0, > + jz4755_cgu_cpccr_div_table, > + }, > + }, > + > + [JZ4755_CLK_UDC] =3D { > + "udc", CGU_CLK_MUX | CGU_CLK_DIV | CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_EXT_HALF, JZ4755_CLK_PLL_HALF, -1, -1 }, For "mux" clocks, if there's only one mux bit, then you can do: .parents =3D { JZ4755_CLK_EXT_HALF, JZ4755_CLK_PLL_HALF, }, Same below. > + .mux =3D { CGU_REG_CPCCR, 29, 1 }, > + .div =3D { CGU_REG_CPCCR, 23, 1, 6, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 10 }, > + }, > + > + [JZ4755_CLK_LCD] =3D { > + "lcd", CGU_CLK_DIV | CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_PLL_HALF, -1, -1, -1 }, > + .div =3D { CGU_REG_LPCDR, 0, 1, 11, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 9 }, > + }, > + > + [JZ4755_CLK_MMC] =3D { > + "mmc", CGU_CLK_DIV, > + .parents =3D { JZ4755_CLK_PLL_HALF, -1, -1, -1 }, > + .div =3D { CGU_REG_MSCCDR, 0, 1, 5, -1, -1, -1 }, > + }, > + > + [JZ4755_CLK_I2S] =3D { > + "i2s", CGU_CLK_MUX | CGU_CLK_DIV, > + .parents =3D { JZ4755_CLK_EXT_HALF, JZ4755_CLK_PLL_HALF, -1, -1 }, > + .mux =3D { CGU_REG_CPCCR, 31, 1 }, > + .div =3D { CGU_REG_I2SCDR, 0, 1, 9, -1, -1, -1 }, > + }, > + > + [JZ4755_CLK_SPI] =3D { > + "spi", CGU_CLK_DIV | CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_PLL_HALF, -1, -1, -1 }, > + .div =3D { CGU_REG_SSICDR, 0, 1, 4, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 4 }, > + }, > + > + [JZ4755_CLK_TVE] =3D { > + "tve", CGU_CLK_MUX | CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_LCD, JZ4755_CLK_EXT, -1, -1 }, > + .mux =3D { CGU_REG_LPCDR, 31, 1 }, > + .gate =3D { CGU_REG_CLKGR, 18 }, > + }, > + > + [JZ4755_CLK_RTC] =3D { > + "rtc", CGU_CLK_MUX | CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_EXT512, JZ4755_CLK_OSC32K, -1, -1 }, > + .mux =3D { CGU_REG_OPCR, 2, 1}, > + .gate =3D { CGU_REG_CLKGR, 2 }, > + }, > + > + [JZ4755_CLK_CIM] =3D { > + "cim", CGU_CLK_DIV | CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_PLL_HALF, -1, -1, -1 }, > + .div =3D { CGU_REG_CIMCDR, 0, 1, 8, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 8 }, > + }, > + > + /* Gate-only clocks */ > + > + [JZ4755_CLK_UART0] =3D { > + "uart0", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_EXT_HALF, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 0 }, > + }, > + > + [JZ4755_CLK_UART1] =3D { > + "uart1", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_EXT_HALF, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 14 }, > + }, > + > + [JZ4755_CLK_UART2] =3D { > + "uart2", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_EXT_HALF, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 15 }, > + }, > + > + [JZ4755_CLK_ADC] =3D { > + "adc", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_EXT_HALF, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 7 }, > + }, > + > + [JZ4755_CLK_AIC] =3D { > + "aic", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_EXT_HALF, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 5 }, > + }, > + > + [JZ4755_CLK_I2C] =3D { > + "i2c", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_EXT_HALF, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 3 }, > + }, > + > + [JZ4755_CLK_BCH] =3D { > + "bch", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_MCLK/* not sure */, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 11 }, > + }, > + > + [JZ4755_CLK_TCU] =3D { > + "tcu", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_EXT, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 1 }, > + }, > + > + [JZ4755_CLK_DMA] =3D { > + "dma", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_PCLK, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 12 }, > + }, > + > + [JZ4755_CLK_MMC0] =3D { > + "mmc0", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_MMC, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 6 }, > + }, > + > + [JZ4755_CLK_MMC1] =3D { > + "mmc1", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_MMC, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 16 }, > + }, > + > + [JZ4755_CLK_AUX_CPU] =3D { > + "aux_cpu", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_H1CLK, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 24 }, > + }, > + > + [JZ4755_CLK_AHB1] =3D { > + "ahb1", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_H1CLK, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 23 }, > + }, > + > + [JZ4755_CLK_IDCT] =3D { > + "idct", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_H1CLK, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 22 }, > + }, > + > + [JZ4755_CLK_DB] =3D { > + "db", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_H1CLK, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 21 }, > + }, > + > + [JZ4755_CLK_ME] =3D { > + "me", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_H1CLK, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 20 }, > + }, > + > + [JZ4755_CLK_MC] =3D { > + "mc", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_H1CLK, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 19 }, > + }, > + > + [JZ4755_CLK_TSSI] =3D { > + "tssi", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_EXT_HALF/* not sure */, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 17 }, > + }, > + > + [JZ4755_CLK_IPU] =3D { > + "ipu", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_PLL_HALF/* not sure */, -1, -1, -1 }, > + .gate =3D { CGU_REG_CLKGR, 13 }, > + }, > + > + [JZ4755_CLK_EXT512] =3D { > + "ext/512", CGU_CLK_FIXDIV, > + .parents =3D { JZ4755_CLK_EXT }, > + > + .fixdiv =3D { 512 }, > + }, > + > + [JZ4755_CLK_UDC_PHY] =3D { > + "udc_phy", CGU_CLK_GATE, > + .parents =3D { JZ4755_CLK_EXT_HALF, -1, -1, -1 }, > + .gate =3D { CGU_REG_OPCR, 6, true }, > + }, > +}; > + > +static void __init jz4755_cgu_init(struct device_node *np) > +{ > + int retval; > + > + cgu =3D ingenic_cgu_new(jz4755_cgu_clocks, > + ARRAY_SIZE(jz4755_cgu_clocks), np); > + if (!cgu) { > + pr_err("%s: failed to initialise CGU\n", __func__); initialise -> initialize Cheers, -Paul > + return; > + } > + > + retval =3D ingenic_cgu_register_clocks(cgu); > + if (retval) > + pr_err("%s: failed to register CGU Clocks\n", __func__); > + > + ingenic_cgu_register_syscore_ops(cgu); > +} > +CLK_OF_DECLARE_DRIVER(jz4755_cgu, "ingenic,jz4755-cgu",=20 > jz4755_cgu_init); > -- > 2.36.1 >=20