Re: [RFC] [PATCH] Device Tree on ARM platform

Dmitry Eremin-Solenikov
2009-05-28T12:17:52Z

David Miller wrote:

> From: Russell King - ARM Linux
> <linux@arm.linux.org.uk> Date: Thu, 28 May 2009
> 10:15:13 +0100
>
>> For example, how would an IrDA transceiver be expressed in OF?
>
> As a child device node of the IRDA device, with associated properties.
>
> You can express _ANYTHING_ using the OF device tree. It is not even
> something to discuss, it's flexible enough.

Hmmm. How to express the following situation:
On one of my platforms (sharp tosa) the backlight controller
is separated into two parts: one sitting on SPI, one on the I2C.
The tricky part is that the I2C part is only available when some
of registers of SPI part are programmed in a specific way.

--
With best wishes
Dmitry