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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/rt5663.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/sound/rt5663.txt (Architecture sparc64) and /Documentation/devicetree/bindings/sound/rt5663.txt (Architecture m68k)


  1 RT5663 audio CODEC                                  1 RT5663 audio CODEC
  2                                                     2 
  3 This device supports I2C only.                      3 This device supports I2C only.
  4                                                     4 
  5 Required properties:                                5 Required properties:
  6                                                     6 
  7 - compatible : "realtek,rt5663".                    7 - compatible : "realtek,rt5663".
  8                                                     8 
  9 - reg : The I2C address of the device.              9 - reg : The I2C address of the device.
 10                                                    10 
 11 - interrupts : The CODEC's interrupt output.       11 - interrupts : The CODEC's interrupt output.
 12                                                    12 
 13 - avdd-supply: Power supply for AVDD, providin     13 - avdd-supply: Power supply for AVDD, providing 1.8V.
 14                                                    14 
 15 - cpvdd-supply: Power supply for CPVDD, provid     15 - cpvdd-supply: Power supply for CPVDD, providing 3.5V.
 16                                                    16 
 17 Optional properties:                               17 Optional properties:
 18                                                    18 
 19 - "realtek,dc_offset_l_manual"                     19 - "realtek,dc_offset_l_manual"
 20 - "realtek,dc_offset_r_manual"                     20 - "realtek,dc_offset_r_manual"
 21 - "realtek,dc_offset_l_manual_mic"                 21 - "realtek,dc_offset_l_manual_mic"
 22 - "realtek,dc_offset_r_manual_mic"                 22 - "realtek,dc_offset_r_manual_mic"
 23   Based on the different PCB layout, add the m     23   Based on the different PCB layout, add the manual offset value to
 24   compensate the DC offset for each L and R ch     24   compensate the DC offset for each L and R channel, and they are different
 25   between headphone and headset.                   25   between headphone and headset.
 26 - "realtek,impedance_sensing_num"                  26 - "realtek,impedance_sensing_num"
 27   The matrix row number of the impedance sensi     27   The matrix row number of the impedance sensing table.
 28   If the value is 0, it means the impedance se     28   If the value is 0, it means the impedance sensing is not supported.
 29 - "realtek,impedance_sensing_table"                29 - "realtek,impedance_sensing_table"
 30   The matrix rows of the impedance sensing tab     30   The matrix rows of the impedance sensing table are consisted by impedance
 31   minimum, impedance maximum, volume, DC offse     31   minimum, impedance maximum, volume, DC offset w/o and w/ mic of each L and
 32   R channel accordingly. Example is shown as f     32   R channel accordingly. Example is shown as following.
 33   <   0    300  7  0xffd160  0xffd1c0  0xff8a1     33   <   0    300  7  0xffd160  0xffd1c0  0xff8a10  0xff8ab0
 34     301  65535  4  0xffe470  0xffe470  0xffb8e     34     301  65535  4  0xffe470  0xffe470  0xffb8e0  0xffb8e0>
 35   The first and second column are defined for      35   The first and second column are defined for the impedance range. If the
 36   detected impedance value is in the range, th     36   detected impedance value is in the range, then the volume value of the
 37   third column will be set to codec. In our co     37   third column will be set to codec. In our codec design, each volume value
 38   should compensate different DC offset to avo     38   should compensate different DC offset to avoid the pop sound, and it is
 39   also different between headphone and headset     39   also different between headphone and headset. In the example, the
 40   "realtek,impedance_sensing_num" is 2. It mea     40   "realtek,impedance_sensing_num" is 2. It means that there are 2 ranges of
 41   impedance in the impedance sensing function.     41   impedance in the impedance sensing function.
 42                                                    42 
 43 Pins on the device (for linking into audio rou     43 Pins on the device (for linking into audio routes) for RT5663:
 44                                                    44 
 45   * IN1P                                           45   * IN1P
 46   * IN1N                                           46   * IN1N
 47   * IN2P                                           47   * IN2P
 48   * IN2N                                           48   * IN2N
 49   * HPOL                                           49   * HPOL
 50   * HPOR                                           50   * HPOR
 51                                                    51 
 52 Example:                                           52 Example:
 53                                                    53 
 54 rt5663: codec@12 {                                 54 rt5663: codec@12 {
 55         compatible = "realtek,rt5663";             55         compatible = "realtek,rt5663";
 56         reg = <0x12>;                              56         reg = <0x12>;
 57         interrupts = <7 IRQ_TYPE_EDGE_FALLING>     57         interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
 58         avdd-supply = <&pp1800_a_alc5662>;         58         avdd-supply = <&pp1800_a_alc5662>;
 59         cpvdd-supply = <&pp3500_a_alc5662>;        59         cpvdd-supply = <&pp3500_a_alc5662>;
 60 };                                                 60 };
                                                      

~ [ 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