aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm5102-tables.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/wm5102-tables.c')
-rw-r--r--drivers/mfd/wm5102-tables.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c
index bffc584e4a43..070f8cfbbd7a 100644
--- a/drivers/mfd/wm5102-tables.c
+++ b/drivers/mfd/wm5102-tables.c
@@ -73,6 +73,7 @@ static const struct reg_default wm5102_revb_patch[] = {
73 { 0x171, 0x0000 }, 73 { 0x171, 0x0000 },
74 { 0x35E, 0x000C }, 74 { 0x35E, 0x000C },
75 { 0x2D4, 0x0000 }, 75 { 0x2D4, 0x0000 },
76 { 0x4DC, 0x0900 },
76 { 0x80, 0x0000 }, 77 { 0x80, 0x0000 },
77}; 78};
78 79
@@ -1839,6 +1840,23 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg)
1839 case ARIZONA_DSP1_STATUS_1: 1840 case ARIZONA_DSP1_STATUS_1:
1840 case ARIZONA_DSP1_STATUS_2: 1841 case ARIZONA_DSP1_STATUS_2:
1841 case ARIZONA_DSP1_STATUS_3: 1842 case ARIZONA_DSP1_STATUS_3:
1843 case ARIZONA_DSP1_WDMA_BUFFER_1:
1844 case ARIZONA_DSP1_WDMA_BUFFER_2:
1845 case ARIZONA_DSP1_WDMA_BUFFER_3:
1846 case ARIZONA_DSP1_WDMA_BUFFER_4:
1847 case ARIZONA_DSP1_WDMA_BUFFER_5:
1848 case ARIZONA_DSP1_WDMA_BUFFER_6:
1849 case ARIZONA_DSP1_WDMA_BUFFER_7:
1850 case ARIZONA_DSP1_WDMA_BUFFER_8:
1851 case ARIZONA_DSP1_RDMA_BUFFER_1:
1852 case ARIZONA_DSP1_RDMA_BUFFER_2:
1853 case ARIZONA_DSP1_RDMA_BUFFER_3:
1854 case ARIZONA_DSP1_RDMA_BUFFER_4:
1855 case ARIZONA_DSP1_RDMA_BUFFER_5:
1856 case ARIZONA_DSP1_RDMA_BUFFER_6:
1857 case ARIZONA_DSP1_WDMA_CONFIG_1:
1858 case ARIZONA_DSP1_WDMA_CONFIG_2:
1859 case ARIZONA_DSP1_RDMA_CONFIG_1:
1842 case ARIZONA_DSP1_SCRATCH_0: 1860 case ARIZONA_DSP1_SCRATCH_0:
1843 case ARIZONA_DSP1_SCRATCH_1: 1861 case ARIZONA_DSP1_SCRATCH_1:
1844 case ARIZONA_DSP1_SCRATCH_2: 1862 case ARIZONA_DSP1_SCRATCH_2:
@@ -1894,9 +1912,27 @@ static bool wm5102_volatile_register(struct device *dev, unsigned int reg)
1894 case ARIZONA_AOD_IRQ1: 1912 case ARIZONA_AOD_IRQ1:
1895 case ARIZONA_AOD_IRQ2: 1913 case ARIZONA_AOD_IRQ2:
1896 case ARIZONA_AOD_IRQ_RAW_STATUS: 1914 case ARIZONA_AOD_IRQ_RAW_STATUS:
1915 case ARIZONA_DSP1_CLOCKING_1:
1897 case ARIZONA_DSP1_STATUS_1: 1916 case ARIZONA_DSP1_STATUS_1:
1898 case ARIZONA_DSP1_STATUS_2: 1917 case ARIZONA_DSP1_STATUS_2:
1899 case ARIZONA_DSP1_STATUS_3: 1918 case ARIZONA_DSP1_STATUS_3:
1919 case ARIZONA_DSP1_WDMA_BUFFER_1:
1920 case ARIZONA_DSP1_WDMA_BUFFER_2:
1921 case ARIZONA_DSP1_WDMA_BUFFER_3:
1922 case ARIZONA_DSP1_WDMA_BUFFER_4:
1923 case ARIZONA_DSP1_WDMA_BUFFER_5:
1924 case ARIZONA_DSP1_WDMA_BUFFER_6:
1925 case ARIZONA_DSP1_WDMA_BUFFER_7:
1926 case ARIZONA_DSP1_WDMA_BUFFER_8:
1927 case ARIZONA_DSP1_RDMA_BUFFER_1:
1928 case ARIZONA_DSP1_RDMA_BUFFER_2:
1929 case ARIZONA_DSP1_RDMA_BUFFER_3:
1930 case ARIZONA_DSP1_RDMA_BUFFER_4:
1931 case ARIZONA_DSP1_RDMA_BUFFER_5:
1932 case ARIZONA_DSP1_RDMA_BUFFER_6:
1933 case ARIZONA_DSP1_WDMA_CONFIG_1:
1934 case ARIZONA_DSP1_WDMA_CONFIG_2:
1935 case ARIZONA_DSP1_RDMA_CONFIG_1:
1900 case ARIZONA_DSP1_SCRATCH_0: 1936 case ARIZONA_DSP1_SCRATCH_0:
1901 case ARIZONA_DSP1_SCRATCH_1: 1937 case ARIZONA_DSP1_SCRATCH_1:
1902 case ARIZONA_DSP1_SCRATCH_2: 1938 case ARIZONA_DSP1_SCRATCH_2: