On Sun, Aug 13, 2023 at 11:24 PM Andrew Lunn [off-list ref] wrote:
On Sat, Aug 12, 2023 at 11:11:30PM +0800, Keguang Zhang wrote:
quoted
From: Kelvin Zhang <redacted>
In order to convert Loongson1 MAC platform devices to the devicetree
nodes, Loongson1 MAC arch-code should be moved to the driver dir.
In other words, this patchset is a preparation for converting
Loongson1 platform devices to devicetree.
It is a long time since i converted an ARM system from platform data
to DT. But what we tended to do was to allow both for a period of
time.
Does a system using platform data still work after this change? The
first patch seems to delete a lot of code, not just move it around.
Can you restructure this patchset to add the glue layer and DT binding
in parallel with platform data. Then have a patchset which convert all
in tree machines to using DT. And then a patchset, submitted in maybe
6 months time, to remove support for platform data.
Sure, I will keep the platform data from the next version.
Thanks!
Andrew
--
Best regards,
Keguang Zhang