All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Prchal <jiri.prchal@aksignal.cz>
To: alsa-devel@alsa-project.org
Cc: Takashi Iwai <tiwai@suse.com>, Mark Brown <broonie@kernel.org>,
	Jiri Prchal <jiri.prchal@aksignal.cz>,
	Liam Girdwood <lgirdwood@gmail.com>
Subject: [PATCH 1/5] SOC Codecs: TLV320AIC3X add SPI: move thinks to header file
Date: Tue,  6 Apr 2021 12:50:14 +0200	[thread overview]
Message-ID: <20210406105018.59463-2-jiri.prchal@aksignal.cz> (raw)
In-Reply-To: <20210406105018.59463-1-jiri.prchal@aksignal.cz>

Move shered definitions and defines to header file.

Signed-off-by: Jiri Prchal <jiri.prchal@aksignal.cz>
---
 sound/soc/codecs/tlv320aic3x.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/sound/soc/codecs/tlv320aic3x.h b/sound/soc/codecs/tlv320aic3x.h
index 66d3580cf2b1..5d2195f009a9 100644
--- a/sound/soc/codecs/tlv320aic3x.h
+++ b/sound/soc/codecs/tlv320aic3x.h
@@ -9,6 +9,19 @@
 #ifndef _AIC3X_H
 #define _AIC3X_H
 
+struct device;
+struct regmap_config;
+
+extern const struct regmap_config aic3x_regmap_config;
+int aic3x_probe(struct device *dev, struct regmap *regmap, kernel_ulong_t driver_data);
+int aic3x_remove(struct device *dev);
+
+#define AIC3X_MODEL_3X 0
+#define AIC3X_MODEL_33 1
+#define AIC3X_MODEL_3007 2
+#define AIC3X_MODEL_3104 3
+#define AIC3X_MODEL_3106 4
+
 /* AIC3X register space */
 #define AIC3X_CACHEREGNUM		110
 
-- 
2.25.1


  reply	other threads:[~2021-04-06 10:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06 10:50 [PATCH 0/5] SOC Codecs: TLV320AIC3X add SPI support Jiri Prchal
2021-04-06 10:50 ` Jiri Prchal [this message]
2021-04-06 12:00   ` [PATCH 1/5] SOC Codecs: TLV320AIC3X add SPI: move thinks to header file Mark Brown
2021-04-06 10:50 ` [PATCH 2/5] SOC Codecs: TLV320AIC3X add SPI: main source code for I2C and SPI Jiri Prchal
2021-04-06 12:12   ` Mark Brown
2021-04-06 10:50 ` [PATCH 3/5] SOC Codecs: TLV320AIC3X add SPI: I2C code Jiri Prchal
2021-04-06 12:13   ` Mark Brown
2021-04-06 14:05     ` Jiří Prchal
2021-04-06 14:44       ` Mark Brown
2021-04-06 10:50 ` [PATCH 4/5] SOC Codecs: TLV320AIC3X add SPI: SPI code Jiri Prchal
2021-04-06 12:21   ` Mark Brown
2021-04-06 10:50 ` [PATCH 5/5] SOC Codecs: TLV320AIC3X add SPI: configuration and compile Jiri Prchal
2021-04-06 12:23   ` Mark Brown
2021-04-06 14:22   ` kernel test robot
2021-04-06 14:22     ` kernel test robot
2021-04-06 18:52   ` kernel test robot
2021-04-06 18:52     ` kernel test robot
2021-04-06 11:56 ` [PATCH 0/5] SOC Codecs: TLV320AIC3X add SPI support Mark Brown

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=20210406105018.59463-2-jiri.prchal@aksignal.cz \
    --to=jiri.prchal@aksignal.cz \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --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.