From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: snd soc spi read/write Date: Wed, 10 Aug 2011 01:04:48 +0900 Message-ID: <20110809160447.GM15861@opensource.wolfsonmicro.com> References: <20110804103558.GA25976@opensource.wolfsonmicro.com> <20110805054210.GB16956@opensource.wolfsonmicro.com> <20110805063414.GB20809@opensource.wolfsonmicro.com> <20110805072908.GA28149@opensource.wolfsonmicro.com> <20110805083058.GB4977@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id B25F42460E for ; Tue, 9 Aug 2011 18:04:54 +0200 (CEST) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Scott Jiang Cc: Takashi Iwai , uclinux-dist-devel@blackfin.uclinux.org, alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Tue, Aug 09, 2011 at 11:41:30AM +0800, Scott Jiang wrote: > There are three methods: > 1. pass different registers to snd_soc_read and snd_soc_write. But > snd_kcontrol and snd_soc_dapm_widget can't work because I pass only > one register. > 2. deal with this bit in hw_read, but this will be deprecated by > others whose chip doesn't have this bit. > 3. I'd like to use SND_SOC_CUS type, but it has been removed since > linux 3.0. I suggest we can reserve this type, considering SPI is a > simple "de facto" standard. No, like I say we just need to teach regmap about this stuff. It's not that odd, it's just your hardware designers seem to want to consume extra bandwidth on the control bus for some reason AFAICT as it looks like all the registers are 0x8xx.