Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1379796
| From | Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 08/15] dmaengine: dw: revisit data_width property |
| Date | 2016-04-15 14:50 +0200 |
| Message-ID | <robma-36m-17@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <rnvmX-3u7-47@gated-at.bofh.it> <rnvwD-3Pk-23@gated-at.bofh.it> <rnvGh-3Tg-1@gated-at.bofh.it> <rnvPY-3Yt-25@gated-at.bofh.it> <rnw9k-46a-5@gated-at.bofh.it> |
| Organization | Intel Finland Oy |
On Wed, 2016-04-13 at 17:40 +0100, Mark Brown wrote: > On Wed, Apr 13, 2016 at 07:21:53PM +0300, Andy Shevchenko wrote: > > > > On Wed, 2016-04-13 at 21:47 +0530, Vinod Koul wrote: > > > > > > On Wed, Apr 13, 2016 at 07:05:48PM +0300, Andy Shevchenko wrote: > > > > > > > > > > > > > The old is still supported and benefit is apparently in unifying > > > > standard properties across the drivers. > > > > > > > > Hrmmm how is that? > > > > The common usage for data-width property is "in bytes". And I like > > the > > idea. I don't know why at all I chose to keep encoded value there in > > the > > first place and no one commented at that time. I suppose because of > > screwed device tree process. I think now it's better to follow some > > standard / registered properties in new drivers. > You're unfortunately still breaking compatibility with existing DTs > using this property. Now, it does appear that there is very little > use > of this DMA controller on DT systems and judging by the somewhat odd > compatible string and in tree DTs most of those are legacy so perhaps > this isn't the end of the world but this isn't something that should > be > dismissed as a simple cleanup. Well, does everyone agree that keeping data-width a) with dash in the name and b) in bytes is good approach? I will keep an array and support for old encoded property though. -- Andy Shevchenko <andriy.shevchenko@linux.intel.com> Intel Finland Oy
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v3 08/15] dmaengine: dw: revisit data_width property Vinod Koul <vinod.koul@intel.com> - 2016-04-13 18:00 +0200
Re: [PATCH v3 08/15] dmaengine: dw: revisit data_width property Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-04-13 18:10 +0200
Re: [PATCH v3 08/15] dmaengine: dw: revisit data_width property Vinod Koul <vinod.koul@intel.com> - 2016-04-13 18:20 +0200
Re: [PATCH v3 08/15] dmaengine: dw: revisit data_width property Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-04-13 18:30 +0200
Re: [PATCH v3 08/15] dmaengine: dw: revisit data_width property Mark Brown <broonie@kernel.org> - 2016-04-13 18:50 +0200
Re: [PATCH v3 08/15] dmaengine: dw: revisit data_width property Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-04-15 14:50 +0200
Re: [PATCH v3 08/15] dmaengine: dw: revisit data_width property Vinod Koul <vinod.koul@intel.com> - 2016-04-16 07:50 +0200
csiph-web