Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1223019
| From | Peter Griffin <peter.griffin@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 7/9] ARM: STi: DT: STiH407: Add FDMA driver dt nodes. |
| Date | 2015-09-11 20:10 +0200 |
| Message-ID | <q7AVQ-Tz-33@gated-at.bofh.it> (permalink) |
| References | <q7xlf-42z-3@gated-at.bofh.it> <q7xlg-42z-27@gated-at.bofh.it> <q7zn4-6Xj-25@gated-at.bofh.it> <q7zGq-7k9-15@gated-at.bofh.it> <q7AMa-sV-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Lee,
On Fri, 11 Sep 2015, Lee Jones wrote:
> On Fri, 11 Sep 2015, Peter Griffin wrote:
> > On Fri, 11 Sep 2015, Lee Jones wrote:
> > > On Fri, 11 Sep 2015, Peter Griffin wrote:
> > >
> > > > These nodes are required to get the fdma driver working
> > > > on STiH407 based silicon.
> > > >
> > > > Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> > > > ---
> > > > arch/arm/boot/dts/stih407-family.dtsi | 51 +++++++++++++++++++++++++++++++++++
> > > > 1 file changed, 51 insertions(+)
> > > >
> > > > diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
> > > > index 838b812..da07474b 100644
> > > > --- a/arch/arm/boot/dts/stih407-family.dtsi
> > > > +++ b/arch/arm/boot/dts/stih407-family.dtsi
> > > > @@ -565,5 +565,56 @@
> > > > <&phy_port2 PHY_TYPE_USB3>;
> > > > };
> > > > };
> > > > +
> > > > + fdma0: fdma0-audio@8e20000 {
> > >
> > > I'm not familiar with the FDMA driver, so can't comment knowledgeably,
> > > but the <dev> part of <dev>@<base_address> should only describe the
> > > type of hardware. I believe in this case it should just be
> > > dma@08e20000. Also notice the leading zero in the address, which I
> > > believe mitigates possible confusion. Then you be more specific with
> > > the label, so something like 'fdma-audio' seems appropriate here.
> >
> > Ok, can change to that format in v3.
> >
> > >
> > > > + compatible = "st,stih407-fdma-mpe31";
> > > > + reg = <0x8e20000 0x20000>;
> > >
> > > I personally find padding up to 32bits helpful in the addresses.
> >
> > None of the stih407-family nodes I can see have this padding, including
> > the ones merged by you.
>
> Nither of these two facts mean it's correct.
I thought it was a 'personal' thing. If it is mandated by the spec, then that
is different.
>
> I'm happy to write a patch to correct them all.
Are you sure your actually correcting anything? Where does it say you
should have a leading zero?
>
> Bear in mind that this isn't a hard and fast rule. Both work and are
> legal. I just think the padding is more consistent.
Surely adding a patch with how the nodes are currently formatted, is more consistent
than adding a patch with padding?
regards,
Peter.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 7/9] ARM: STi: DT: STiH407: Add FDMA driver dt nodes. Peter Griffin <peter.griffin@linaro.org> - 2015-09-11 16:20 +0200
Re: [PATCH v2 7/9] ARM: STi: DT: STiH407: Add FDMA driver dt nodes. Lee Jones <lee.jones@linaro.org> - 2015-09-11 18:30 +0200
Re: [PATCH v2 7/9] ARM: STi: DT: STiH407: Add FDMA driver dt nodes. Peter Griffin <peter.griffin@linaro.org> - 2015-09-11 18:50 +0200
Re: [PATCH v2 7/9] ARM: STi: DT: STiH407: Add FDMA driver dt nodes. Lee Jones <lee.jones@linaro.org> - 2015-09-11 20:00 +0200
Re: [PATCH v2 7/9] ARM: STi: DT: STiH407: Add FDMA driver dt nodes. Peter Griffin <peter.griffin@linaro.org> - 2015-09-11 20:10 +0200
Re: [PATCH v2 7/9] ARM: STi: DT: STiH407: Add FDMA driver dt nodes. Lee Jones <lee.jones@linaro.org> - 2015-09-11 21:40 +0200
Re: [PATCH v2 7/9] ARM: STi: DT: STiH407: Add FDMA driver dt nodes. Peter Griffin <peter.griffin@linaro.org> - 2015-09-12 14:30 +0200
csiph-web