Configuration settings for WM8850 wolfson audio codec

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Wed Jul 15 06:37:59 EDT 2015


On Wed, 15 Jul 2015 12:26:29 +0530, bineet said:

> I need to check setting done for WM8850 wolfson audio codec chip. I tried
> browsing linux code, but couldn't find any clue.
> Could someone please help with the same?

Hmm.. are you sure it's an audio codec chip?

WMB8850 appears to be an entire ARM architecture.

[/usr/src/linux-next] git grep WM8850
Documentation/devicetree/bindings/arm/vt8500.txt:Boards with the Wondermedia WM8850 SoC shall have the following properties:
Documentation/devicetree/bindings/clock/vt8500.txt:     "wm,wm8850-pll-clock" - for a WM8850 PLL clock
Documentation/devicetree/bindings/serial/vt8500-uart.txt:       including WM8850/WM8950), or "wm,wm8880-uart" (for WM8880 and later)
arch/arm/Kconfig.debug:           devices, including VT8500, WM8505, WM8650 and WM8850.
arch/arm/boot/dts/wm8850-w70v2.dts: *  - Device tree file for Wondermedia WM8850 Tablet
arch/arm/boot/dts/wm8850-w70v2.dts:     model = "Wondermedia WM8850-W70v2 Tablet";
arch/arm/boot/dts/wm8850.dtsi: * wm8850.dtsi - Device tree file for Wondermedia WM8850 SoC
arch/arm/configs/multi_v7_defconfig:CONFIG_ARCH_WM8850=y
arch/arm/configs/vt8500_v6_v7_defconfig:CONFIG_ARCH_WM8850=y
arch/arm/mach-vt8500/Kconfig:config ARCH_WM8850
arch/arm/mach-vt8500/Kconfig:   bool "WonderMedia WM8850"
arch/arm/mach-vt8500/Kconfig:     Support for WonderMedia WM8850 System-on-Chip.
drivers/clk/clk-vt8500.c:#define PLL_TYPE_WM8850                3
drivers/clk/clk-vt8500.c:/* Helper macros for PLL_WM8850 */
drivers/clk/clk-vt8500.c:#define WM8850_PLL_MUL(x)      ((((x >> 16) & 0x7F) + 1) * 2)
drivers/clk/clk-vt8500.c:#define WM8850_PLL_DIV(x)      ((((x >> 8) & 1) + 1) * (1 << (x & 3)))
drivers/clk/clk-vt8500.c:#define WM8850_BITS_TO_FREQ(r, m, d1, d2)                              \
drivers/clk/clk-vt8500.c:#define WM8850_BITS_TO_VAL(m, d1, d2)                                  \
drivers/clk/clk-vt8500.c:       case PLL_TYPE_WM8850:
drivers/clk/clk-vt8500.c:               pll_val = WM8850_BITS_TO_VAL(mul, div1, div2);
drivers/clk/clk-vt8500.c:       case PLL_TYPE_WM8850:
drivers/clk/clk-vt8500.c:               round_rate = WM8850_BITS_TO_FREQ(*prate, mul, div1, div2);
drivers/clk/clk-vt8500.c:       case PLL_TYPE_WM8850:
drivers/clk/clk-vt8500.c:               pll_freq = parent_rate * WM8850_PLL_MUL(pll_val);
drivers/clk/clk-vt8500.c:               pll_freq /= WM8850_PLL_DIV(pll_val);
drivers/clk/clk-vt8500.c:       vtwm_pll_clk_init(node, PLL_TYPE_WM8850);
drivers/pinctrl/vt8500/Kconfig:config PINCTRL_WM8850
drivers/pinctrl/vt8500/Kconfig: bool "Wondermedia WM8850 pin controller driver"
drivers/pinctrl/vt8500/Kconfig: depends on ARCH_WM8850
drivers/pinctrl/vt8500/Kconfig:   Wondermedia WM8850 SoCs.
drivers/pinctrl/vt8500/Makefile:obj-$(CONFIG_PINCTRL_WM8850)    += pinctrl-wm8850.o
drivers/pinctrl/vt8500/pinctrl-wm8850.c: * Pinctrl data for Wondermedia WM8850 SoC
drivers/pinctrl/vt8500/pinctrl-wm8850.c:MODULE_DESCRIPTION("Wondermedia WM8850 Pincontrol driver");
drivers/video/fbdev/Kconfig:      and WM8850 SoCs.

Hope that helps.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150715/bf004bdf/attachment.bin 


More information about the Kernelnewbies mailing list