Commit 1b3b7981 authored by Peter Rosin's avatar Peter Rosin Committed by Mark Brown

ASoC: atmel: tse850: switch to SPDX license identifier

Convert to // comments in the leading comment, drop the boilerplate
license text and use the correct MODULE_LICENSE.
Signed-off-by: default avatarPeter Rosin <peda@axentia.se>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a1b1e988
/* // SPDX-License-Identifier: GPL-2.0
* TSE-850 audio - ASoC driver for the Axentia TSE-850 with a PCM5142 codec //
* // TSE-850 audio - ASoC driver for the Axentia TSE-850 with a PCM5142 codec
* Copyright (C) 2016 Axentia Technologies AB //
* // Copyright (C) 2016 Axentia Technologies AB
* Author: Peter Rosin <peda@axentia.se> //
* // Author: Peter Rosin <peda@axentia.se>
* This program is free software; you can redistribute it and/or modify //
* it under the terms of the GNU General Public License version 2 as // loop1 relays
* published by the Free Software Foundation. // IN1 +---o +------------+ o---+ OUT1
*/ // \ /
// + +
/* // | / |
* loop1 relays // +--o +--. |
* IN1 +---o +------------+ o---+ OUT1 // | add | |
* \ / // | V |
* + + // | .---. |
* | / | // DAC +----------->|Sum|---+
* +--o +--. | // | '---' |
* | add | | // | |
* | V | // + +
* | .---. | //
* DAC +----------->|Sum|---+ // IN2 +---o--+------------+--o---+ OUT2
* | '---' | // loop2 relays
* | | //
* + + // The 'loop1' gpio pin controlls two relays, which are either in loop
* // position, meaning that input and output are directly connected, or
* IN2 +---o--+------------+--o---+ OUT2 // they are in mixer position, meaning that the signal is passed through
* loop2 relays // the 'Sum' mixer. Similarly for 'loop2'.
* //
* The 'loop1' gpio pin controlls two relays, which are either in loop // In the above, the 'loop1' relays are inactive, thus feeding IN1 to the
* position, meaning that input and output are directly connected, or // mixer (if 'add' is active) and feeding the mixer output to OUT1. The
* they are in mixer position, meaning that the signal is passed through // 'loop2' relays are active, short-cutting the TSE-850 from channel 2.
* the 'Sum' mixer. Similarly for 'loop2'. // IN1, IN2, OUT1 and OUT2 are TSE-850 connectors and DAC is the PCB name
* // of the (filtered) output from the PCM5142 codec.
* In the above, the 'loop1' relays are inactive, thus feeding IN1 to the
* mixer (if 'add' is active) and feeding the mixer output to OUT1. The
* 'loop2' relays are active, short-cutting the TSE-850 from channel 2.
* IN1, IN2, OUT1 and OUT2 are TSE-850 connectors and DAC is the PCB name
* of the (filtered) output from the PCM5142 codec.
*/
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/gpio.h> #include <linux/gpio.h>
...@@ -452,4 +446,4 @@ module_platform_driver(tse850_driver); ...@@ -452,4 +446,4 @@ module_platform_driver(tse850_driver);
/* Module information */ /* Module information */
MODULE_AUTHOR("Peter Rosin <peda@axentia.se>"); MODULE_AUTHOR("Peter Rosin <peda@axentia.se>");
MODULE_DESCRIPTION("ALSA SoC driver for TSE-850 with PCM5142 codec"); MODULE_DESCRIPTION("ALSA SoC driver for TSE-850 with PCM5142 codec");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL v2");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment