On Thu, Jun 5, 2008 at 10:25 AM, Timur Tabi <[EMAIL PROTECTED]> wrote:
> Josh Boyer wrote:
>
>> And it does.  It does so by the unique "regs" properties and
>> unit-names.  You can assign the index that the i2c subsystem needs
>> based on probe order, like I already said.
>
> The probe order is not sufficient on platforms that specifically enumerate 
> their
> I2C (or whatever) devices.  For instance, in order to do audio playback on an
> MPC8610, SSI1 needs to use DMA channel 0.  The SSI driver specifically needs 
> to
> find the register addresses for DMA channel 0.

then you use a phandle for that; but that entirely different from bus
enumeration because it describes a real property of the hardware.

Cheers,
g.

>
> --
> Timur Tabi
> Linux kernel developer at Freescale
>



-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to