Commit eb50fd3a authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: greybus: add SPDX identifiers to all greybus driver files

It's good to have SPDX identifiers in all files to make it easier to
audit the kernel tree for correct licenses.

Update the drivers/staging/greybus files files with the correct SPDX
license identifier based on the license text in the file itself.  The
SPDX identifier is a legally binding shorthand, which can be used
instead of the full boiler plate text.

This work is based on a script and data from Thomas Gleixner, Philippe
Ombredanne, and Kate Stewart.

Cc: Vaibhav Hiremath <hvaibhav.linux@gmail.com>
Cc: "Bryan O'Donoghue" <pure.logic@nexus-software.ie>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Kate Stewart <kstewart@linuxfoundation.org>
Cc: Philippe Ombredanne <pombredanne@nexb.com>
Acked-by: default avatarVaibhav Agarwal <vaibhav.sr@gmail.com>
Acked-by: default avatarDavid Lin <dtwlin@gmail.com>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Acked-by: default avatarJohan Hovold <johan@kernel.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Acked-by: default avatarMark Greer <mgreer@animalcreek.com>
Acked-by: default avatarRui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7f5ce9dd
// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
/* /*
* Sample code to test CAP protocol * Sample code to test CAP protocol
* *
......
// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
/* /*
* Sample code to test firmware-management protocol * Sample code to test firmware-management protocol
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Arche Platform driver to control APB. * Arche Platform driver to control APB.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Arche Platform driver to enable Unipro link. * Arche Platform driver to enable Unipro link.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Arche Platform driver to enable Unipro link. * Arche Platform driver to enable Unipro link.
* *
......
// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
/* /*
* This file is provided under a dual BSD/GPLv2 license. When using or * This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license. * redistributing this file, you may do so under either license.
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Audio Device Class Protocol helpers * Greybus Audio Device Class Protocol helpers
* *
......
// SPDX-License-Identifier: BSD-3-Clause
/** /**
* Copyright (c) 2015-2016 Google Inc. * Copyright (c) 2015-2016 Google Inc.
* All rights reserved. * All rights reserved.
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* APBridge ALSA SoC dummy codec driver * APBridge ALSA SoC dummy codec driver
* Copyright 2016 Google Inc. * Copyright 2016 Google Inc.
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus audio driver * Greybus audio driver
* Copyright 2015 Google Inc. * Copyright 2015 Google Inc.
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Audio Device Class Protocol helpers * Greybus Audio Device Class Protocol helpers
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus operations * Greybus operations
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus operations * Greybus operations
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus operations * Greybus operations
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus operations * Greybus operations
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus operations * Greybus operations
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus audio driver * Greybus audio driver
* Copyright 2015 Google Inc. * Copyright 2015 Google Inc.
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus audio driver * Greybus audio driver
* Copyright 2015-2016 Google Inc. * Copyright 2015-2016 Google Inc.
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Component Authentication Protocol (CAP) Driver. * Greybus Component Authentication Protocol (CAP) Driver.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* BOOTROM Greybus driver. * BOOTROM Greybus driver.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus bundles * Greybus bundles
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus bundles * Greybus bundles
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Camera protocol driver. * Greybus Camera protocol driver.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus connections * Greybus connections
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus connections * Greybus connections
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus CPort control protocol. * Greybus CPort control protocol.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus CPort control protocol * Greybus CPort control protocol
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus "Core" * Greybus "Core"
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus debugfs code * Greybus debugfs code
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus "AP" USB driver for "ES2" controller chips * Greybus "AP" USB driver for "ES2" controller chips
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Firmware Management Header * Greybus Firmware Management Header
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Firmware Core Bundle Driver. * Greybus Firmware Core Bundle Driver.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Firmware Download Protocol Driver. * Greybus Firmware Download Protocol Driver.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Firmware Management Protocol Driver. * Greybus Firmware Management Protocol Driver.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Camera protocol driver. * Greybus Camera protocol driver.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Bridged-Phy Bus driver * Greybus Bridged-Phy Bus driver
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Bridged-Phy Bus driver * Greybus Bridged-Phy Bus driver
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* GPIO Greybus driver. * GPIO Greybus driver.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus driver and device API * Greybus driver and device API
* *
......
// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
/* /*
* Greybus Component Authentication User Header * Greybus Component Authentication User Header
* *
......
// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
/* /*
* Greybus Firmware Management User Header * Greybus Firmware Management User Header
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus manifest definition * Greybus manifest definition
* *
......
// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
/* /*
* This file is provided under a dual BSD/GPLv2 license. When using or * This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license. * redistributing this file, you may do so under either license.
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus driver and device API * Greybus driver and device API
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Host Device * Greybus Host Device
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Host Device * Greybus Host Device
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* HID class driver for the Greybus. * HID class driver for the Greybus.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* I2C bridge driver for the Greybus "generic" I2C module. * I2C bridge driver for the Greybus "generic" I2C module.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus interface code * Greybus interface code
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Interface Block code * Greybus Interface Block code
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Lights protocol driver. * Greybus Lights protocol driver.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus driver for the log protocol * Greybus driver for the log protocol
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Loopback bridge driver for the Greybus loopback module. * Loopback bridge driver for the Greybus loopback module.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus manifest parsing * Greybus manifest parsing
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus manifest parsing * Greybus manifest parsing
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Module code * Greybus Module code
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Module code * Greybus Module code
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus operations * Greybus operations
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus operations * Greybus operations
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Power Supply driver for a Greybus module. * Power Supply driver for a Greybus module.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* PWM Greybus driver. * PWM Greybus driver.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus driver for the Raw protocol * Greybus driver for the Raw protocol
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* SD/MMC Greybus driver. * SD/MMC Greybus driver.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* SPI bridge PHY driver. * SPI bridge PHY driver.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus SPI library * Greybus SPI library
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus SPI library header * Greybus SPI library header
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* SVC Greybus driver. * SVC Greybus driver.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus SVC code * Greybus SVC code
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* SVC Greybus "watchdog" driver. * SVC Greybus "watchdog" driver.
* *
......
#!/usr/bin/env python #!/usr/bin/env python
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2015 Google, Inc. # Copyright (c) 2015 Google, Inc.
# Copyright (c) 2015 Linaro, Ltd. # Copyright (c) 2015 Linaro, Ltd.
......
// SPDX-License-Identifier: BSD-3-Clause
/* /*
* Loopback test application * Loopback test application
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* UART driver for the Greybus "generic" UART module. * UART driver for the Greybus "generic" UART module.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* USB host driver for the Greybus "generic" USB module. * USB host driver for the Greybus "generic" USB module.
* *
......
// SPDX-License-Identifier: GPL-2.0
/* /*
* Greybus Vibrator protocol driver. * Greybus Vibrator protocol driver.
* *
......
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