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


Groups > linux.kernel > #1344881

Re: [alsa-devel] [PATCH] ASoC: rt5640: add master clock handling for rt5640

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [alsa-devel] [PATCH] ASoC: rt5640: add master clock handling for rt5640
Date 2016-02-27 03:00 +0100
Message-ID <r6CkN-3SQ-1@gated-at.bofh.it> (permalink)
References (2 earlier) <r5ufE-44a-9@gated-at.bofh.it> <r5ysW-6YK-13@gated-at.bofh.it> <r5Kkp-72Y-9@gated-at.bofh.it> <r6f4T-3Xh-41@gated-at.bofh.it> <r6sOu-5pp-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Feb 26, 2016 at 09:43:15AM -0600, Pierre-Louis Bossart wrote:

> Yes there are documentation and helpers I looked into, but to the best of my
> limited knowledge not for the gate + dual-rate case. Then you jump to
> complicated configurations combining multiple base clocks that don't really
> make sense here. After one frustrating day of trying to wrap 100 lines of
> code into the clock framework I gave up and kept the simple custom driver.
> There is a single client for this clock so I don't quite see the
> benefits/ROI of mapping a simple piece of hardware with a complex model.

If the helpers aren't fitting your needs then surely just writing a
simple driver with set rate and enable callbacks isn't going to be too
hard?  The wm831x driver was pretty trivial to write and seems to be on
a similar order of complexity to this.

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


Thread

[PATCH] ASoC: rt5640: add master clock handling for rt5640 Sugar Zhang <sugar.zhang@rock-chips.com> - 2016-02-23 02:40 +0100
  Re: [alsa-devel] [PATCH] ASoC: rt5640: add master clock handling for  rt5640 Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> - 2016-02-23 16:00 +0100
    Re: [alsa-devel] [PATCH] ASoC: rt5640: add master clock handling for rt5640 Heiko Stuebner <heiko@sntech.de> - 2016-02-24 00:10 +0100
      Re: [alsa-devel] [PATCH] ASoC: rt5640: add master clock handling for  rt5640 Mark Brown <broonie@kernel.org> - 2016-02-24 04:40 +0100
        Re: [alsa-devel] [PATCH] ASoC: rt5640: add master clock handling for  rt5640 Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> - 2016-02-24 17:20 +0100
          Re: [alsa-devel] [PATCH] ASoC: rt5640: add master clock handling for  rt5640 Mark Brown <broonie@kernel.org> - 2016-02-26 02:10 +0100
            Re: [alsa-devel] [PATCH] ASoC: rt5640: add master clock handling for  rt5640 Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> - 2016-02-26 16:50 +0100
              Re: [alsa-devel] [PATCH] ASoC: rt5640: add master clock handling for  rt5640 Mark Brown <broonie@kernel.org> - 2016-02-27 03:00 +0100
  Re: [PATCH] ASoC: rt5640: add master clock handling for rt5640 Rob Herring <robh@kernel.org> - 2016-02-23 23:10 +0100
  Re: [PATCH] ASoC: rt5640: add master clock handling for rt5640 Mark Brown <broonie@kernel.org> - 2016-02-24 04:40 +0100

csiph-web