Commit Graph

61 Commits

Author SHA1 Message Date
Bradley Bolen 505c22ee79 MAINTAINERS.yml: Add myself as ARM collaborator
Currently the Cortex-R platform has no one watching over it.  Submitting
myself to help with the Cortex-R parts of the ARM architecture.

Signed-off-by: Bradley Bolen <bbolen@lexmark.com>
2021-05-26 14:11:45 -05:00
Ruibin Chang de384b4428 ITE MAINTAINERS: add section for ITE
Add section for ITE.

Signed-off-by: Ruibin Chang <ruibin.chang@ite.com.tw>
2021-05-17 09:14:33 -04:00
Carlo Caione 8eea9ebc3a MAINTAINERS: Add new ARM64 collaborator
Add Jaxson Han as new ARM64 collaborator and rework paths.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2021-05-12 07:49:21 -04:00
Siddharth Chandrasekaran 491fb7aa32 CODEOWNERS, MAINTAINERS.yml: Update github username
GitHub username @cbsiddharth was changed to @sidcha. Update CODEOWNERS
and MAINTAINERS.yml entries.

Signed-off-by: Siddharth Chandrasekaran <siddharth@embedjournal.com>
2021-05-11 12:59:25 -05:00
Gerard Marull-Paretas ef91546a51 tests: power: move to pm folder
Adjust naming to make things more consistent.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2021-05-05 18:35:49 -04:00
Gerard Marull-Paretas 605a3d1a8a samples: pm: move to pm folder
Adjust naming to make things more consistent.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2021-05-05 18:35:49 -04:00
Gerard Marull-Paretas 99cbee3f16 pm: move power subsystem to pm
Adjust naming to make things consistent.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2021-05-05 18:35:49 -04:00
Gerard Marull-Paretas 25bb163dc2 pm: reorganize headers
- Move PM related APIs to `include/pm` so that it follows API `pm_`
  prefix namespace. In order to make transition easier
  `include/power/power.h` is kept pointing to `include/pm/pm.h`.
- Move most of device PM related content from `include/device.h` to
  `include/pm/device.h` and `include/pm/runtime.h`.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2021-05-05 18:35:49 -04:00
Steve Winslow fd31b9b4ac west: spdx: Generate SPDX 2.2 tag-value documents
This adds support to generate SPDX 2.2 tag-value documents via the
new west spdx command. The CMake file-based APIs are leveraged to
create relationships from source files to the corresponding
generated build files. SPDX-License-Identifier comments in source
files are scanned and filled into the SPDX documents.

Before `west build` is run, a specific file must be created in the
build directory so that the CMake API reply will run. This can be
done by running:

    west spdx --init -d BUILD_DIR

After `west build` is run, SPDX generation is then activated by
calling `west spdx`; currently this requires passing the build
directory as a parameter again:

    west spdx -d BUILD_DIR

This will generate three SPDX documents in `BUILD_DIR/spdx/`:

1) `app.spdx`: This contains the bill-of-materials for the
application source files used for the build.

2) `zephyr.spdx`: This contains the bill-of-materials for the
specific Zephyr source code files that are used for the build.

3) `build.spdx`: This contains the bill-of-materials for the built
output files.

Each file in the bill-of-materials is scanned, so that its hashes
(SHA256 and SHA1) can be recorded, along with any detected licenses
if an `SPDX-License-Identifier` appears in the file.

SPDX Relationships are created to indicate dependencies between
CMake build targets; build targets that are linked together; and
source files that are compiled to generate the built library files.

`west spdx` can be called with optional parameters for further
configuration:

* `-n PREFIX`: specifies a prefix for the Document Namespaces that
will be included in the generated SPDX documents. See SPDX spec 2.2
section 2.5 at
https://spdx.github.io/spdx-spec/2-document-creation-information/.
If -n is omitted, a default namespace will be generated according
to the default format described in section 2.5 using a random UUID.

* `-s SPDX_DIR`: specifies an alternate directory where the SPDX
documents should be written. If not specified, they will be saved
in `BUILD_DIR/spdx/`.

* `--analyze-includes`: in addition to recording the compiled
source code files (e.g. `.c`, `.S`) in the bills-of-materials, if
this flag is specified, `west spdx` will attempt to determine the
specific header files that are included for each `.c` file. This
will take longer, as it performs a dry run using the C compiler
for each `.c` file (using the same arguments that were passed to it
for the actual build).

* `--include-sdk`: if `--analyze-includes` is used, then adding
`--include-sdk` will create a fourth SPDX document, `sdk.spdx`,
which will list any header files included from the SDK.

Signed-off-by: Steve Winslow <steve@swinslow.net>
2021-05-05 11:14:06 -04:00
Martí Bolívar 6215353171 MAINTAINERS.yml: add me as docs collaborator
Add mbolivar-nordic to collaborators list for documentation.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-04-28 08:59:08 +02:00
Martí Bolívar 08c35aae3d MAINTAINERS.yml: fix incorrect 'status' fields
No area can have 'status: maintained' without a maintainer.
Mark such areas as 'orphaned' instead.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-04-28 08:59:08 +02:00
Martí Bolívar 584fed3c8e MAINTAINERS.yml: whitespace
Nits

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-04-28 08:59:08 +02:00
Anas Nashif f63c9b1893 codeowner: path updates
path updates after moving directories.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-04-20 08:45:05 -04:00
Alexander Wachter a0905efa80 MAINTAINERS: add more collaborators to the can-bus area
Add Martin Jäger, Nick Ward and Abram Early as collaborators.

Signed-off-by: Alexander Wachter <alexander@wachter.cloud>
2021-04-14 18:23:22 -04:00
Erwan Gouriou 1eaee99ea4 MAINTAINERS: Add collaborators on STM32 Platforms
Add Alexandre and François as collaborators on STM32 Platforms.
Additionally, add one naming for stm32 boards.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-04-09 05:26:44 -05:00
Carlo Caione a43f3bade8 arm/arm64: Fix misc and trivials for ARM/ARM64 split
Fix the header guards, comments, github labeler, CODEOWNERS and
MAINTAINERS files.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2021-03-31 10:34:33 -05:00
Maureen Helm cdd2c451f0 MAINTAINERS: CODEOWNERS: Add NXP collaborators
Add @mmahadevan108 and @dleach02 as collaborators for NXP SoCs, boards,
and drivers.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2021-03-31 07:51:26 -04:00
Anas Nashif 3b5426812f MAINTAINERS: misc updates
Update collaborators and maintainer of some orphaned areas. Also update
path for some of the areas to include tests and samples.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-03-26 18:28:17 -05:00
Kumar Gala 0bb4665df7 include: Move ptp_clock.h to drivers/ptp_clock.h
Move ptp_clock.h out of the top level include/ dir into
include/drivers/ptp_clock.h and deprecated the old location.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-03-25 10:09:33 +02:00
Johann Fischer 8c1e75c0ed MAINTAINERS: update Disk section and maintainer
Update Disk section and add myself as a Disk maintainer.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-03-24 15:45:24 -05:00
Anas Nashif 8380070dd3 MAINTAINERS: add west documentation to area
Add west documentation in doc/guides/west/ to the West area.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-03-18 06:16:36 -04:00
Anas Nashif 234efa4348 MAINTAINERS: add esspresif area
Add Espressif as a new area with maintainer.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-03-18 06:16:36 -04:00
Anas Nashif a9e4871a07 MAINTAINERS: expand collaborators on twister
add more collaborators to the twister area.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-03-18 06:16:36 -04:00
Anas Nashif f3e5794326 MAINTAINERS: add interrupt controllers to X86 area
Add X86 related interrupt controllers to X86 area.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-03-18 06:16:36 -04:00
Anas Nashif 2770cf5157 MAINTAINERS: remove overlap between ARM/ARM64
To assign things correctly, remove overlap between two architectures.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-03-18 06:16:36 -04:00
Peter A. Bigot 6f90d3f764 MAINTAINERS: remove my assignments
I won't be supporting Zephyr for the foreseeable future, so remove my
association with specific subsystems.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2021-03-18 06:16:23 -04:00
peng1 chen 8779a9e34c MAINTAINER: add some collaborators
add some components collaborators into MAINTAINER.yml file.

Signed-off-by: peng1 chen <peng1.chen@intel.com>
2021-03-16 09:11:05 -05:00
Andrei Emeltchenko 17cd6fe90d MAINTAINERS: Remove myself as a USB maintainer
I have not had time to work with USB recently, so removing myself from
MAINTAINERS and CODEOWNERS for the USB subsystem.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
2021-03-08 10:06:11 -05:00
Asbjørn Sæbø 66f699b8ea Bluetooth: Audio: Add maintainers/codeowners
Add Thalley (emil.gydesen@nordicsemi.no) and asbjornsabo
(asbjorn.sabo@nordicsemi.no) as additional maintainers/codeowners for
bluetooth audio.

(Also adds empty audio.h file, that will later be expanded, so that
the include/bluetooth/audio directory now listed in CODEOWNERS
actually exists.)

Signed-off-by: Asbjørn Sæbø <asbjorn.sabo@nordicsemi.no>
2021-03-04 18:00:35 -05:00
Carlo Caione 0f9406277d aarch64: pm_cpu_ops: Introduce pm_cpu_ops subsystem
AArch64 has support for PSCI. This is especially useful for SMP because
PSCI is used to power on the secordary cores.

When the PSCI driver was introduced in Zephyr it was designed to rely on
a very PSCI-centric subsystem / interface.

There are two kinds of problems with this choice:

1. PSCI is only defined for the non-secure world and it is designed to
   boot CPU cores into non-secure state (that means that PSCI is only
   supposed to work if Zephyr is running in non-secure state)

2. There can be other ways or standards used to start / stop a core
   different from PSCI

This patch is trying to fix the original wrong assumption by making the
interface / subsystem a generic one, called 'pm_cpu_ops', and using PSCI
only as an actual driver that is a user of this new interface /
subsystem.

For now the new subsystem is only exposing two methods: cpu_on and
cpu_off, others will probably follow according to the needs.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2021-03-04 06:53:19 -05:00
Carlo Caione fe0969c35a MAINTAINERS: Add AArch64 maintainer and collaborators
Add a new entry specifically for AArch64.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2021-03-03 17:55:42 -05:00
Manivannan Sadhasivam dfe8aba504 MAINTAINERS: Add collaborator for lora
Add Marcin as the collaborator for lora.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2021-02-28 16:36:15 -05:00
Mulin Chao 6c3d4141fe MAINTAINERS: update collaborators in Nuvoton platforms.
Add Nuvoton developers, ChiHuaL and WealianLiao, as collaborators for
Nuvoton platforms in MAINTAINERS.yaml.

Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
2021-02-23 08:45:03 -06:00
Peter Bigot c48bc9a9b6 MAINTAINER: add myself as kernel collaborator
Confirm candidacy as kernel collaborator.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2021-02-14 22:10:54 -05:00
Anas Nashif ebaf587b85 MAINTAINER: maintainer file updates
- remove andrewboie
- added SiLabs and Nouvoton platforms
- Misc optimizations

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-02-02 13:59:22 -05:00
Kumar Gala bd20ee5c2e MAINTAINERS/CODEOWNERS: Remove nategraff-sifive
Nate hasn't been active for some time and its my understanding that
Nate is no longer at SiFive.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-01-26 14:44:32 -05:00
Anas Nashif cb67b2c7af MAINTAINER: various path updates/additions
More coverage for various areas, no maintainer changes..

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-01-22 18:38:20 +01:00
Anas Nashif 3de9adb0bb MAINTAINERS: MAINTAINERS.yml updates
The changes here are the result of running all open pull-requests
through a script to identify the assignee and findi ng many gaps or old
data. Some of the changes here are coming from pending PRs that were
waiting for some TSC confirm ation, others are done based on pending
maintainer and collaborator changes that were not submitting yet.

Two noteable changes:

- CMake/Build system: This is now limited to just the infrastructure and
not every single Cmake file in the tree.  - Documentation: ditto, this
is just for the doc infrastructure and not for every RST file in the
tree.

The reason for the above two changes is the fact that most PRs would
have some cmake or doc changes and assignees in this case should not be
the owners of the build system or the doc infra, instead we should
assign to the subsystem being changed. (Otherwise majority of PRs would
be assigned to the doc and build system maintainers).

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-01-20 12:21:42 -05:00
Carlo Caione 57f7e31017 drivers: PSCI: Add driver and subsystem
Firmware implementing the PSCI functions described in ARM document
number ARM DEN 0022A ("Power State Coordination Interface System
Software on ARM processors") can be used by Zephyr to initiate various
CPU-centric power operations.

It is needed for virtualization, it is used to coordinate OSes and
hypervisors and it provides the functions used for SMP bring-up such as
CPU_ON and CPU_OFF.

A new PSCI driver is introduced to setup a proper subsystem used to
communicate with the PSCI firmware, implementing the basic operations:
get_version, cpu_on, cpu_off and affinity_info.

The current implementation only supports PSCI 0.2 and PSCI 1.0

The PSCI conduit (SMC or HVC) is setup reading the corresponding
property in the DTS node.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2021-01-18 19:06:53 +01:00
Henrik Brix Andersen 9259fb4c77 MAINTAINERS: add myself as collaborator on PWM
Add myself as collaborator on the PWM code.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2021-01-12 19:43:06 +01:00
Anas Nashif 8b4cfcfc0f maintainers: rename sanitycheck
Change sanitycheck occurances with twister.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2020-12-11 14:13:02 -05:00
Anas Nashif c7fc9cdef2 MAINTAINERS: add missing labels
Add all missing labels.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2020-12-07 13:01:44 -05:00
Anas Nashif 41d87c43cf MAINTAINER: fix kconfig area
Do not include every single Kconfig file as part of this area, Kconfigs
in different areas are maintained by the repective component
maintainers.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2020-12-07 13:01:44 -05:00
Michael Scott adf3afb0ea MAINTAINERS: Remove myself as modem drivers maintainer.
- Status is now orphaned.
- There has been a bit of activity in this area over the last
  few months and I'm sure one or more of these new stake holders
  would make a fine maintainer.

Signed-off-by: Michael Scott <mike@foundries.io>
2020-12-07 12:33:30 -05:00
Jakub Rzeszutko cd85826e1b maintainers: remove obsolete path
Commit: 11de84a6b4 moved shell core
tests from tests/shell to tests/subsys/shell. Remove obsolete path
from MAINTAINERS.yml accordingly.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
2020-12-07 09:25:08 -05:00
Katsuhiro Suzuki 302db10537 MAINTAINERS: Add myself to watchdog collaborators.
Currently there is no maintainer and active collaborator in watchdog
subsystem area. I hope this helps to encourage Zephyr developments.

Signed-off-by: Katsuhiro Suzuki <katsuhiro@katsuster.net>
2020-12-02 07:52:39 -06:00
Katsuhiro Suzuki a48d0b86be MAINTAINERS: add RISCV related directories
This patch gathers and adds all RISCV related directories into
'RISCV arch' entry.
It is preliminary modification until suitable maintainer (or entry)
for each RISCV boards or sub-architecture appears in the future.

Signed-off-by: Katsuhiro Suzuki <katsuhiro@katsuster.net>
2020-11-18 13:53:10 -06:00
Ioannis Glaropoulos cf02950258 MAINTAINERS: cleanup inline comments
Cleanup comments: # Provisional entry, subject to approval
That's because the MAINTAINERS file was reviewed in the
last TSC F2F and the entries are not provisional any more.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2020-11-17 10:20:22 -05:00
Katsuhiro Suzuki c9112fb52f MAINTAINERS: Add myself to RISCV subsys collaborators.
Currently there is no maintainer and active collaborator in RISCV
subsys area. I hope this helps to encourage RISCV developments.

Signed-off-by: Katsuhiro Suzuki <katsuhiro@katsuster.net>
2020-11-16 08:17:45 -06:00
Johann Fischer 591740b3ea codeowners: update due to Github user name change
Update CODEOWNERS and MAINTAINERS due to Github user name change.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2020-11-16 10:34:50 +02:00