public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 4/4] ARM: dts: sun4i: gemei-g9: Enable sun4i audio codec support
Date: Fri, 25 Sep 2015 08:36:11 +0200	[thread overview]
Message-ID: <20150925063611.GZ4684@lukather> (raw)
In-Reply-To: <1442993914-20295-5-git-send-email-plaes@plaes.org>

On Wed, Sep 23, 2015 at 10:38:34AM +0300, Priit Laes wrote:
> Gemei G9 has internal speakers and headphone jack. Audio switching
> from internal speakers to headphones is automatically handled by
> extra FT2012Q audio amplifier chip that works out of the box.
> 
> Signed-off-by: Priit Laes <plaes@plaes.org>
> ---
>  arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts
> index b7cab72..2db75c4 100644
> --- a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts
> +++ b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts
> @@ -65,12 +65,19 @@
>  /*
>   * TODO:
>   *   2x cameras via CSI
> - *   audio
> + *   audio input
>   *   AXP battery management
>   *   NAND
>   *   OTG
>   *   Touchscreen - gt801_2plus1 @ i2c adapter 2 @ 0x48
>   */
> +&codec {
> +	routing =
> +		"Headphone Jack", "HP Left",
> +		"Headphone Jack", "HP Right";
> +		/* TODO: input configuration */
> +	status = "okay";
> +};

This doesn't compile, the codec node doesn't exist.

Please always base your patches on top of sunxi/for-next, linux-next
or some earlier rc, or mention the dependency in your cover letter.

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/20150925/061988d9/attachment.sig>

      reply	other threads:[~2015-09-25  6:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-23  7:38 [PATCH v2 0/4] ARM: dts: sun4i: gemei-g9: Devicetree improvements Priit Laes
2015-09-23  7:38 ` [PATCH v2 1/4] ARM: dts: sun4i: gemei-g9: Add accelerometer (bma250) IRQ Priit Laes
2015-09-25  6:33   ` Maxime Ripard
2015-09-23  7:38 ` [PATCH v2 2/4] ARM: dts: sun4i: gemei-g9: Convert to use axp209 regulator nodes Priit Laes
2015-09-23 23:42   ` [linux-sunxi] " Julian Calaby
2015-09-25  6:33     ` Maxime Ripard
2015-09-23  7:38 ` [PATCH v2 3/4] ARM: dts: sun4i: gemei-g9: Use reg_ldo2 instead of reg_vcc3v0 Priit Laes
2015-09-23  7:38 ` [PATCH v2 4/4] ARM: dts: sun4i: gemei-g9: Enable sun4i audio codec support Priit Laes
2015-09-25  6:36   ` Maxime Ripard [this message]

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=20150925063611.GZ4684@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox