[PATCH 1/4] powerpc: Document device nodes for I2C devices.
Kumar Gala
galak at kernel.crashing.org
Fri Dec 8 08:58:02 EST 2006
On Dec 7, 2006, at 11:33 AM, Scott Wood wrote:
> Document the use of device trees to describe devices on an I2C bus,
> which
> will be used with David Brownell's "new style" I2C binding patches.
>
> Signed-off-by: Scott Wood <scottwood at freescale.com>
> ---
> Documentation/powerpc/booting-without-of.txt | 34 +++++++++++++++
> +++++++++++
> 1 files changed, 34 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/powerpc/booting-without-of.txt b/
> Documentation/powerpc/booting-without-of.txt
> index 27b457c..092b8f3 100644
> --- a/Documentation/powerpc/booting-without-of.txt
> +++ b/Documentation/powerpc/booting-without-of.txt
> @@ -1277,6 +1277,8 @@ platforms are moved over to use the flat
>
> e) I2C
>
> + e1) I2C Controller
> +
> Required properties :
>
> - device_type : Should be "i2c"
> @@ -1297,6 +1299,10 @@ platforms are moved over to use the flat
> a digital filter sampling rate register
> - fsl5200-clocking : boolean; if defined, indicated that this
> device
> uses the FSL 5200 clocking mechanism.
> + - #address-cells : should exist and be 1 if I2C devices are
> declared
> + in the device tree.
> + - #size-cells : should exist and be 0 if I2C devices are declared
> + in the device tree.
>
> Example :
>
> @@ -1309,6 +1315,34 @@ platforms are moved over to use the flat
> dfsrr;
> };
>
> + e2) I2C Devices
> +
> + Required properties :
> +
> + - reg : I2C address for the device
Is this a 7-bit or 8-bit padded address?
- kumar
More information about the Linuxppc-dev
mailing list