All of lore.kernel.org
 help / color / mirror / Atom feed
From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [linux-sunxi][PATCH 3/5] ARM: dts: sunxi: Add the SPDIF to the A10 and A20
Date: Mon, 14 Mar 2016 19:52:43 +0100	[thread overview]
Message-ID: <20160314185243.GE30977@lukather> (raw)
In-Reply-To: <CAEKpxBm4bs7sNSbDjomdP6XS2ApvfDT-s942DBb3JWv1iOZJ0w@mail.gmail.com>

On Mon, Mar 14, 2016 at 05:29:37PM +0100, Code Kipper wrote:
> >> +             spdif: spdif at 01c21000 {
> >> +                     #sound-dai-cells = <0>;
> >> +                     compatible = "allwinner,sun4i-a10-spdif";
> >> +                     reg = <0x01c21000 0x40>;
> >
> > It only takes 64 bytes?
>
> Yep(just like the audio codec!)
> http://linux-sunxi.org/SPDIF#SUNXI_SPDIF_DEFAULT_VALUES

Yet the datasheet says it takes 1k in the memory map.

Please use that value instead.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160314/8ce1a327/attachment.sig>

WARNING: multiple messages have this Message-ID (diff)
From: Maxime Ripard <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
To: Code Kipper <codekipper-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-arm-kernel
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
	devicetree <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-sunxi <linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>,
	Andrea Venturi
	<ennesimamail.av-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH 3/5] ARM: dts: sunxi: Add the SPDIF to the A10 and A20
Date: Mon, 14 Mar 2016 19:52:43 +0100	[thread overview]
Message-ID: <20160314185243.GE30977@lukather> (raw)
In-Reply-To: <CAEKpxBm4bs7sNSbDjomdP6XS2ApvfDT-s942DBb3JWv1iOZJ0w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 612 bytes --]

On Mon, Mar 14, 2016 at 05:29:37PM +0100, Code Kipper wrote:
> >> +             spdif: spdif@01c21000 {
> >> +                     #sound-dai-cells = <0>;
> >> +                     compatible = "allwinner,sun4i-a10-spdif";
> >> +                     reg = <0x01c21000 0x40>;
> >
> > It only takes 64 bytes?
>
> Yep(just like the audio codec!)
> http://linux-sunxi.org/SPDIF#SUNXI_SPDIF_DEFAULT_VALUES

Yet the datasheet says it takes 1k in the memory map.

Please use that value instead.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2016-03-14 18:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-27 16:18 [linux-sunxi][PATCH 0/5] ARM: sunxi: Add SPDIF playback support codekipper at gmail.com
2016-02-27 16:18 ` [PATCH " codekipper-Re5JQEeQqe8AvxtiuMwx3w
2016-02-27 16:18 ` [linux-sunxi][PATCH 1/5] clk: sunxi: mod1 clock should modify it's parent codekipper at gmail.com
2016-02-27 16:18   ` [PATCH " codekipper-Re5JQEeQqe8AvxtiuMwx3w
2016-02-27 16:18 ` [linux-sunxi][PATCH 2/5] ARM: dts :sunxi: Add SPDIF pins to A10 and A20 codekipper at gmail.com
2016-02-27 16:18   ` [PATCH " codekipper-Re5JQEeQqe8AvxtiuMwx3w
2016-02-27 16:18 ` [linux-sunxi][PATCH 3/5] ARM: dts: sunxi: Add the SPDIF to the " codekipper at gmail.com
2016-02-27 16:18   ` [PATCH " codekipper-Re5JQEeQqe8AvxtiuMwx3w
2016-03-13 21:50   ` [linux-sunxi][PATCH " Maxime Ripard
2016-03-13 21:50     ` [PATCH " Maxime Ripard
2016-03-14 16:29     ` [linux-sunxi][PATCH " Code Kipper
2016-03-14 16:29       ` [PATCH " Code Kipper
2016-03-14 18:52       ` Maxime Ripard [this message]
2016-03-14 18:52         ` Maxime Ripard
2016-02-27 16:18 ` [linux-sunxi][PATCH 4/5] ARM: dts: sun4i: Add SPDIF to the Mele A1000 codekipper at gmail.com
2016-02-27 16:18   ` [PATCH " codekipper-Re5JQEeQqe8AvxtiuMwx3w
2016-02-27 16:18 ` [linux-sunxi][PATCH 5/5] ARM: dts: sun7i: Add SPDIF to Itead Ibox codekipper at gmail.com
2016-02-27 16:18   ` [PATCH " codekipper-Re5JQEeQqe8AvxtiuMwx3w

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=20160314185243.GE30977@lukather \
    --to=maxime.ripard@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.