Re: [PATCH] mmc: sdhci-of-arasan: Add support to request the "gate" clock

From: Michal Simek
Date: Mon Feb 27 2023 - 10:09:55 EST




On 2/27/23 15:56, Ulf Hansson wrote:
CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email.


On Thu, 23 Feb 2023 at 15:14, Swati Agarwal <swati.agarwal@xxxxxxx> wrote:

Add support to read the optional "gate" clock property and request the
clock which will be used to ungate the DLL clock.

For Xilinx platforms which has DLL module, dll clock must be
ungated/enabled when SD controller operates at higher frequencies like 50
MHz, 100 MHz and 200 MHz. This will be done by explicitly requesting gate
clock from the driver.

I guess we need to update the DT bindings too?

DT binding has it already. It is just not used.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/mmc/arasan,sdhci.yaml?h=v6.2#n110

Thanks,
Michal