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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/sound/axentia,tse850-pcm5142.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 ] ~

  1 Devicetree bindings for the Axentia TSE-850 audio complex
  2 
  3 Required properties:
  4   - compatible: "axentia,tse850-pcm5142"
  5   - axentia,cpu-dai: The phandle of the cpu dai.
  6   - axentia,audio-codec: The phandle of the PCM5142 codec.
  7   - axentia,add-gpios: gpio specifier that controls the mixer.
  8   - axentia,loop1-gpios: gpio specifier that controls loop relays on channel 1.
  9   - axentia,loop2-gpios: gpio specifier that controls loop relays on channel 2.
 10   - axentia,ana-supply: Regulator that supplies the output amplifier. Must
 11     support voltages in the 2V - 20V range, in 1V steps.
 12 
 13 The schematics explaining the gpios are as follows:
 14 
 15                loop1 relays
 16    IN1 +---o  +------------+  o---+ OUT1
 17             \                /
 18              +              +
 19              |   /          |
 20              +--o  +--.     |
 21              |  add   |     |
 22              |        V     |
 23              |      .---.   |
 24    DAC +----------->|Sum|---+
 25              |      '---'   |
 26              |              |
 27              +              +
 28 
 29    IN2 +---o--+------------+--o---+ OUT2
 30                loop2 relays
 31 
 32 The 'loop1' gpio pin controls two relays, which are either in loop position,
 33 meaning that input and output are directly connected, or they are in mixer
 34 position, meaning that the signal is passed through the 'Sum' mixer. Similarly
 35 for 'loop2'.
 36 
 37 In the above, the 'loop1' relays are inactive, thus feeding IN1 to the mixer
 38 (if 'add' is active) and feeding the mixer output to OUT1. The 'loop2' relays
 39 are active, short-cutting the TSE-850 from channel 2. IN1, IN2, OUT1 and OUT2
 40 are TSE-850 connectors and DAC is the PCB name of the (filtered) output from
 41 the PCM5142 codec.
 42 
 43 Example:
 44 
 45         &ssc0 {
 46                 #sound-dai-cells = <0>;
 47 
 48         };
 49 
 50         &i2c {
 51                 codec: pcm5142@4c {
 52                         compatible = "ti,pcm5142";
 53 
 54                         reg = <0x4c>;
 55 
 56                         AVDD-supply = <&reg_3v3>;
 57                         DVDD-supply = <&reg_3v3>;
 58                         CPVDD-supply = <&reg_3v3>;
 59 
 60                         clocks = <&sck>;
 61 
 62                         pll-in = <3>;
 63                         pll-out = <6>;
 64                 };
 65         };
 66 
 67         ana: ana-reg {
 68                 compatible = "pwm-regulator";
 69 
 70                 regulator-name = "ANA";
 71 
 72                 pwms = <&pwm0 2 1000 PWM_POLARITY_INVERTED>;
 73                 pwm-dutycycle-unit = <1000>;
 74                 pwm-dutycycle-range = <100 1000>;
 75 
 76                 regulator-min-microvolt = <2000000>;
 77                 regulator-max-microvolt = <20000000>;
 78                 regulator-ramp-delay = <1000>;
 79         };
 80 
 81         sound {
 82                 compatible = "axentia,tse850-pcm5142";
 83 
 84                 axentia,cpu-dai = <&ssc0>;
 85                 axentia,audio-codec = <&codec>;
 86 
 87                 axentia,add-gpios = <&pioA 8 GPIO_ACTIVE_LOW>;
 88                 axentia,loop1-gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
 89                 axentia,loop2-gpios = <&pioA 11 GPIO_ACTIVE_LOW>;
 90 
 91                 axentia,ana-supply = <&ana>;
 92         };

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