| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | fsl,rpmsg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/fsl,rpmsg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP Audio RPMSG CPU DAI Controller 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 15 Linux side is a device which provides audio service by rpmsg channel. 17 such as SAI, MICFIL, .etc through building rpmsg channels between 18 Cortex-A and Cortex-M. 21 - $ref: sound-card-common.yaml# [all …]
|
| /kernel/linux/linux-5.10/drivers/rpmsg/ |
| D | rpmsg_core.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Ohad Ben-Cohen <ohad@wizery.com> 16 #include <linux/rpmsg.h> 24 * rpmsg_create_ept() - create a new rpmsg_endpoint 25 * @rpdev: rpmsg channel device 28 * @chinfo: channel_info with the local rpmsg address to bind with @cb 30 * Every rpmsg address in the system is bound to an rx callback (so when 31 * inbound messages arrive, they are dispatched by the rpmsg bus using the 35 * bind a callback, and possibly some private data too, to an rpmsg address 39 * Simple rpmsg drivers need not call rpmsg_create_ept, because an endpoint [all …]
|
| D | virtio_rpmsg_bus.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Virtio-based remote processor messaging bus 8 * Ohad Ben-Cohen <ohad@wizery.com> 14 #include <linux/dma-mapping.h> 21 #include <linux/rpmsg.h> 34 * struct virtproc_info - virtual remote processor state 53 * This structure stores the rpmsg state of a given virtio remote processor 73 /* The feature bitmap for virtio rpmsg */ 77 * struct rpmsg_hdr - common header for all rpmsg messages 85 * Every message sent(/received) on the rpmsg bus begins with this header. [all …]
|
| /kernel/linux/linux-6.6/drivers/rpmsg/ |
| D | rpmsg_core.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Ohad Ben-Cohen <ohad@wizery.com> 16 #include <linux/rpmsg.h> 27 * rpmsg_create_channel() - create a new rpmsg channel 29 * @rpdev: rpmsg device 32 * Return: a pointer to the new rpmsg device on success, or NULL on error. 39 if (!rpdev->ops || !rpdev->ops->create_channel) { in rpmsg_create_channel() 40 dev_err(&rpdev->dev, "no create_channel ops found\n"); in rpmsg_create_channel() 44 return rpdev->ops->create_channel(rpdev, chinfo); in rpmsg_create_channel() 49 * rpmsg_release_channel() - release a rpmsg channel [all …]
|
| D | virtio_rpmsg_bus.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Virtio-based remote processor messaging bus 8 * Ohad Ben-Cohen <ohad@wizery.com> 14 #include <linux/dma-mapping.h> 20 #include <linux/rpmsg.h> 21 #include <linux/rpmsg/byteorder.h> 22 #include <linux/rpmsg/ns.h> 34 * struct virtproc_info - virtual remote processor state 52 * This structure stores the rpmsg state of a given virtio remote processor 71 /* The feature bitmap for virtio rpmsg */ [all …]
|
| /kernel/linux/linux-6.6/sound/soc/fsl/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 This option is only useful for out-of-tree drivers since 15 in-tree drivers select it automatically. 26 This option is only useful for out-of-tree drivers since 27 in-tree drivers select it automatically. 36 This option is only useful for out-of-tree drivers since 37 in-tree drivers select it automatically. 54 This option is only useful for out-of-tree drivers since 55 in-tree drivers select it automatically. 67 This option is only useful for out-of-tree drivers since [all …]
|
| D | imx-rpmsg.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright 2017-2020 NXP 16 #include <sound/soc-dapm.h> 17 #include "imx-pcm-rpmsg.h" 35 struct snd_soc_pcm_runtime *rtd = list_first_entry(&card->rtd_list, in imx_rpmsg_late_probe() 38 struct device *dev = card->dev; in imx_rpmsg_late_probe() 41 if (!data->sysclk) in imx_rpmsg_late_probe() 44 ret = snd_soc_dai_set_sysclk(codec_dai, 0, data->sysclk, SND_SOC_CLOCK_IN); in imx_rpmsg_late_probe() 45 if (ret && ret != -ENOTSUPP) { in imx_rpmsg_late_probe() 56 struct device *dev = pdev->dev.parent; in imx_rpmsg_probe() [all …]
|
| /kernel/linux/linux-6.6/Documentation/staging/ |
| D | rpmsg.rst | 2 Remote Processor Messaging (rpmsg) Framework 7 This document describes the rpmsg bus and how to write rpmsg drivers. 8 To learn how to add rpmsg support for new platforms, check out remoteproc.txt 17 flavor of real-time OS. 19 OMAP4, for example, has dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP. 20 Typically, the dual cortex-A9 is running Linux in a SMP configuration, 25 hardware accelerators, and therefore are often used to offload CPU-intensive 28 These remote processors could also be used to control latency-sensitive 34 hardware accessible only by the remote processor, reserving kernel-controlled 37 Rpmsg is a virtio-based messaging bus that allows kernel drivers to communicate [all …]
|
| /kernel/linux/linux-5.10/Documentation/staging/ |
| D | rpmsg.rst | 2 Remote Processor Messaging (rpmsg) Framework 7 This document describes the rpmsg bus and how to write rpmsg drivers. 8 To learn how to add rpmsg support for new platforms, check out remoteproc.txt 17 flavor of real-time OS. 19 OMAP4, for example, has dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP. 20 Typically, the dual cortex-A9 is running Linux in a SMP configuration, 25 hardware accelerators, and therefore are often used to offload CPU-intensive 28 These remote processors could also be used to control latency-sensitive 34 hardware accessible only by the remote processor, reserving kernel-controlled 37 Rpmsg is a virtio-based messaging bus that allows kernel drivers to communicate [all …]
|
| /kernel/linux/linux-6.6/net/qrtr/ |
| D | smd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/rpmsg.h> 23 struct qrtr_smd_dev *qdev = dev_get_drvdata(&rpdev->dev); in qcom_smd_qrtr_callback() 27 return -EAGAIN; in qcom_smd_qrtr_callback() 29 rc = qrtr_endpoint_post(&qdev->ep, data, len); in qcom_smd_qrtr_callback() 30 if (rc == -EINVAL) { in qcom_smd_qrtr_callback() 31 dev_err(qdev->dev, "invalid ipcrouter packet\n"); in qcom_smd_qrtr_callback() 47 goto out; in qcom_smd_qrtr_send() 49 rc = rpmsg_send(qdev->channel, skb->data, skb->len); in qcom_smd_qrtr_send() 51 out: in qcom_smd_qrtr_send() [all …]
|
| /kernel/linux/linux-5.10/net/qrtr/ |
| D | smd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/rpmsg.h> 23 struct qrtr_smd_dev *qdev = dev_get_drvdata(&rpdev->dev); in qcom_smd_qrtr_callback() 27 return -EAGAIN; in qcom_smd_qrtr_callback() 29 rc = qrtr_endpoint_post(&qdev->ep, data, len); in qcom_smd_qrtr_callback() 30 if (rc == -EINVAL) { in qcom_smd_qrtr_callback() 31 dev_err(qdev->dev, "invalid ipcrouter packet\n"); in qcom_smd_qrtr_callback() 47 goto out; in qcom_smd_qrtr_send() 49 rc = rpmsg_send(qdev->channel, skb->data, skb->len); in qcom_smd_qrtr_send() 51 out: in qcom_smd_qrtr_send() [all …]
|
| /kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
| D | 0032_linux_drivers_regulator_remoteproc_reset_rpmsg_rtc.patch | 7 Change-Id: I70798f1381ce7dac1b89f11aa3a0c5633845487e 9 diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c 11 --- a/drivers/regulator/core.c 13 @@ -3499,6 +3499,16 @@ static int _regulator_do_set_suspend_voltage(struct regulator_dev *rdev, 21 + if (rdev->desc->ops->get_bypass) 22 + rdev->desc->ops->get_bypass(rdev, &bypassed); 30 @@ -3568,8 +3578,9 @@ int regulator_set_voltage_rdev(struct regulator_dev *rdev, int min_uV, 31 if (rdev->supply && 32 regulator_ops_is_valid(rdev->supply->rdev, 34 - (rdev->desc->min_dropout_uV || !(rdev->desc->ops->get_voltage || [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/sti/delta/ |
| D | delta.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #include <linux/rpmsg.h> 11 #include <media/v4l2-device.h> 12 #include <media/v4l2-mem2mem.h> 14 #include "delta-cfg.h" 17 * enum delta_state - state of decoding instance 46 * struct delta_streaminfo - information about stream to decode 89 * struct delta_au - access unit structure. 112 * struct delta_frameinfo - information about decoded frame 153 * struct delta_frame - frame structure. [all …]
|
| /kernel/linux/linux-6.6/drivers/media/platform/st/sti/delta/ |
| D | delta.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #include <linux/rpmsg.h> 11 #include <media/v4l2-device.h> 12 #include <media/v4l2-mem2mem.h> 14 #include "delta-cfg.h" 17 * enum delta_state - state of decoding instance 46 * struct delta_streaminfo - information about stream to decode 89 * struct delta_au - access unit structure. 112 * struct delta_frameinfo - information about decoded frame 153 * struct delta_frame - frame structure. [all …]
|
| /kernel/linux/linux-5.10/drivers/remoteproc/ |
| D | qcom_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. 16 #include <linux/rpmsg/qcom_glink.h> 17 #include <linux/rpmsg/qcom_smd.h> 41 glink->edge = qcom_glink_smem_register(glink->dev, glink->node); in glink_subdev_start() 43 return PTR_ERR_OR_ZERO(glink->edge); in glink_subdev_start() 50 qcom_glink_smem_unregister(glink->edge); in glink_subdev_stop() 51 glink->edge = NULL; in glink_subdev_stop() 58 qcom_glink_ssr_notify(glink->ssr_name); in glink_subdev_unprepare() 62 * qcom_add_glink_subdev() - try to add a GLINK subdevice to rproc [all …]
|
| D | keystone_remoteproc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/ 25 #define KEYSTONE_RPROC_LOCAL_ADDRESS_MASK (SZ_16M - 1) 28 * struct keystone_rproc_mem - internal memory structure 42 * struct keystone_rproc - keystone remote processor driver structure 72 reset_control_assert(ksproc->reset); in keystone_rproc_dsp_reset() 80 if (boot_addr & (SZ_1K - 1)) { in keystone_rproc_dsp_boot() 81 dev_err(ksproc->dev, "invalid boot address 0x%x, must be aligned on a 1KB boundary\n", in keystone_rproc_dsp_boot() 83 return -EINVAL; in keystone_rproc_dsp_boot() 86 ret = regmap_write(ksproc->dev_ctrl, ksproc->boot_offset, boot_addr); in keystone_rproc_dsp_boot() [all …]
|
| /kernel/linux/patches/linux-5.10/imx8mm_patch/patches/ |
| D | 0009_linux_sound.patch | 7 Change-Id: Ic34341fbcce5e6d02fefc2acad4ea1058da94b66 9 diff --git a/sound/core/pcm_dmaengine.c b/sound/core/pcm_dmaengine.c 11 --- a/sound/core/pcm_dmaengine.c 13 @@ -125,6 +125,8 @@ void snd_dmaengine_pcm_set_config_from_dai_data( 16 slave_config->slave_id = dma_data->slave_id; 17 + slave_config->peripheral_config = dma_data->peripheral_config; 18 + slave_config->peripheral_size = dma_data->peripheral_size; 22 diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c 24 --- a/sound/soc/codecs/hdmi-codec.c 25 +++ b/sound/soc/codecs/hdmi-codec.c [all …]
|
| /kernel/linux/linux-6.6/drivers/remoteproc/ |
| D | qcom_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. 16 #include <linux/rpmsg/qcom_glink.h> 17 #include <linux/rpmsg/qcom_smd.h> 37 * struct minidump_region - Minidump region 53 * struct minidump_subsystem - Subsystem's SMEM Table of content 71 * struct minidump_global_toc - Global Table of Content 97 list_for_each_entry_safe(entry, tmp, &rproc->dump_segments, node) { in qcom_minidump_cleanup() 98 list_del(&entry->node); in qcom_minidump_cleanup() 99 kfree(entry->priv); in qcom_minidump_cleanup() [all …]
|
| D | keystone_remoteproc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/ 25 #define KEYSTONE_RPROC_LOCAL_ADDRESS_MASK (SZ_16M - 1) 28 * struct keystone_rproc_mem - internal memory structure 42 * struct keystone_rproc - keystone remote processor driver structure 72 reset_control_assert(ksproc->reset); in keystone_rproc_dsp_reset() 80 if (boot_addr & (SZ_1K - 1)) { in keystone_rproc_dsp_boot() 81 dev_err(ksproc->dev, "invalid boot address 0x%x, must be aligned on a 1KB boundary\n", in keystone_rproc_dsp_boot() 83 return -EINVAL; in keystone_rproc_dsp_boot() 86 ret = regmap_write(ksproc->dev_ctrl, ksproc->boot_offset, boot_addr); in keystone_rproc_dsp_boot() [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/qcom/ |
| D | smd-rpm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. 14 #include <linux/rpmsg.h> 15 #include <linux/soc/qcom/smd-rpm.h> 20 * struct qcom_smd_rpm - state of the rpm device driver 39 * struct qcom_rpm_header - header for all rpm requests and responses 49 * struct qcom_rpm_request - request message to the rpm 65 * struct qcom_rpm_message - response message from the rpm 88 * qcom_rpm_smd_write - write @buf to @type:@id 114 return -EINVAL; in qcom_rpm_smd_write() [all …]
|
| /kernel/linux/linux-6.6/drivers/soc/qcom/ |
| D | smd-rpm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. 14 #include <linux/rpmsg.h> 15 #include <linux/soc/qcom/smd-rpm.h> 20 * struct qcom_smd_rpm - state of the rpm device driver 37 * struct qcom_rpm_header - header for all rpm requests and responses 47 * struct qcom_rpm_request - request message to the rpm 63 * struct qcom_rpm_message - response message from the rpm 86 * qcom_rpm_smd_write - write @buf to @type:@id 112 return -EINVAL; in qcom_rpm_smd_write() [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/ |
| D | mt8192-asurada.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/spmi/spmi.h> 25 stdout-path = "serial0:115200n8"; 33 backlight_lcd0: backlight-lcd0 { 34 compatible = "pwm-backlight"; 36 power-supply = <&ppvar_sys>; 37 enable-gpios = <&pio 152 0>; 38 brightness-levels = <0 1023>; [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | mod_devicetable.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 * struct pci_device_id - PCI device ID structure 30 * @class_mask: Limit which sub-fields of the class field are compared. 41 __u32 class, class_mask; /* (class,subclass,prog-if) triplet */ 62 * Device table entry for "new style" table-driven USB drivers. 70 * Terminate the driver's table with an all-zeroes entry. 75 * struct usb_device_id - identifies USB devices for probing and hotplugging 83 * @idProduct: Vendor-assigned product ID. 84 * @bcdDevice_lo: Low end of range of vendor-assigned product version numbers. 91 * or be vendor-specific. Device classes specify behavior of all [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | mod_devicetable.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 * struct pci_device_id - PCI device ID structure 35 * @class_mask: Limit which sub-fields of the class field are compared. 42 * @override_only: Match only when dev->driver_override is this driver. 47 __u32 class, class_mask; /* (class,subclass,prog-if) triplet */ 69 * Device table entry for "new style" table-driven USB drivers. 77 * Terminate the driver's table with an all-zeroes entry. 82 * struct usb_device_id - identifies USB devices for probing and hotplugging 90 * @idProduct: Vendor-assigned product ID. 91 * @bcdDevice_lo: Low end of range of vendor-assigned product version numbers. [all …]
|
| /kernel/linux/linux-5.10/drivers/misc/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 27 See Documentation/misc-devices/ad525x_dpot.rst for the 40 module will be called ad525x_dpot-i2c. 51 module will be called ad525x_dpot-spi. 73 This option enables device driver support for in-band access to the 86 website <https://www-03.ibm.com/systems/info/x86servers/serverproven/compat/us/> 120 trace data routed from various parts in the system out 121 through an Intel Penwell PTI port and out of the mobile 125 an Intel Atom (non-netbook) mobile device containing a MIPI 201 tristate "CS5535/CS5536 Geode Multi-Function General Purpose Timer (MFGPT) support" [all …]
|