Re: [PATCH 1/6] PCI: rcar-gen2: Add support for clocks

From: Rob Herring
Date: Tue Apr 12 2022 - 11:51:09 EST


On Tue, Apr 12, 2022 at 11:40:24AM +0200, Herve Codina wrote:
> The PCI rcar-gen2 does not call any clk_prepare_enable().
> This lead to an access failure when the driver tries to access
> the IP (at least on a RZ/N1D platform).
>
> Prepare and enable clocks using the bulk version of
> clk_prepare_enable() in order to prepare and enable all clocks
> attached to this device.

The binding says there is only a single clock, so it needs an update if
there are multiple clocks. (And ideally converted to DT schema format.)

Rob