Home
last modified time | relevance | path

Searched +full:bcm2835 +full:- +full:firmware (Results 1 – 25 of 54) sorted by relevance

123

/linux-6.12.1/Documentation/devicetree/bindings/arm/bcm/
Draspberrypi,bcm2835-firmware.yaml1 # 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 …]
/linux-6.12.1/Documentation/devicetree/bindings/dma/
Dbrcm,bcm2835-dma.yaml1 # 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 …]
/linux-6.12.1/drivers/media/platform/broadcom/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
13 Say Y here to enable support for the BCM283x/BCM271x CSI-2 receiver.
14 This is a V4L2 driver that controls the CSI-2 receiver directly,
15 independently from the VC4 firmware.
17 This driver is mutually exclusive with the use of bcm2835-camera. The
18 firmware will disable all access to the peripheral from within the
19 firmware if it finds a DT node using it, and bcm2835-camera will
23 called bcm2835-unicam.
/linux-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm2835-rpi.dtsi1 #include <dt-bindings/power/raspberrypi-power.h>
5 firmware: firmware { label
6 compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
10 compatible = "raspberrypi,firmware-clocks";
11 #clock-cells = <1>;
16 compatible = "raspberrypi,bcm2835-power";
17 firmware = <&firmware>;
18 #power-domain-cells = <1>;
22 compatible = "brcm,bcm2835-vchiq";
32 clock-names = "lp", "vpu";
[all …]
Dbcm2835-rpi-zero.dts1 // 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 …]
Dbcm2835-rpi-zero-w.dts1 // 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 …]
Dbcm283x.dtsi1 #include <dt-bindings/pinctrl/bcm2835.h>
2 #include <dt-bindings/clock/bcm2835.h>
3 #include <dt-bindings/clock/bcm2835-aux.h>
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/interrupt-controller/irq.h>
6 #include <dt-bindings/soc/bcm2835-pm.h>
8 /* firmware-provided startup stubs live here, where the secondary CPUs are
14 * bcm2835 and bcm2836 implementations, leaving the CPU configuration to
15 * bcm2835.dtsi and bcm2836.dtsi.
19 compatible = "brcm,bcm2835";
[all …]
Dbcm2835-rpi-cm1-io1.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3 #include "bcm2835-rpi-cm1.dtsi"
4 #include "bcm283x-rpi-usb-host.dtsi"
7 compatible = "raspberrypi,compute-module", "brcm,bcm2835";
13 * This is based on the official GPU firmware DT blob.
19 gpio-line-names = "GPIO0",
76 pinctrl-names = "default";
77 pinctrl-0 = <&gpioout &alt0>;
81 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
[all …]
Dbcm2835-rpi-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 * bcm2835, bcm2836 and bcm2837 implementations that interact with RPi's
5 * firmware interface.
8 #include <dt-bindings/power/raspberrypi-power.h>
13 clock-names = "pixel", "hdmi";
17 power-domains = <&power RPI_POWER_DOMAIN_V3D>;
/linux-6.12.1/drivers/staging/vc04_services/
DKconfig1 # 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.
21 messaging interface between the kernel and the firmware running
26 BCM2835 family of SoCs.
43 (like bcm2835-audio).
49 source "drivers/staging/vc04_services/bcm2835-audio/Kconfig"
51 source "drivers/staging/vc04_services/bcm2835-camera/Kconfig"
53 source "drivers/staging/vc04_services/vchiq-mmal/Kconfig"
/linux-6.12.1/Documentation/devicetree/bindings/media/
Dbrcm,bcm2835-unicam.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/brcm,bcm2835-unicam.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
12 description: |-
14 CSI-2 or CCP2 data from image sensors or similar devices.
17 the Pi the VideoCore firmware can also control this hardware block, and
19 the firmware checks the device tree configuration during boot. If it finds
20 device tree nodes whose name starts with 'csi' then it will stop the firmware
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/soc/bcm/
Draspberrypi,bcm2835-power.txt5 - 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>;
Dbrcm,bcm2835-vchiq.yaml1 # 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 …]
/linux-6.12.1/drivers/watchdog/
Dbcm2835_wdt.c1 // 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 …]
/linux-6.12.1/drivers/gpu/drm/vc4/
Dvc4_drv.c1 // 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 …]
/linux-6.12.1/drivers/pmdomain/bcm/
DKconfig1 # 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.
Draspberrypi-power.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <dt-bindings/power/raspberrypi-power.h>
14 #include <soc/bcm2835/raspberrypi-firmware.h>
17 * Firmware indices for the old power domains interface. Only a few
48 * Asks the firmware to enable or disable power on a specific power
55 bool old_interface = rpi_domain->old_interface; in rpi_firmware_set_power()
59 packet.domain = rpi_domain->domain; in rpi_firmware_set_power()
62 ret = rpi_firmware_property(rpi_domain->fw, old_interface ? in rpi_firmware_set_power()
67 dev_err(&domain->dev, "Failed to set %s to %u (%d)\n", in rpi_firmware_set_power()
70 dev_dbg(&domain->dev, "Set %s to %u\n", in rpi_firmware_set_power()
[all …]
/linux-6.12.1/drivers/staging/vc04_services/bcm2835-audio/
DKconfig1 # 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
/linux-6.12.1/drivers/clk/bcm/
DKconfig1 # 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
Dclk-raspberrypi.c1 // 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>
35 [RPI_FIRMWARE_PIXEL_BVB_CLK_ID] = "pixel-bvb",
46 struct rpi_firmware *firmware; member
92 * HDMI connector, the firmware will skip the HSM
[all …]
/linux-6.12.1/drivers/firmware/
Draspberrypi.c1 // 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 …]
/linux-6.12.1/drivers/mailbox/
Dbcm2835-mailbox.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 2013-2014 Lubomir Rintel
8 * - arch/arm/mach-bcm2708/vcio.c file written by Gray Girling that was
9 * obtained from branch "rpi-3.6.y" of git://github.com/raspberrypi/
11 * - drivers/mailbox/bcm2835-ipc.c by Lubomir Rintel at
12 * https://github.com/hackerspace/rpi-linux/blob/lr-raspberry-pi/drivers/
13 * mailbox/bcm2835-ipc.c
14 * - documentation available on the following web site:
15 * https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface
19 #include <linux/dma-mapping.h>
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/input/touchscreen/
Draspberrypi,firmware-ts.txt1 Raspberry Pi firmware based 7" touchscreen
5 - compatible: "raspberrypi,firmware-ts"
8 - firmware: Reference to RPi's firmware device node
9 - touchscreen-size-x: See touchscreen.txt
10 - touchscreen-size-y: See touchscreen.txt
11 - touchscreen-inverted-x: See touchscreen.txt
12 - touchscreen-inverted-y: See touchscreen.txt
13 - touchscreen-swapped-x-y: See touchscreen.txt
17 firmware: firmware-rpi {
18 compatible = "raspberrypi,bcm2835-firmware";
[all …]
/linux-6.12.1/drivers/i2c/busses/
Di2c-bcm2835.c1 // SPDX-License-Identifier: GPL-2.0
3 * BCM2835 I2C controller driver
8 #include <linux/clk-provider.h>
27 * 16-bit field for the number of SCL cycles to wait after rising SCL
76 writel(val, i2c_dev->regs + reg); in bcm2835_i2c_writel()
81 return readl(i2c_dev->regs + reg); in bcm2835_i2c_readl()
104 return -EINVAL; in clk_bcm2835_i2c_calc_divider()
116 if (divider == -EINVAL) in clk_bcm2835_i2c_set_rate()
117 return -EINVAL; in clk_bcm2835_i2c_set_rate()
119 bcm2835_i2c_writel(div->i2c_dev, BCM2835_I2C_DIV, divider); in clk_bcm2835_i2c_set_rate()
[all …]
/linux-6.12.1/drivers/reset/
Dreset-raspberrypi.c1 // SPDX-License-Identifier: GPL-2.0
3 * Raspberry Pi 4 firmware reset driver
12 #include <linux/reset-controller.h>
13 #include <soc/bcm2835/raspberrypi-firmware.h>
14 #include <dt-bindings/reset/raspberrypi,firmware-reset.h>
37 * firmware may either be loaded directly from an EEPROM or, if in rpi_reset_reset()
38 * not present, by the SoC's co-processor, VideoCore. rpi's in rpi_reset_reset()
39 * VideoCore OS contains both the non public firmware load in rpi_reset_reset()
40 * logic and the VL805 firmware blob. This triggers the in rpi_reset_reset()
44 * firmware encoded like this: in rpi_reset_reset()
[all …]

123