Home
last modified time | relevance | path

Searched +full:scmi +full:- +full:shmem (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/Documentation/devicetree/bindings/firmware/
Darm,scmi.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/firmware/arm,scmi.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: System Control and Management Interface (SCMI) Message Protocol bindings
11 - Sudeep Holla <sudeep.holla@arm.com>
14 The SCMI is intended to allow agents such as OSPM to manage various functions
19 the SCMI as described in ARM document number ARM DEN 0056 ("ARM System Control
27 const: scmi
31 - description: SCMI compliant firmware with mailbox transport
[all …]
/Linux-v5.15/drivers/firmware/arm_scmi/
Dmailbox.c1 // SPDX-License-Identifier: GPL-2.0
3 * System Control and Management Interface (SCMI) Message Mailbox Transport
19 * struct scmi_mailbox - Structure representing a SCMI mailbox transport
23 * @cinfo: SCMI channel info
24 * @shmem: Transmit/Receive shared memory area
30 struct scmi_shared_mem __iomem *shmem; member
39 shmem_tx_prepare(smbox->shmem, m); in tx_prepare()
46 scmi_rx_callback(smbox->cinfo, shmem_read_header(smbox->shmem), NULL); in rx_callback()
51 return !of_parse_phandle_with_args(dev->of_node, "mboxes", in mailbox_chan_available()
52 "#mbox-cells", idx, NULL); in mailbox_chan_available()
[all …]
Dsmc.c1 // SPDX-License-Identifier: GPL-2.0
3 * System Control and Management Interface (SCMI) Message SMC/HVC
9 #include <linux/arm-smccc.h>
22 * struct scmi_smc - Structure representing a SCMI smc transport
24 * @cinfo: SCMI channel info
25 * @shmem: Transmit/Receive shared memory area
34 struct scmi_shared_mem __iomem *shmem; member
45 complete(&scmi_info->tx_complete); in smc_msg_done_isr()
52 struct device_node *np = of_parse_phandle(dev->of_node, "shmem", 0); in smc_chan_available()
63 struct device *cdev = cinfo->dev; in smc_chan_setup()
[all …]
Dcommon.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * System Control and Management Interface (SCMI) Message Protocol
5 * and function prototypes used in all the different SCMI protocols.
7 * Copyright (C) 2018-2021 ARM Ltd.
43 * struct scmi_msg_resp_prot_version - Response for a message
75 * maximum number of in-flight messages on a specific platform, but such value
83 * struct scmi_msg_hdr - Message(Tx/Rx) header
87 * @type: The SCMI type for this message
105 * pack_scmi_header() - packs and returns 32-bit header
110 * Return: 32-bit packed message header to be sent to the platform.
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
2 scmi-bus-y = bus.o
3 scmi-driver-y = driver.o notify.o
4 scmi-transport-$(CONFIG_ARM_SCMI_HAVE_SHMEM) = shmem.o
5 scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_MAILBOX) += mailbox.o
6 scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_SMC) += smc.o
7 scmi-transport-$(CONFIG_ARM_SCMI_HAVE_MSG) += msg.o
8 scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_VIRTIO) += virtio.o
9 scmi-protocols-y = base.o clock.o perf.o power.o reset.o sensors.o system.o voltage.o
10 scmi-module-objs := $(scmi-bus-y) $(scmi-driver-y) $(scmi-protocols-y) \
[all …]
Dshmem.c1 // SPDX-License-Identifier: GPL-2.0
15 * SCMI specification requires all parameters, message headers, return
32 void shmem_tx_prepare(struct scmi_shared_mem __iomem *shmem, in shmem_tx_prepare() argument
39 * overwriting its response with new message payload or vice-versa in shmem_tx_prepare()
41 spin_until_cond(ioread32(&shmem->channel_status) & in shmem_tx_prepare()
44 iowrite32(0x0, &shmem->channel_status); in shmem_tx_prepare()
45 iowrite32(xfer->hdr.poll_completion ? 0 : SCMI_SHMEM_FLAG_INTR_ENABLED, in shmem_tx_prepare()
46 &shmem->flags); in shmem_tx_prepare()
47 iowrite32(sizeof(shmem->msg_header) + xfer->tx.len, &shmem->length); in shmem_tx_prepare()
48 iowrite32(pack_scmi_header(&xfer->hdr), &shmem->msg_header); in shmem_tx_prepare()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/mailbox/
Darm,mhu.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jassi Brar <jaswinder.singh@linaro.org>
13 The ARM's Message-Handling-Unit (MHU) is a mailbox controller that has 3
22 interrupt signal using a 32-bit register, with all 32-bits logically ORed
28 interrupt. Each of the 32-bits can be used as "doorbell" to alert the remote
37 - arm,mhu
38 - arm,mhu-doorbell
40 - compatible
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/sram/
Dsram.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic on-chip SRAM
10 - Rob Herring <robh@kernel.org>
19 Following the generic-names recommended practice, node names should
30 - mmio-sram
31 - amlogic,meson-gxbb-sram
32 - arm,juno-sram-ns
33 - atmel,sama5d2-securam
[all …]
/Linux-v5.15/arch/arm64/boot/dts/rockchip/
Drk3568.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/rk3568-cru.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/phy/phy.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
11 #include <dt-bindings/soc/rockchip,boot-mode.h>
12 #include <dt-bindings/thermal/thermal.h>
17 interrupt-parent = <&gic>;
18 #address-cells = <2>;
[all …]
/Linux-v5.15/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]