From: Xing Zheng <acgzxing@gmail.com>
To: dgreid@chromium.org, dianders@chromium.org, heiko@sntech.de,
sonnyrao@chromium.org
Cc: linux-rockchip@lists.infradead.org,
zhengxing <zhengxing@rock-chips.com>,
Jaroslav Kysela <perex@perex.cz>,
devicetree@vger.kernel.org, alsa-devel@alsa-project.org,
Mark Brown <broonie@kernel.org>, Takashi Iwai <tiwai@suse.de>,
linux-kernel@vger.kernel.org, Kumar Gala <galak@codeaurora.org>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Liam Girdwood <lgirdwood@gmail.com>,
Pawel Moll <pawel.moll@arm.com>, Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/4] ASoC: rockchip: add rockchip machine driver
Date: Tue, 12 May 2015 17:26:33 +0800 [thread overview]
Message-ID: <1431422797-31903-1-git-send-email-zhengxing@rock-chips.com> (raw)
From: zhengxing <zhengxing@rock-chips.com>
Hi,
These patches to add machine driver for rockchip platform.
We intended to use simple-card on the project, but it seem like that have
some issues(jack detection). We need the following features on the project,
but simple-card is temporarily unable to provide them:
1. We need dynamically recognize and select one codec from supported codecs
in dts.
2. Simple-card don't provide to call the codec jack detection callback via dts
description (ts3a227e_enable_jack_detect for max98090, rt5645_set_jack_detect
for rt5645/rt5650).
3. Simple-card support simple-widght only, but codec may use cunstom the name of
widget (rk_dapm_widgets: "Headset Mic", "Int Mic" in max98090).
Simple-card is good generic machine driver, but if we want to replace simple-card
in the exsiting work, it may bring other problems. Therefore, we want to upload
these functions that we need.
zhengxing (4):
ASoC: rockchip: add rockchip machine driver
ASoC: rockchip: add rockchip machine driver for max98090
ASoC: rockchip: add rockchip machine driver for rt5650/rt5645
ASoC: rockchip-audio-machine: add rockchip machine driver bindings
.../sound/rockchip,rockchip-audio-machine.txt | 38 ++++
sound/soc/rockchip/Kconfig | 26 +++
sound/soc/rockchip/Makefile | 9 +
sound/soc/rockchip/rockchip_machine_driver.c | 222 ++++++++++++++++++++
sound/soc/rockchip/rockchip_machine_driver.h | 41 ++++
sound/soc/rockchip/rockchip_max98090.c | 185 ++++++++++++++++
sound/soc/rockchip/rockchip_rt5645.c | 220 +++++++++++++++++++
7 files changed, 741 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/rockchip,rockchip-audio-machine.txt
create mode 100644 sound/soc/rockchip/rockchip_machine_driver.c
create mode 100644 sound/soc/rockchip/rockchip_machine_driver.h
create mode 100644 sound/soc/rockchip/rockchip_max98090.c
create mode 100644 sound/soc/rockchip/rockchip_rt5645.c
--
1.7.9.5
next reply other threads:[~2015-05-12 9:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-12 9:26 Xing Zheng [this message]
2015-05-12 9:26 ` [PATCH 4/4] ASoC: rockchip-audio-machine: add rockchip machine driver bindings Xing Zheng
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=1431422797-31903-1-git-send-email-zhengxing@rock-chips.com \
--to=acgzxing@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dgreid@chromium.org \
--cc=dianders@chromium.org \
--cc=galak@codeaurora.org \
--cc=heiko@sntech.de \
--cc=ijc+devicetree@hellion.org.uk \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=perex@perex.cz \
--cc=robh+dt@kernel.org \
--cc=sonnyrao@chromium.org \
--cc=tiwai@suse.de \
--cc=zhengxing@rock-chips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).