Re: [PATCH] i2c: Convert to using %pOFn instead of device_node.name

2018-08-29 Thread Peter Rosin
On 2018-08-29 20:42, Rob Herring wrote: > On Wed, Aug 29, 2018 at 1:03 PM Peter Rosin wrote: >> >> On 2018-08-28 03:52, Rob Herring wrote: >>> In preparation to remove the node name pointer from struct device_node, >>> convert printf users to use the %pOFn forma

Re: [PATCH] i2c: Convert to using %pOFn instead of device_node.name

2018-08-28 Thread Peter Rosin
On 2018-08-28 03:52, Rob Herring wrote: > In preparation to remove the node name pointer from struct device_node, > convert printf users to use the %pOFn format specifier. > > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Michael Ellerman > Cc: Pet

Re: [PATCH 2/2] i2c: opal: don't check number of messages in the driver

2018-05-24 Thread Peter Rosin
Sang <w...@the-dreams.de> Reviewed-by: Peter Rosin <p...@axentia.se> > --- > > Only build tested. > > drivers/i2c/busses/i2c-opal.c | 4 > 1 file changed, 4 deletions(-) > > diff --git a/drivers/i2c/busses/i2c-opal.c b/drivers/i2c/busses/i2c-opal.c &

[PATCH v2 2/2] i2c: busses: make use of i2c_8bit_addr_from_msg

2018-05-16 Thread Peter Rosin
..@roeck-us.net> [diolan] Acked-by: Uwe Kleine-König <u.kleine-koe...@pengutronix.de> [emf32 and imx] Acked-by: Linus Walleij <linus.wall...@linaro.org> [stu300] Signed-off-by: Peter Rosin <p...@axentia.se> --- drivers/i2c/busses/i2c-aspeed.c | 3 +-- drivers/i2c/busses/i2c-

[PATCH v2 1/2] i2c: algos: make use of i2c_8bit_addr_from_msg

2018-05-16 Thread Peter Rosin
Because it looks neater. Signed-off-by: Peter Rosin <p...@axentia.se> --- drivers/i2c/algos/i2c-algo-bit.c | 4 +--- drivers/i2c/algos/i2c-algo-pca.c | 5 + drivers/i2c/algos/i2c-algo-pcf.c | 8 ++-- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/drivers/i2c/alg

[PATCH v2 0/2] i2c: make use of i2c_8bit_addr_from_msg

2018-05-16 Thread Peter Rosin
patches 1-3 (algos) and patches 4-21 (busses) making the series consist of just two patches instead of 21. - Added ack-bys and reviewed-bys from Guenter, Uwe and LinusW. - Eliminated the flags variable in algos/i2c-algo-pcf.c Cheers, Peter Peter Rosin (2): i2c: algos: make use

Re: [PATCH 00/21] i2c: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
On 2018-05-14 18:11, Joe Perches wrote: > On Mon, 2018-05-14 at 16:53 +0200, Peter Rosin wrote: >> Hi! >> >> The nice little inline i2c_8bit_addr_from_msg is not getting >> enough use. This series improves the situation and drops a >> bunch of lines in the proces

[PATCH 16/21] i2c: pasemi: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Because it looks neater. Signed-off-by: Peter Rosin <p...@axentia.se> --- drivers/i2c/busses/i2c-pasemi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-pasemi.c b/drivers/i2c/busses/i2c-pasemi.c index df1dbc92a024..55fd5c6f3cca 100644 --- a/d

[PATCH 00/21] i2c: make use of i2c_8bit_addr_from_msg

2018-05-14 Thread Peter Rosin
Hi! The nice little inline i2c_8bit_addr_from_msg is not getting enough use. This series improves the situation and drops a bunch of lines in the process. I have only compile-tested (that part fine, at least over here). Cheers, Peter Peter Rosin (21): i2c: algo: bit: make use

Re: [PATCH] powerpc/fsl/dts: fix the i2c-mux compatible for t104xqds

2018-02-08 Thread Peter Rosin
[Adding some people whom seem relevant but did not get fingered by get_maintainer.pl] On 2017-08-03 14:59, Peter Rosin wrote: > The sanctioned compatible is "nxp,pca9547". Ping. Cheers, Peter > Signed-off-by: Peter Rosin <p...@axentia.se> > --- > arch/powerpc/bo

[PATCH] powerpc/fsl/dts: fix the i2c-mux compatible for t104xqds

2017-08-03 Thread Peter Rosin
The sanctioned compatible is "nxp,pca9547". Signed-off-by: Peter Rosin <p...@axentia.se> --- arch/powerpc/boot/dts/fsl/t104xqds.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/dts/fsl/t104xqds.dtsi b/arch/powerpc/boot/dts/fsl/t10

Re: [v12, 7/8] base: soc: introduce soc_device_match() interface

2016-09-21 Thread Peter Rosin
On 2016-09-21 09:56, Alexander Shiyan wrote: >> Среда, 21 сентября 2016, 9:57 +03:00 от Yangbo Lu : >> >> From: Arnd Bergmann < a...@arndb.de > >> >> We keep running into cases where device drivers want to know the exact >> version of the a SoC they are currently running on. In