From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 14 May 2018 08:01:50 +1000 Subject: [U-Boot] [PATCH v2 06/11] pmic: Rewrite the pmic command to not only work with single byte transmission In-Reply-To: <20180506202608.5899-7-lukma@denx.de> References: <20180506202608.5899-1-lukma@denx.de> <20180506202608.5899-7-lukma@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 7 May 2018 at 06:26, Lukasz Majewski wrote: > Up till now it was only possible to use 'pmic' command with a single byte > transmission. > The pmic_read|write functions has been replaced with ones, which don't need > the transmission length as a parameter. > > Due to that it is possible now to read data from PMICs transmitting more > data than 1 byte at once (e.g. mc34708) > > Signed-off-by: Lukasz Majewski > > --- > > Changes in v2: > - New patch > > cmd/pmic.c | 31 +++++++++++++++++++------------ > 1 file changed, 19 insertions(+), 12 deletions(-) Reviewed-by: Simon Glass