ASoC: fsl_ssi: Switch to SPDX identifier
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:

committed by
Mark Brown

parent
783ec5e99a
commit
0eb6048f7a
@@ -1,34 +1,29 @@
|
|||||||
/*
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
* Freescale SSI ALSA SoC Digital Audio Interface (DAI) driver
|
//
|
||||||
*
|
// Freescale SSI ALSA SoC Digital Audio Interface (DAI) driver
|
||||||
* Author: Timur Tabi <timur@freescale.com>
|
//
|
||||||
*
|
// Author: Timur Tabi <timur@freescale.com>
|
||||||
* Copyright 2007-2010 Freescale Semiconductor, Inc.
|
//
|
||||||
*
|
// Copyright 2007-2010 Freescale Semiconductor, Inc.
|
||||||
* This file is licensed under the terms of the GNU General Public License
|
//
|
||||||
* version 2. This program is licensed "as is" without any warranty of any
|
// Some notes why imx-pcm-fiq is used instead of DMA on some boards:
|
||||||
* kind, whether express or implied.
|
//
|
||||||
*
|
// The i.MX SSI core has some nasty limitations in AC97 mode. While most
|
||||||
*
|
// sane processor vendors have a FIFO per AC97 slot, the i.MX has only
|
||||||
* Some notes why imx-pcm-fiq is used instead of DMA on some boards:
|
// one FIFO which combines all valid receive slots. We cannot even select
|
||||||
*
|
// which slots we want to receive. The WM9712 with which this driver
|
||||||
* The i.MX SSI core has some nasty limitations in AC97 mode. While most
|
// was developed with always sends GPIO status data in slot 12 which
|
||||||
* sane processor vendors have a FIFO per AC97 slot, the i.MX has only
|
// we receive in our (PCM-) data stream. The only chance we have is to
|
||||||
* one FIFO which combines all valid receive slots. We cannot even select
|
// manually skip this data in the FIQ handler. With sampling rates different
|
||||||
* which slots we want to receive. The WM9712 with which this driver
|
// from 48000Hz not every frame has valid receive data, so the ratio
|
||||||
* was developed with always sends GPIO status data in slot 12 which
|
// between pcm data and GPIO status data changes. Our FIQ handler is not
|
||||||
* we receive in our (PCM-) data stream. The only chance we have is to
|
// able to handle this, hence this driver only works with 48000Hz sampling
|
||||||
* manually skip this data in the FIQ handler. With sampling rates different
|
// rate.
|
||||||
* from 48000Hz not every frame has valid receive data, so the ratio
|
// Reading and writing AC97 registers is another challenge. The core
|
||||||
* between pcm data and GPIO status data changes. Our FIQ handler is not
|
// provides us status bits when the read register is updated with *another*
|
||||||
* able to handle this, hence this driver only works with 48000Hz sampling
|
// value. When we read the same register two times (and the register still
|
||||||
* rate.
|
// contains the same value) these status bits are not set. We work
|
||||||
* Reading and writing AC97 registers is another challenge. The core
|
// around this by not polling these bits but only wait a fixed delay.
|
||||||
* provides us status bits when the read register is updated with *another*
|
|
||||||
* value. When we read the same register two times (and the register still
|
|
||||||
* contains the same value) these status bits are not set. We work
|
|
||||||
* around this by not polling these bits but only wait a fixed delay.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
|
@@ -1,12 +1,10 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||||||
/*
|
/*
|
||||||
* fsl_ssi.h - ALSA SSI interface for the Freescale MPC8610 and i.MX SoC
|
* fsl_ssi.h - ALSA SSI interface for the Freescale MPC8610 and i.MX SoC
|
||||||
*
|
*
|
||||||
* Author: Timur Tabi <timur@freescale.com>
|
* Author: Timur Tabi <timur@freescale.com>
|
||||||
*
|
*
|
||||||
* Copyright 2007-2008 Freescale Semiconductor, Inc. This file is licensed
|
* Copyright 2007-2008 Freescale Semiconductor, Inc.
|
||||||
* under the terms of the GNU General Public License version 2. This
|
|
||||||
* program is licensed "as is" without any warranty of any kind, whether
|
|
||||||
* express or implied.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _MPC8610_I2S_H
|
#ifndef _MPC8610_I2S_H
|
||||||
|
@@ -1,14 +1,10 @@
|
|||||||
/*
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
* Freescale SSI ALSA SoC Digital Audio Interface (DAI) debugging functions
|
//
|
||||||
*
|
// Freescale SSI ALSA SoC Digital Audio Interface (DAI) debugging functions
|
||||||
* Copyright 2014 Markus Pargmann <mpa@pengutronix.de>, Pengutronix
|
//
|
||||||
*
|
// Copyright 2014 Markus Pargmann <mpa@pengutronix.de>, Pengutronix
|
||||||
* Splitted from fsl_ssi.c
|
//
|
||||||
*
|
// Split from fsl_ssi.c
|
||||||
* This file is licensed under the terms of the GNU General Public License
|
|
||||||
* version 2. This program is licensed "as is" without any warranty of any
|
|
||||||
* kind, whether express or implied.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <linux/debugfs.h>
|
#include <linux/debugfs.h>
|
||||||
#include <linux/device.h>
|
#include <linux/device.h>
|
||||||
|
Reference in New Issue
Block a user