[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1460978403-4754-1-git-send-email-zhengxing@rock-chips.com>
Date: Mon, 18 Apr 2016 19:20:00 +0800
From: Xing Zheng <zhengxing@...k-chips.com>
To: linux-rockchip@...ts.infradead.org
Cc: heiko@...ech.de, Adam.Thomson@...semi.com,
sugar.zhang@...k-chips.com, jay.xu@...k-chips.com,
broonie@...nel.org, dianders@...omium.org,
Xing Zheng <zhengxing@...k-chips.com>,
Jaroslav Kysela <perex@...ex.cz>, devicetree@...r.kernel.org,
alsa-devel@...a-project.org,
Arnaud Pouliquen <arnaud.pouliquen@...com>,
Mengdong Lin <mengdong.lin@...ux.intel.com>,
Aaro Koskinen <aaro.koskinen@....fi>,
Support Opensource <support.opensource@...semi.com>,
linux-kernel@...r.kernel.org, Kumar Gala <galak@...eaurora.org>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Takashi Iwai <tiwai@...e.com>,
Liam Girdwood <lgirdwood@...il.com>,
Pawel Moll <pawel.moll@....com>,
Rob Herring <robh+dt@...nel.org>, Jun Nie <jun.nie@...aro.org>,
Mark Rutland <mark.rutland@....com>,
Andrew Lunn <andrew@...n.ch>, Jyri Sarha <jsarha@...com>
Subject: [PATCH v2 0/3] Add support simple-card parse jack detection via external codec
Hi,
In most cases, many codecs already supports jack detection,
previouslly, we need to create a customized machine driver every time.
In my opinion, the codec fill the detect_jack explicitly and tell
sound framework it supports the jack detection, the simple-card is
able to parse the dts file and call the export function to initialize
the jace detection via the codec.
I think that it will bring better flexibility.
Thanks.
Changes in v1:
- clean up the commit message and notes
Xing Zheng (3):
ASoC: jack: Add an export of a function that calls the codec jack
detection
ASoC: simple-card: Add support call the codec jack detection after
parse dts
ASoC: da7219: Add detect_jack callback in the snd_soc_codec_driver
.../devicetree/bindings/sound/simple-card.txt | 17 +++
include/sound/soc.h | 7 ++
sound/soc/codecs/da7219.c | 2 +
sound/soc/generic/simple-card.c | 126 +++++++++++++++++++-
sound/soc/soc-jack.c | 17 +++
5 files changed, 166 insertions(+), 3 deletions(-)
--
1.7.9.5
Powered by blists - more mailing lists