~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/sound/soc/codecs/rt711-sdca-sdw.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /sound/soc/codecs/rt711-sdca-sdw.h (Version linux-6.11-rc3) and /sound/soc/codecs/rt711-sdca-sdw.h (Version linux-2.6.0)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 
  2 /*                                                
  3  * rt711-sdw-sdca.h -- RT711 SDCA ALSA SoC aud    
  4  *                                                
  5  * Copyright(c) 2021 Realtek Semiconductor Cor    
  6  */                                               
  7                                                   
  8 #ifndef __RT711_SDW_SDCA_H__                      
  9 #define __RT711_SDW_SDCA_H__                      
 10                                                   
 11 #include <linux/regmap.h>                         
 12 #include <linux/soundwire/sdw_registers.h>        
 13                                                   
 14 static const struct reg_default rt711_sdca_reg    
 15         { 0x201a, 0x00 },                         
 16         { 0x201e, 0x00 },                         
 17         { 0x201f, 0x00 },                         
 18         { 0x2020, 0x00 },                         
 19         { 0x2021, 0x00 },                         
 20         { 0x2022, 0x00 },                         
 21         { 0x2023, 0x00 },                         
 22         { 0x2024, 0x00 },                         
 23         { 0x2025, 0x01 },                         
 24         { 0x2026, 0x00 },                         
 25         { 0x2027, 0x00 },                         
 26         { 0x2029, 0x00 },                         
 27         { 0x202a, 0x00 },                         
 28         { 0x202d, 0x00 },                         
 29         { 0x202e, 0x00 },                         
 30         { 0x202f, 0x00 },                         
 31         { 0x2030, 0x00 },                         
 32         { 0x2031, 0x00 },                         
 33         { 0x2032, 0x00 },                         
 34         { 0x2033, 0x00 },                         
 35         { 0x2230, 0x00 },                         
 36         { 0x2231, 0x2f },                         
 37         { 0x2232, 0x80 },                         
 38         { 0x2233, 0x00 },                         
 39         { 0x2234, 0x00 },                         
 40         { 0x2235, 0x00 },                         
 41         { 0x2236, 0x00 },                         
 42         { 0x2237, 0x00 },                         
 43         { 0x2238, 0x00 },                         
 44         { 0x2239, 0x00 },                         
 45         { 0x2f01, 0x00 },                         
 46         { 0x2f02, 0x09 },                         
 47         { 0x2f03, 0x00 },                         
 48         { 0x2f04, 0x00 },                         
 49         { 0x2f05, 0x0b },                         
 50         { 0x2f06, 0x01 },                         
 51         { 0x2f08, 0x00 },                         
 52         { 0x2f09, 0x00 },                         
 53         { 0x2f0a, 0x00 },                         
 54         { 0x2f0b, 0x00 },                         
 55         { 0x2f0c, 0x00 },                         
 56         { 0x2f0d, 0x00 },                         
 57         { 0x2f0e, 0x14 },                         
 58         { 0x2f0f, 0x00 },                         
 59         { 0x2f50, 0x03 },                         
 60         { 0x2f5a, 0x00 },                         
 61         { SDW_SDCA_CTL(FUNC_NUM_JACK_CODEC, RT    
 62         { SDW_SDCA_CTL(FUNC_NUM_JACK_CODEC, RT    
 63         { SDW_SDCA_CTL(FUNC_NUM_JACK_CODEC, RT    
 64         { SDW_SDCA_CTL(FUNC_NUM_JACK_CODEC, RT    
 65         { SDW_SDCA_CTL(FUNC_NUM_JACK_CODEC, RT    
 66         { SDW_SDCA_CTL(FUNC_NUM_JACK_CODEC, RT    
 67         { SDW_SDCA_CTL(FUNC_NUM_MIC_ARRAY, RT7    
 68         { SDW_SDCA_CTL(FUNC_NUM_MIC_ARRAY, RT7    
 69 };                                                
 70                                                   
 71 static const struct reg_default rt711_sdca_mbq    
 72         { 0x2000009, 0x1029 },                    
 73         { 0x2000011, 0x007a },                    
 74         { 0x200001a, 0x8003 },                    
 75         { 0x2000045, 0x5289 },                    
 76         { 0x2000048, 0x8049 },                    
 77         { 0x200004a, 0xa83b },                    
 78         { 0x200006b, 0x5064 },                    
 79         { 0x200006f, 0x058b },                    
 80         { 0x5800000, 0x0008 },                    
 81         { 0x5800001, 0x0000 },                    
 82         { 0x5f00001, 0x000a },                    
 83         { 0x6100000, 0x6100 },                    
 84         { 0x6100035, 0x0060 },                    
 85         { 0x6100036, 0x0029 },                    
 86         { 0x610003f, 0xff12 },                    
 87         { SDW_SDCA_CTL(FUNC_NUM_JACK_CODEC, RT    
 88         { SDW_SDCA_CTL(FUNC_NUM_JACK_CODEC, RT    
 89         { SDW_SDCA_CTL(FUNC_NUM_MIC_ARRAY, RT7    
 90         { SDW_SDCA_CTL(FUNC_NUM_MIC_ARRAY, RT7    
 91         { SDW_SDCA_CTL(FUNC_NUM_JACK_CODEC, RT    
 92         { SDW_SDCA_CTL(FUNC_NUM_JACK_CODEC, RT    
 93         { SDW_SDCA_CTL(FUNC_NUM_JACK_CODEC, RT    
 94         { SDW_SDCA_CTL(FUNC_NUM_JACK_CODEC, RT    
 95         { SDW_SDCA_CTL(FUNC_NUM_MIC_ARRAY, RT7    
 96         { SDW_SDCA_CTL(FUNC_NUM_MIC_ARRAY, RT7    
 97 };                                                
 98                                                   
 99 #endif /* __RT711_SDW_SDCA_H__ */                 
100                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php