On Fri, Jan 28, 2022 at 10:35:54AM +0000, Jonathan Cameron wrote: > On Fri, 28 Jan 2022 09:11:28 +0530 > jagath jogj <jagathjog1996@xxxxxxxxx> wrote: > > > Hello, > > > > I have a Maxim DS3502 potentiometer breakout and I have written an IIO > > driver for learning purposes and tested with Raspberry pi and wanted > > to send patches of the driver for the IIO sub-system. > > > > Can I send the patches for DS3502 POT for review? > > > > The setup used to write driver > > Raspberry pi 3b > > DS3502 breakout board > > Raspberry pi latest kernel branch - https://github.com/raspberrypi/linux > Welcome to IIO. > > Absolutely on sending the patches for review. > You'll need to rebase them on latest mainline from kernel.org > (pick a tagged version which would currently be 5.17-rc1_ > > and then follow the documentation for how to submit a patch in > https://www.kernel.org/doc/html/latest/process/submitting-patches.html > > Feel free to ask if you have any questions about the process. > > Looking forwards to seeing your code. Agree with Jonathan. One remark though, can you double check that drivers/iio/potentiometer doesn't have any similar driver that can be expanded (usually it can be done by analyzing a register file of the devices, like register offsets and their meanings or bit fields)? -- With Best Regards, Andy Shevchenko