Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1322589

[PATCH v4.1 6/9] ASoC: rt5616: add mclk property for rt5616 document

From Caesar Wang <wxt@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH v4.1 6/9] ASoC: rt5616: add mclk property for rt5616 document
Date 2016-01-31 10:20 +0100
Message-ID <qWWkP-17U-9@gated-at.bofh.it> (permalink)
References <qVQr8-MW-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch adds the mclk property for the CODEC driver,
since sometimes the CODEC driver needs the clock enabled.

The system clock of ALC5616 can be selected from MCLK,
That also makes the codec the master clock provider

Signed-off-by: Caesar Wang <wxt@rock-chips.com>

---

Changes in v4 -> v4.1:
- Fix the wrong word, as the Rob comments on
  https://patchwork.kernel.org/patch/8147731/.

Changes in v4:
- Add this patch included in kylin series patches.

 Documentation/devicetree/bindings/sound/rt5616.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/rt5616.txt b/Documentation/devicetree/bindings/sound/rt5616.txt
index efc48c6..e410858 100644
--- a/Documentation/devicetree/bindings/sound/rt5616.txt
+++ b/Documentation/devicetree/bindings/sound/rt5616.txt
@@ -8,6 +8,12 @@ Required properties:
 
 - reg : The I2C address of the device.
 
+Optional properties:
+
+- clocks: The phandle of the master clock to the CODEC.
+
+- clock-names: Should be "mclk".
+
 Pins on the device (for linking into audio routes) for RT5616:
 
   * IN1P
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/9] Add the family patches to support for kylin board Caesar Wang <wxt@rock-chips.com> - 2016-01-28 09:50 +0100
  [PATCH v4 2/9] ARM: dts: rockchip: add hdmi/vop device node for rk3036 Caesar Wang <wxt@rock-chips.com> - 2016-01-28 09:50 +0100
  [PATCH v4 6/9] ASoC: rt5616: add mclk property for rt5616 document Caesar Wang <wxt@rock-chips.com> - 2016-01-28 09:50 +0100
    Re: [PATCH v4 6/9] ASoC: rt5616: add mclk property for rt5616  document Rob Herring <robh@kernel.org> - 2016-01-29 17:30 +0100
      Re: [PATCH v4 6/9] ASoC: rt5616: add mclk property for rt5616  document Caesar Wang <caesar.upstream@gmail.com> - 2016-01-31 10:20 +0100
  [PATCH v4 9/9] ARM: dts: rockchip: support the spi for rk3036 Caesar Wang <wxt@rock-chips.com> - 2016-01-28 09:50 +0100
    Re: [PATCH v4 9/9] ARM: dts: rockchip: support the spi for rk3036 Heiko Stuebner <heiko@sntech.de> - 2016-01-31 12:10 +0100
      Re: [PATCH v4 9/9] ARM: dts: rockchip: support the spi for rk3036 Caesar Wang <caesar.upstream@gmail.com> - 2016-02-01 07:40 +0100
  [PATCH v4 7/9] ASoC: rt5616: trivial: fix the typo Caesar Wang <wxt@rock-chips.com> - 2016-01-28 09:50 +0100
  [PATCH v4 5/9] ARM: dts: rockchip: add mclk for rt5616 on kylin board Caesar Wang <wxt@rock-chips.com> - 2016-01-28 09:50 +0100
  [PATCH v4 8/9] ASoC: rt5616: add the mclk for the codec driver Caesar Wang <wxt@rock-chips.com> - 2016-01-28 09:50 +0100
  [PATCH v4 1/9] ARM: dts: rockchip: add the leds control for kylin board Caesar Wang <wxt@rock-chips.com> - 2016-01-28 09:50 +0100
    Re: [PATCH v4 1/9] ARM: dts: rockchip: add the leds control for kylin board Heiko Stuebner <heiko@sntech.de> - 2016-01-31 11:50 +0100
      Re: [PATCH v4 1/9] ARM: dts: rockchip: add the leds control for kylin  board Caesar Wang <caesar.upstream@gmail.com> - 2016-02-01 07:50 +0100
  [PATCH v4 3/9] clk: rockchip: rk3036: fix and add node id for emac clock Caesar Wang <wxt@rock-chips.com> - 2016-01-28 09:50 +0100
  [PATCH v4 4/9] ARM: dts: rockchip: add support emac for RK3036 Caesar Wang <wxt@rock-chips.com> - 2016-01-28 09:50 +0100
  [PATCH v4.1 6/9] ASoC: rt5616: add mclk property for rt5616 document Caesar Wang <wxt@rock-chips.com> - 2016-01-31 10:20 +0100
    Re: [PATCH v4.1 6/9] ASoC: rt5616: add mclk property for rt5616  document Rob Herring <robh@kernel.org> - 2016-02-01 15:50 +0100
  [PATCH v4.1 9/9] ARM: dts: rockchip: support the spi for rk3036 Caesar Wang <wxt@rock-chips.com> - 2016-02-01 08:40 +0100

csiph-web