FPGA based system controller

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

 



Hi,
I have an FPGA-based system controller connected over I2C to SoC running Linux.
It currently exposes only one function (besides purely information
things like sw version): selecting the boot source (via a register
that takes effect after reboot). However in the future it will
probably handle more functionalities like peripherals reset controller
and interrupt controller.

I'm wondering how I should approach this?
My initial thought was that I could put the driver in the mfd that
would load sub drivers but since it only has currently one
functionality does it even make sense?

The other thing is - how should I approach handling boot source
selection? The simplest solution is by providing appropriate sysfs
entries (e.g. syscon_bootsrc), allowing me to write the next boot
source, but I'm wondering if there is any similar driver that I could
reuse? I thought about reboot-mode but as the name suggests it's
rather about mode (bootloader, recovery) selection than boot source
selection.

Thanks for guidance,
Patryk

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[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