Home
last modified time | relevance | path

Searched +full:bcm2835 +full:- +full:mbox (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/drivers/mailbox/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/mailbox/
H A Dbrcm,bcm2835-mbox.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mailbox/brcm,bcm2835-mbox.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom BCM2835 VideoCore mailbox IPC
10 - Stefan Wahren <stefan.wahren@i2se.com>
14 const: brcm,bcm2835-mbox
22 "#mbox-cells":
26 - compatible
27 - reg
[all …]
/openbmc/u-boot/drivers/video/
H A Dbcm2835.c1 // SPDX-License-Identifier: GPL-2.0+
9 #include <asm/arch/mbox.h>
20 debug("bcm2835: Query resolution...\n"); in bcm2835_video_probe()
23 return -EIO; in bcm2835_video_probe()
25 debug("bcm2835: Setting up display for %d x %d\n", w, h); in bcm2835_video_probe()
30 debug("bcm2835: Final resolution is %d x %d\n", w, h); in bcm2835_video_probe()
33 fb_start = fb_base & ~(MMU_SECTION_SIZE - 1); in bcm2835_video_probe()
36 mmu_set_region_dcache_behaviour(fb_start, fb_end - fb_start, in bcm2835_video_probe()
40 uc_priv->xsize = w; in bcm2835_video_probe()
41 uc_priv->ysize = h; in bcm2835_video_probe()
[all …]
/openbmc/linux/arch/arm/boot/dts/broadcom/
H A 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 …]
/openbmc/qemu/hw/arm/
H A Dbcm2835_peripherals.c9 * See the COPYING file in the top-level directory.
23 /* Capabilities for SD controller: no DMA, high-speed, default clocks etc. */
27 * According to Linux driver & DTS, dma channels 0--10 have separate IRQ,
28 * while channels 11--14 share one IRQ:
44 memory_region_add_subregion_overlap(&ps->peri_mr, ofs, in create_unimp()
45 sysbus_mmio_get_region(SYS_BUS_DEVICE(uds), 0), -1000); in create_unimp()
54 object_initialize_child(obj, "rng", &s->rng, TYPE_BCM2835_RNG); in bcm2835_peripherals_init()
57 object_initialize_child(obj, "thermal", &s->thermal, TYPE_BCM2835_THERMAL); in bcm2835_peripherals_init()
60 object_initialize_child(obj, "gpio", &s->gpio, TYPE_BCM2835_GPIO); in bcm2835_peripherals_init()
62 object_property_add_const_link(OBJECT(&s->gpio), "sdbus-sdhci", in bcm2835_peripherals_init()
[all …]
H A Draspi.c12 * See the COPYING file in the top-level directory.
24 #include "qemu/error-report.h"
30 #define TYPE_RASPI_MACHINE MACHINE_TYPE_NAME("raspi-common")
49 * www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/
122 { 0xe59f5014 }, /* ldr r5, =0x400000CC ;load mbox base */ in write_smpboot()
124 { 0xe7953200 }, /* ldr r3, [r5, r0, lsl #4] ;read mbox for our core */ in write_smpboot()
127 { 0xe7853200 }, /* str r3, [r5, r0, lsl #4] ;clear mbox */ in write_smpboot()
141 info->smp_loader_start, smpboot, fixupcontext); in write_smpboot()
148 * The mechanism for doing the spin-table is also entirely different. in write_smpboot64()
149 * We must have four 64-bit fields at absolute addresses in write_smpboot64()
[all …]
/openbmc/qemu/include/hw/misc/
H A Dbcm2835_mbox.h5 * See the COPYING file in the top-level directory.
15 #define TYPE_BCM2835_MBOX "bcm2835-mbox"
36 BCM2835Mbox mbox[2]; member
/openbmc/u-boot/arch/arm/dts/
H A 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>
6 /* firmware-provided startup stubs live here, where the secondary CPUs are
12 * bcm2835 and bcm2836 implementations, leaving the CPU configuration to
13 * bcm2835.dtsi and bcm2836.dtsi.
17 compatible = "brcm,bcm2835";
18 model = "BCM2835";
19 interrupt-parent = <&intc>;
[all …]
/openbmc/u-boot/arch/arm/mach-bcm283x/
H A Dmsg.c1 // SPDX-License-Identifier: GPL-2.0+
9 #include <asm/arch/mbox.h>
49 BCM2835_MBOX_INIT_TAG(&msg_pwr->set_power_state, in bcm2835_power_on_module()
51 msg_pwr->set_power_state.body.req.device_id = module; in bcm2835_power_on_module()
52 msg_pwr->set_power_state.body.req.state = in bcm2835_power_on_module()
57 &msg_pwr->hdr); in bcm2835_power_on_module()
59 printf("bcm2835: Could not set module %u power state\n", in bcm2835_power_on_module()
61 return -EIO; in bcm2835_power_on_module()
77 BCM2835_MBOX_INIT_TAG(&msg_clk->get_clock_rate, GET_CLOCK_RATE); in bcm2835_get_mmc_clock()
78 msg_clk->get_clock_rate.body.req.clock_id = clock_id; in bcm2835_get_mmc_clock()
[all …]
/openbmc/linux/drivers/firmware/
H A Draspberrypi.c1 // SPDX-License-Identifier: GPL-2.0
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()
68 dev_err(fw->cl.dev, "mbox_send_message returned %d\n", ret); in rpi_firmware_transaction()
[all …]
/openbmc/u-boot/board/raspberrypi/rpi/
H A Drpi.c1 // SPDX-License-Identifier: GPL-2.0
3 * (C) Copyright 2012-2016 Stephen Warren
17 #include <asm/arch/mbox.h>
71 * https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md
81 DTB_DIR "bcm283x-rpi-other.dtb",
88 DTB_DIR "bcm2835-rpi-a.dtb",
93 DTB_DIR "bcm2835-rpi-b.dtb",
98 DTB_DIR "bcm2835-rpi-a-plus.dtb",
103 DTB_DIR "bcm2835-rpi-b-plus.dtb",
108 DTB_DIR "bcm2836-rpi-2-b.dtb",
[all …]
/openbmc/qemu/docs/system/arm/
H A Draspi.rst8 ARM1176JZF-S core, 512 MiB of RAM
10 Cortex-A7 (4 cores), 1 GiB of RAM
12 Cortex-A53 (4 cores), 512 MiB of RAM
14 Cortex-A53 (4 cores), 1 GiB of RAM
16 Cortex-A72 (4 cores), 2 GiB of RAM
19 -------------------
21 * ARM1176JZF-S, Cortex-A7, Cortex-A53 or Cortex-A72 CPU
27 * Serial ports (BCM2835 AUX - 16550 based - and PL011)
35 * MailBox controller (MBOX)
41 ---------------
/openbmc/u-boot/drivers/mmc/
H A Dbcm2835_sdhci.c3 * git://github.com/gonzoua/u-boot-pi.git master
6 * Tweaks for U-Boot upstreaming
9 * Portions (e.g. read/write macros, concepts for back-to-back register write
11 * https://github.com/raspberrypi/linux.git rpi-3.6.y
17 * Based on sdhci-bcm2708.c (c) 2010 Broadcom
34 * SDHCI platform device - Arasan SD controller in BCM2708
36 * Inspired by sdhci-pci.c, by Pierre Ossman
45 #include <asm/arch/mbox.h>
76 * successive writes to registers that are within two SD-card clock in bcm2835_sdhci_raw_writel()
79 * (Which is just as well - otherwise we'd have to nobble the DMA engine in bcm2835_sdhci_raw_writel()
[all …]
H A Dbcm2835_sdhost.c1 // SPDX-License-Identifier: GPL-2.0
3 * bcm2835 sdhost driver.
20 * This code was ported to U-Boot by
22 * and is based on drivers/mmc/host/bcm2835.c in Linux which is written by
24 * Copyright (C) 2015-2016 Raspberry Pi (Trading) Ltd.
26 * mmc-bcm2835.c by Gellert Weisz
28 * sdhci-bcm2708.c by Broadcom
29 * sdhci-bcm2835.c by Stephen Warren and Oleksandr Tymoshenko
30 * sdhci.c and sdhci-pci.c by Pierre Ossman
37 #include <asm/arch/mbox.h>
[all …]
/openbmc/u-boot/arch/arm/mach-bcm283x/include/mach/
H A Dmbox.h1 /* SPDX-License-Identifier: GPL-2.0+ */
12 * The BCM2835 SoC contains (at least) two CPUs; the VideoCore (a/k/a "GPU")
18 * The mailbox hardware supports passing 32-bit values back and forth.
26 * The property mailbox channel passes messages that contain the (16-byte
28 * the VC for processing, is modified in-place by the VC, and the address then
57 /* Lower 4-bits are channel ID */
79 (_m_)->hdr.buf_size = sizeof(*(_m_)); \
80 (_m_)->hdr.code = 0; \
81 (_m_)->end_tag = 0; \
95 (_t_)->tag_hdr.tag = BCM2835_MBOX_TAG_##_id_; \
[all …]
/openbmc/linux/
H A Dopengrok0.0.log1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz'
2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz'
3 2024-12-2
[all...]
H A Dopengrok1.0.log1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c'
2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms)
3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa
[all...]
H A Dopengrok2.0.log1 2024-12-28 20:05:26.116-0600 FINEST t586 Statistics.logIt: Added: '/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh' (ShAnalyzer) (took 79 ms)
2 2024-12-28 20:05:26.112-0600 FINER t592 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/qemu',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/qemu/chardev/spice.c'
3 2024-12-28 20:05:26.116-0600 FINEST t592 Statistics.logIt: Added: '/openbmc/qemu/chardev/spice.c' (CAnalyzer) (took 33 ms)
4 2024-1
[all...]
/openbmc/
Dopengrok1.0.log1 2025-01-24 03:00:36.558-0600 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler
2 2025-01-24 03:00:36.684-0600 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, -
[all...]
Dopengrok2.0.log1 2025-01-23 03:00:35.620-0600 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler
2 2025-01-23 03:00:35.747-0600 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, -
[all...]