This patch adds FDT support for Sound driver. This patch is based on following patchset. "EXYNOS5: FDT Support for I2C" "fdt: Export fdtdec_lookup() and fix the name"
Changes in V2: - Add documentation for sound node. - Decoding codec FDT values moved to codec. - fd_dec_lookup function added to header file. - Single sound init funtion to handle both fdt and non fdt support. - Removed SPI compatible string. Chnages in V3: - Removed patch "FDT: Declare API in header file" as it is already submitted by Simon Glass. - Removed #ifdef CONFIG_OF_CONTROL where ever not required. Rajeshwari Shinde (6): EXYNOS5: FDT: Add sound device node data EXYNOS5: FDT: Add sound and codec device node EXYNOS5: FDT: Add compatible strings for sound Sound: Add FDT support to driver Sound: WM8994: Add FDT support to codec Sound: Add FDT support to CMD. arch/arm/dts/exynos5250.dtsi | 5 + board/samsung/dts/exynos5250-smdk5250.dts | 17 +++ common/cmd_sound.c | 2 +- doc/device-tree-bindings/exynos/sound.txt | 27 +++++ drivers/sound/sound.c | 173 +++++++++++++++++------------ drivers/sound/wm8994.c | 76 ++++++++++++- drivers/sound/wm8994.h | 6 +- include/fdtdec.h | 2 + include/sound.h | 4 +- lib/fdtdec.c | 2 + 10 files changed, 235 insertions(+), 79 deletions(-) create mode 100644 doc/device-tree-bindings/exynos/sound.txt -- 1.7.4.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot