drivers: migrate to SPDX identifier

Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea
2024-11-05 13:02:24 +01:00
committed by Xiang Xiao
parent f32f25c31e
commit 286d37026c
1066 changed files with 2227 additions and 222 deletions
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# drivers/power/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# drivers/power/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# drivers/power/battery/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# drivers/power/battery/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/battery/axp202.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/battery/battery_charger.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/battery/battery_gauge.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/battery/battery_monitor.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/battery/bq2425x.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/battery/bq2425x.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+6 -8
View File
@@ -1,14 +1,12 @@
/****************************************************************************
* drivers/power/battery/bq2429x.c
* Lower half driver for BQ2429x battery charger
*
* Copyright (C) 2017 Neil Hancock. All rights reserved.
*
* Copyright (C) 2017 Haltian Ltd. All rights reserved.
* Author: Juha Niskanen <juha.niskanen@haltian.com>
*
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
* SPDX-License-Identifier: BSD-3-Clause
* SPDX-FileCopyrightText: 2017 Neil Hancock. All rights reserved.
* SPDX-FileCopyrightText: 2017 Haltian Ltd. All rights reserved.
* SPDX-FileCopyrightText: 2016 Gregory Nutt. All rights reserved.
* SPDX-FileContributor: Gregory Nutt <gnutt@nuttx.org>
* SPDX-FileContributor: Juha Niskanen <juha.niskanen@haltian.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/battery/bq27426.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/battery/bq769x0.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/battery/goldfish_battery.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/battery/max1704x.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/battery/mcp73871.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# drivers/power/pm/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# drivers/power/pm/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/activity_governor.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/greedy_governor.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/pm.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/pm_activity.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/pm_autoupdate.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/pm_changestate.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/pm_checkstate.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/pm_governor.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/pm_idle.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/pm_initialize.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/pm_lock.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/pm_procfs.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/pm_register.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/pm_runtime.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/pm_unregister.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/pm/stability_governor.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# drivers/power/relay/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# drivers/power/relay/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/relay/relay.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/relay/relay_gpio.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# drivers/power/supply/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# drivers/power/supply/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/supply/act8945a.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/supply/powerled.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/supply/regulator.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/supply/regulator_gpio.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/supply/regulator_rpmsg.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* drivers/power/supply/smps.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The