wm5102-tables.c (e6c7efa7ee2eb7c15ea0fc0bd7ab6dc808cb57a3) | wm5102-tables.c (496e43aeacab245ca57139e89d83655f8370e0ef) |
---|---|
1/* 2 * wm5102-tables.c -- WM5102 data tables 3 * 4 * Copyright 2012 Wolfson Microelectronics plc 5 * 6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 1912 unchanged lines hidden (view full) --- 1921} 1922 1923#define WM5102_MAX_REGISTER 0x1a9800 1924 1925const struct regmap_config wm5102_spi_regmap = { 1926 .reg_bits = 32, 1927 .pad_bits = 16, 1928 .val_bits = 16, | 1/* 2 * wm5102-tables.c -- WM5102 data tables 3 * 4 * Copyright 2012 Wolfson Microelectronics plc 5 * 6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 1912 unchanged lines hidden (view full) --- 1921} 1922 1923#define WM5102_MAX_REGISTER 0x1a9800 1924 1925const struct regmap_config wm5102_spi_regmap = { 1926 .reg_bits = 32, 1927 .pad_bits = 16, 1928 .val_bits = 16, |
1929 .reg_format_endian = REGMAP_ENDIAN_BIG, 1930 .val_format_endian = REGMAP_ENDIAN_BIG, |
|
1929 1930 .max_register = WM5102_MAX_REGISTER, 1931 .readable_reg = wm5102_readable_register, 1932 .volatile_reg = wm5102_volatile_register, 1933 1934 .cache_type = REGCACHE_RBTREE, 1935 .reg_defaults = wm5102_reg_default, 1936 .num_reg_defaults = ARRAY_SIZE(wm5102_reg_default), 1937}; 1938EXPORT_SYMBOL_GPL(wm5102_spi_regmap); 1939 1940const struct regmap_config wm5102_i2c_regmap = { 1941 .reg_bits = 32, 1942 .val_bits = 16, | 1931 1932 .max_register = WM5102_MAX_REGISTER, 1933 .readable_reg = wm5102_readable_register, 1934 .volatile_reg = wm5102_volatile_register, 1935 1936 .cache_type = REGCACHE_RBTREE, 1937 .reg_defaults = wm5102_reg_default, 1938 .num_reg_defaults = ARRAY_SIZE(wm5102_reg_default), 1939}; 1940EXPORT_SYMBOL_GPL(wm5102_spi_regmap); 1941 1942const struct regmap_config wm5102_i2c_regmap = { 1943 .reg_bits = 32, 1944 .val_bits = 16, |
1945 .reg_format_endian = REGMAP_ENDIAN_BIG, 1946 .val_format_endian = REGMAP_ENDIAN_BIG, |
|
1943 1944 .max_register = WM5102_MAX_REGISTER, 1945 .readable_reg = wm5102_readable_register, 1946 .volatile_reg = wm5102_volatile_register, 1947 1948 .cache_type = REGCACHE_RBTREE, 1949 .reg_defaults = wm5102_reg_default, 1950 .num_reg_defaults = ARRAY_SIZE(wm5102_reg_default), 1951}; 1952EXPORT_SYMBOL_GPL(wm5102_i2c_regmap); | 1947 1948 .max_register = WM5102_MAX_REGISTER, 1949 .readable_reg = wm5102_readable_register, 1950 .volatile_reg = wm5102_volatile_register, 1951 1952 .cache_type = REGCACHE_RBTREE, 1953 .reg_defaults = wm5102_reg_default, 1954 .num_reg_defaults = ARRAY_SIZE(wm5102_reg_default), 1955}; 1956EXPORT_SYMBOL_GPL(wm5102_i2c_regmap); |