From: Stephen Warren Date: Wed, 12 Jun 2013 17:34:30 +0000 (-0600) Subject: ASoC: rt5640: add device tree support X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~15^2~3^2~24^2~12^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcad9f031240d59e9e1475a8e5b2cb427da94f6e;p=pandora-kernel.git ASoC: rt5640: add device tree support Modify the RT5640 driver to parse platform data from device tree. Write a DT binding document to describe those properties. Slight re-ordering of rt5640_i2c_probe() to better fit the DT parsing. Since ldo1_en is optional, guard usage of it with gpio_is_valid(), rather than open-coding an if (gpio) check. Signed-off-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed