public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Nishant Malpani <nish.malpani25@gmail.com>,
	Rohit Sarkar <rohitsarkar5398@gmail.com>
Cc: linux-iio@vger.kernel.org
Subject: Re: [RFC] Open Source Contribution | GSoC 2020
Date: Sat, 7 Mar 2020 16:14:13 +0000	[thread overview]
Message-ID: <20200307161413.29949c19@archlinux> (raw)
In-Reply-To: <3bc4e978-3719-bbfc-2110-81601272a938@gmail.com>

On Thu, 5 Mar 2020 00:41:40 +0530
Nishant Malpani <nish.malpani25@gmail.com> wrote:

> Hello, IIO!
> 
> This is Nishant Malpani, a fourth-year integrated Master's student, 
> majoring in Electronics and Communications (ECE) engineering, at 
> International Institute of Information Technology, Bangalore, India 
> (IIIT-B).

Hi Nishant and welcome to IIO.

> 
> Driven by my thirst to gain knowledge about the Linux kernel and its 
> various subsystems, I would like to be a part of the IIO community and 
> receive some insights on how to commence contributing.
> 
> Formally, I've done a course on 'Linux Device Driver Development' at my 
> institute wherein I learnt about the various subsystems in the Linux 
> kernel of which IIO was one of them. I learnt extensively about IIO 
> Channels, Triggers, Buffers, Events etc. and further concluded by taking 
> up MCP3008 ADC as a case-study. I'm familiar with the development 
> process and initiated my contribution by submitting a naive patch [1] 
> (although it does need an update). I've also invested some time 
> completing IIO-related tasks listed on what seems like an outdated page 
> [2]. I'm aware of the previous conversations undertaken in this mailing 
> list [3] but I wasn't sure if somebody is already working on it. I'd be 
> delighted to contribute to any of the open tasks!

In some ways it's great that we don't have quite so much low hanging fruit
for newbies in IIO as we had a few years back, but in others it's annoying
that we can't readily point at useful tasks when people ask like you and
Rohit have done.

One additional on going activity you could contribute to is yaml binding
conversions.   The effort that is ongoing to cleanup device tree bindings
and make them 'testable' is a huge task so additional help is welcome.

However, this puts a review burden on both the original authors of the
relevant binding (if still around) and DT maintainers so we should do
this slowly.

If you wanted to look at this, one to start with would be.

Documentation/devicetree/bindings/iio/light/tsl2563.txt

There is documentation in the kernel tree and examples of what it should
look like. 

Another option would be to look for drivers with dt bindings in the driver
that have no binding documents at all and fix that by adding one.
Note that for simple devices it may just be a case of an entry in the
trivial-device.yaml file.

Another project that has been on the todo list for a very long time would
be to look at doing some test development for IIO along the lines of
what Guenter has for i2c devices in hwmon.

https://github.com/groeck/module-tests

They would be fairly basic but might form the basis of regression tests.

If you really get interested in that sort of testing, there are options
like emulating a device in qemu that could be explored, but that isn't
a small project and would only be useful if we then started doing regular
regression testing.

Otherwise the best way to get familiar with IIO is to get some hardware
and start messing around.

Good luck.

Jonathan

> 
> Thank you all for your time.
> 
> With regards,
> Nishant Malpani
> 
> [1] https://marc.info/?l=linux-driver-devel&m=158326078122615&w=2
> [2] https://kernelnewbies.org/IIO_tasks
> [3] https://marc.info/?l=linux-iio&m=158257639113000&w=2


      reply	other threads:[~2020-03-07 16:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-04 19:11 [RFC] Open Source Contribution | GSoC 2020 Nishant Malpani
2020-03-07 16:14 ` Jonathan Cameron [this message]

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=20200307161413.29949c19@archlinux \
    --to=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=nish.malpani25@gmail.com \
    --cc=rohitsarkar5398@gmail.com \
    /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