All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patryk Mezydlo <mezydlo.p-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Slave mode for McSPI
Date: Thu, 28 Apr 2016 18:30:51 +0200	[thread overview]
Message-ID: <20160428163051.GA1434@debian> (raw)

Hi linux-spi developers,

My name is Patryk Mężydło and I’m a student participating in GSOC 2016.

My project is to create SPI slave driver for McSPI controller. I would
like to have my code added to the mainline, so I'd like to ask about a
few details.

Implementation for master is located in spi-oma2-mcspi.c I could add a
patch which implements slave mode to spi-oma2-mcspi.c, but I think that
using a separate driver would allow it to be cleaner.

Moreover, I would like to place the implementation of the driver’s
higher level, which communicates with userspace, in the implementation
of the lower layer, which communicates with McSPI controller. Thanks to
this, I could create a compact driver enabling operation McSPI in slave
mode.

I would like to get some feedback about my idea. What is in your view
the best possible solution?

Thanks,

Patryk
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

                 reply	other threads:[~2016-04-28 16:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160428163051.GA1434@debian \
    --to=mezydlo.p-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.