Re: [PATCH] clk: imx8qxp: Use devm_platform_ioremap_resource()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06.06.2019 19:55, Stephen Boyd wrote:
> Quoting Fabio Estevam (2019-06-06 09:44:43)
>> Use devm_platform_ioremap_resource() to simplify the code a bit.
>>
>> Signed-off-by: Fabio Estevam <festevam@xxxxxxxxx>
>> ---
> 
> Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxx>

An extremely similar patch was already submitted and then reverted 
because it breaks boot:

     https://patchwork.kernel.org/patch/10908807/

I tested and this new patch also breaks boot.

The current imx8 lpcg driver maps entire subsystems at once and if 
devm_platform_ioremap_resource is used then devices inside the subsystem 
will fail to probe, including lpuart!

The hardware on imx8qxp and related parts (imx8qm) has multiple separate 
LPCG blocks interspersed between devices. Some refactoring patches were 
posted by Aisheng to split LPCG into multiple blocks but apparently got 
stuck in review:

     https://patchwork.kernel.org/cover/10924029/
     https://patchwork.kernel.org/cover/10824443/
     https://patchwork.kernel.org/cover/10824537/

There were some disagreements regarding DT bindings for split imx8 
clocks, what would it take to move those patches forward?

--
Regards,
Leonard




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux