Linux-IIO Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] dt-bindings: iio: io-channel-mux: Fix compatible string in example code
@ 2020-07-27 10:16 Christian Eggers
  2020-07-27 10:24 ` Peter Rosin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Christian Eggers @ 2020-07-27 10:16 UTC (permalink / raw)
  To: Rob Herring
  Cc: devicetree, linux-iio, Peter Rosin, Jonathan Cameron,
	Hartmut Knaack, Lars-Peter Clausen, Peter Meerwald-Stadler,
	Jiri Kosina, Christian Eggers, stable

The correct compatible string is "gpio-mux" (see
bindings/mux/gpio-mux.txt).

Signed-off-by: Christian Eggers <ceggers@arri.de>
Cc: stable@vger.kernel.org
---
 .../devicetree/bindings/iio/multiplexer/io-channel-mux.txt      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.txt b/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.txt
index c82794002595..89647d714387 100644
--- a/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.txt
+++ b/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.txt
@@ -21,7 +21,7 @@ controller state. The mux controller state is described in
 
 Example:
 	mux: mux-controller {
-		compatible = "mux-gpio";
+		compatible = "gpio-mux";
 		#mux-control-cells = <0>;
 
 		mux-gpios = <&pioA 0 GPIO_ACTIVE_HIGH>,
-- 
Christian Eggers
Embedded software developer

Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: Muenchen - Registergericht: Amtsgericht Muenchen - Handelsregisternummer: HRA 57918
Persoenlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: Muenchen - Registergericht: Amtsgericht Muenchen - Handelsregisternummer: HRB 54477
Geschaeftsfuehrer: Dr. Michael Neuhaeuser; Stephan Schenk; Walter Trauninger; Markus Zeiler


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: iio: io-channel-mux: Fix compatible string in example code
  2020-07-27 10:16 [PATCH] dt-bindings: iio: io-channel-mux: Fix compatible string in example code Christian Eggers
@ 2020-07-27 10:24 ` Peter Rosin
  2020-07-30 13:48 ` Sasha Levin
  2020-07-31 20:47 ` Rob Herring
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Rosin @ 2020-07-27 10:24 UTC (permalink / raw)
  To: Christian Eggers, Rob Herring
  Cc: devicetree, linux-iio, Jonathan Cameron, Hartmut Knaack,
	Lars-Peter Clausen, Peter Meerwald-Stadler, Jiri Kosina

Hi!

Well spotted, thanks!

On 2020-07-27 12:16, Christian Eggers wrote:
> The correct compatible string is "gpio-mux" (see
> bindings/mux/gpio-mux.txt).
> 
> Signed-off-by: Christian Eggers <ceggers@arri.de>

Reviewed-by: Peter Rosin <peda@axentia.se>

Cheers,
Peter

> Cc: stable@vger.kernel.org
> ---
>  .../devicetree/bindings/iio/multiplexer/io-channel-mux.txt      | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.txt b/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.txt
> index c82794002595..89647d714387 100644
> --- a/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.txt
> +++ b/Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.txt
> @@ -21,7 +21,7 @@ controller state. The mux controller state is described in
>  
>  Example:
>  	mux: mux-controller {
> -		compatible = "mux-gpio";
> +		compatible = "gpio-mux";
>  		#mux-control-cells = <0>;
>  
>  		mux-gpios = <&pioA 0 GPIO_ACTIVE_HIGH>,
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: iio: io-channel-mux: Fix compatible string in example code
  2020-07-27 10:16 [PATCH] dt-bindings: iio: io-channel-mux: Fix compatible string in example code Christian Eggers
  2020-07-27 10:24 ` Peter Rosin
@ 2020-07-30 13:48 ` Sasha Levin
  2020-07-31 20:47 ` Rob Herring
  2 siblings, 0 replies; 4+ messages in thread
From: Sasha Levin @ 2020-07-30 13:48 UTC (permalink / raw)
  To: Sasha Levin, Christian Eggers, Rob Herring
  Cc: devicetree, linux-iio, stable, stable

Hi

[This is an automated email]

This commit has been processed because it contains a -stable tag.
The stable tag indicates that it's relevant for the following trees: all

The bot has tested the following trees: v5.7.11, v5.4.54, v4.19.135, v4.14.190, v4.9.231, v4.4.231.

v5.7.11: Build OK!
v5.4.54: Build OK!
v4.19.135: Build OK!
v4.14.190: Build OK!
v4.9.231: Failed to apply! Possible dependencies:
    7fde1484af21 ("iio: dpot-dac: DAC driver based on a digital potentiometer")
    a36954f58f6c ("dt-bindings: iio: io-channel-mux: document io-channel-mux bindings")
    b475f80b354a ("iio: envelope-detector: ADC driver based on a DAC and a comparator")
    e778aa142ab0 ("dt-bindings: iio: document envelope-detector bindings")
    ed13134ba8c0 ("dt-bindings: iio: document dpot-dac bindings")

v4.4.231: Failed to apply! Possible dependencies:
    16846ebeffe4 ("iio: adc: add IMX7D ADC driver support")
    3b8df5fd526e ("iio: Add IIO support for the Measurement Computing CIO-DAC family")
    6df2e98c3ea5 ("iio: adc: Add imx25-gcq ADC driver")
    7f270bc9a2d9 ("iio: dac: AD8801: add Analog Devices AD8801/AD8803 support")
    7fde1484af21 ("iio: dpot-dac: DAC driver based on a digital potentiometer")
    9bbccbe11ab7 ("iio: dac: add NXP LPC18xx DAC driver")
    a36954f58f6c ("dt-bindings: iio: io-channel-mux: document io-channel-mux bindings")
    b475f80b354a ("iio: envelope-detector: ADC driver based on a DAC and a comparator")
    c43a102e67db ("iio: ina2xx: add support for TI INA2xx Power Monitors")
    e778aa142ab0 ("dt-bindings: iio: document envelope-detector bindings")
    ed13134ba8c0 ("dt-bindings: iio: document dpot-dac bindings")


NOTE: The patch will not be queued to stable trees until it is upstream.

How should we proceed with this patch?

-- 
Thanks
Sasha

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: iio: io-channel-mux: Fix compatible string in example code
  2020-07-27 10:16 [PATCH] dt-bindings: iio: io-channel-mux: Fix compatible string in example code Christian Eggers
  2020-07-27 10:24 ` Peter Rosin
  2020-07-30 13:48 ` Sasha Levin
@ 2020-07-31 20:47 ` Rob Herring
  2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2020-07-31 20:47 UTC (permalink / raw)
  To: Christian Eggers
  Cc: Hartmut Knaack, devicetree, stable, Lars-Peter Clausen,
	linux-iio, Peter Rosin, Rob Herring, Jonathan Cameron,
	Peter Meerwald-Stadler, Jiri Kosina

On Mon, 27 Jul 2020 12:16:05 +0200, Christian Eggers wrote:
> The correct compatible string is "gpio-mux" (see
> bindings/mux/gpio-mux.txt).
> 
> Signed-off-by: Christian Eggers <ceggers@arri.de>
> Cc: stable@vger.kernel.org
> ---
>  .../devicetree/bindings/iio/multiplexer/io-channel-mux.txt      | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Added 'v4.13+' to stable tag and applied, thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-27 10:16 [PATCH] dt-bindings: iio: io-channel-mux: Fix compatible string in example code Christian Eggers
2020-07-27 10:24 ` Peter Rosin
2020-07-30 13:48 ` Sasha Levin
2020-07-31 20:47 ` Rob Herring

Linux-IIO Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-iio/0 linux-iio/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-iio linux-iio/ https://lore.kernel.org/linux-iio \
		linux-iio@vger.kernel.org
	public-inbox-index linux-iio

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-iio


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git