* Work plan to move meter out of staging
@ 2018-03-05 14:02 Rodrigo Siqueira
2018-03-05 14:21 ` Daniel Baluta
0 siblings, 1 reply; 8+ messages in thread
From: Rodrigo Siqueira @ 2018-03-05 14:02 UTC (permalink / raw)
To: linux-iio, daniel.baluta, 21cnbao
Hi,
Recently, I started to work on IIO subsystem, and I already have sent some
patches. Now, I want to move to the next step by working for helping to push
the meter module out of staging.
In this sense, I am planning to do the following tasks:
1) Make meter checkpatch free
I already made some checkpatch cleanups in this module, but it still have some
tiny things to fix. I already start to work on this task, and I will send a
patch series this week with the checkpatch fixes.
2) Code cleanups
I noticed the code has some duplications and utilizes many magic numbers which
make difficult to read the code. In order to attempt to improve the code
readability, I am planning to work on the following tasks:
* Part of the code that I believe that has some duplications that could be
generalized:
- ade7753_spi_write_reg_[0-9]+
- ade7753_read_[0-9]+bit
- ade7753_write_[0-9]+bit
- ade7758_spi_write_reg_[0-9]+
- ade7758_spi_read_reg_[0-9]+
- ade7758_spi_read_[0-9]+bit
- ade7758_spi_write_[0-9]+bit
- ade7759_spi_read_reg_[0-9]+
* I believe there is a vast number of macro that could be removed because it is
used one or three times in the whole code. I think the direct use of
IIO_DEVICE_ATTR can be better in these cases. This changes can solve some
checkpatch problems, and improve the readability.
* There are some magic numbers that I believe that came from the datasheet. I
think that it is possible to use some defines to improve the readability in
these cases.
3) Missing code
These parts look much more fun to work. However, I do not fully understand the
IIO subsystem yet, and maybe I say something that does not make sense. So, If I
say something that does not make sense, please let me know.
So, I believe the meter module still need some pieces of code. For example:
* ade7754, ade7759, ade7854 - It does not have iio_chan_spec and
*_read_raw/*_write_raw
* ade7758 - *_read_raw looks incomplete.
That's it.
Is my work plan to move meter out of staging make sense?
Thanks
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Work plan to move meter out of staging 2018-03-05 14:02 Work plan to move meter out of staging Rodrigo Siqueira @ 2018-03-05 14:21 ` Daniel Baluta 2018-03-05 16:30 ` Lars-Peter Clausen 0 siblings, 1 reply; 8+ messages in thread From: Daniel Baluta @ 2018-03-05 14:21 UTC (permalink / raw) To: lars@metafoo.de, 21cnbao@gmail.com, rodrigosiqueiramelo@gmail.com, linux-iio@vger.kernel.org DQpPbiBMdSwgMjAxOC0wMy0wNSBhdCAxMTowMiAtMDMwMCwgUm9kcmlnbyBTaXF1ZWlyYSB3cm90 ZToNCj4gSGksDQo+IA0KPiBSZWNlbnRseSwgSSBzdGFydGVkIHRvIHdvcmsgb24gSUlPIHN1YnN5 c3RlbSwgYW5kIEkgYWxyZWFkeSBoYXZlIHNlbnQgc29tZQ0KPiBwYXRjaGVzLiBOb3csIEkgd2Fu dCB0byBtb3ZlIHRvIHRoZSBuZXh0IHN0ZXAgYnkgd29ya2luZyBmb3IgaGVscGluZyB0byBwdXNo DQo+IHRoZSBtZXRlciBtb2R1bGUgb3V0IG9mIHN0YWdpbmcuDQo+IA0KPiBJbiB0aGlzIHNlbnNl LCBJIGFtIHBsYW5uaW5nIHRvIGRvIHRoZSBmb2xsb3dpbmcgdGFza3M6DQo+IA0KPiAxKSBNYWtl IG1ldGVyIGNoZWNrcGF0Y2ggZnJlZQ0KPiANCj4gSSBhbHJlYWR5IG1hZGUgc29tZSBjaGVja3Bh dGNoIGNsZWFudXBzIGluIHRoaXMgbW9kdWxlLCBidXQgaXQgc3RpbGwgaGF2ZSBzb21lDQo+IHRp bnkgdGhpbmdzIHRvIGZpeC4gSSBhbHJlYWR5IHN0YXJ0IHRvIHdvcmsgb24gdGhpcyB0YXNrLCBh bmQgSSB3aWxsIHNlbmQgYQ0KPiBwYXRjaCBzZXJpZXMgdGhpcyB3ZWVrIHdpdGggdGhlIGNoZWNr cGF0Y2ggZml4ZXMuDQo+IA0KPiAyKSBDb2RlIGNsZWFudXBzDQo+IA0KPiBJIG5vdGljZWQgdGhl IGNvZGUgaGFzIHNvbWUgZHVwbGljYXRpb25zIGFuZCB1dGlsaXplcyBtYW55IG1hZ2ljIG51bWJl cnMgd2hpY2gNCj4gbWFrZSBkaWZmaWN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NCg0KSGkgUm9kcmlnbywNCg0KVGhpcyBsb29rcyBsaWtlIGEgZ29vZCBwbGFuIHRvIG1lLsKg DQoNCkNjLWluZyBMYXJzLCBtYXliZSB0aGV5IGhhdmUgcHJlcGFyaW5nIHNvbWV0aGluZyBhdCBB bmFsb2cgcmVnYXJkaW5nIHRoaXMgY29kZS4NCg0KdGhhbmtzLA0KRGFuaWVsLg0K ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Work plan to move meter out of staging 2018-03-05 14:21 ` Daniel Baluta @ 2018-03-05 16:30 ` Lars-Peter Clausen 2018-03-06 11:53 ` Michael Hennerich 0 siblings, 1 reply; 8+ messages in thread From: Lars-Peter Clausen @ 2018-03-05 16:30 UTC (permalink / raw) To: Daniel Baluta, 21cnbao@gmail.com, rodrigosiqueiramelo@gmail.com, linux-iio@vger.kernel.org, Hennerich, Michael Adding Michael, he coordinates the ADI Linux effort. On 03/05/2018 03:21 PM, Daniel Baluta wrote: > > On Lu, 2018-03-05 at 11:02 -0300, Rodrigo Siqueira wrote: >> Hi, >> >> Recently, I started to work on IIO subsystem, and I already have sent some >> patches. Now, I want to move to the next step by working for helping to push >> the meter module out of staging. >> >> In this sense, I am planning to do the following tasks: >> >> 1) Make meter checkpatch free >> >> I already made some checkpatch cleanups in this module, but it still have some >> tiny things to fix. I already start to work on this task, and I will send a >> patch series this week with the checkpatch fixes. >> >> 2) Code cleanups >> >> I noticed the code has some duplications and utilizes many magic numbers which >> make difficult to read the code. In order to attempt to improve the code >> readability, I am planning to work on the following tasks: >> >> * Part of the code that I believe that has some duplications that could be >> generalized: >> - ade7753_spi_write_reg_[0-9]+ >> - ade7753_read_[0-9]+bit >> - ade7753_write_[0-9]+bit >> - ade7758_spi_write_reg_[0-9]+ >> - ade7758_spi_read_reg_[0-9]+ >> - ade7758_spi_read_[0-9]+bit >> - ade7758_spi_write_[0-9]+bit >> - ade7759_spi_read_reg_[0-9]+ >> >> * I believe there is a vast number of macro that could be removed because it is >> used one or three times in the whole code. I think the direct use of >> IIO_DEVICE_ATTR can be better in these cases. This changes can solve some >> checkpatch problems, and improve the readability. >> >> * There are some magic numbers that I believe that came from the datasheet. I >> think that it is possible to use some defines to improve the readability in >> these cases. >> >> 3) Missing code >> >> These parts look much more fun to work. However, I do not fully understand the >> IIO subsystem yet, and maybe I say something that does not make sense. So, If I >> say something that does not make sense, please let me know. >> >> So, I believe the meter module still need some pieces of code. For example: >> >> * ade7754, ade7759, ade7854 - It does not have iio_chan_spec and >> *_read_raw/*_write_raw >> >> * ade7758 - *_read_raw looks incomplete. >> >> >> That's it. >> Is my work plan to move meter out of staging make sense? > > > Hi Rodrigo, > > This looks like a good plan to me. > > Cc-ing Lars, maybe they have preparing something at Analog regarding this code. > > thanks, > Daniel. > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Work plan to move meter out of staging 2018-03-05 16:30 ` Lars-Peter Clausen @ 2018-03-06 11:53 ` Michael Hennerich 2018-03-06 12:36 ` Rodrigo Siqueira 0 siblings, 1 reply; 8+ messages in thread From: Michael Hennerich @ 2018-03-06 11:53 UTC (permalink / raw) To: Lars-Peter Clausen, Daniel Baluta, 21cnbao@gmail.com, rodrigosiqueiramelo@gmail.com, linux-iio@vger.kernel.org On 05.03.2018 17:30, Lars-Peter Clausen wrote: > Adding Michael, he coordinates the ADI Linux effort. > > On 03/05/2018 03:21 PM, Daniel Baluta wrote: >> >> On Lu, 2018-03-05 at 11:02 -0300, Rodrigo Siqueira wrote: >>> Hi, >>> >>> Recently, I started to work on IIO subsystem, and I already have sent some >>> patches. Now, I want to move to the next step by working for helping to push >>> the meter module out of staging. >>> >>> In this sense, I am planning to do the following tasks: >>> >>> 1) Make meter checkpatch free >>> >>> I already made some checkpatch cleanups in this module, but it still have some >>> tiny things to fix. I already start to work on this task, and I will send a >>> patch series this week with the checkpatch fixes. >>> >>> 2) Code cleanups >>> >>> I noticed the code has some duplications and utilizes many magic numbers which >>> make difficult to read the code. In order to attempt to improve the code >>> readability, I am planning to work on the following tasks: >>> >>> * Part of the code that I believe that has some duplications that could be >>> generalized: >>> - ade7753_spi_write_reg_[0-9]+ >>> - ade7753_read_[0-9]+bit >>> - ade7753_write_[0-9]+bit >>> - ade7758_spi_write_reg_[0-9]+ >>> - ade7758_spi_read_reg_[0-9]+ >>> - ade7758_spi_read_[0-9]+bit >>> - ade7758_spi_write_[0-9]+bit >>> - ade7759_spi_read_reg_[0-9]+ >>> >>> * I believe there is a vast number of macro that could be removed because it is >>> used one or three times in the whole code. I think the direct use of >>> IIO_DEVICE_ATTR can be better in these cases. This changes can solve some >>> checkpatch problems, and improve the readability. >>> >>> * There are some magic numbers that I believe that came from the datasheet. I >>> think that it is possible to use some defines to improve the readability in >>> these cases. >>> >>> 3) Missing code >>> >>> These parts look much more fun to work. However, I do not fully understand the >>> IIO subsystem yet, and maybe I say something that does not make sense. So, If I >>> say something that does not make sense, please let me know. >>> >>> So, I believe the meter module still need some pieces of code. For example: >>> >>> * ade7754, ade7759, ade7854 - It does not have iio_chan_spec and >>> *_read_raw/*_write_raw >>> >>> * ade7758 - *_read_raw looks incomplete. >>> >>> >>> That's it. >>> Is my work plan to move meter out of staging make sense? >> >> >> Hi Rodrigo, >> >> This looks like a good plan to me. >> >> Cc-ing Lars, maybe they have preparing something at Analog regarding this code. >> >> thanks, >> Daniel. In general I think this is a great idea, however looking at it from a different angle - Most of the supported metering circuits are already marked as not recommended for new designs. While Analog Devices have a very strong product portfolio in the Metering IC space, all of the parts in staging/iio/meter are from 2011 and before and have already seen multiple product iterations since then. A major rework of these drivers might require testing, unfortunately these drivers were developed by a different team which now pursues different responsibilities. So I won’t be able to test them again, and therefore I’m also a bit hesitant to lift them out of staging. -- Greetings, Michael -- Analog Devices GmbH Otl-Aicher Strasse 60-64 80807 München Sitz der Gesellschaft München, Registergericht München HRB 40368, Geschäftsführer: Peter Kolberg, Ali Raza Husain, Eileen Wynne ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Work plan to move meter out of staging 2018-03-06 11:53 ` Michael Hennerich @ 2018-03-06 12:36 ` Rodrigo Siqueira 2018-03-06 13:04 ` Daniel Baluta 0 siblings, 1 reply; 8+ messages in thread From: Rodrigo Siqueira @ 2018-03-06 12:36 UTC (permalink / raw) To: Michael Hennerich Cc: Lars-Peter Clausen, Daniel Baluta, 21cnbao@gmail.com, linux-iio@vger.kernel.org Hi, > On 05.03.2018 17:30, Lars-Peter Clausen wrote: > In general I think this is a great idea, however looking at it from a > different angle - > Most of the supported metering circuits are already marked as not > recommended for new designs. > While Analog Devices have a very strong product portfolio in the Metering IC > space, all of the parts in > staging/iio/meter are from 2011 and before and have already seen multiple > product iterations since then. > A major rework of these drivers might require testing, unfortunately these > drivers were developed by a different team which now pursues different > responsibilities. > So I won’t be able to test them again, and therefore I’m also a bit hesitant > to lift them out of staging. I have seen your message a few minutes ago, just after I sent a patch series that removes checkpatch problems from meter module. Anyway, after your comments, I believe that is a better idea to work on another module in the staging. Is that ok Daniel? Just for curiosity, what is the process to remove meter from staging? Thanks > -- > Greetings, > Michael > > -- > Analog Devices GmbH Otl-Aicher Strasse 60-64 80807 München > Sitz der Gesellschaft München, Registergericht München HRB 40368, > Geschäftsführer: Peter Kolberg, Ali Raza Husain, Eileen Wynne ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Work plan to move meter out of staging 2018-03-06 12:36 ` Rodrigo Siqueira @ 2018-03-06 13:04 ` Daniel Baluta 2018-03-06 13:41 ` Jonathan Cameron 0 siblings, 1 reply; 8+ messages in thread From: Daniel Baluta @ 2018-03-06 13:04 UTC (permalink / raw) To: rodrigosiqueiramelo@gmail.com, michael.hennerich@analog.com Cc: lars@metafoo.de, 21cnbao@gmail.com, linux-iio@vger.kernel.org T24gTWEsIDIwMTgtMDMtMDYgYXQgMDk6MzYgLTAzMDAsIFJvZHJpZ28gU2lxdWVpcmEgd3JvdGU6 DQo+IEhpLA0KPiANCj4gPiANCj4gPiBPbiAwNS4wMy4yMDE4IDE3OjMwLCBMYXJzLVBldG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G1pbnV0ZXMgYWdvLCBqdXN0IGFm dGVyIEkgc2VudCBhIHBhdGNoDQo+IHNlcmllcyB0aGF0IHJlbW92ZXMgY2hlY2twYXRjaCBwcm9i bGVtcyBmcm9tIG1ldGVyIG1vZHVsZS4gQW55d2F5LCBhZnRlcg0KPiB5b3VyIGNvbW1lbnRzLCBJ IGJlbGlldmUgdGhhdCBpcyBhIGJldHRlciBpZGVhIHRvIHdvcmsgb24gYW5vdGhlciBtb2R1bGUN Cj4gaW4gdGhlIHN0YWdpbmcuIElzIHRoYXQgb2sgRGFuaWVsPw0KDQpIaSwNCg0KSSB0aGluayBp dCBpcyBzdGlsbCBhIGdvb2QgaWRlYSB0byBtYWtlIHRoZSBjaGVja3BhdGNoIGNoYW5nZXMgaW4g dGhlIG1ldGVyIGRpcmVjdG9yeQ0KZnJvbSBzdGFnaW5nLsKgDQo+IA0KPiBKdXN0IGZvciBjdXJp b3NpdHksIHdoYXQgaXMgdGhlIHByb2Nlc3MgdG8gcmVtb3ZlIG1ldGVyIGZyb20gc3RhZ2luZz8N Cg0KTWFrZSBzdXJlIHdlIHVzZSB0aGUgc3RhbmRhcmQgSUlPIGludGVyZmFjZXMsIGdvb2QgcXVh bGl0eSBjb2RlIGFuZCBnb29kIHRlc3RpbmcgOikuDQoNCnRoYW5rcywNCkRhbmllbC4= ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Work plan to move meter out of staging 2018-03-06 13:04 ` Daniel Baluta @ 2018-03-06 13:41 ` Jonathan Cameron 2018-03-06 14:09 ` Michael Hennerich 0 siblings, 1 reply; 8+ messages in thread From: Jonathan Cameron @ 2018-03-06 13:41 UTC (permalink / raw) To: Daniel Baluta, rodrigosiqueiramelo@gmail.com, michael.hennerich@analog.com Cc: lars@metafoo.de, 21cnbao@gmail.com, linux-iio@vger.kernel.org On 6 March 2018 13:04:31 GMT, Daniel Baluta <daniel.baluta@nxp.com> wrote: >On Ma, 2018-03-06 at 09:36 -0300, Rodrigo Siqueira wrote: >> Hi, >> >> > >> > On 05.03.2018 17:30, Lars-Peter Clausen wrote: >> > In general I think this is a great idea, however looking at it from >a >> > different angle - >> > Most of the supported metering circuits are already marked as not >> > recommended for new designs. >> > While Analog Devices have a very strong product portfolio in the >Metering IC >> > space, all of the parts in >> > staging/iio/meter are from 2011 and before and have already seen >multiple >> > product iterations since then. >> > A major rework of these drivers might require testing, >unfortunately these >> > drivers were developed by a different team which now pursues >different >> > responsibilities. >> > So I won’t be able to test them again, and therefore I’m also a bit >hesitant >> > to lift them out of staging. >> I have seen your message a few minutes ago, just after I sent a patch >> series that removes checkpatch problems from meter module. Anyway, >after >> your comments, I believe that is a better idea to work on another >module >> in the staging. Is that ok Daniel? > >Hi, > >I think it is still a good idea to make the checkpatch changes in the >meter directory >from staging. For work already done I agree but perhaps we can find a better target for effort going forward. Michael, what is the position on the CDC drivers and the resolver ones? Jonathan >> >> Just for curiosity, what is the process to remove meter from staging? > >Make sure we use the standard IIO interfaces, good quality code and >good testing :). > >thanks, >Daniel. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Work plan to move meter out of staging 2018-03-06 13:41 ` Jonathan Cameron @ 2018-03-06 14:09 ` Michael Hennerich 0 siblings, 0 replies; 8+ messages in thread From: Michael Hennerich @ 2018-03-06 14:09 UTC (permalink / raw) To: Jonathan Cameron, Daniel Baluta, rodrigosiqueiramelo@gmail.com Cc: lars@metafoo.de, 21cnbao@gmail.com, linux-iio@vger.kernel.org On 06.03.2018 14:41, Jonathan Cameron wrote: > > > On 6 March 2018 13:04:31 GMT, Daniel Baluta <daniel.baluta@nxp.com> wrote: >> On Ma, 2018-03-06 at 09:36 -0300, Rodrigo Siqueira wrote: >>> Hi, >>> >>>> >>>> On 05.03.2018 17:30, Lars-Peter Clausen wrote: >>>> In general I think this is a great idea, however looking at it from >> a >>>> different angle - >>>> Most of the supported metering circuits are already marked as not >>>> recommended for new designs. >>>> While Analog Devices have a very strong product portfolio in the >> Metering IC >>>> space, all of the parts in >>>> staging/iio/meter are from 2011 and before and have already seen >> multiple >>>> product iterations since then. >>>> A major rework of these drivers might require testing, >> unfortunately these >>>> drivers were developed by a different team which now pursues >> different >>>> responsibilities. >>>> So I won’t be able to test them again, and therefore I’m also a bit >> hesitant >>>> to lift them out of staging. >>> I have seen your message a few minutes ago, just after I sent a patch >>> series that removes checkpatch problems from meter module. Anyway, >> after >>> your comments, I believe that is a better idea to work on another >> module >>> in the staging. Is that ok Daniel? >> >> Hi, >> >> I think it is still a good idea to make the checkpatch changes in the >> meter directory >>from staging. > For work already done I agree but perhaps we can find a better target for effort going forward. > > Michael, what is the position on the CDC drivers and the resolver ones? The CDC and resolvers are much better targets. The products are still appropriate for new designs. And what the CDC drivers are concerned I still have HW to test. > > Jonathan >>> >>> Just for curiosity, what is the process to remove meter from staging? >> >> Make sure we use the standard IIO interfaces, good quality code and >> good testing :). >> >> thanks, >> Daniel. > -- Greetings, Michael -- Analog Devices GmbH Otl-Aicher Strasse 60-64 80807 München Sitz der Gesellschaft München, Registergericht München HRB 40368, Geschäftsführer: Peter Kolberg, Ali Raza Husain, Eileen Wynne ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-03-06 14:09 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-03-05 14:02 Work plan to move meter out of staging Rodrigo Siqueira 2018-03-05 14:21 ` Daniel Baluta 2018-03-05 16:30 ` Lars-Peter Clausen 2018-03-06 11:53 ` Michael Hennerich 2018-03-06 12:36 ` Rodrigo Siqueira 2018-03-06 13:04 ` Daniel Baluta 2018-03-06 13:41 ` Jonathan Cameron 2018-03-06 14:09 ` Michael Hennerich
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox