Re: platform_device question

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

 



Hi Bahadir,
AMBA (AHB/APB etc.) is not visible as a bus on your platform from
software point of view.
What do you mean exactly? Under /sys/bus there is amba directory. I added to my core.c two new amba_devices and I can see them in /sys/bus/amba/devices.

Any amba-connected device effectively appears
on your system as a memory-mapped device. Therefore you must declare
your device as a platform device.
This also is not clear to me. Why should it be bad (having a memory mapped device instead port mapped device)?

In that case, these devices
have specific device id convention which comes handy when matching
drivers with devices.
Is this has something to do with memory mapping?


Best regards,

--
Drasko DRASKOVIC

Software Developer
Elsys-DESIGN
Belgrade, Serbia
Tel. +381.11.311.5252
Fax. +381.11.311.5251
www.elsys-design.com

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux