linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sunip Mukherjee <sunipkmukherjee@gmail.com>
To: linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org
Subject: Char Driver for Silicon Labs Si446x Transceivers
Date: Mon, 5 Jul 2021 18:09:28 -0400	[thread overview]
Message-ID: <CADLJR24hQya0MkJhdDAJ0KO4MG+Fj4tRU5dNrbNdD9DMG_gLHg@mail.gmail.com> (raw)

Hi,

I am very new to the kernel community; this is my first message in the
LKML so my apologies if I am doing things wrong.

I have been using an Si4463 transceiver for UHF communication with a
cubesat I developed. I could not find any code to control the
transceiver on Linux. The closest thing I could find was an AVR
implementation by Zak Kemble
(https://blog.zakkemble.net/si4463-radio-library-avr-arduino/).
I followed the API docs and rewrote the whole thing at first for
userland only (can be found here:
https://github.com/SPACE-HAUC/si446x_linux/releases/tag/v3.1), and
then I decided it would be a great learning opportunity for me to port
it to the kernel.

The kernel port has gone mostly smoothly. The transceiver communicates
with the host MCU over SPI, and requires a pin for RESET, and another
pin for IRQ.
I have implemented the driver to provide a char device (/dev/si446x#)
to the userland for open, read, write, poll and ioctl.
I had initially set up a pull request for the driver and the device
tree overlay to the Raspberry Pi kernel community. They have agreed to
accept the device tree overlay for the device, however the driver
needs to be included by the Linux Kernel community. I want to use this
opportunity to find some people who have access to a Si446x
transceiver and a Raspberry Pi, so that the code I have can be tested,
and if deemed worthy, included in the kernel tree.

My code is hosted here: https://github.com/sunipkmukherjee/silabs.git

Any suggestions/criticisms are welcome.

Thanks,

Sunip Mukherjee,
PhD Candidate,
University of Massachusetts, Lowell

Email: sunip_mukherjee@student.uml.edu | sunipkmukherjee@gmail.com

             reply	other threads:[~2021-07-05 22:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-05 22:09 Sunip Mukherjee [this message]
2021-07-06  5:10 ` Char Driver for Silicon Labs Si446x Transceivers Greg KH
2021-07-06 20:17   ` Randy Dunlap
2021-07-07  6:01     ` Greg KH
2021-07-08 21:57       ` Sunip Mukherjee

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=CADLJR24hQya0MkJhdDAJ0KO4MG+Fj4tRU5dNrbNdD9DMG_gLHg@mail.gmail.com \
    --to=sunipkmukherjee@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).