[alsa-devel] [PATCH V2 4/5] ARM: dt: tegra30.dtsi: Add audio-related nodes

Olof Johansson olof at lixom.net
Fri Apr 13 22:59:29 CEST 2012


On Tue, Apr 10, 2012 at 10:28 PM, Stephen Warren <swarren at wwwdotorg.org> wrote:
> On 04/10/2012 10:27 PM, Olof Johansson wrote:
> ...
>> On Tue, Apr 10, 2012 at 4:19 PM, Stephen Warren <swarren at wwwdotorg.org> wrote:
>>> From: Stephen Warren <swarren at nvidia.com>
>>>
>>> Add nodes for the Tegra30 AHUB and I2S controllers.
> ...
>>> diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi
> ...
>>> +       ahub at 70080000 {
>>
>> No need for unit address here since there's only one node with this
>> name -- "ahub {"  is sufficient.
>
> Is there actually a benefit from leaving it out though?

Just like there's no benefit from including it. :)

So, either way is OK but I think we're a little too eager to always
include them on ARM compared to what powerpc does. No big deal though.
>
>>> +               compatible = "nvidia,tegra30-ahub";
>>> +               reg = <0x70080000 0x200 0x70080200 0x100>;
>>
>> Why not just use 0x70080000 0x300?
>
> The register space is logically divided into two chunks; the first for
> the DMA FIFOs and the second for the AHUB routing registers. Future
> chips may change the relative positions and sizes of these two chunks,
> hence I figured it was best to model them independently even though
> they're contiguous in Tegra30.

Makes perfect sense, thanks for the motivation.


-Olof


More information about the Alsa-devel mailing list