From: Daniel Mack Date: Mon, 24 Jun 2013 14:31:30 +0000 (+0200) Subject: ASoC: adau1701: allow configuration of PLL mode pins X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~15^2~3^2~1^2~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2352d4bf43b105ec2da5f43211db4a4c9bf34d4e;p=pandora-kernel.git ASoC: adau1701: allow configuration of PLL mode pins The ADAU1701 has 2 hardware pins to configure the PLL mode in accordance to the MCLK-to-LRCLK ratio. These pins have to be stable before the chip is released from reset, and a full reset cycle, including a new firmware download is needed whenever they change. This patch adds GPIO properties to the DT bindings of the Codec, and implements makes the set_sysclk memorize the configured sysclk. Because the run-time parameters are unknown at probe time, the first firmware download is postponed to the first hw_params call, when the driver can determine the mclk/lrclk divider. Subsequent downloads are only issued when the divider configuration changes. Signed-off-by: Daniel Mack Acked-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed