[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<OS8PR06MB7541F0519B4819A0A859A9B3F2952@OS8PR06MB7541.apcprd06.prod.outlook.com>
Date: Wed, 28 Aug 2024 07:39:07 +0000
From: Ryan Chen <ryan_chen@...eedtech.com>
To: Krzysztof Kozlowski <krzk@...nel.org>, "mturquette@...libre.com"
<mturquette@...libre.com>, "sboyd@...nel.org" <sboyd@...nel.org>,
"robh@...nel.org" <robh@...nel.org>, "krzk+dt@...nel.org"
<krzk+dt@...nel.org>, "conor+dt@...nel.org" <conor+dt@...nel.org>,
"joel@....id.au" <joel@....id.au>, "andrew@...econstruct.com.au"
<andrew@...econstruct.com.au>, "p.zabel@...gutronix.de"
<p.zabel@...gutronix.de>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "linux-clk@...r.kernel.org"
<linux-clk@...r.kernel.org>, "devicetree@...r.kernel.org"
<devicetree@...r.kernel.org>, "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, "linux-aspeed@...ts.ozlabs.org"
<linux-aspeed@...ts.ozlabs.org>
Subject: RE: [PATCH v2 3/3] clk: aspeed: add AST2700 clk driver
> Subject: Re: [PATCH v2 3/3] clk: aspeed: add AST2700 clk driver
>
> On 28/08/2024 08:27, Ryan Chen wrote:
> > Add AST2700 clock controller driver. This driver also selects
> > MFD_SYSCON, which provides access to system controller registers, and
> > register the reset controller.
> >
> > Signed-off-by: Ryan Chen <ryan_chen@...eedtech.com>
>
>
> > + clks[SCU0_CLK_GATE_EMMCCLK] =
> > + ast2700_clk_hw_register_gate(NULL, "emmcclk-gate", "emmcclk",
> > + 0, clk_base + SCU0_CLK_STOP,
> > + 27, 0, &ast2700_clk_lock);
> > +
> > + clks[SCU0_CLK_GATE_RVAS1CLK] =
> > + ast2700_clk_hw_register_gate(NULL, "rvas2clk", NULL,
> > + 0, clk_base + SCU0_CLK_STOP,
> > + 28, 0, &ast2700_clk_lock);
> > +
> > + of_clk_add_hw_provider(soc0_node, of_clk_hw_onecell_get, clk_data);
> > +
> > + return 0;
> > +};
> > +
> > +CLK_OF_DECLARE_DRIVER(ast2700_soc0, "aspeed,ast2700-scu0",
> > +ast2700_soc0_clk_init); CLK_OF_DECLARE_DRIVER(ast2700_soc1,
> > +"aspeed,ast2700-scu1", ast2700_soc1_clk_init);
>
> Nope, this is not documented.
>
> You cannot add new compatibles without bindings.
>
Sorry, I miss yaml file patch. will send it in next version.
> Best regards,
> Krzysztof
Powered by blists - more mailing lists