All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/3] ASOC: bcm2835: move bcm2835-i2s to use clock framework
@ 2016-01-12 12:35 ` kernel at martin.sperl.org
  0 siblings, 0 replies; 29+ messages in thread
From: kernel-TqfNSX0MhmxHKSADF0wUEw @ 2016-01-12 12:35 UTC (permalink / raw)
  To: Stephen Warren, Lee Jones, Eric Anholt, Russell King,
	Jaroslav Kysela, Takashi Iwai, Mark Brown,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw
  Cc: Martin Sperl

From: Martin Sperl <kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>

This patchset enables the bcm2835-i2s driver to use the clock
framework which was introduced with commit 94cb7f76caa0
("ARM: bcm2835: Switch to using the new clock driver support.").

This commit resulted in the fact that the bcm2835-i2s driver was
no longer working due to some register addresses used by 2 drivers
(clk-bcm2835 and bcm2835-i2s).

This patchset requires that the patchset for PCM-clock
support as well as fractional/mash support is applied to
the clk-bcm2835 driver and the corresponding device tree,
but as the current version of the driver is not working,
that should not be a problem.

Note that there is one change:
right now the current driver tries to calculate an optimal
bclk_ratio based on its knowledge that it is using the 19.2Mhz
oscillator. This computation would recommend the use of 40
or 80 bits instead of 32/64 bits that are required.

Some of the DACs can not handle this, so most downstream
drivers would set snd_soc_dai_set_bclk_ratio explicitly to
disable this "non-power-of-2" automatic selection.

So it seems wise to leave it out of the current patchset.

If it is deemed necessary, then I can provide a separate
patch that implements this again.

Changelog:
  V1->V2: * moving clock patches into a separate patchset,
            which fixes also other issues in the clock framework
          * remove unnecessary bclk_size assignments

Martin Sperl (3):
  ASoC: bcm2835: move to use the clock framework
  ARM: bcm2835: I2S: use new register-range and clock framework
  dt-bindings: bsm2835: fix bindings documentation to use new clock
    framework

 .../devicetree/bindings/sound/brcm,bcm2835-i2s.txt |    7 +-
 arch/arm/boot/dts/bcm2835.dtsi                     |    5 +-
 sound/soc/bcm/bcm2835-i2s.c                        |  284 +++++---------------
 3 files changed, 69 insertions(+), 227 deletions(-)

--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2016-02-13  8:51 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-12 12:35 [PATCH V2 0/3] ASOC: bcm2835: move bcm2835-i2s to use clock framework kernel-TqfNSX0MhmxHKSADF0wUEw
2016-01-12 12:35 ` kernel at martin.sperl.org
     [not found] ` <1452602149-5875-1-git-send-email-kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2016-01-12 12:35   ` [PATCH V2 1/3] ASoC: bcm2835: move to use the " kernel-TqfNSX0MhmxHKSADF0wUEw
2016-01-12 12:35     ` kernel at martin.sperl.org
2016-01-15 18:18     ` Applied "ASoC: bcm2835: move to use the clock framework" to the asoc tree Mark Brown
     [not found]     ` <1452602149-5875-2-git-send-email-kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2016-01-28 22:08       ` [PATCH V2 1/3] ASoC: bcm2835: move to use the clock framework Eric Anholt
2016-01-28 22:08         ` Eric Anholt
     [not found]         ` <87vb6dfjbu.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org>
2016-02-08 12:08           ` Martin Sperl
2016-02-08 12:08             ` Martin Sperl
2016-02-13  0:47             ` Eric Anholt
2016-02-13  0:47               ` Eric Anholt
     [not found]               ` <87bn7l3085.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org>
2016-02-13  8:51                 ` Martin Sperl
2016-02-13  8:51                   ` Martin Sperl
2016-01-12 12:35   ` [PATCH V2 2/3] ARM: bcm2835: I2S: use new register-range and " kernel-TqfNSX0MhmxHKSADF0wUEw
2016-01-12 12:35     ` kernel at martin.sperl.org
     [not found]     ` <1452602149-5875-3-git-send-email-kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2016-01-16 15:26       ` Stefan Wahren
2016-01-16 15:26         ` Stefan Wahren
2016-01-16 16:47         ` Martin Sperl
2016-01-16 16:47           ` Martin Sperl
2016-01-28 22:16       ` Eric Anholt
2016-01-28 22:16         ` Eric Anholt
2016-01-12 12:35   ` [PATCH V2 3/3] dt-bindings: bsm2835: fix bindings documentation to use new " kernel-TqfNSX0MhmxHKSADF0wUEw
2016-01-12 12:35     ` kernel at martin.sperl.org
     [not found]     ` <1452602149-5875-4-git-send-email-kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2016-01-12 14:36       ` Rob Herring
2016-01-12 14:36         ` Rob Herring
2016-01-12 15:52         ` Martin Sperl
2016-01-12 15:52           ` Martin Sperl
     [not found]           ` <2EC555E0-91B9-45AA-8804-848C445E052E-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2016-01-28 22:11             ` Eric Anholt
2016-01-28 22:11               ` Eric Anholt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.