Searched +full:bcm2835 +full:- +full:vchiq (Results 1 – 20 of 20) sorted by relevance
/linux-6.12.1/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. 20 This config enables the VCHIQ driver, which implements a 23 the VPU. More specifically, the VCHIQ driver is used by 26 BCM2835 family of SoCs. 34 bool "VCHIQ Character Driver" 36 Enable the creation of VCHIQ character driver. The cdev exposes 38 with VideoCore, via the VCHIQ core driver (Check BCM2835_VCHIQ [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-6.12.1/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-6.12.1/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"; 10 compatible = "raspberrypi,firmware-clocks"; 11 #clock-cells = <1>; 16 compatible = "raspberrypi,bcm2835-power"; 18 #power-domain-cells = <1>; 21 vchiq: mailbox@7e00b840 { label 22 compatible = "brcm,bcm2835-vchiq"; 32 clock-names = "lp", "vpu"; 33 power-domains = <&power RPI_POWER_DOMAIN_UNICAM0>; [all …]
|
D | bcm2711-rpi.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "bcm2835-rpi.dtsi" 4 #include <dt-bindings/power/raspberrypi-power.h> 5 #include <dt-bindings/reset/raspberrypi,firmware-reset.h> 21 i2c0mux: i2c-mux0 { 22 compatible = "i2c-mux-pinctrl"; 23 #address-cells = <1>; 24 #size-cells = <0>; 26 i2c-parent = <&i2c0>; 28 pinctrl-names = "i2c0", "i2c0-vc"; [all …]
|
/linux-6.12.1/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" 35 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" 30 #include "mmal-common.h" 31 #include "mmal-vchiq.h" 32 #include "mmal-msg.h" 95 msg_type_names[(MSG)->h.type], \ 96 (MSG)->h.type, (MSG_LEN)); \ [all …]
|
/linux-6.12.1/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 which has most of the VCHIQ options enabled. [all …]
|
/linux-6.12.1/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.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <linux/dma-mapping.h> 10 #include "bcm2835.h" 38 return -ENOMEM; in bcm2835_devm_add_vchi_ctx() 95 .shortname = "bcm2835 HDMI", 96 .longname = "bcm2835 HDMI", 108 .shortname = "bcm2835 Headphones", 109 .longname = "bcm2835 Headphones", 145 err = snd_card_new(dev, -1, NULL, THIS_MODULE, sizeof(*chip), &card); in snd_add_child_device() 151 chip = card->private_data; in snd_add_child_device() [all …]
|
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" 16 struct mutex vchi_mutex; /* Serialize vchiq access */ 25 MODULE_PARM_DESC(force_bulk, "Force use of vchiq bulk for audio"); 29 mutex_lock(&instance->vchi_mutex); in bcm2835_audio_lock() 30 vchiq_use_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_lock() 31 instance->service_handle); in bcm2835_audio_lock() 36 vchiq_release_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_unlock() 37 instance->service_handle); in bcm2835_audio_unlock() 38 mutex_unlock(&instance->vchi_mutex); in bcm2835_audio_unlock() [all …]
|
/linux-6.12.1/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 14 #include <linux/dma-mapping.h> 19 #include <media/videobuf2-vmalloc.h> 20 #include <media/videobuf2-dma-contig.h> 21 #include <media/v4l2-device.h> 22 #include <media/v4l2-ioctl.h> 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-fh.h> 25 #include <media/v4l2-event.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-6.12.1/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. 25 #include <linux/dma-mapping.h> 32 #include <soc/bcm2835/raspberrypi-firmware.h> 41 #define DEVICE_NAME "vchiq" 63 * The devices implemented in the VCHIQ firmware are not discoverable, 79 /* Keepalive-related data */ 105 * Flag to indicate that the first vchiq connect has made it through. 136 mgmt = dev_get_drvdata(state->dev); in vchiq_doorbell_irq() 139 status = readl(mgmt->regs + BELL0); in vchiq_doorbell_irq() [all …]
|