commit | dcad9f031240d59e9e1475a8e5b2cb427da94f6e | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Wed Jun 12 11:34:30 2013 -0600 |
committer | Mark Brown <broonie@linaro.org> | Wed Jun 12 19:25:22 2013 +0100 |
tree | 5bb28075e74375030c5fd2e89531f01660700047 | |
parent | 997b05203b0a710e11f9b2732bef2d2fdc1d824b [diff] |
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 <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@linaro.org>