/Linux-v5.10/Documentation/devicetree/bindings/display/ |
D | brcm,bcm2835-hdmi.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom VC4 (VideoCore4) HDMI Controller 10 - Eric Anholt <eric@anholt.net> 14 const: brcm,bcm2835-hdmi 18 - description: HDMI register range 19 - description: HD register range 26 - description: The pixel clock [all …]
|
D | brcm,bcm2835-vc4.yaml | 1 # 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-v5.10/arch/arm/boot/dts/ |
D | bcm2835-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * bcm2835, bcm2836 and bcm2837 implementations. 8 interrupt-parent = <&intc>; 12 compatible = "brcm,bcm2835-dma"; 25 /* dma channel 11-14 share one irq */ 32 interrupt-names = "dma0", 47 "dma-shared-all"; 48 #dma-cells = <1>; 49 brcm,dma-channel-mask = <0x7f35>; 52 intc: interrupt-controller@7e00b200 { [all …]
|
D | bcm2711.dtsi | 1 // 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 …]
|
D | bcm2835-rpi-b.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 #include "bcm2835.dtsi" 4 #include "bcm2835-rpi.dtsi" 5 #include "bcm283x-rpi-smsc9512.dtsi" 6 #include "bcm283x-rpi-usb-host.dtsi" 9 compatible = "raspberrypi,model-b", "brcm,bcm2835"; 26 * Taken from Raspberry-Pi-Rev-1.0-Model-AB-Schematics.pdf 34 gpio-line-names = "SDA0", 92 pinctrl-0 = <&gpioout &alt0>; [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 "bcm283x-rpi-usb-otg.dtsi" 12 compatible = "raspberrypi,model-zero", "brcm,bcm2835"; 36 gpio-line-names = "ID_SDA", 93 pinctrl-0 = <&gpioout &alt0 &i2s_alt0>; 102 &hdmi { 103 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; [all …]
|
D | bcm2835-rpi-b-plus.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 #include "bcm2835.dtsi" 4 #include "bcm2835-rpi.dtsi" 5 #include "bcm283x-rpi-smsc9514.dtsi" 6 #include "bcm283x-rpi-usb-host.dtsi" 9 compatible = "raspberrypi,model-b-plus", "brcm,bcm2835"; 25 default-state = "keep"; 26 linux,default-trigger = "default-on"; 33 * Taken from Raspberry-Pi-B-Plus-V1.2-Schematics.pdf [all …]
|
D | bcm2835-rpi-b-rev2.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 #include "bcm2835.dtsi" 4 #include "bcm2835-rpi.dtsi" 5 #include "bcm283x-rpi-smsc9512.dtsi" 6 #include "bcm283x-rpi-usb-host.dtsi" 9 compatible = "raspberrypi,model-b-rev2", "brcm,bcm2835"; 26 * Taken from Raspberry-Pi-Rev-2.0-Model-AB-Schematics.pdf 34 gpio-line-names = "SDA0", 91 pinctrl-0 = <&gpioout &alt0 &i2s_alt2>; [all …]
|
D | bcm2835-rpi-a.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 #include "bcm2835.dtsi" 4 #include "bcm2835-rpi.dtsi" 5 #include "bcm283x-rpi-usb-host.dtsi" 8 compatible = "raspberrypi,model-a", "brcm,bcm2835"; 25 * Taken from Raspberry-Pi-Rev-1.0-Model-AB-Schematics.pdf 33 gpio-line-names = "SDA0", 91 pinctrl-0 = <&gpioout &alt0 &i2s_alt2>; 100 &hdmi { [all …]
|
D | bcm2835-rpi-a-plus.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 #include "bcm2835.dtsi" 4 #include "bcm2835-rpi.dtsi" 5 #include "bcm283x-rpi-usb-host.dtsi" 8 compatible = "raspberrypi,model-a-plus", "brcm,bcm2835"; 24 default-state = "keep"; 25 linux,default-trigger = "default-on"; 39 gpio-line-names = "ID_SDA", 96 pinctrl-0 = <&gpioout &alt0 &i2s_alt0>; [all …]
|
D | bcm2835-rpi-cm1-io1.dts | 1 // 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"; 20 gpio-line-names = "GPIO0", 77 pinctrl-0 = <&gpioout &alt0>; 80 &hdmi { 81 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; 82 power-domains = <&power RPI_POWER_DOMAIN_HDMI>; [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 "bcm283x-rpi-usb-otg.dtsi" 12 compatible = "raspberrypi,model-zero-w", "brcm,bcm2835"; 22 stdout-path = "serial1:115200n8"; 31 wifi_pwrseq: wifi-pwrseq { 32 compatible = "mmc-pwrseq-simple"; 33 reset-gpios = <&gpio 41 GPIO_ACTIVE_LOW>; [all …]
|
D | bcm2711-rpi-4-b.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "bcm2835-rpi.dtsi" 5 #include "bcm283x-rpi-usb-peripheral.dtsi" 7 #include <dt-bindings/reset/raspberrypi,firmware-reset.h> 10 compatible = "raspberrypi,4-model-b", "brcm,bcm2711"; 15 stdout-path = "serial1:115200n8"; 38 default-state = "keep"; 39 linux,default-trigger = "default-on"; 43 wifi_pwrseq: wifi-pwrseq { [all …]
|
/Linux-v5.10/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include "bcm2835.h" 18 MODULE_PARM_DESC(enable_hdmi, "Enables HDMI virtual audio device"); 42 return -ENOMEM; in bcm2835_devm_add_vchi_ctx() 79 err = snd_bcm2835_new_pcm(chip, "bcm2835 ALSA", 0, AUDIO_DEST_AUTO, in bcm2835_audio_alsa_newpcm() 80 numchannels - 1, false); in bcm2835_audio_alsa_newpcm() 84 err = snd_bcm2835_new_pcm(chip, "bcm2835 IEC958/HDMI", 1, 0, 1, true); in bcm2835_audio_alsa_newpcm() 104 .shortname = "bcm2835 ALSA", 105 .longname = "bcm2835 ALSA", 116 .shortname = "bcm2835 HDMI", [all …]
|
D | bcm2835-ctl.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include "bcm2835.h" 13 #define CTRL_VOL_MIN -10239 /* originally -10240 */ 21 if (chip->alsa_stream[i]) { in bcm2835_audio_set_chip_ctls() 22 err = bcm2835_audio_set_ctls(chip->alsa_stream[i]); in bcm2835_audio_set_chip_ctls() 33 if (kcontrol->private_value == PCM_PLAYBACK_VOLUME) { in snd_bcm2835_ctl_info() 34 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_bcm2835_ctl_info() 35 uinfo->count = 1; in snd_bcm2835_ctl_info() 36 uinfo->value.integer.min = CTRL_VOL_MIN; in snd_bcm2835_ctl_info() 37 uinfo->value.integer.max = CTRL_VOL_MAX; /* 2303 */ in snd_bcm2835_ctl_info() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/clock/ |
D | brcm,bcm2835-cprman.txt | 1 Broadcom BCM2835 CPRMAN clocks 4 Documentation/devicetree/bindings/clock/clock-bindings.txt 7 of the BCM2835. There is a level of PLLs deriving from an external 9 few PLLs, and a level of mostly-generic clock generators sourcing from 11 clock generators, but a few (like the ARM or HDMI) will source from 15 - compatible: should be one of the following, 16 "brcm,bcm2711-cprman" 17 "brcm,bcm2835-cprman" 18 - #clock-cells: Should be <1>. The permitted clock-specifier values can be 19 found in include/dt-bindings/clock/bcm2835.h [all …]
|
/Linux-v5.10/drivers/gpu/drm/vc4/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 18 VC4 GPU, such as the Raspberry Pi or other BCM2708/BCM2835. 25 bool "Broadcom VC4 HDMI CEC Support"
|
D | vc4_hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * DOC: VC4 Falcon HDMI module 12 * The HDMI core has a state machine and a PHY. On BCM2835, most of 16 * HDMI infoframes are kept within a small packet ram, where each 19 * HDMI audio is implemented entirely within the HDMI IP block. A 20 * register in the HDMI encoder takes SPDIF frames from the DMA engine 21 * and transfers them over an internal MAI (multi-channel audio 25 * The driver's HDMI encoder does not yet support power management. 26 * The HDMI encoder's power domain and the HSM/pixel clocks are kept 27 * continuously running, and only the HDMI logic and packet ram are [all …]
|
D | vc4_crtc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 * image domain can feed either HDMI or the SDTV controller. The 22 * pixel valve chooses from the CPRMAN clocks (HSM for HDMI, VEC for 27 * output-specific clock. Since the encoders also directly consume 49 #define CRTC_WRITE(offset, val) writel(val, vc4_crtc->regs + (offset)) 50 #define CRTC_READ(offset) readl(vc4_crtc->regs + (offset)) 72 /* Top/base are supposed to be 4-pixel aligned, but the in vc4_crtc_get_cob_allocation() 79 return top - base + 4; in vc4_crtc_get_cob_allocation() 88 struct drm_device *dev = crtc->dev; in vc4_crtc_get_scanout_position() 91 struct vc4_crtc_state *vc4_crtc_state = to_vc4_crtc_state(crtc->state); in vc4_crtc_get_scanout_position() [all …]
|
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 12 * configurable display output pipeline that supports HDMI, DSI, DPI, 16 * compute shader-style jobs using the same shader processor as is 26 #include <linux/dma-mapping.h> 58 map = devm_ioremap_resource(&dev->dev, res); in vc4_ioremap_regs() 74 if (args->pad != 0) in vc4_get_param_ioctl() 75 return -EINVAL; in vc4_get_param_ioctl() 77 if (!vc4->v3d) in vc4_get_param_ioctl() [all …]
|
D | vc4_vec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 * PAL and PAL-M or NTSC and NTSC-J. 173 #define VEC_READ(offset) readl(vec->regs + (offset)) 174 #define VEC_WRITE(offset, val) writel(val, vec->regs + (offset)) 319 struct drm_connector_state *state = connector->state; in vc4_vec_connector_get_modes() 322 mode = drm_mode_duplicate(connector->dev, in vc4_vec_connector_get_modes() 323 vc4_vec_tv_modes[state->tv.mode].mode); in vc4_vec_connector_get_modes() 326 return -ENOMEM; in vc4_vec_connector_get_modes() 353 vec_connector = devm_kzalloc(dev->dev, sizeof(*vec_connector), in vc4_vec_connector_init() 356 return ERR_PTR(-ENOMEM); in vc4_vec_connector_init() [all …]
|
/Linux-v5.10/drivers/soc/bcm/ |
D | raspberrypi-power.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <dt-bindings/power/raspberrypi-power.h> 14 #include <soc/bcm2835/raspberrypi-firmware.h> 55 packet.domain = rpi_domain->domain; in rpi_firmware_set_power() 57 return rpi_firmware_property(rpi_domain->fw, in rpi_firmware_set_power() 58 rpi_domain->old_interface ? in rpi_firmware_set_power() 83 struct rpi_power_domain *dom = &rpi_domains->domains[xlate_index]; in rpi_common_init_power_domain() 85 dom->fw = rpi_domains->fw; in rpi_common_init_power_domain() 87 dom->base.name = name; in rpi_common_init_power_domain() 88 dom->base.power_on = rpi_domain_on; in rpi_common_init_power_domain() [all …]
|
D | bcm2835-power.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Power domain driver for Broadcom BCM2835 8 #include <dt-bindings/soc/bcm2835-pm.h> 12 #include <linux/mfd/bcm2835-pm.h> 16 #include <linux/reset-controller.h> 109 #define PM_READ(reg) readl(power->base + (reg)) 110 #define PM_WRITE(reg, val) writel(PM_PASSWORD | (val), power->base + (reg)) 129 #define ASB_READ(reg) readl(power->asb + (reg)) 130 #define ASB_WRITE(reg, val) writel(PM_PASSWORD | (val), power->asb + (reg)) 164 if (ktime_get_ns() - start >= 1000) in bcm2835_asb_enable() [all …]
|
/Linux-v5.10/drivers/clk/bcm/ |
D | clk-bcm2835.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * DOC: BCM2835 CPRMAN (clock manager for the "audio" domain) 13 * and "HDMI displays". Those 5 PLLs each can divide their output to 15 * be consumed by other hardware components (like "H264" or "HDMI 27 #include <linux/clk-provider.h> 37 #include <dt-bindings/clock/bcm2835.h> 44 # define CM_DIV_FRAC_MASK GENMASK(CM_DIV_FRAC_BITS - 1, 0) 252 # define A2W_PLL_FRAC_MASK ((1 << A2W_PLL_FRAC_BITS) - 1) 336 writel(CM_PASSWORD | val, cprman->regs + reg); in cprman_write() 341 return readl(cprman->regs + reg); in cprman_read() [all …]
|
/Linux-v5.10/ |
D | MAINTAINERS | 9 ------------------------- 30 ``diff -u`` to make the patch easy to merge. Be prepared to get your 40 See Documentation/process/coding-style.rst for guidance here. 46 See Documentation/process/submitting-patches.rst for details. 57 include a Signed-off-by: line. The current version of this 59 Documentation/process/submitting-patches.rst. 70 that the bug would present a short-term risk to other users if it 76 Documentation/admin-guide/security-bugs.rst for details. 81 --------------------------------------------------- 97 W: *Web-page* with status/info [all …]
|