From: Kuninori Morimoto Date: Tue, 15 Jan 2013 02:36:04 +0000 (-0800) Subject: ASoC: add snd_soc_of_parse_daifmt() for DeviceTree X-Git-Tag: v3.9-rc1~129^2~24^2~16^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7930ed458afeacb029cee2b22f77b2a15472ad6;p=pandora-kernel.git ASoC: add snd_soc_of_parse_daifmt() for DeviceTree This patch adds snd_soc_of_parse_daifmt() and supports below style on DT. [prefix]format = "i2c"; [prefix]clock-gating = "continuous"; [prefix]bitclock-inversion; [prefix]bitclock-master; [prefix]frame-master; Each driver can use specific [prefix] (ex simple-card,cpu,dai,format = xxx;) This sample will be SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CONT | SND_SOC_DAIFMT_IB_NF | SND_SOC_DAIFMT_CBM_CFM Signed-off-by: Kuninori Morimoto Signed-off-by: Mark Brown --- Reading git-diff-tree failed