Hello Pierre,

Thank you for sharing your idea!

I wanted to ask, which phase is your idea currently? Do you have
something working locally, or have you tried?

If you can make something working and share it as a patch, we can then
look at it and think of structure etc. The patch doesn't have to be
perfect from the very beginning, especially if you are looking for
guidance and open to advice and comments. Sometimes patches get
transformed a lot during code review.

If you can try to put what's in your head into a code and make it work
(your second paragraph)? What do you think?

On Thu, Mar 6, 2025 at 6:46 PM Pierre Colombier <pie...@abeille.com> wrote:
>
> Hello,
>
> I am proposing the introduction of a new programmer type based on
> Bit-banging SPI using generic GPIO lines that are available on most
> SoCs. While there is existing support for linux_spi, creating a
> software-based SPI device using GPIOs currently involves complex
> configurations with the device-tree or sysfs, which can be quite
> cumbersome and technical.
>
> I noticed there is a file named bitbang_spi.c within the source that
> performs similar functionality. It might only be necessary to map the
> lower layer to the appropriate functions from libgpiod to achieve this
> and the most complicated may be the parsing of cmdline parameters.
>
> I initially considered writing a patch directly and contributing it to
> this project. However, given my limited familiarity with the current
> codebase structure, I am not very confident in my ability to implement
> this feature without guidance.
>
> Thank you for considering this Request.
>
> Best regards,
>
>
>
> _______________________________________________
> flashrom mailing list -- flashrom@flashrom.org
> To unsubscribe send an email to flashrom-le...@flashrom.org



-- 
Anastasia.
_______________________________________________
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-le...@flashrom.org

Reply via email to