ASoC: fsl_ssi: Switch to SPDX identifier
Subsystems (3)
Fabio Estevam
reviewerPATCH v2 1/4 ASoC: fsl_ssi: Switch to SPDX identifier
From: Fabio Estevam <[email protected]>
Adopt the SPDX license identifier headers to ease license compliance management.
---
Changes since v1:
- Retain the copyright statements in fsl_ssi.h (Timur)
sound/soc/fsl/fsl_ssi.c | 57 +++++++++++++++++++++------------------------ sound/soc/fsl/fsl_ssi.h | 6 ++--- sound/soc/fsl/fsl_ssi_dbg.c | 18 ++++++-------- 3 files changed, 35 insertions(+), 46 deletions(-)
sound/soc/fsl/fsl_ssi.c +26 -31
@@ -1,34 +1,29 @@ -/* -* Freescale SSI ALSA SoC Digital Audio Interface (DAI) driver -* -* Author: Timur Tabi <[email protected]> -* -* 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 -* kind, whether express or implied. -* -* -* Some notes why imx-pcm-fiq is used instead of DMA on some boards: -* -* 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 -* one FIFO which combines all valid receive slots. We cannot even select -* which slots we want to receive. The WM9712 with which this driver -* was developed with always sends GPIO status data in slot 12 which -* we receive in our (PCM-) data stream. The only chance we have is to -* manually skip this data in the FIQ handler. With sampling rates different -* from 48000Hz not every frame has valid receive data, so the ratio -* between pcm data and GPIO status data changes. Our FIQ handler is not -* able to handle this, hence this driver only works with 48000Hz sampling -* rate. -* Reading and writing AC97 registers is another challenge. The core -* 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. -*/ +// SPDX-License-Identifier: GPL-2.0 +// +// Freescale SSI ALSA SoC Digital Audio Interface (DAI) driver +// +// Author: Timur Tabi <[email protected]> +// +// Copyright 2007-2010 Freescale Semiconductor, Inc. +// +// Some notes why imx-pcm-fiq is used instead of DMA on some boards: +// +// 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 +// one FIFO which combines all valid receive slots. We cannot even select +// which slots we want to receive. The WM9712 with which this driver +// was developed with always sends GPIO status data in slot 12 which +// we receive in our (PCM-) data stream. The only chance we have is to +// manually skip this data in the FIQ handler. With sampling rates different +// from 48000Hz not every frame has valid receive data, so the ratio +// between pcm data and GPIO status data changes. Our FIQ handler is not +// able to handle this, hence this driver only works with 48000Hz sampling +// rate. +// Reading and writing AC97 registers is another challenge. The core +// 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/io.h>
sound/soc/fsl/fsl_ssi.h +2 -4
@@ -1,12 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * fsl_ssi.h - ALSA SSI interface for the Freescale MPC8610 and i.MX SoC * * Author: Timur Tabi <[email protected]> * -* Copyright 2007-2008 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 kind, whether -* express or implied. +* Copyright 2007-2008 Freescale Semiconductor, Inc. */ #ifndef _MPC8610_I2S_H
sound/soc/fsl/fsl_ssi_dbg.c +7 -11
@@ -1,14 +1,10 @@ -/* -* Freescale SSI ALSA SoC Digital Audio Interface (DAI) debugging functions -* -* Copyright 2014 Markus Pargmann <[email protected]>, Pengutronix -* -* Splitted 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. -*/ +// SPDX-License-Identifier: GPL-2.0 +// +// Freescale SSI ALSA SoC Digital Audio Interface (DAI) debugging functions +// +// Copyright 2014 Markus Pargmann <[email protected]>, Pengutronix +// +// Split from fsl_ssi.c #include <linux/debugfs.h> #include <linux/device.h>
Signature · 1 line
2.7.4
Fabio Estevam
reviewerPATCH v2 2/4 ASoC: fsl_sai: Switch to SPDX identifier
From: Fabio Estevam <[email protected]>
Adopt the SPDX license identifier headers to ease license compliance management.
---
Changes since v1:
- None
sound/soc/fsl/fsl_sai.c | 16 +++++----------- sound/soc/fsl/fsl_sai.h | 5 +---- 2 files changed, 6 insertions(+), 15 deletions(-)
sound/soc/fsl/fsl_sai.c +5 -11
@@ -1,14 +1,8 @@ -/* -* Freescale ALSA SoC Digital Audio Interface (SAI) driver. -* -* Copyright 2012-2015 Freescale Semiconductor, Inc. -* -* This program is free software, you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation, either version 2 of the License, or(at your -* option) any later version. -* -*/ +// SPDX-License-Identifier: GPL-2.0+ +// +// Freescale ALSA SoC Digital Audio Interface (SAI) driver. +// +// Copyright 2012-2015 Freescale Semiconductor, Inc. #include <linux/clk.h> #include <linux/delay.h>
sound/soc/fsl/fsl_sai.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2012-2013 Freescale Semiconductor, Inc. -* -* 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 -* published by the Free Software Foundation. */ #ifndef __FSL_SAI_H
Signature · 1 line
2.7.4
Fabio Estevam
reviewerPATCH v2 3/4 ASoC: fsl_esai: Switch to SPDX identifier
In reply to Fabio EstevamFrom: Fabio Estevam <[email protected]>
Adopt the SPDX license identifier headers to ease license compliance management.
---
Changes since v1:
- None
sound/soc/fsl/fsl_esai.c | 14 +++++--------- sound/soc/fsl/fsl_esai.h | 5 +---- 2 files changed, 6 insertions(+), 13 deletions(-)
sound/soc/fsl/fsl_esai.c +5 -9
@@ -1,12 +1,8 @@ -/* -* Freescale ESAI ALSA SoC Digital Audio Interface (DAI) driver -* -* Copyright (C) 2014 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 -* kind, whether express or implied. -*/ +// SPDX-License-Identifier: GPL-2.0 +// +// Freescale ESAI ALSA SoC Digital Audio Interface (DAI) driver +// +// Copyright (C) 2014 Freescale Semiconductor, Inc. #include <linux/clk.h> #include <linux/dmaengine.h>
sound/soc/fsl/fsl_esai.h +1 -4
@@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * fsl_esai.h - ALSA ESAI interface for the Freescale i.MX SoC * * Copyright (C) 2014 Freescale Semiconductor, Inc. * * Author: Nicolin Chen <[email protected]> -* -* 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. */ #ifndef _FSL_ESAI_DAI_H
Signature · 1 line
2.7.4
Fabio Estevam
reviewerPATCH v2 4/4 ASoC: fsl_spdif: Switch to SPDX identifier
In reply to Fabio EstevamFrom: Fabio Estevam <[email protected]>
Adopt the SPDX license identifier headers to ease license compliance management.
---
Changes since v1:
- None
sound/soc/fsl/fsl_spdif.c | 24 ++++++++++-------------- sound/soc/fsl/fsl_spdif.h | 5 +---- 2 files changed, 11 insertions(+), 18 deletions(-)
sound/soc/fsl/fsl_spdif.c +10 -14
@@ -1,17 +1,13 @@ -/* -* Freescale S/PDIF ALSA SoC Digital Audio Interface (DAI) driver -* -* Copyright (C) 2013 Freescale Semiconductor, Inc. -* -* Based on stmp3xxx_spdif_dai.c -* Vladimir Barinov <[email protected]> -* Copyright 2008 SigmaTel, Inc -* Copyright 2008 Embedded Alley Solutions, 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 -* kind, whether express or implied. -*/ +// SPDX-License-Identifier: GPL-2.0 +// +// Freescale S/PDIF ALSA SoC Digital Audio Interface (DAI) driver +// +// Copyright (C) 2013 Freescale Semiconductor, Inc. +// +// Based on stmp3xxx_spdif_dai.c +// Vladimir Barinov <[email protected]> +// Copyright 2008 SigmaTel, Inc +// Copyright 2008 Embedded Alley Solutions, Inc #include <linux/bitrev.h> #include <linux/clk.h>
sound/soc/fsl/fsl_spdif.h +1 -4
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * fsl_spdif.h - ALSA S/PDIF interface for the Freescale i.MX SoC *
@@ -8,10 +9,6 @@* Based on fsl_ssi.h * Author: Timur Tabi <[email protected]> * Copyright 2007-2008 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 -* kind, whether express or implied. */ #ifndef _FSL_SPDIF_DAI_H
Signature · 1 line
2.7.4
Mark Brown
maintainerApplied "ASoC: fsl_ssi: Switch to SPDX identifier" to the asoc tree
In reply to Fabio EstevamThe patch
ASoC: fsl_ssi: Switch to SPDX identifier
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
0eb6048f7a978f446367550974f3d1cb4b47262cMon Sep 17 00:00:00 2001
From: Fabio Estevam <[email protected]>
Date: Tue, 1 May 2018 09:20:40 -0300
Subject: [PATCH] ASoC: fsl_ssi: Switch to SPDX identifier
Adopt the SPDX license identifier headers to ease license compliance management.
--- sound/soc/fsl/fsl_ssi.c | 57 +++++++++++++++++-------------------- sound/soc/fsl/fsl_ssi.h | 6 ++-- sound/soc/fsl/fsl_ssi_dbg.c | 18 +++++------- 3 files changed, 35 insertions(+), 46 deletions(-)
sound/soc/fsl/fsl_ssi.c +26 -31
@@ -1,34 +1,29 @@ -/* -* Freescale SSI ALSA SoC Digital Audio Interface (DAI) driver -* -* Author: Timur Tabi <[email protected]> -* -* 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 -* kind, whether express or implied. -* -* -* Some notes why imx-pcm-fiq is used instead of DMA on some boards: -* -* 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 -* one FIFO which combines all valid receive slots. We cannot even select -* which slots we want to receive. The WM9712 with which this driver -* was developed with always sends GPIO status data in slot 12 which -* we receive in our (PCM-) data stream. The only chance we have is to -* manually skip this data in the FIQ handler. With sampling rates different -* from 48000Hz not every frame has valid receive data, so the ratio -* between pcm data and GPIO status data changes. Our FIQ handler is not -* able to handle this, hence this driver only works with 48000Hz sampling -* rate. -* Reading and writing AC97 registers is another challenge. The core -* 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. -*/ +// SPDX-License-Identifier: GPL-2.0 +// +// Freescale SSI ALSA SoC Digital Audio Interface (DAI) driver +// +// Author: Timur Tabi <[email protected]> +// +// Copyright 2007-2010 Freescale Semiconductor, Inc. +// +// Some notes why imx-pcm-fiq is used instead of DMA on some boards: +// +// 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 +// one FIFO which combines all valid receive slots. We cannot even select +// which slots we want to receive. The WM9712 with which this driver +// was developed with always sends GPIO status data in slot 12 which +// we receive in our (PCM-) data stream. The only chance we have is to +// manually skip this data in the FIQ handler. With sampling rates different +// from 48000Hz not every frame has valid receive data, so the ratio +// between pcm data and GPIO status data changes. Our FIQ handler is not +// able to handle this, hence this driver only works with 48000Hz sampling +// rate. +// Reading and writing AC97 registers is another challenge. The core +// 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/io.h>
sound/soc/fsl/fsl_ssi.h +2 -4
@@ -1,12 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * fsl_ssi.h - ALSA SSI interface for the Freescale MPC8610 and i.MX SoC * * Author: Timur Tabi <[email protected]> * -* Copyright 2007-2008 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 kind, whether -* express or implied. +* Copyright 2007-2008 Freescale Semiconductor, Inc. */ #ifndef _MPC8610_I2S_H
sound/soc/fsl/fsl_ssi_dbg.c +7 -11
@@ -1,14 +1,10 @@ -/* -* Freescale SSI ALSA SoC Digital Audio Interface (DAI) debugging functions -* -* Copyright 2014 Markus Pargmann <[email protected]>, Pengutronix -* -* Splitted 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. -*/ +// SPDX-License-Identifier: GPL-2.0 +// +// Freescale SSI ALSA SoC Digital Audio Interface (DAI) debugging functions +// +// Copyright 2014 Markus Pargmann <[email protected]>, Pengutronix +// +// Split from fsl_ssi.c #include <linux/debugfs.h> #include <linux/device.h>
Signature · 1 line
2.17.0