Searched +full:bcm2835 +full:- +full:vchiq (Results 1 – 19 of 19) sorted by relevance
/Linux-v6.6/drivers/staging/vc04_services/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 9 the BCM2835 family of products which is used 15 tristate "BCM2835 VCHIQ" 19 Broadcom BCM2835 and similar SoCs have a VPU called VideoCore. This config 20 enables the VCHIQ driver, which implements a messaging interface between 22 interface to communicate to the VPU. More specifically, the VCHIQ driver is 24 API, which is in turn used by several multimedia services on the BCM2835 32 bool "VCHIQ Character Driver" 34 Enable the creation of VCHIQ character driver. The cdev exposes ioctls used 36 the VCHIQ core driver (Check BCM2835_VCHIQ for more info). [all …]
|
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_BCM2835_VCHIQ) += vchiq.o 4 vchiq-objs := \ 11 vchiq-objs += interface/vchiq_arm/vchiq_dev.o 14 obj-$(CONFIG_SND_BCM2835) += bcm2835-audio/ 15 obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-camera/ 16 obj-$(CONFIG_BCM2835_VCHIQ_MMAL) += vchiq-mmal/
|
/Linux-v6.6/Documentation/devicetree/bindings/soc/bcm/ |
D | brcm,bcm2835-vchiq.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/bcm/brcm,bcm2835-vchiq.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom VCHIQ firmware services 10 - Nicolas Saenz Julienne <nsaenz@kernel.org> 13 The VCHIQ communication channel can be provided by BCM283x and Capri SoCs, 14 to communicate with the VPU-side OS services. 19 - description: BCM2835 based boards 21 - enum: [all …]
|
/Linux-v6.6/arch/arm/boot/dts/broadcom/ |
D | bcm2836-rpi.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "bcm2835-rpi.dtsi" 3 #include "bcm2835-rpi-common.dtsi" 5 &vchiq { 6 compatible = "brcm,bcm2836-vchiq", "brcm,bcm2835-vchiq";
|
D | bcm2835-rpi.dtsi | 1 #include <dt-bindings/power/raspberrypi-power.h> 6 compatible = "raspberrypi,bcm2835-firmware", "simple-mfd"; 7 #address-cells = <1>; 8 #size-cells = <1>; 11 dma-ranges; 15 compatible = "raspberrypi,bcm2835-power"; 17 #power-domain-cells = <1>; 20 vchiq: mailbox@7e00b840 { label 21 compatible = "brcm,bcm2835-vchiq"; 41 pinctrl-names = "default"; [all …]
|
D | bcm2711-rpi.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "bcm2835-rpi.dtsi" 4 #include <dt-bindings/reset/raspberrypi,firmware-reset.h> 23 compatible = "raspberrypi,firmware-clocks"; 24 #clock-cells = <1>; 28 compatible = "raspberrypi,firmware-gpio"; 29 gpio-controller; 30 #gpio-cells = <2>; 35 compatible = "raspberrypi,firmware-reset"; 36 #reset-cells = <1>; [all …]
|
/Linux-v6.6/drivers/staging/vc04_services/vchiq-mmal/ |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 bcm2835-mmal-vchiq-objs := mmal-vchiq.o 4 obj-$(CONFIG_BCM2835_VCHIQ_MMAL) += bcm2835-mmal-vchiq.o
|
D | mmal-vchiq.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Broadcom BCM2835 V4L2 driver 13 * MMAL interface to VCHIQ message passing 19 #include "mmal-common.h" 20 #include "mmal-msg-format.h" 34 MMAL_ES_TYPE_SUBPICTURE /**< Sub-picture elementary stream */
|
D | mmal-msg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Broadcom BCM2835 V4L2 driver 37 #include "mmal-msg-common.h" 38 #include "mmal-msg-format.h" 39 #include "mmal-msg-port.h" 40 #include "mmal-vchiq.h" 91 u32 status; /* The status of the vchiq operation */ 112 u32 status; /* enum mmal_msg_status - how does this differ to
|
D | mmal-vchiq.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Broadcom BCM2835 V4L2 driver 13 * V4L2 driver MMAL vchiq interface code 26 #include <media/videobuf2-vmalloc.h> 28 #include "../include/linux/raspberrypi/vchiq.h" 29 #include "mmal-common.h" 30 #include "mmal-vchiq.h" 31 #include "mmal-msg.h" 94 msg_type_names[(MSG)->h.type], \ 95 (MSG)->h.type, (MSG_LEN)); \ [all …]
|
/Linux-v6.6/drivers/staging/vc04_services/interface/ |
D | TESTING | 1 This document contains some hints to test the function of the VCHIQ driver 6 Testing the VCHIQ driver requires a Raspberry Pi with one of the following SoC: 7 - BCM2835 ( e.g. Raspberry Pi Zero W ) 8 - BCM2836 ( e.g. Raspberry Pi 2 ) 9 - BCM2837 ( e.g. Raspberry Pi 3 B+ ) 14 There are no specific requirements to the VideoCore firmware to get VCHIQ 24 1. BCM2835 target SoC (ARM 32 bit) 26 Just use bcm2835_defconfig which already has VCHIQ enabled. 30 Use the multi_v7_defconfig as a base and then enable all VCHIQ options. 34 Use the defconfig as a base and then enable all VCHIQ options. [all …]
|
/Linux-v6.6/drivers/staging/vc04_services/bcm2835-audio/ |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_SND_BCM2835) += snd-bcm2835.o 3 snd-bcm2835-objs := bcm2835.o bcm2835-ctl.o bcm2835-pcm.o bcm2835-vchiq.o
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 tristate "BCM2835 Audio" 8 Say Y or M if you want to support BCM2835 built in audio. 10 the VCHIQ messaging interface between the kernel and the firmware
|
D | bcm2835-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include "bcm2835.h" 49 kfree(runtime->private_data); in snd_bcm2835_playback_free() 55 struct snd_pcm_substream *substream = alsa_stream->substream; in bcm2835_playback_fifo() 58 if (!alsa_stream->period_size) in bcm2835_playback_fifo() 61 if (bytes >= alsa_stream->buffer_size) { in bcm2835_playback_fifo() 64 alsa_stream->draining ? in bcm2835_playback_fifo() 71 pos = atomic_read(&alsa_stream->pos); in bcm2835_playback_fifo() 73 pos %= alsa_stream->buffer_size; in bcm2835_playback_fifo() 74 atomic_set(&alsa_stream->pos, pos); in bcm2835_playback_fifo() [all …]
|
D | bcm2835-vchiq.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include "bcm2835.h" 14 struct mutex vchi_mutex; /* Serialize vchiq access */ 23 MODULE_PARM_DESC(force_bulk, "Force use of vchiq bulk for audio"); 27 mutex_lock(&instance->vchi_mutex); in bcm2835_audio_lock() 28 vchiq_use_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_lock() 29 instance->service_handle); in bcm2835_audio_lock() 34 vchiq_release_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_unlock() 35 instance->service_handle); in bcm2835_audio_unlock() 36 mutex_unlock(&instance->vchi_mutex); in bcm2835_audio_unlock() [all …]
|
/Linux-v6.6/drivers/staging/vc04_services/bcm2835-camera/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 tristate "BCM2835 Camera" 12 Broadcom BCM2835 SoC. This operates over the VCHIQ interface
|
D | bcm2835-camera.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Broadcom BCM2835 V4L2 driver 18 #include <media/videobuf2-vmalloc.h> 19 #include <media/videobuf2-dma-contig.h> 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-ioctl.h> 22 #include <media/v4l2-ctrls.h> 23 #include <media/v4l2-fh.h> 24 #include <media/v4l2-event.h> 25 #include <media/v4l2-common.h> [all …]
|
D | controls.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Broadcom BCM2835 V4L2 driver 18 #include <media/videobuf2-vmalloc.h> 19 #include <media/v4l2-device.h> 20 #include <media/v4l2-ioctl.h> 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-fh.h> 23 #include <media/v4l2-event.h> 24 #include <media/v4l2-common.h> 26 #include "../vchiq-mmal/mmal-common.h" [all …]
|
/Linux-v6.6/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_arm.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 4 * Copyright (c) 2010-2012 Broadcom. All rights reserved. 24 #include <linux/dma-mapping.h> 31 #include <soc/bcm2835/raspberrypi-firmware.h> 40 #define DEVICE_NAME "vchiq" 85 /* Keepalive-related data */ 111 * Flag to indicate that the first vchiq connect has made it through. 140 * Modern VPU firmware looks for a DT "cache-line-size" property in 141 * the VCHIQ node and will overwrite it with the actual L2 cache size, 179 if (pagelistinfo->scatterlist_mapped) { in cleanup_pagelistinfo() [all …]
|