[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZsxaEtWEMWeoVusv@smile.fi.intel.com>
Date: Mon, 26 Aug 2024 13:33:54 +0300
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: Rong Qianfeng <11065417@...o.com>
Cc: Rong Qianfeng <rongqianfeng@...o.com>, biju.das.jz@...renesas.com,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
Andi Shyti <andi.shyti@...nel.org>,
Paul Cercueil <paul@...pouillou.net>,
linux-renesas-soc@...r.kernel.org, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-mips@...r.kernel.org,
opensource.kernel@...o.com
Subject: Re: [PATCH v3 3/4] i2c: jz4780: Use devm_clk_get_enabled() helpers
On Mon, Aug 26, 2024 at 11:03:20AM +0800, Rong Qianfeng wrote:
> 在 2024/8/23 23:33, Andy Shevchenko 写道:
> > On Fri, Aug 23, 2024 at 11:51:15AM +0800, Rong Qianfeng wrote:
...
> > > ret = of_property_read_u32(pdev->dev.of_node, "clock-frequency",
> > > &clk_freq);
> > (side note: this driver should use i2c_timings and respective I2C core
> > APIs instead of this)
> Sorry, I didn't fully understand what you meant, it's my problem. I guess
> you are suggesting to use an API like i2c_parse_fw_timings() to get the
> clock-frequency?
Yes.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists