Page MenuHomeFreeBSD

Change reg in Marvell Armada38X pcie FDT
ClosedPublic

Authored by mkm_semihalf.com on Mar 19 2018, 6:08 PM.
Tags
Referenced Files
Unknown Object (File)
Feb 2 2024, 1:30 AM
Unknown Object (File)
Jan 24 2024, 7:08 AM
Unknown Object (File)
Jan 24 2024, 7:08 AM
Unknown Object (File)
Dec 27 2023, 8:07 PM
Unknown Object (File)
Dec 27 2023, 8:07 PM
Unknown Object (File)
Dec 27 2023, 8:04 PM
Unknown Object (File)
Dec 27 2023, 7:47 PM
Unknown Object (File)
Dec 20 2023, 5:44 AM
Subscribers

Details

Summary

Ranges in pcie-controller are unused, so could be changed to match Linux FDT.
In pci controller driver ocd_data are used for matching driver and
choose proper resources acquisition function.
fdt_win_process_child have new argument which provide information
about fdt node containing addresses of mimo registers.
In pcie interrupt-cells and interrupt-parent parameters are unused,
so could be changed to match Linux FDT.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I don't understand why we need this dts since we have it in sys/gnu/dts.
I should be easier to include the gnu one from a FreeBSD one that patches node if we need some difference.

Hi Manu,

The whole patchset aligns all drivers (pcie, cesa, and others) bindings to what is used in linux. Last step is removal sys/boot/fdt/dts/ stuff for a38x entirely. Before the last alignment, I'd like to keep the platform being able to boot with the old dts. What's your opinion?

Thanks,
Marcin

In D14751#310589, @mw wrote:

Hi Manu,

The whole patchset aligns all drivers (pcie, cesa, and others) bindings to what is used in linux. Last step is removal sys/boot/fdt/dts/ stuff for a38x entirely. Before the last alignment, I'd like to keep the platform being able to boot with the old dts. What's your opinion?

Thanks,
Marcin

Cool then :)

For allowing all dts just match on the different compatible strings etc ... this is just a driver things.

OK for DTS part then.

This revision is now accepted and ready to land.Mar 21 2018, 10:49 AM
This revision was automatically updated to reflect the committed changes.