linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: wm8962: Add optional mclk device tree binding
@ 2020-12-17 16:27 Adam Ford
  2020-12-18 12:58 ` Geert Uytterhoeven
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Adam Ford @ 2020-12-17 16:27 UTC (permalink / raw)
  To: alsa-devel
  Cc: aford, Adam Ford, Geert Uytterhoeven, Liam Girdwood, Mark Brown,
	Rob Herring, devicetree, linux-kernel

The driver can request an optional clock for mclk.
Update the txt file to reflect this.

Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Adam Ford <aford173@gmail.com>

diff --git a/Documentation/devicetree/bindings/sound/wm8962.txt b/Documentation/devicetree/bindings/sound/wm8962.txt
index dcfa9a3369fd..c36c649ddfd0 100644
--- a/Documentation/devicetree/bindings/sound/wm8962.txt
+++ b/Documentation/devicetree/bindings/sound/wm8962.txt
@@ -9,6 +9,9 @@ Required properties:
   - reg : the I2C address of the device.
 
 Optional properties:
+
+  - clocks : The clock source of the mclk
+
   - spk-mono: This is a boolean property. If present, the SPK_MONO bit
     of R51 (Class D Control 2) gets set, indicating that the speaker is
     in mono mode.
@@ -27,6 +30,7 @@ Example:
 wm8962: codec@1a {
 	compatible = "wlf,wm8962";
 	reg = <0x1a>;
+	clocks = <&clks IMX6QDL_CLK_CKO>;
 
 	gpio-cfg = <
 		0x0000 /* 0:Default */
-- 
2.25.1


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

* Re: [PATCH] ASoC: wm8962: Add optional mclk device tree binding
  2020-12-17 16:27 [PATCH] ASoC: wm8962: Add optional mclk device tree binding Adam Ford
@ 2020-12-18 12:58 ` Geert Uytterhoeven
  2020-12-21 22:51 ` Rob Herring
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2020-12-18 12:58 UTC (permalink / raw)
  To: Adam Ford
  Cc: ALSA Development Mailing List, Adam Ford-BE, Liam Girdwood,
	Mark Brown, Rob Herring,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux Kernel Mailing List

On Thu, Dec 17, 2020 at 5:27 PM Adam Ford <aford173@gmail.com> wrote:
> The driver can request an optional clock for mclk.
> Update the txt file to reflect this.
>
> Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Signed-off-by: Adam Ford <aford173@gmail.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

> --- a/Documentation/devicetree/bindings/sound/wm8962.txt
> +++ b/Documentation/devicetree/bindings/sound/wm8962.txt
> @@ -9,6 +9,9 @@ Required properties:
>    - reg : the I2C address of the device.
>
>  Optional properties:
> +

This blank line is not needed (but it will probably be removed during a
future txt-to-yaml conversion ;-)

> +  - clocks : The clock source of the mclk
> +
>    - spk-mono: This is a boolean property. If present, the SPK_MONO bit
>      of R51 (Class D Control 2) gets set, indicating that the speaker is
>      in mono mode.
> @@ -27,6 +30,7 @@ Example:
>  wm8962: codec@1a {
>         compatible = "wlf,wm8962";
>         reg = <0x1a>;
> +       clocks = <&clks IMX6QDL_CLK_CKO>;
>
>         gpio-cfg = <
>                 0x0000 /* 0:Default */

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH] ASoC: wm8962: Add optional mclk device tree binding
  2020-12-17 16:27 [PATCH] ASoC: wm8962: Add optional mclk device tree binding Adam Ford
  2020-12-18 12:58 ` Geert Uytterhoeven
@ 2020-12-21 22:51 ` Rob Herring
  2021-01-04 10:54 ` Charles Keepax
  2021-01-04 17:39 ` Mark Brown
  3 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2020-12-21 22:51 UTC (permalink / raw)
  To: Adam Ford
  Cc: linux-kernel, alsa-devel, Liam Girdwood, devicetree, Mark Brown,
	aford, Geert Uytterhoeven, Rob Herring

On Thu, 17 Dec 2020 10:27:40 -0600, Adam Ford wrote:
> The driver can request an optional clock for mclk.
> Update the txt file to reflect this.
> 
> Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Signed-off-by: Adam Ford <aford173@gmail.com>
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH] ASoC: wm8962: Add optional mclk device tree binding
  2020-12-17 16:27 [PATCH] ASoC: wm8962: Add optional mclk device tree binding Adam Ford
  2020-12-18 12:58 ` Geert Uytterhoeven
  2020-12-21 22:51 ` Rob Herring
@ 2021-01-04 10:54 ` Charles Keepax
  2021-01-04 17:39 ` Mark Brown
  3 siblings, 0 replies; 5+ messages in thread
From: Charles Keepax @ 2021-01-04 10:54 UTC (permalink / raw)
  To: Adam Ford
  Cc: alsa-devel, devicetree, linux-kernel, aford, Rob Herring,
	Liam Girdwood, Mark Brown, Geert Uytterhoeven

On Thu, Dec 17, 2020 at 10:27:40AM -0600, Adam Ford wrote:
> The driver can request an optional clock for mclk.
> Update the txt file to reflect this.
> 
> Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Signed-off-by: Adam Ford <aford173@gmail.com>

Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>

Thanks,
Charles

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

* Re: [PATCH] ASoC: wm8962: Add optional mclk device tree binding
  2020-12-17 16:27 [PATCH] ASoC: wm8962: Add optional mclk device tree binding Adam Ford
                   ` (2 preceding siblings ...)
  2021-01-04 10:54 ` Charles Keepax
@ 2021-01-04 17:39 ` Mark Brown
  3 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2021-01-04 17:39 UTC (permalink / raw)
  To: Adam Ford, alsa-devel
  Cc: aford, linux-kernel, devicetree, Rob Herring, Liam Girdwood,
	Geert Uytterhoeven

On Thu, 17 Dec 2020 10:27:40 -0600, Adam Ford wrote:
> The driver can request an optional clock for mclk.
> Update the txt file to reflect this.

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: wm8962: Add optional mclk device tree binding
      commit: e33c93b2206fedee35df756940e07af7b1f29768

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

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

end of thread, other threads:[~2021-01-04 17:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17 16:27 [PATCH] ASoC: wm8962: Add optional mclk device tree binding Adam Ford
2020-12-18 12:58 ` Geert Uytterhoeven
2020-12-21 22:51 ` Rob Herring
2021-01-04 10:54 ` Charles Keepax
2021-01-04 17:39 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).