Searched +full:scmi +full:- +full:shmem (Results 1 – 12 of 12) sorted by relevance
/Zephyr-latest/drivers/firmware/scmi/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 7 bool "Helper functions for SCMI clock protocol" 11 Enable support for SCMI clock protocol helper functions. 14 bool "SCMI transport based on shared memory and doorbells" 20 Enable support for SCMI transport based on shared memory 24 bool "Helper functions for SCMI pinctrl protocol" 29 Enable support for SCMI pinctrl protocol helper functions. 32 bool "SCMI shared memory (SHMEM) driver" 36 Enable support for SCMI shared memory (SHMEM) driver. 39 int "SCMI shared memory (SHMEM) initialization priority" [all …]
|
D | mailbox.h | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/drivers/firmware/scmi/transport.h> 11 #include <zephyr/drivers/firmware/scmi/util.h> 12 #include <zephyr/drivers/firmware/scmi/shmem.h> 20 COND_CODE_1(DT_PROP_HAS_IDX(node_id, shmem, idx), \ 21 (DEVICE_DT_GET(DT_PROP_BY_IDX(node_id, shmem, idx))), \ 38 .shmem = _SCMI_MBOX_SHMEM_BY_IDX(node_id, 0), \ 46 * 2) Define the mailbox-specific private data for said 59 COND_CODE_1(DT_PROP_HAS_IDX(node_id, shmem, idx), \ 74 (DT_INST_PROP_HAS_IDX(inst, shmem, 0) && \ [all …]
|
D | CMakeLists.txt | 1 # SPDX-License-Identifier: Apache-2.0 5 # SCMI core files 8 zephyr_library_sources_ifdef(CONFIG_ARM_SCMI_SHMEM shmem.c) 10 # SCMI protocol helper files
|
D | shmem.c | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/drivers/firmware/scmi/shmem.h> 8 #include <zephyr/drivers/firmware/scmi/protocol.h> 43 data = dev->data; in scmi_shmem_get_channel_status() 44 layout = (struct scmi_shmem_layout *)data->regmap; in scmi_shmem_get_channel_status() 46 *status = layout->chan_status; in scmi_shmem_get_channel_status() 60 int scmi_shmem_read_message(const struct device *shmem, struct scmi_message *msg) in scmi_shmem_read_message() argument 66 data = shmem->data; in scmi_shmem_read_message() 67 cfg = shmem->config; in scmi_shmem_read_message() 68 layout = (struct scmi_shmem_layout *)data->regmap; in scmi_shmem_read_message() [all …]
|
/Zephyr-latest/dts/bindings/firmware/ |
D | arm,scmi.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 System Control and Management Interface (SCMI) with doorbell 6 and shared memory (SHMEM) transport. 12 compatible = "arm,scmi-shmem"; 17 compatible = "nxp,mbox-imx-mu"; 20 #mbox-cells = <1>; 23 scmi { 24 compatible = "arm,scmi"; 25 shmem = <&scmi_res0>; 27 mbox-names = "tx"; [all …]
|
D | arm,scmi-shmem.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: System Control and Management Interface (SCMI) shared memory (SHMEM) 6 compatible: "arm,scmi-shmem"
|
D | arm,scmi-clock.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: System Control and Management Interface (SCMI) clock protocol 6 compatible: "arm,scmi-clock" 8 include: [base.yaml, clock-controller.yaml] 11 shmem: 18 "#clock-cells": 22 Vendor-specific clock identifier. Needs to match identifier 23 expected by the SCMI platform as this is directly used in SCMI 26 clock-cells: 27 - name
|
/Zephyr-latest/include/zephyr/drivers/firmware/scmi/ |
D | shmem.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief SCMI SHMEM API 25 * @brief Write a message in the SHMEM area 27 * @param shmem pointer to shmem device 33 int scmi_shmem_write_message(const struct device *shmem, 37 * @brief Read a message from a SHMEM area 39 * @param shmem pointer to shmem device 45 int scmi_shmem_read_message(const struct device *shmem, 51 * @param shmem pointer to shmem device 52 * @param mask value to negate and bitwise-and the old [all …]
|
D | util.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief ARM SCMI utility header 48 DT_PROP_HAS_IDX(node_id, shmem, idx) 56 * @brief Declare a TX SCMI channel 58 * Given a node_id for a protocol, this macro declares the SCMI 74 * @brief Declare SCMI TX/RX channels 77 * SCMI TX and RX channels statically bound to said protocol via 80 * Despite this, users should opt for this macro instead of the TX-specific 89 * @brief Declare SCMI TX/RX channels using node instance number 100 * @brief Get a reference to a protocol's SCMI TX channel [all …]
|
/Zephyr-latest/doc/hardware/arch/ |
D | arm-scmi.rst | 9 What is SCMI? 12 System Control and Management Interface (SCMI) is a specification developed by 13 ARM, which describes a set of OS-agnostic software interfaces used to perform 20 The SCMI specification defines **four** key terms, which will also be used throughout 24 Entity that performs SCMI requests (e.g: gating a clock or configuring 35 The SCMI specification defines ten standard protocols: 51 Apart from the standard protocols, the SCMI specification reserves the 52 **0x80-0xFF** protocol ID range for vendor-specific protocols. 83 The SCMI specification defines **four** types of messages: 100 The Zephyr support for SCMI is based on the documentation provided by ARM: [all …]
|
/Zephyr-latest/dts/arm64/nxp/ |
D | nxp_mimx95_a55.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 9 #include <arm64/armv8-a.dtsi> 10 #include <zephyr/dt-bindings/clock/imx95_clock.h> 11 #include <zephyr/dt-bindings/interrupt-controller/arm-gic.h> 14 #address-cells = <1>; 15 #size-cells = <1>; 16 interrupt-parent = <&gic>; 19 #address-cells = <1>; 20 #size-cells = <0>; 24 compatible = "arm,cortex-a55"; [all …]
|
/Zephyr-latest/dts/arm/nxp/ |
D | nxp_imx95_m7.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <arm/armv7-m.dtsi> 8 #include <zephyr/dt-bindings/clock/imx95_clock.h> 9 #include <dt-bindings/i2c/i2c.h> 14 #address-cells = <1>; 15 #size-cells = <0>; 19 compatible = "arm,cortex-m7"; 22 #address-cells = <1>; 23 #size-cells = <1>; 26 compatible = "arm,armv7m-mpu"; [all …]
|