public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V4] dm: gpio: pca953x: introduce driver model support for pca953x
Date: Thu, 14 Apr 2016 15:54:14 +0200	[thread overview]
Message-ID: <570FA106.7000201@xilinx.com> (raw)
In-Reply-To: <1460641506-7770-1-git-send-email-van.freenix@gmail.com>

On 14.4.2016 15:45, Peng Fan wrote:
> Introduce a new driver that supports driver model for pca953x.
> The pca953x chips are used as I2C I/O expanders.
> This driver is designed to support the following chips:
> "
> 4 bits: pca9536, pca9537
> 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554,
>         pca9556, pca9557, pca9574, tca6408, xra1202
> 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575,
>          tca6416
> 24 bits: tca6424
> 40 bits: pca9505, pca9698
> "
> But for now this driver only supports max 24 bits and pca953x compatible
> chips. pca957x compatible chips are not supported now.
> These can be addressed when we need to add such support for the different
> chips.
> This driver has been tested on i.MX6 SoloX Sabreauto board with max7310
> i2c expander using gpio command as following:
> 
> =>gpio status -a
> Bank gpio at 30_:
> gpio at 30_0: input: 1 [ ]
> 
> => dm tree:
>  i2c         [   ]    |   |   `-- i2c at 021a8000
>  gpio        [   ]    |   |       |-- gpio at 30
>  gpio        [   ]    |   |       `-- gpio at 32
> 
> Signed-off-by: Peng Fan <van.freenix@gmail.com>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
> Cc: Wenyou Yang <wenyou.yang@atmel.com>
> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
> Cc: Purna Chandra Mandal <purna.mandal@microchip.com>
> Cc: Thomas Chou <thomas@wytron.com.tw>
> Cc: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
> Cc: Andrea Scian <andrea.scian@dave.eu>
> Cc: Michal Simek <michal.simek@xilinx.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Fabio Estevam <fabio.estevam@nxp.com>
> Acked-by: Simon Glass <sjg@chromium.org>
> Tested-by: Michal Simek <michal.simek@xilinx.com> #on ZynqMP zcu102
> ---

When someone takes this there is a conflict in Kconfig but it is easy to
resolved. All looks good.

Thanks,
Michal

  reply	other threads:[~2016-04-14 13:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-14 13:45 [U-Boot] [PATCH V4] dm: gpio: pca953x: introduce driver model support for pca953x Peng Fan
2016-04-14 13:54 ` Michal Simek [this message]
2016-04-23 17:00   ` Simon Glass

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=570FA106.7000201@xilinx.com \
    --to=michal.simek@xilinx.com \
    --cc=u-boot@lists.denx.de \
    /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