Home
last modified time | relevance | path

Searched +full:bcm2835 +full:- +full:hvs (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/display/
Dbrcm,bcm2835-hvs.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-hvs.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Eric Anholt <eric@anholt.net>
15 - brcm,bcm2711-hvs
16 - brcm,bcm2835-hvs
29 - compatible
30 - reg
31 - interrupts
[all …]
Dbrcm,bcm2835-vc4.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-vc4.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Eric Anholt <eric@anholt.net>
14 with HDMI output and the HVS (Hardware Video Scaler) for compositing
20 - brcm,bcm2711-vc5
21 - brcm,bcm2835-vc4
22 - brcm,cygnus-vc4
25 - compatible
[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 …]
Dvc4_hvs.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * DOC: VC4 HVS module.
9 * The Hardware Video Scaler (HVS) is the piece of hardware that does
16 * There is a single global HVS, with multiple output FIFOs that can
18 * the HVS, while the vc4_crtc.c code actually drives HVS setup for
31 #include <soc/bcm2835/raspberrypi-firmware.h>
70 void vc4_hvs_dump_state(struct vc4_hvs *hvs) in vc4_hvs_dump_state() argument
72 struct drm_device *drm = &hvs->vc4->base; in vc4_hvs_dump_state()
73 struct drm_printer p = drm_info_printer(&hvs->pdev->dev); in vc4_hvs_dump_state()
79 drm_print_regset32(&p, &hvs->regset); in vc4_hvs_dump_state()
[all …]
Dvc4_crtc.c1 // SPDX-License-Identifier: GPL-2.0-only
12 * the HVS at that timing, and feeds it to the encoder.
16 * responsible for writing the display list for the HVS channel that
27 * output-specific clock. Since the encoders also directly consume
57 writel(val, vc4_crtc->regs + (offset)); \
63 readl(vc4_crtc->regs + (offset)); \
85 struct vc4_hvs *hvs = vc4->hvs; in vc4_crtc_get_cob_allocation() local
87 /* Top/base are supposed to be 4-pixel aligned, but the in vc4_crtc_get_cob_allocation()
94 return top - base + 4; in vc4_crtc_get_cob_allocation()
103 struct drm_device *dev = crtc->dev; in vc4_crtc_get_scanout_position()
[all …]
Dvc4_txp.c1 // SPDX-License-Identifier: GPL-2.0
31 /* Base address of the output. Raster formats must be 4-byte aligned,
32 * T and LT must be 16-byte aligned or maybe utile-aligned (docs are
37 /* Pitch in bytes for raster images, 16-byte aligned. For tiled, it's
41 /* For T-tiled imgaes, DST_PITCH should be the number of tiles wide,
45 /* For LT-tiled images, DST_PITCH should be the number of utiles wide,
50 /* Pre-rotation width/height of the image. Must match HVS config.
52 * If TFORMAT and 32-bit, limit is 1920 for 32-bit and 3840 to 16-bit
53 * and width/height must be tile or utile-aligned as appropriate. If
69 /* Bits 22-23 are set to 0x01 */
[all …]
Dvc4_hdmi.c1 // SPDX-License-Identifier: GPL-2.0-only
12 * The HDMI core has a state machine and a PHY. On BCM2835, most of
21 * and transfers them over an internal MAI (multi-channel audio
52 #include <sound/hdmi-codec.h>
116 struct drm_display_info *display = &vc4_hdmi->connector.display_info; in vc4_hdmi_supports_scrambling()
118 lockdep_assert_held(&vc4_hdmi->mutex); in vc4_hdmi_supports_scrambling()
120 if (!display->is_hdmi) in vc4_hdmi_supports_scrambling()
123 if (!display->hdmi.scdc.supported || in vc4_hdmi_supports_scrambling()
124 !display->hdmi.scdc.scrambling.supported) in vc4_hdmi_supports_scrambling()
141 struct drm_debugfs_entry *entry = m->private; in vc4_hdmi_debugfs_regs()
[all …]
/linux-6.12.1/Documentation/gpu/
Dvc4.rst5 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_drv.c
16 ----------------------
18 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_crtc.c
21 HVS section in Display Hardware Handling
22 ---
24 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_hvs.c
25 :doc: VC4 HVS module.
27 HVS planes
28 ----------
30 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_plane.c
[all …]
/linux-6.12.1/arch/arm/boot/dts/broadcom/
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 …]
Dbcm2711.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/soc/bcm2835-pm.h>
10 #address-cells = <2>;
11 #size-cells = <1>;
13 interrupt-parent = <&gicv2>;
16 compatible = "brcm,bcm2711-vc5";
20 clk_27MHz: clk-27M {
21 #clock-cells = <0>;
22 compatible = "fixed-clock";
[all …]
Dbcm2711-rpi.dtsi1 // 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/clk/bcm/
Dclk-raspberrypi.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Even though clk-bcm2835 provides an interface to the hardware registers for
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",
76 * The clock is shared between the HVS and the CSI
78 * on the pixels composited on the HVS and the capture
141 * https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface
154 .id = cpu_to_le32(data->id), in raspberrypi_clock_property()
[all …]