]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/glsdk-u-boot.git/commit
pmic_fsl: Introduce FSL_PMIC_I2C_LENGTH
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 23 Oct 2012 06:34:50 +0000 (06:34 +0000)
committerStefano Babic <sbabic@denx.de>
Fri, 26 Oct 2012 14:28:07 +0000 (16:28 +0200)
commit4cfc6c4fa7611e79e6434e97db56b6072ad4d05c
tree565b8a51b36f1d4f811c47a7383bea249fc7c3b0
parentaf2a4093cb141f9c5ea433c41ab06a528a7792a6
pmic_fsl: Introduce FSL_PMIC_I2C_LENGTH

Introduce FSL_PMIC_I2C_LENGTH to configure the number of bytes that are used to
communicate with the PMIC via I2C.

Instead of hardcoding the value, pass the number via a configurable option per
PMIC type.

This will be useful for adding support for PMIC MC34704 from Freescale, which
uses only one byte in its I2C protocol.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
drivers/misc/pmic_fsl.c
include/configs/mx35pdk.h
include/configs/mx53loco.h