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

Michal Simek michal.simek at amd.com
Mon Feb 27 07:09:42 PST 2023



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 at amd.com> 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



More information about the linux-arm-kernel mailing list