[PATCH v4 2/8] dt-bindings: display: atmel: optional video-interface of endpoints

2018-04-23 Thread Peter Rosin
quot; issue (SAMA5D2, SAMA5D4), this is completely irrelevant. Signed-off-by: Peter Rosin --- .../devicetree/bindings/display/atmel/hlcdc-dc.txt | 26 ++ 1 file changed, 26 insertions(+) diff --git a/Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt b/Documentation

[PATCH v4 0/8] Add tda998x (HDMI) support to atmel-hlcdc

2018-04-23 Thread Peter Rosin
en no override was specified). - do not mention unrelated connector display_info details in the cover letter and commit messages. [1] "Bridge" series v2 https://lkml.org/lkml/2018/3/26/610 "Bridge" series v1 https://lkml.org/lkml/2018/3/17/221 Peter Rosin (8): dt-bindin

Re: [PATCH 6/8] drm: rcar-du: rcar-lvds: Add bridge format support

2018-04-22 Thread Peter Rosin
On 2018-04-19 11:31, Jacopo Mondi wrote: > With the introduction of static input image format enumeration in DRM > bridges, add support to retrieve the format in rcar-lvds LVDS encoder > from both panel or bridge, to set the desired LVDS mode. > > Do not rely on 'DRM_BUS_FLAG_DATA_LSB_TO_MSB' flag

Re: [PATCH 3/8] drm: bridge: thc63lvd1024: Add support for LVDS mode map

2018-04-22 Thread Peter Rosin
On 2018-04-19 11:31, Jacopo Mondi wrote: > The THC63LVD1024 LVDS to RGB bridge supports two different LVDS mapping > modes, selectable by means of an external pin. > > Add support for configurable LVDS input mapping modes, using the newly > introduced support for bridge input image formats. > > S

Re: [PATCH 2/8] dt-bindings: display: bridge: thc63lvd1024: Add lvds map property

2018-04-22 Thread Peter Rosin
On 2018-04-19 11:31, Jacopo Mondi wrote: > The THC63LVD1024 LVDS to RGB bridge supports two different input mapping > modes, selectable by means of an external pin. > > Describe the LVDS mode map through a newly defined mandatory property in > device tree bindings. > > Signed-off-by: Jacopo Mondi

Re: [PATCH 1/8] drm: bridge: Add support for static image formats

2018-04-22 Thread Peter Rosin
On 2018-04-19 11:31, Jacopo Mondi wrote: > Add support for storing image format information in DRM bridges with > associated helper function. > > This patch replicates for bridges what 'drm_display_info_set_bus_formats()' > is for connectors. > > Signed-off-by: Jacopo Mondi > --- > drivers/gpu/

Re: [PATCH v3 4/7] drm/atmel-hlcdc: support bus-width (12/16/18/24) in endpoint nodes

2018-04-21 Thread Peter Rosin
On 2018-04-21 18:19, Boris Brezillon wrote: > On Thu, 19 Apr 2018 18:27:48 +0200 > Peter Rosin wrote: > >> This beats the heuristic that the connector is involved in what format >> should be output for cases where this fails. >> >> E.g. if there is a bridg

Re: [PATCH v3 0/7] Add tda998x (HDMI) support to atmel-hlcdc

2018-04-21 Thread Peter Rosin
On 2018-04-21 10:38, Laurent Pinchart wrote: > Hi Peter, > > On Friday, 20 April 2018 15:55:50 EEST Peter Rosin wrote: >> On 2018-04-20 13:38, jacopo mondi wrote: >>> On Fri, Apr 20, 2018 at 01:05:21PM +0200, Peter Rosin wrote: >>>> On 2018-04-20 12:18, Laurent

Re: [PATCH v3 7/7] drm/i2c: tda998x: register as a drm bridge

2018-04-20 Thread Peter Rosin
On 2018-04-20 12:24, Russell King - ARM Linux wrote: > On Fri, Apr 20, 2018 at 01:06:49PM +0300, Laurent Pinchart wrote: >> Hi Peter, >> >> Thank you for the patch. >> >> On Thursday, 19 April 2018 19:27:51 EEST Peter Rosin wrote: >>> This makes this dr

Re: [PATCH v3 7/7] drm/i2c: tda998x: register as a drm bridge

2018-04-20 Thread Peter Rosin
On 2018-04-20 12:53, Russell King - ARM Linux wrote: > On Fri, Apr 20, 2018 at 12:49:42PM +0200, Peter Rosin wrote: >> On 2018-04-20 12:41, kbuild test robot wrote: >>> Hi Peter, >>> >>> I love your patch! Yet something to improve: >> >> Yup, right y

Re: [PATCH v3 0/7] Add tda998x (HDMI) support to atmel-hlcdc

2018-04-20 Thread Peter Rosin
On 2018-04-20 13:38, jacopo mondi wrote: > Hi Peter, > > On Fri, Apr 20, 2018 at 01:05:21PM +0200, Peter Rosin wrote: >> On 2018-04-20 12:18, Laurent Pinchart wrote: >>> Hello, >>> >>> On Friday, 20 April 2018 11:52:35 EEST jacopo mondi wrote: >>>

Re: [PATCH v3 0/7] Add tda998x (HDMI) support to atmel-hlcdc

2018-04-20 Thread Peter Rosin
band wagon. >> >> On Thu, Apr 19, 2018 at 06:27:44PM +0200, Peter Rosin wrote: >>> Hi! >>> >>> I naively thought that since there was support for both nxp,tda19988 (in >>> the tda998x driver) and the atmel-hlcdc, things would be a smooth ride. >

Re: [PATCH v3 7/7] drm/i2c: tda998x: register as a drm bridge

2018-04-20 Thread Peter Rosin
ase drop us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Peter-Rosin/Add-tda998x-HDMI-support-to-atmel-hlcdc/20180420-160131 > base: git://people.freedesktop.org/~airlied/linux.git drm-next > config: i386-randconfig-a0-201815 (atta

Re: [PATCH v2] usb: chipidea: Hook into mux framework to toggle usb switch

2018-04-20 Thread Peter Rosin
On 2018-04-20 04:00, Peter Chen wrote: > > >> --- a/drivers/usb/chipidea/Kconfig >> +++ b/drivers/usb/chipidea/Kconfig >> @@ -3,6 +3,8 @@ config USB_CHIPIDEA >> depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD >> && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA >>

Re: [PATCH v2 3/6] drm: of: introduce drm_of_media_bus_fmt

2018-04-19 Thread Peter Rosin
On 2018-04-19 18:22, Rob Herring wrote: > On Tue, Apr 17, 2018 at 8:10 AM, Peter Rosin wrote: >> Add a central function to parse a node according to the video >> interface binding and get a media bus format. >> >> Start with only supporting a very limited set of a few

[PATCH v3 3/7] drm: of: introduce drm_of_media_bus_fmt

2018-04-19 Thread Peter Rosin
Add a central function to parse a node according to the video interface binding and get a media bus format. Start with only supporting a very limited set of a few basic media bus formats. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_of.c | 38

[PATCH v3 4/7] drm/atmel-hlcdc: support bus-width (12/16/18/24) in endpoint nodes

2018-04-19 Thread Peter Rosin
2, SAMA5D4), this is completely irrelevant. Signed-off-by: Peter Rosin --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 71 +--- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h | 2 + drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 40 - 3 files changed,

[PATCH v3 5/7] drm/i2c: tda998x: find the drm_device via the drm_connector

2018-04-19 Thread Peter Rosin
This prepares for being a drm_bridge which will not register the encoder. That makes the connector the better choice. Signed-off-by: Peter Rosin --- drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers

[PATCH v3 6/7] drm/i2c: tda998x: split encoder and component functions from the work

2018-04-19 Thread Peter Rosin
This enables reuse of the machinery for the case where a drm_bridge needs to do the same work via different interfaces. Signed-off-by: Peter Rosin --- drivers/gpu/drm/i2c/tda998x_drv.c | 46 ++- 1 file changed, 36 insertions(+), 10 deletions(-) diff --git a

[PATCH v3 7/7] drm/i2c: tda998x: register as a drm bridge

2018-04-19 Thread Peter Rosin
goes away when connecting to the bridge interface of the driver and the equivalent of bind/unbind of the component is handled by bridge attach/detach. The lifetime requirements of a bridge and a component are slightly different, which is the reason for struct tda998x_bridge. Signed-off-by: Peter

[PATCH v3 0/7] Add tda998x (HDMI) support to atmel-hlcdc

2018-04-19 Thread Peter Rosin
ries v2 https://lkml.org/lkml/2018/3/26/610 "Bridge" series v1 https://lkml.org/lkml/2018/3/17/221 Peter Rosin (7): dt-bindings: display: bridge: lvds-transmitter: add ti,ds90c185 dt-bindings: display: atmel: optional video-interface of endpoints drm: of: introduce drm_of_media_

[PATCH v3 2/7] dt-bindings: display: atmel: optional video-interface of endpoints

2018-04-19 Thread Peter Rosin
quot; issue (SAMA5D2, SAMA5D4), this is completely irrelevant. Signed-off-by: Peter Rosin --- .../devicetree/bindings/display/atmel/hlcdc-dc.txt | 26 ++ 1 file changed, 26 insertions(+) diff --git a/Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt b/Documentation

[PATCH v3 1/7] dt-bindings: display: bridge: lvds-transmitter: add ti,ds90c185

2018-04-19 Thread Peter Rosin
Start list of actual chips compatible with "lvds-encoder". Reviewed-by: Laurent Pinchart Reviewed-by: Rob Herring Signed-off-by: Peter Rosin --- .../devicetree/bindings/display/bridge/lvds-transmitter.txt | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) dif

Re: [PATCH v2 6/6] drm/atmel-hlcdc: fix broken release date

2018-04-18 Thread Peter Rosin
On 2018-04-18 09:44, Boris Brezillon wrote: > On Tue, 17 Apr 2018 15:10:52 +0200 > Peter Rosin wrote: > >> Bump the minor version while at it. >> >> Signed-off-by: Peter Rosin >> --- >> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 4 ++-- >>

Re: [PATCH v2 5/6] drm/atmel-hlcdc: add support for connecting to tda998x HDMI encoder

2018-04-18 Thread Peter Rosin
On 2018-04-18 09:36, Boris Brezillon wrote: > On Tue, 17 Apr 2018 15:10:51 +0200 > Peter Rosin wrote: > >> When the of-graph points to a tda998x-compatible HDMI encoder, register >> as a component master and bind to the encoder/connector provided by >> the tda998x d

Re: [PATCH v2 4/6] drm/atmel-hlcdc: support bus-width (12/16/18/24) in endpoint nodes

2018-04-18 Thread Peter Rosin
On 2018-04-18 09:29, Boris Brezillon wrote: > On Tue, 17 Apr 2018 15:10:50 +0200 > Peter Rosin wrote: > >> This beats the heuristic that the connector is involved in what format >> should be output for cases where this fails. >> >> E.g. if there is a bridg

Re: [PATCH v2 2/6] dt-bindings: display: atmel: optional video-interface of endpoints

2018-04-18 Thread Peter Rosin
On 2018-04-18 09:16, Boris Brezillon wrote: > Hi Peter, > > On Tue, 17 Apr 2018 15:10:48 +0200 > Peter Rosin wrote: > >> With bus-type/bus-width properties in the endpoint nodes, the video- >> interface of the connection can be specified for cases where the >&

[PATCH 1/4] i2c: mux: ltc4306: switch to using .probe_new

2018-04-17 Thread Peter Rosin
Use the new probe style for i2c drivers. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-ltc4306.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/muxes/i2c-mux-ltc4306.c b/drivers/i2c/muxes/i2c-mux-ltc4306.c index 311b1cced0c0..a9af93259b19

[PATCH 3/4] i2c: mux: pca9541: switch to using .probe_new

2018-04-17 Thread Peter Rosin
Use the new probe style for i2c drivers. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-pca9541.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/muxes/i2c-mux-pca9541.c b/drivers/i2c/muxes/i2c-mux-pca9541.c index 6a39adaf433f..f61c5de29e2f 100644

[PATCH 4/4] i2c: mux: pca954x: switch to using .probe_new

2018-04-17 Thread Peter Rosin
Use the new probe style for i2c drivers. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-pca954x.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/muxes/i2c-mux-pca954x.c b/drivers/i2c/muxes/i2c-mux-pca954x.c index fbb84c7ef282..f3f925ea6472

[PATCH 2/4] i2c: mux: mlxcpld: switch to using .probe_new

2018-04-17 Thread Peter Rosin
Use the new probe style for i2c drivers. Signed-off-by: Peter Rosin --- drivers/i2c/muxes/i2c-mux-mlxcpld.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/muxes/i2c-mux-mlxcpld.c b/drivers/i2c/muxes/i2c-mux-mlxcpld.c index 12ad8d65faf6..2fe86cc81da9 100644

[PATCH 0/4] i2c: mux: switch to using .probe_new

2018-04-17 Thread Peter Rosin
Hi! 4 trivial patches that switches the existing i2c-mux drivers that are also i2c clients over to the new probe style. Cheers, Peter Peter Rosin (4): i2c: mux: ltc4306: switch to using .probe_new i2c: mux: mlxcpld: switch to using .probe_new i2c: mux: pca9541: switch to using .probe_new

Re: [PATCH v2] usb: chipidea: Hook into mux framework to toggle usb switch

2018-04-17 Thread Peter Rosin
On 2018-04-17 15:52, Yossi Mansharoff wrote: > On the db410c 96boards platform we have a TC7USB40MU on the board > to mux the D+/D- lines coming from the controller between a micro > usb "device" port and a USB hub for "host" roles[1]. During a > role switch, we need to toggle this mux to forward t

[PATCH v2 4/6] drm/atmel-hlcdc: support bus-width (12/16/18/24) in endpoint nodes

2018-04-17 Thread Peter Rosin
2, SAMA5D4), this is completely irrelevant. Signed-off-by: Peter Rosin --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 85 -- 1 file changed, 65 insertions(+), 20 deletions(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c b/drivers/gpu/drm/atmel-hlcdc/atme

[PATCH v2 6/6] drm/atmel-hlcdc: fix broken release date

2018-04-17 Thread Peter Rosin
Bump the minor version while at it. Signed-off-by: Peter Rosin --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c index 8523c40fac94

[PATCH v2 5/6] drm/atmel-hlcdc: add support for connecting to tda998x HDMI encoder

2018-04-17 Thread Peter Rosin
When the of-graph points to a tda998x-compatible HDMI encoder, register as a component master and bind to the encoder/connector provided by the tda998x driver. Signed-off-by: Peter Rosin --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 81 -- drivers/gpu/drm/atmel-hlcdc

[PATCH v2 1/6] dt-bindings: display: bridge: lvds-transmitter: add ti,ds90c185

2018-04-17 Thread Peter Rosin
Start list of actual chips compatible with "lvds-encoder". Reviewed-by: Laurent Pinchart Reviewed-by: Rob Herring Signed-off-by: Peter Rosin --- .../devicetree/bindings/display/bridge/lvds-transmitter.txt | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) dif

[PATCH v2 3/6] drm: of: introduce drm_of_media_bus_fmt

2018-04-17 Thread Peter Rosin
Add a central function to parse a node according to the video interface binding and get a media bus format. Start with only supporting a very limited set of a few basic media bus formats. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_of.c | 38

[PATCH v2 2/6] dt-bindings: display: atmel: optional video-interface of endpoints

2018-04-17 Thread Peter Rosin
quot; issue (SAMA5D2, SAMA5D4), this is completely irrelevant. Signed-off-by: Peter Rosin --- Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt b/Documentation/devicet

[PATCH v2 0/6] Add tda998x (HDMI) support to atmel-hlcdc

2018-04-17 Thread Peter Rosin
ttps://lkml.org/lkml/2018/3/26/610 "Bridge" series v1 https://lkml.org/lkml/2018/3/17/221 Peter Rosin (6): dt-bindings: display: bridge: lvds-transmitter: add ti,ds90c185 dt-bindings: display: atmel: optional video-interface of endpoints drm: of: introduce drm_of_media_bus_fmt

Re: [PATCH v3 1/2] dt-bindings: iio: afe: add current-sense-shunt and voltage-divider

2018-04-16 Thread Peter Rosin
On 2018-04-10 17:28, Peter Rosin wrote: > +Example: > +The system voltage is circa 12V, but divided down with a 22/200 > +voltage divider to adjust it to the ADC range. > + > +SYSVADC GND > + + + + > + | .-. | .. | &

Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-16 Thread Peter Rosin
On 2018-04-13 10:11, Lars-Peter Clausen wrote: > On 04/13/2018 12:31 AM, Peter Rosin wrote: >> On 2018-04-12 17:35, Andrew F. Davis wrote: >>> On 04/12/2018 09:29 AM, Peter Rosin wrote: >>>> But as I said in the cover letter, I didn't go with sense-gain since

Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-16 Thread Peter Rosin
On 2018-04-13 16:47, Andrew F. Davis wrote: > On 04/12/2018 05:31 PM, Peter Rosin wrote: >> On 2018-04-12 17:35, Andrew F. Davis wrote: >>> True, how about "current-sense-from-voltage" ? >> >> Doesn't cover "voltage-divider" (and we don'

Re: [PATCH v3 2/2] iio: afe: unit-converter: new driver

2018-04-16 Thread Peter Rosin
On 2018-04-15 19:31, Jonathan Cameron wrote: > On Tue, 10 Apr 2018 17:28:02 +0200 > Peter Rosin wrote: > >> If an ADC channel measures the midpoint of a voltage divider, the >> interesting voltage is often the voltage over the full resistance. >> E.g. if the full vol

Re: [PATCH 2/5] dt-bindings: display: atmel: add optional output-mode property

2018-04-14 Thread Peter Rosin
On 2018-04-13 19:46, Rob Herring wrote: > On Mon, Apr 09, 2018 at 12:59:15PM +0200, Peter Rosin wrote: >> Useful for beating cases where an output mode selection heuristic >> fails. >> >> Signed-off-by: Peter Rosin >> --- >> Documentation/devicetree/

[PATCH v3 2/2] ASoC: tfa9879: switch to SPDX license tag

2018-04-13 Thread Peter Rosin
It's less overhead, clearer and generally neater. Signed-off-by: Peter Rosin --- sound/soc/codecs/tfa9879.c | 18 ++ sound/soc/codecs/tfa9879.h | 7 +-- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/sound/soc/codecs/tfa9879.c b/sound/soc/codecs/tfa9

[PATCH v3 1/2] ASoC: max9860: switch to SPDX license tag

2018-04-13 Thread Peter Rosin
It's less overhead, clearer and generally neater. Signed-off-by: Peter Rosin --- sound/soc/codecs/max9860.c | 31 +++ sound/soc/codecs/max9860.h | 10 +- 2 files changed, 12 insertions(+), 29 deletions(-) diff --git a/sound/soc/codecs/max9860.c b/soun

[PATCH v3 0/2] ASoC: max9860/tfa9879: switch to SPDX license tag

2018-04-13 Thread Peter Rosin
On 2018-04-13 13:19, Mark Brown wrote: > On Thu, Apr 12, 2018 at 11:14:35PM +0200, Peter Rosin wrote: > >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0 >> /* >> * Driver for the MAX9860 Mono Audio Voice Codec >> * > > Please don

Re: [PATCH linux dev-4.16 v2] i2c: muxes: pca9641: new driver

2018-04-13 Thread Peter Rosin
On 2018-04-13 08:59, ChenKenYY 陳永營 TAO wrote: > Hi Peter, > > Sorry for late. Here has some event at my company which needs to pause > this work. > > If the status changed, I will update my patch. No worries, I just want to know how to handle my preparatory patches. If nothing changes, I think I

Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-12 Thread Peter Rosin
On 2018-04-12 17:35, Andrew F. Davis wrote: > On 04/12/2018 09:29 AM, Peter Rosin wrote: >> On 2018-04-11 18:13, Andrew F. Davis wrote: >>> On 04/11/2018 10:51 AM, Lars-Peter Clausen wrote: >>>> On 04/11/2018 05:43 PM, Andrew F. Davis wrote: >>>>&

[PATCH v2 2/5] ASoC: tfa9879: fix whitespace issues caused by mindless conversion

2018-04-12 Thread Peter Rosin
Long lines and bad alignment disturbs the reading pleasure. Signed-off-by: Peter Rosin --- sound/soc/codecs/tfa9879.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/sound/soc/codecs/tfa9879.c b/sound/soc/codecs/tfa9879.c index 6d213c6d3920

[PATCH v2 5/5] ASoC: tfa9879: switch to using .probe_new

2018-04-12 Thread Peter Rosin
Use the new probe style for i2c drivers. Signed-off-by: Peter Rosin --- sound/soc/codecs/tfa9879.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/tfa9879.c b/sound/soc/codecs/tfa9879.c index 4d9b3f393808..d686e04bc5c7 100644 --- a/sound/soc/codecs

[PATCH v2 4/5] ASoC: tfa9879: switch to SPDX license tag

2018-04-12 Thread Peter Rosin
It's less overhead, clearer and generally neater. Signed-off-by: Peter Rosin --- sound/soc/codecs/tfa9879.c | 7 +-- sound/soc/codecs/tfa9879.h | 7 +-- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/sound/soc/codecs/tfa9879.c b/sound/soc/codecs/tfa9879.c

[PATCH v2 1/5] ASoC: max9860: fix whitespace issues caused by mindless conversion

2018-04-12 Thread Peter Rosin
Long lines and bad alignment disturbs the reading pleasure. Signed-off-by: Peter Rosin --- sound/soc/codecs/max9860.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/max9860.c b/sound/soc/codecs/max9860.c index 5bbf889ad98e..53448b7b7b28 100644 --- a

Re: [PATCH 2/2] ASoC: tfa9879: switch to using .probe_new

2018-04-12 Thread Peter Rosin
On 2018-04-12 18:16, Mark Brown wrote: > On Wed, Apr 11, 2018 at 02:42:38PM +0200, Peter Rosin wrote: > >> Use the new probe style for i2c drivers. > This doesn't apply against current code, please check and resend. That's not my fault. Somebody forgot to drop a note wit

[PATCH v2 3/5] ASoC: max9860: switch to SPDX license tag

2018-04-12 Thread Peter Rosin
It's less overhead, clearer and generally neater. Signed-off-by: Peter Rosin --- sound/soc/codecs/max9860.c | 10 +- sound/soc/codecs/max9860.h | 10 +- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/sound/soc/codecs/max9860.c b/sound/soc/codecs/max9860.c

Re: [PATCH v2 0/3] eeprom: at24: last bits of the big refactoring

2018-04-12 Thread Peter Rosin
ped patch 1/4 because id_table is still needed as pointed out by > Peter Rosin > - fixed patch 3/3: we need to free the dummy client if regmap_init fails > > Bartosz Golaszewski (3): > eeprom: at24: use devm_nvmem_register() > eeprom: at24: provide and use a helper for relea

Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-12 Thread Peter Rosin
On 2018-04-11 18:13, Andrew F. Davis wrote: > On 04/11/2018 10:51 AM, Lars-Peter Clausen wrote: >> On 04/11/2018 05:43 PM, Andrew F. Davis wrote: >>> On 04/11/2018 09:15 AM, Peter Rosin wrote: >>>> This is a current sense amplifier from Analog Devices. >&g

Re: [PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-12 Thread Peter Rosin
On 2018-04-11 17:43, Andrew F. Davis wrote: > On 04/11/2018 09:15 AM, Peter Rosin wrote: >> This is a current sense amplifier from Analog Devices. >> >> Signed-off-by: Peter Rosin >> --- >> drivers/iio/afe/Kconfig | 3 +- >> dr

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-04-12 Thread Peter Rosin
On 2018-04-11 17:34, Nicolas Ferre wrote: > On 11/04/2018 at 16:44, Peter Rosin wrote: >> Hi Nicolas, >> >> Boris asked for your input on this (the datasheet difference appears to >> have no bearing on the issue) elsewhere in the tree of messages. It's >> now

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-04-11 Thread Peter Rosin
On 2018-04-11 16:59, Boris Brezillon wrote: > On Wed, 11 Apr 2018 16:44:10 +0200 > Peter Rosin wrote: > >> Hi Nicolas, >> >> Boris asked for your input on this (the datasheet difference appears to >> have no bearing on the issue) elsewhere in the tree of messag

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-04-11 Thread Peter Rosin
ers, Peter On 2018-04-03 09:18, Boris Brezillon wrote: > On Tue, 3 Apr 2018 08:11:30 +0200 > Peter Rosin wrote: > >> On 2018-04-02 22:20, Boris Brezillon wrote: >>> On Mon, 2 Apr 2018 21:28:43 +0200 >>> Boris Brezillon wrote: >>> >>&g

[PATCH v3 0/2] iio: add unit converter

2018-04-11 Thread Peter Rosin
in". In the end I went with the resistors since while the normal case is an integer gain, that may not always be the case. And when it's not, that could get tricky. But I'm open for arguments on that. Cheers, Peter Peter Rosin (2): dt-bindings: iio: afe: add binding for adi,lt6

[PATCH 1/2] dt-bindings: iio: afe: add binding for adi,lt6106

2018-04-11 Thread Peter Rosin
This is a current sense amplifier from Analog Devices. Signed-off-by: Peter Rosin --- .../devicetree/bindings/iio/afe/adi,lt6106.txt | 50 ++ MAINTAINERS| 1 + 2 files changed, 51 insertions(+) create mode 100644 Documentation

[PATCH 2/2] iio: afe: unit-converter: add support for adi,lt6106

2018-04-11 Thread Peter Rosin
This is a current sense amplifier from Analog Devices. Signed-off-by: Peter Rosin --- drivers/iio/afe/Kconfig | 3 +- drivers/iio/afe/iio-unit-converter.c | 54 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/drivers/iio/afe

[PATCH 2/2] iio: potentiometer: mcp4531: switch to using .probe_new

2018-04-11 Thread Peter Rosin
Use the new probe style for i2c drivers. Signed-off-by: Peter Rosin --- drivers/iio/potentiometer/mcp4531.c | 145 ++-- 1 file changed, 72 insertions(+), 73 deletions(-) diff --git a/drivers/iio/potentiometer/mcp4531.c b/drivers/iio/potentiometer/mcp4531.c

[PATCH 1/2] iio: potentiometer: mcp4018: switch to using .probe_new

2018-04-11 Thread Peter Rosin
Use the new probe style for i2c drivers. Signed-off-by: Peter Rosin --- drivers/iio/potentiometer/mcp4018.c | 41 ++--- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/drivers/iio/potentiometer/mcp4018.c b/drivers/iio/potentiometer/mcp4018.c

[PATCH] mux: adg792a: switch to using .probe_new

2018-04-11 Thread Peter Rosin
Use the new probe style for i2c drivers. Signed-off-by: Peter Rosin --- drivers/mux/adg792a.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/mux/adg792a.c b/drivers/mux/adg792a.c index 6a8725cf3d71..e8fc2fc1ab09 100644 --- a/drivers/mux/adg792a.c +++ b/drivers

[PATCH 1/2] ASoC: max9860: switch to using .probe_new

2018-04-11 Thread Peter Rosin
Use the new probe style for i2c drivers. Signed-off-by: Peter Rosin --- sound/soc/codecs/max9860.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/max9860.c b/sound/soc/codecs/max9860.c index a2dc6a47f466..376bd48e4790 100644 --- a/sound/soc/codecs

[PATCH 2/2] ASoC: tfa9879: switch to using .probe_new

2018-04-11 Thread Peter Rosin
Use the new probe style for i2c drivers. Signed-off-by: Peter Rosin --- sound/soc/codecs/tfa9879.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/tfa9879.c b/sound/soc/codecs/tfa9879.c index e7ca764b5729..15c769528d6d 100644 --- a/sound/soc/codecs

Re: [PATCH 4/4] eeprom: at24: provide a separate routine for creating dummy i2c clients

2018-04-11 Thread Peter Rosin
On 2018-04-10 15:12, Bartosz Golaszewski wrote: > Move the code responsible for creating the dummy i2c clients used by > chips taking multiple slave addresses to a separate function. > > Signed-off-by: Bartosz Golaszewski > --- > drivers/misc/eeprom/at24.c | 47 ++

Re: [PATCH 1/4] eeprom: at24: don't assign the i2c ID table to at24_driver

2018-04-11 Thread Peter Rosin
On 2018-04-11 12:09, Bartosz Golaszewski wrote: > 2018-04-11 11:56 GMT+02:00 Peter Rosin : >> On 2018-04-10 15:12, Bartosz Golaszewski wrote: >>> We switched to using probe_new(), so this is no longer used >>> by i2c core. >> >> It seems to be used in i2c_dev

Re: [PATCH 1/4] eeprom: at24: don't assign the i2c ID table to at24_driver

2018-04-11 Thread Peter Rosin
On 2018-04-10 15:12, Bartosz Golaszewski wrote: > We switched to using probe_new(), so this is no longer used > by i2c core. It seems to be used in i2c_device_match() ??? This could easily be me not understanding something... Cheers, Peter > Signed-off-by: Bartosz Golaszewski > --- > drivers/

Re: [PATCH linux dev-4.16 v2] i2c: muxes: pca9641: new driver

2018-04-11 Thread Peter Rosin
Hi Ken, It's been a couple of weeks and I wondered if you are making any progress? Simple lack of time perhaps, or are you stuck and need help? Cheers, Peter On 2018-03-20 10:31, Peter Rosin wrote: > On 2018-03-20 07:19, Ken Chen wrote: >> Signed-off-by: Ken Chen > > Ok,

Re: [PATCH] MAINTAINERS: remove me as maintainer for I2C host drivers

2018-04-10 Thread Peter Rosin
On 2018-04-10 17:52, Wolfram Sang wrote: > Hi Peter, > >> Hmm, I think you are ducking out from the i2c-mux-pinctrl driver as well. >> Was that the intent? > > Oops, nope! Sorry, I just forgot about the demux (I think you mean that > one) driver and will create a seperate entry for it. Right, I

Re: [PATCH] MAINTAINERS: remove me as maintainer for I2C host drivers

2018-04-10 Thread Peter Rosin
On 2018-04-10 16:11, Wolfram Sang wrote: > The number of I2C host controller drivers keeps increasing, and although > I had some success acquiring specific driver maintainers, my bandwidth > is by far not enough to act as a fallback for the rest of the drivers. > To reflect this status-quo in MAINT

[PATCH v3 1/2] dt-bindings: iio: afe: add current-sense-shunt and voltage-divider

2018-04-10 Thread Peter Rosin
An ADC is often used to measure other quantities indirectly. These bindings describe two cases, a current through a shunt resistor, and a "big" voltage measured with the help of a voltage divider. Signed-off-by: Peter Rosin --- .../bindings/iio/afe/current-sense-shunt.txt

[PATCH v3 2/2] iio: afe: unit-converter: new driver

2018-04-10 Thread Peter Rosin
the current through the resistor. This driver solves both problems by allowing to linearly scale a channel and by allowing changes to the type of the channel. Or both. Signed-off-by: Peter Rosin --- MAINTAINERS | 1 + drivers/iio/Kconfig | 1

[PATCH v3 0/2] iio: add unit converter

2018-04-10 Thread Peter Rosin
writes to _RAW (sorry Phil) as I don't need it and have not tested it. It's easy to add back if needed. - Fail if the source channel does not support _RAW or _SCALE. - Fix various spelling issues. - Fix various code style issues. Peter Rosin (2): dt-bindings: iio: afe: add current-

Re: [PATCH v2 0/5] allow override of bus format in bridges

2018-04-09 Thread Peter Rosin
On 2018-04-09 14:51, Laurent Pinchart wrote: > Hi Peter, > > On Monday, 9 April 2018 10:04:05 EEST Peter Rosin wrote: >> On 2018-04-04 14:35, Peter Rosin wrote: >>> On 2018-04-04 11:07, Laurent Pinchart wrote: >>>> On Wednesday, 4 April 2018 09:34:41 EEST Dani

Re: [PATCH 0/5] Add tda998x (HDMI) support to atmel-hlcdc

2018-04-09 Thread Peter Rosin
On 2018-04-09 14:02, Russell King - ARM Linux wrote: > On Mon, Apr 09, 2018 at 01:44:22PM +0200, Peter Rosin wrote: >> On 2018-04-09 13:17, Russell King - ARM Linux wrote: >>> On Mon, Apr 09, 2018 at 12:59:13PM +0200, Peter Rosin wrote: >>>> During this, I found that

Re: [PATCH 0/5] Add tda998x (HDMI) support to atmel-hlcdc

2018-04-09 Thread Peter Rosin
On 2018-04-09 13:17, Russell King - ARM Linux wrote: > On Mon, Apr 09, 2018 at 12:59:13PM +0200, Peter Rosin wrote: >> During this, I found that the tda998x driver never sets the format in >> the connector display_info. Thus, the atmel-hlcdc driver fails to select >> outpu

Re: [PATCH v2 1/2] dt-bindings: iio: afe: add current-sense-cuicuit and voltage-divider

2018-04-09 Thread Peter Rosin
On 2018-04-08 18:50, Jonathan Cameron wrote: > On Tue, 3 Apr 2018 17:36:34 +0200 > Peter Rosin wrote: > > circuit in the patch title is spelled wrong. > >> An ADC is often used to measure other quantities indirectly. These >> bindings describe two cases, a current th

[PATCH 5/5] drm/atmel-hlcdc: fix broken release date

2018-04-09 Thread Peter Rosin
Bump the minor version while at it. Signed-off-by: Peter Rosin --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c index b411038890a9

[PATCH 4/5] drm/atmel-hlcdc: add support for connecting to tda998x HDMI encoder

2018-04-09 Thread Peter Rosin
When the of-graph points to a tda998x-compatible HDMI encoder, register as a component master and bind to the encoder/connector provided by the tda998x driver. Signed-off-by: Peter Rosin --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 81 -- drivers/gpu/drm/atmel-hlcdc

[PATCH 3/5] drm/atmel-hlcdc: allow overriding the output mode

2018-04-09 Thread Peter Rosin
connector does not advertize and format at all. Signed-off-by: Peter Rosin --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 12 ++-- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 19 +++ drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h | 8 3 files changed, 33

[PATCH 2/5] dt-bindings: display: atmel: add optional output-mode property

2018-04-09 Thread Peter Rosin
Useful for beating cases where an output mode selection heuristic fails. Signed-off-by: Peter Rosin --- Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt b

[PATCH 1/5] dt-bindings: display: bridge: lvds-transmitter: add ti,ds90c185

2018-04-09 Thread Peter Rosin
Start list of actual chips compatible with "lvds-encoder". Reviewed-by: Laurent Pinchart Signed-off-by: Peter Rosin --- .../devicetree/bindings/display/bridge/lvds-transmitter.txt | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/

[PATCH 0/5] Add tda998x (HDMI) support to atmel-hlcdc

2018-04-09 Thread Peter Rosin
that). Anyway, this series solves some real issues for my HW. Cheers, Peter Peter Rosin (5): dt-bindings: display: bridge: lvds-transmitter: add ti,ds90c185 dt-bindings: display: atmel: add optional output-mode property drm/atmel-hlcdc: allow overriding the output mode drm/atmel-hlcdc: ad

Re: [PATCH v2 0/5] allow override of bus format in bridges

2018-04-09 Thread Peter Rosin
On 2018-04-04 14:35, Peter Rosin wrote: > On 2018-04-04 11:07, Laurent Pinchart wrote: >> Hi Daniel, >> >> On Wednesday, 4 April 2018 09:34:41 EEST Daniel Vetter wrote: >>> On Wed, Apr 4, 2018 at 12:28 AM, Laurent Pinchart wrote: >>>> On Wednesday, 28 Ma

Re: [RFC PATCH 1/2] i2c: Add i2c_verify_device_id() to verify device id

2018-04-08 Thread Peter Rosin
Sorry for replying to self... On 2018-04-08 11:08, Peter Rosin wrote: > On 2018-04-08 09:34, Wolfram Sang wrote: >> Hi, >> >> On Mon, Mar 19, 2018 at 09:10:58AM -0700, Guenter Roeck wrote: >>> Commit dde67eb1beeb ("i2c: add i2c_get_device_id() to get the s

Re: [RFC PATCH 1/2] i2c: Add i2c_verify_device_id() to verify device id

2018-04-08 Thread Peter Rosin
;> Use that function to verify the device ID of a given device. > > I am very open to these patches, just... > >> >> Cc: Peter Rosin >> Signed-off-by: Guenter Roeck >> --- >> RFC: >> - Compile tested only > > ... I would really like to have

Re: [PATCH v2 2/5] drm: bridge: add API to query the expected input formats of bridges

2018-04-04 Thread Peter Rosin
On 2018-04-04 15:07, Laurent Pinchart wrote: > First of all, thank you for the patch. This generates more discussion than I > had anticipated, which is both good and bad. I'll comment through the e-mail, > and try to explain both my initial idea, and also where it could lead us. *snip* Thank yo

Re: [PATCH v2 0/5] allow override of bus format in bridges

2018-04-04 Thread Peter Rosin
on, Mar 26, 2018 at 11:24:42PM +0200, Peter Rosin wrote: >>>>> Hi! >>>>> >>>>> [I got to v2 sooner than expected] >>>>> >>>>> I have an Atmel sama5d31 hooked up to an lvds encoder and then >>>>> on to an

Re: [PATCH v2 0/2] iio: add unit converter

2018-04-03 Thread Peter Rosin
On 2018-04-03 19:41, Andrew F. Davis wrote: > On 04/03/2018 10:36 AM, Peter Rosin wrote: >> Hi! >> >> This driver implements support for voltage dividers and current >> sense circuits. It's pretty generic and should be easily adaptable >> to other linear sca

[PATCH v2 0/2] iio: add unit converter

2018-04-03 Thread Peter Rosin
. - In the DT bindings, use an unnamed source channel. - Do not set up writes to _RAW (sorry Phil) as I don't need it and have not tested it. It's easy to add back if needed. - Fail if the source channel does not support _RAW or _SCALE. - Fix various spelling issues. - Fix various code

[PATCH v2 1/2] dt-bindings: iio: afe: add current-sense-cuicuit and voltage-divider

2018-04-03 Thread Peter Rosin
An ADC is often used to measure other quantities indirectly. These bindings describe two cases, a current through a sense resistor, and a "big" voltage measured with the help of a voltage divider. Signed-off-by: Peter Rosin --- .../bindings/iio/afe/current-sense-circuit.tx

[PATCH v2 2/2] iio: afe: unit-converter: new driver

2018-04-03 Thread Peter Rosin
current through the resistor. This driver solves both problems by allowing to linearly scale a channel and by allowing changes to the type of the channel. Or both. Signed-off-by: Peter Rosin --- MAINTAINERS | 1 + drivers/iio/Kconfig | 1 + drivers/iio

Re: [PATCH] drm/atmel-hlcdc: add command line option to specify preferred depth

2018-04-03 Thread Peter Rosin
On 2018-04-03 11:10, Daniel Vetter wrote: > On Wed, Mar 28, 2018 at 12:03:39PM +0200, Peter Rosin wrote: >> On 2018-03-28 09:34, Boris Brezillon wrote: >>> Hi Peter, >>> >>> On Mon, 26 Mar 2018 09:35:02 +0200 >>> Peter Rosin wrote: >>> >&g

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-04-03 Thread Peter Rosin
On 2018-04-03 09:18, Alexandre Belloni wrote: > On 02/04/2018 at 22:23:17 +0200, Peter Rosin wrote: >>>> No, but did it again and checked, see transcript below. >>> >>> I don't use devmem2. Is 'readback' information accurate or is it >>> a

<    1   2   3   4   5   6   7   8   9   10   >