Re: Questions related to some drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I have some questions about the ad7780 driver.

  * What is the val2 In the line 96 (*val2 = chan->scan_type.realbits
- 1;)? How it is used? Is it related to the 24-bits ADC precision?
  * Why there is a subtraction in the line 99 ( *val -= (1 <<
(chan->scan_type.realbits - 1)); )? Is the *val initialized with 0? Is
that related to the formula described in the DATA OUTPUT CODING, at
page 12?
https://www.analog.com/media/en/technical-documentation/data-sheets/ad7780.pdf

With regards


On Thu, Oct 18, 2018 at 8:41 AM Giuliano Belinassi
<giuliano.belinassi@xxxxxxxxx> wrote:
>
> On 10/18, Ardelean, Alexandru wrote:
>
> Thank you for the reply :-). We will put effort into at least one driver to
> remove it from staging.
>
> > Hey,
> >
> > Thanks for the notification.
> >
> > Yes, all these 3 drivers should be moved out of staging.
> >
> > We were planning to start working on them (to move them out of staging),
> > but priorities are shifting from one week to the other.
> > So, if you guys have the time and are willing to do it, please go ahead,
> > and add me, michael.hennerich@xxxxxxxxxx and stefan.popa@xxxxxxxxxx to the
> > CC when sending patches, and we will also take a look over your patches.
> >
> > If you haven't taken a look already, feel free to also take a look at our
> > wiki:
> > https://wiki.analog.com/resources/tools-software/linux-drivers-all
> > It's more technical for the SW side; it might help with some general info.
> > And the datasheets should be available on the analog.com/<product_id>
> > pages.
> >
> >
> > Thanks
> > Alex
> >
> >
> > On Wed, 2018-10-17 at 16:00 -0300, Giuliano Belinassi wrote:
> > > Hello,
> > >
> > > We are a student group and we want to contribute to the linux kernel. We
> > > are thinking in put effort to move a driver from staging to the main
> > > tree.
> > > We looked into three drivers:
> > >
> > >   * adc/ad7780.c
> > >   * adc/ad7816.c
> > >   * impedance-analyzer/ad5933.c
> > >
> > > Are these drivers still being worked on? The last commit referencing
> > > these
> > > drivers were on march 2018, but they are still in staging since 2010.
> > >
> > > We already know that we have to convert from the old api to the new one.
> > > It is
> > > OK for us to work on this? Is there something else we can do?
> > >
> > > Thank you
> > >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Kernel USP" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to kernel-usp+unsubscribe@xxxxxxxxxxxxxxxx.
> > To post to this group, send email to kernel-usp@xxxxxxxxxxxxxxxx.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/kernel-usp/d0fc5a236a82d03fdbe4d05eb27ff3bd3ac36958.camel%40analog.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "Kernel USP" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kernel-usp+unsubscribe@xxxxxxxxxxxxxxxx.
> To post to this group, send email to kernel-usp@xxxxxxxxxxxxxxxx.
> To view this discussion on the web visit https://groups.google.com/d/msgid/kernel-usp/20181018114145.amqff57holmecxpo%40smtp.gmail.com.
> For more options, visit https://groups.google.com/d/optout.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux