All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel@martin.sperl.org
To: Stephen Warren <swarren@wwwdotorg.org>,
	Lee Jones <lee@kernel.org>, Eric Anholt <eric@anholt.net>,
	Russell King <linux@arm.linux.org.uk>,
	Michael Turquette <mturquette@baylibre.com>,
	Remi Pommarel <repk@triplefau.lt>,
	devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org,
	alsa-devel@alsa-project.org, Mark Brown <broonie@kernel.org>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	Matthias Reichl <hias@horus.com>,
	lFlorian Meier <florian.meier@koalo.de>
Cc: Martin Sperl <kernel@martin.sperl.org>
Subject: [PATCH 4/5] ARM: bcm2835: I2S: use new register-range and clock framework
Date: Sat,  9 Jan 2016 09:25:56 +0000	[thread overview]
Message-ID: <1452331558-2520-5-git-send-email-kernel@martin.sperl.org> (raw)
In-Reply-To: <1452331558-2520-1-git-send-email-kernel@martin.sperl.org>

From: Martin Sperl <kernel@martin.sperl.org>

Since the move to the new clock framework with
commit 94cb7f76caa0b337 ("Switch to using the new clock driver support")
the bcm2835-i2s driver was no longer working.

This patch fixes the address ranges:
* remove the PCM clock register range that is owned by the clockmanager
* fix the length, which did not include the last register of this device

It also adds the required pcm-clock with the corresponding default
clock and rate.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
---
 arch/arm/boot/dts/bcm2835.dtsi |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi
index aef64de..83d9787 100644
--- a/arch/arm/boot/dts/bcm2835.dtsi
+++ b/arch/arm/boot/dts/bcm2835.dtsi
@@ -120,9 +120,8 @@
 
 		i2s: i2s@7e203000 {
 			compatible = "brcm,bcm2835-i2s";
-			reg = <0x7e203000 0x20>,
-			      <0x7e101098 0x02>;
-
+			reg = <0x7e203000 0x24>;
+			clocks = <&clocks BCM2835_CLOCK_PCM>;
 			dmas = <&dma 2>,
 			       <&dma 3>;
 			dma-names = "tx", "rx";
-- 
1.7.10.4


WARNING: multiple messages have this Message-ID (diff)
From: kernel@martin.sperl.org (kernel at martin.sperl.org)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/5] ARM: bcm2835: I2S: use new register-range and clock framework
Date: Sat,  9 Jan 2016 09:25:56 +0000	[thread overview]
Message-ID: <1452331558-2520-5-git-send-email-kernel@martin.sperl.org> (raw)
In-Reply-To: <1452331558-2520-1-git-send-email-kernel@martin.sperl.org>

From: Martin Sperl <kernel@martin.sperl.org>

Since the move to the new clock framework with
commit 94cb7f76caa0b337 ("Switch to using the new clock driver support")
the bcm2835-i2s driver was no longer working.

This patch fixes the address ranges:
* remove the PCM clock register range that is owned by the clockmanager
* fix the length, which did not include the last register of this device

It also adds the required pcm-clock with the corresponding default
clock and rate.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
---
 arch/arm/boot/dts/bcm2835.dtsi |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi
index aef64de..83d9787 100644
--- a/arch/arm/boot/dts/bcm2835.dtsi
+++ b/arch/arm/boot/dts/bcm2835.dtsi
@@ -120,9 +120,8 @@
 
 		i2s: i2s at 7e203000 {
 			compatible = "brcm,bcm2835-i2s";
-			reg = <0x7e203000 0x20>,
-			      <0x7e101098 0x02>;
-
+			reg = <0x7e203000 0x24>;
+			clocks = <&clocks BCM2835_CLOCK_PCM>;
 			dmas = <&dma 2>,
 			       <&dma 3>;
 			dma-names = "tx", "rx";
-- 
1.7.10.4

  parent reply	other threads:[~2016-01-09  9:25 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-09  9:25 [PATCH 0/5] ASOC: bcm2835: move bcm2835-i2s to use clock framework kernel
2016-01-09  9:25 ` kernel at martin.sperl.org
     [not found] ` <1452331558-2520-1-git-send-email-kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2016-01-09  9:25   ` [PATCH 1/5] ASoC: bcm2835: cleanup includes by ordering them alphabetically kernel-TqfNSX0MhmxHKSADF0wUEw
2016-01-09  9:25     ` kernel at martin.sperl.org
2016-01-09  9:25     ` kernel
2016-01-09  9:25 ` [PATCH 2/5] clk: bcm2835: enable management of PCM clock kernel
2016-01-09  9:25   ` kernel at martin.sperl.org
2016-01-09 20:56   ` Arnd Bergmann
2016-01-09 20:56     ` Arnd Bergmann
2016-01-09 20:56     ` Arnd Bergmann
2016-01-10  9:30     ` Geert Uytterhoeven
2016-01-10  9:30       ` Geert Uytterhoeven
2016-01-10  9:30       ` Geert Uytterhoeven
2016-01-10 10:55       ` Martin Sperl
2016-01-10 10:55         ` Martin Sperl
2016-01-10 10:55         ` Martin Sperl
2016-01-10 11:58         ` Mark Brown
2016-01-10 11:58           ` Mark Brown
2016-01-10 12:17           ` Martin Sperl
2016-01-10 12:17             ` Martin Sperl
2016-01-10 12:17             ` Martin Sperl
2016-01-10 12:30             ` Remi Pommarel
2016-01-10 12:30               ` Remi Pommarel
2016-01-10 13:02             ` Geert Uytterhoeven
2016-01-10 13:02               ` Geert Uytterhoeven
2016-01-10 18:01               ` Martin Sperl
2016-01-10 18:01                 ` Martin Sperl
2016-01-10 18:01                 ` Martin Sperl
2016-01-10 18:56                 ` Geert Uytterhoeven
2016-01-10 18:56                   ` Geert Uytterhoeven
2016-01-10 19:07                   ` Martin Sperl
2016-01-10 19:07                     ` Martin Sperl
2016-01-10 19:07                     ` Martin Sperl
     [not found]                     ` <93C244A0-20B7-4E21-A183-E09F83CFE035-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2016-01-10 19:13                       ` Geert Uytterhoeven
2016-01-10 19:13                         ` Geert Uytterhoeven
2016-01-10 19:13                         ` Geert Uytterhoeven
2016-01-11 13:38             ` Arnd Bergmann
2016-01-11 13:38               ` Arnd Bergmann
2016-01-11 13:38               ` Arnd Bergmann
2016-01-11 13:53               ` Martin Sperl
2016-01-11 13:53                 ` Martin Sperl
2016-01-11 13:53                 ` Martin Sperl
2016-01-09  9:25 ` [PATCH 3/5] ASoC: bcm2835: move to use the clock framework kernel
2016-01-09  9:25   ` kernel at martin.sperl.org
2016-01-09  9:25 ` kernel [this message]
2016-01-09  9:25   ` [PATCH 4/5] ARM: bcm2835: I2S: use new register-range and " kernel at martin.sperl.org
2016-01-09  9:25 ` [PATCH 5/5] dt-bindings: bsm2835: fix bindings documentation to use new " kernel
2016-01-09  9:25   ` kernel at martin.sperl.org
2016-01-09 22:45   ` Rob Herring
2016-01-09 22:45     ` Rob Herring
2016-01-10 11:05     ` Martin Sperl
2016-01-10 11:05       ` Martin Sperl
2016-01-10 11:05       ` Martin Sperl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1452331558-2520-5-git-send-email-kernel@martin.sperl.org \
    --to=kernel@martin.sperl.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=eric@anholt.net \
    --cc=florian.meier@koalo.de \
    --cc=hias@horus.com \
    --cc=lee@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mturquette@baylibre.com \
    --cc=perex@perex.cz \
    --cc=repk@triplefau.lt \
    --cc=swarren@wwwdotorg.org \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.