Showing results for 
Search instead for 
Did you mean: 
Honored Contributor I

dts .compatibility for pata_platform.c

Thanks in advance. 


I'm using the Altera MAX0 evaluation board with the ghrd design PLUS added an IDE interface on the HSMC connector (it has a compact flash). 

I am now using the current Linux-socfpg and I modified the kernel to add SCSI disk support and ATA PATA generic pata (pata_patform.c). 


My problem is what do I put for compatibility in the *.dts so the OS will recognize I have a Compact Flash? 

If I grep ".compatibility" the pata_platform.c source has NO .compatibility statement. I have tried "ata-generic" "electra-ide" since they 

are both in the OpenFrame driver pata_of_platform.c which I also have enabled. 


I have used this configuration before with the old non-mmu uCLinux-dist and the CF worked fine - of course there was no device tree.
0 Kudos
0 Replies