linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurentp@cse-semaphore.com>
To: Linux I2C <i2c@lm-sensors.org>
Cc: linuxppc-dev@ozlabs.org
Subject: How to set device's platform_data field for OF-described I2C devices ?
Date: Tue, 27 May 2008 13:47:59 +0200	[thread overview]
Message-ID: <200805271348.06470.laurentp@cse-semaphore.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 548 bytes --]

Hi everybody,

I'm running into a small issue with the pca953x I2C GPIO driver. The driver 
requires platform data (to set the GPIO base number among other information). 
As the device is automatically instantiated from the OF device tree, I can't 
find a way to add platform data in the process.

What's the best way to specify platform data for OF-described I2C devices ?

Best regards,

-- 
Laurent Pinchart
CSE Semaphore Belgium

Chaussee de Bruxelles, 732A
B-1410 Waterloo
Belgium

T +32 (2) 387 42 59
F +32 (2) 387 42 75

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2008-05-27 11:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-27 11:47 Laurent Pinchart [this message]
2008-05-27 15:35 ` How to set device's platform_data field for OF-described I2C devices ? Jochen Friedrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200805271348.06470.laurentp@cse-semaphore.com \
    --to=laurentp@cse-semaphore.com \
    --cc=i2c@lm-sensors.org \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).