| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/bcm/ |
| D | raspberrypi,bcm2835-firmware.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Raspberry Pi VideoCore firmware driver 10 - Eric Anholt <eric@anholt.net> 11 - Stefan Wahren <wahrenst@gmx.net> 17 const: raspberrypi,bcm2835-firmware 20 - compatible 25 - const: raspberrypi,bcm2835-firmware [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/arm/bcm/ |
| D | raspberrypi,bcm2835-firmware.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Raspberry Pi VideoCore firmware driver 10 - Eric Anholt <eric@anholt.net> 11 - Stefan Wahren <wahrenst@gmx.net> 17 const: raspberrypi,bcm2835-firmware 20 - compatible 25 - const: raspberrypi,bcm2835-firmware [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mailbox/ |
| D | brcm,bcm2835-mbox.txt | 1 Broadcom BCM2835 VideoCore mailbox IPC 5 - compatible: Should be "brcm,bcm2835-mbox" 6 - reg: Specifies base physical address and size of the registers 7 - interrupts: The interrupt number 8 See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt 9 - #mbox-cells: Specifies the number of cells needed to encode a mailbox 16 compatible = "brcm,bcm2835-mbox"; 19 #mbox-cells = <0>; 22 firmware: firmware { 23 compatible = "raspberrypi,firmware"; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/ |
| D | brcm,bcm2835-dma.txt | 1 * BCM2835 DMA controller 3 The BCM2835 DMA controller has 16 channels in total. 5 Some arbitrary channels are used by the firmware 6 (1,3,6,7 in the current firmware version). 11 - compatible: Should be "brcm,bcm2835-dma". 12 - reg: Should contain DMA registers location and length. 13 - interrupts: Should contain the DMA interrupts associated 15 - interrupt-names: Should contain the names of the interrupt 17 Use "dma-shared-all" for the common interrupt line 19 - #dma-cells: Must be <1>, the cell in the dmas property of the [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/dma/ |
| D | brcm,bcm2835-dma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/brcm,bcm2835-dma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: BCM2835 DMA controller 10 - Nicolas Saenz Julienne <nsaenz@kernel.org> 13 The BCM2835 DMA controller has 16 channels in total. Only the lower 15 VideoCore firmware (1,3,6,7 in the current firmware version). The channels 19 - $ref: dma-controller.yaml# 23 const: brcm,bcm2835-dma [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/broadcom/ |
| D | bcm2835-rpi.dtsi | 1 #include <dt-bindings/power/raspberrypi-power.h> 5 firmware: firmware { label 6 compatible = "raspberrypi,bcm2835-firmware", "simple-mfd"; 7 #address-cells = <1>; 8 #size-cells = <1>; 11 dma-ranges; 15 compatible = "raspberrypi,bcm2835-power"; 16 firmware = <&firmware>; 17 #power-domain-cells = <1>; 21 compatible = "brcm,bcm2835-vchiq"; [all …]
|
| D | bcm2835-rpi-zero.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 7 #include "bcm2835.dtsi" 8 #include "bcm2835-rpi.dtsi" 9 #include "bcm2835-rpi-common.dtsi" 10 #include "bcm283x-rpi-led-deprecated.dtsi" 11 #include "bcm283x-rpi-usb-otg.dtsi" 14 compatible = "raspberrypi,model-zero", "brcm,bcm2835"; 25 * This is based on the official GPU firmware DT blob. 31 gpio-line-names = "ID_SDA", [all …]
|
| D | bcm2835-rpi-zero-w.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 7 #include "bcm2835.dtsi" 8 #include "bcm2835-rpi.dtsi" 9 #include "bcm2835-rpi-common.dtsi" 10 #include "bcm283x-rpi-led-deprecated.dtsi" 11 #include "bcm283x-rpi-usb-otg.dtsi" 12 #include "bcm283x-rpi-wifi-bt.dtsi" 15 compatible = "raspberrypi,model-zero-w", "brcm,bcm2835"; 25 stdout-path = "serial1:115200n8"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | bcm2835-rpi.dtsi | 1 #include <dt-bindings/power/raspberrypi-power.h> 5 compatible = "gpio-leds"; 7 led-act { 9 default-state = "keep"; 10 linux,default-trigger = "heartbeat"; 15 firmware: firmware { label 16 compatible = "raspberrypi,bcm2835-firmware", "simple-mfd"; 17 #address-cells = <1>; 18 #size-cells = <1>; 21 dma-ranges; [all …]
|
| /kernel/linux/linux-6.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 21 the kernel and the firmware running on VideoCore. Other drivers use this 24 API, which is in turn used by several multimedia services on the BCM2835 38 userspace but only by other kernel modules (like bcm2835-audio). If not 43 source "drivers/staging/vc04_services/bcm2835-audio/Kconfig" 45 source "drivers/staging/vc04_services/bcm2835-camera/Kconfig" 47 source "drivers/staging/vc04_services/vchiq-mmal/Kconfig"
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/bcm/ |
| D | raspberrypi,bcm2835-power.txt | 5 - compatible: Should be "raspberrypi,bcm2835-power". 6 - firmware: Reference to the RPi firmware device node. 7 - #power-domain-cells: Should be <1>, we providing multiple power domains. 38 compatible = "raspberrypi,bcm2835-power"; 39 firmware = <&firmware>; 40 #power-domain-cells = <1>; 46 power-domains = <&power RPI_POWER_DOMAIN_USB>;
|
| D | brcm,bcm2835-vchiq.txt | 1 Broadcom VCHIQ firmware services 5 - compatible: Should be "brcm,bcm2835-vchiq" on BCM2835, otherwise 6 "brcm,bcm2836-vchiq". 7 - reg: Physical base address and length of the doorbell register pair 8 - interrupts: The interrupt number 9 See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt 14 compatible = "brcm,bcm2835-vchiq";
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/bcm/ |
| D | raspberrypi,bcm2835-power.txt | 5 - compatible: Should be "raspberrypi,bcm2835-power". 6 - firmware: Reference to the RPi firmware device node. 7 - #power-domain-cells: Should be <1>, we providing multiple power domains. 38 compatible = "raspberrypi,bcm2835-power"; 39 firmware = <&firmware>; 40 #power-domain-cells = <1>; 46 power-domains = <&power RPI_POWER_DOMAIN_USB>;
|
| 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> 14 to communicate with the VPU-side OS services. 19 - description: BCM2835 based boards 21 - enum: 22 - brcm,bcm2835-vchiq [all …]
|
| /kernel/linux/linux-6.6/drivers/watchdog/ |
| D | bcm2835_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Watchdog driver for Broadcom BCM2835 6 * branch "rpi-3.6.y" of git://github.com/raspberrypi/linux.git was used 7 * as a hardware reference for the Broadcom BCM2835 watchdog timer. 15 #include <linux/mfd/bcm2835-pm.h> 37 * The Raspberry Pi firmware uses the RSTS register to know which partition 39 * Partition 63 is a special partition used by the firmware to indicate halt. 61 cur = readl(wdt->base + PM_RSTC); in bcm2835_wdt_is_running() 72 spin_lock_irqsave(&wdt->lock, flags); in bcm2835_wdt_start() 74 writel_relaxed(PM_PASSWORD | (SECS_TO_WDOG_TICKS(wdog->timeout) & in bcm2835_wdt_start() [all …]
|
| /kernel/linux/linux-5.10/drivers/watchdog/ |
| D | bcm2835_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Watchdog driver for Broadcom BCM2835 6 * branch "rpi-3.6.y" of git://github.com/raspberrypi/linux.git was used 7 * as a hardware reference for the Broadcom BCM2835 watchdog timer. 15 #include <linux/mfd/bcm2835-pm.h> 37 * The Raspberry Pi firmware uses the RSTS register to know which partition 39 * Partition 63 is a special partition used by the firmware to indicate halt. 61 cur = readl(wdt->base + PM_RSTC); in bcm2835_wdt_is_running() 72 spin_lock_irqsave(&wdt->lock, flags); in bcm2835_wdt_start() 74 writel_relaxed(PM_PASSWORD | (SECS_TO_WDOG_TICKS(wdog->timeout) & in bcm2835_wdt_start() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
| D | vc4_drv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2014-2015 Broadcom 11 * OpenGL ES 2.0-compatible 3D engine called V3D, and a highly 16 * compute shader-style jobs using the same shader processor as is 26 #include <linux/dma-mapping.h> 39 #include <soc/bcm2835/raspberrypi-firmware.h> 67 int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); in vc4_dumb_fixup_args() 69 if (args->pitch < min_pitch) in vc4_dumb_fixup_args() 70 args->pitch = min_pitch; in vc4_dumb_fixup_args() 72 if (args->size < args->pitch * args->height) in vc4_dumb_fixup_args() [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/bcm/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 5 bool "BCM2835 power domain driver" 11 This enables support for the BCM2835 power domains and reset 13 firmware means that Linux usage of the same power domain 23 or disabled via the RPi firmware. 39 Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
|
| /kernel/linux/linux-6.6/drivers/staging/vc04_services/bcm2835-audio/ |
| 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
|
| /kernel/linux/linux-6.6/drivers/soc/bcm/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 5 bool "BCM2835 power domain driver" 11 This enables support for the BCM2835 power domains and reset 13 firmware means that Linux usage of the same power domain 23 or disabled via the RPi firmware. 39 Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
|
| /kernel/linux/linux-5.10/drivers/clk/bcm/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 bool "Broadcom BCM2835 clock support" 20 Enable common clock framework support for Broadcom BCM2835 98 tristate "Raspberry Pi firmware based clock support" 101 Enable common clock framework support for Raspberry Pi's firmware
|
| D | clk-raspberrypi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Raspberry Pi driver for firmware controlled clocks 5 * Even though clk-bcm2835 provides an interface to the hardware registers for 6 * the system clocks we've had to factor out 'pllb' as the firmware 'owns' it. 8 * over-temperature and under-voltage protections provided by the firmware. 14 #include <linux/clk-provider.h> 19 #include <soc/bcm2835/raspberrypi-firmware.h> 53 [RPI_FIRMWARE_PIXEL_BVB_CLK_ID] = "pixel-bvb", 61 struct rpi_firmware *firmware; member 74 * Structure of the message passed to Raspberry Pi's firmware in order to [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/bcm/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 bool "Broadcom BCM2835 clock support" 20 Enable common clock framework support for Broadcom BCM2835 107 tristate "Raspberry Pi firmware based clock support" 110 Enable common clock framework support for Raspberry Pi's firmware
|
| /kernel/linux/linux-6.6/drivers/firmware/ |
| D | raspberrypi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Defines interfaces for interacting with the Raspberry Pi firmware's 9 #include <linux/dma-mapping.h> 18 #include <soc/bcm2835/raspberrypi-firmware.h> 42 complete(&fw->c); in response_callback() 46 * Sends a request to the firmware through the BCM2835 mailbox driver, 58 reinit_completion(&fw->c); in rpi_firmware_transaction() 59 ret = mbox_send_message(fw->chan, &message); in rpi_firmware_transaction() 61 if (wait_for_completion_timeout(&fw->c, HZ)) { in rpi_firmware_transaction() 64 ret = -ETIMEDOUT; in rpi_firmware_transaction() [all …]
|
| /kernel/linux/linux-5.10/drivers/firmware/ |
| D | raspberrypi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Defines interfaces for interacting wtih the Raspberry Pi firmware's 9 #include <linux/dma-mapping.h> 16 #include <soc/bcm2835/raspberrypi-firmware.h> 40 complete(&fw->c); in response_callback() 44 * Sends a request to the firmware through the BCM2835 mailbox driver, 56 reinit_completion(&fw->c); in rpi_firmware_transaction() 57 ret = mbox_send_message(fw->chan, &message); in rpi_firmware_transaction() 59 if (wait_for_completion_timeout(&fw->c, HZ)) { in rpi_firmware_transaction() 62 ret = -ETIMEDOUT; in rpi_firmware_transaction() [all …]
|