/linux/Documentation/devicetree/bindings/soc/bcm/ |
H A D | brcm,bcm2835-pm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/soc/bcm/brcm,bcm2835-pm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: BCM2835 PM (Power domains, watchdog) 10 The PM block controls power domains and some reset lines, and includes a 14 - Nicolas Saenz Julienne <nsaenz@kernel.org> 17 - $ref: /schemas/watchdog/watchdog.yaml# 22 - enum: 23 - brcm,bcm2835-pm [all …]
|
/linux/drivers/mfd/ |
H A D | bcm2835-pm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * PM MFD driver for Broadcom BCM2835 6 * the WDT and power drivers. 11 #include <linux/mfd/bcm2835-pm.h> 21 { .name = "bcm2835-wdt" }, 25 { .name = "bcm2835-power" }, 31 if (of_property_present(pm->dev->of_node, "reg-names")) { in bcm2835_pm_get_pdata() 34 pm->base = devm_platform_ioremap_resource_byname(pdev, "pm"); in bcm2835_pm_get_pdata() 35 if (IS_ERR(pm->base)) in bcm2835_pm_get_pdata() 36 return PTR_ERR(pm->base); in bcm2835_pm_get_pdata() [all …]
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm2835-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * bcm2835, bcm2836 and bcm2837 implementations. 8 interrupt-parent = <&intc>; 11 dma: dma-controller@7e007000 { 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>; [all …]
|
H A D | bcm2835-rpi.dtsi | 1 #include <dt-bindings/power/raspberrypi-power.h> 6 compatible = "raspberrypi,bcm2835-firmware", "simple-mfd"; 10 compatible = "raspberrypi,firmware-clocks"; 11 #clock-cells = <1>; 15 power: power { label 16 compatible = "raspberrypi,bcm2835-power"; 18 #power-domain-cells = <1>; 22 compatible = "brcm,bcm2835-vchiq"; 32 clock-names = "lp", "vpu"; 33 power-domains = <&power RPI_POWER_DOMAIN_UNICAM0>; [all …]
|
H A 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 "bcm2835-rpi-common.dtsi" 6 #include "bcm283x-rpi-led-deprecated.dtsi" 7 #include "bcm283x-rpi-smsc9512.dtsi" 8 #include "bcm283x-rpi-usb-host.dtsi" 11 compatible = "raspberrypi,model-b", "brcm,bcm2835"; 22 * Taken from Raspberry-Pi-Rev-1.0-Model-AB-Schematics.pdf [all …]
|
H A 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"; 31 gpio-line-names = "ID_SDA", 88 pinctrl-names = "default"; [all …]
|
H A 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 "bcm2835-rpi-common.dtsi" 6 #include "bcm283x-rpi-led-deprecated.dtsi" 7 #include "bcm283x-rpi-smsc9514.dtsi" 8 #include "bcm283x-rpi-usb-host.dtsi" 11 compatible = "raspberrypi,model-b-plus", "brcm,bcm2835"; 22 * Taken from Raspberry-Pi-B-Plus-V1.2-Schematics.pdf [all …]
|
H A 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 …]
|
H A 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 "bcm2835-rpi-common.dtsi" 6 #include "bcm283x-rpi-led-deprecated.dtsi" 7 #include "bcm283x-rpi-smsc9512.dtsi" 8 #include "bcm283x-rpi-usb-host.dtsi" 11 compatible = "raspberrypi,model-b-rev2", "brcm,bcm2835"; 22 * Taken from Raspberry-Pi-Rev-2.0-Model-AB-Schematics.pdf [all …]
|
H A 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 "bcm2835-rpi-common.dtsi" 6 #include "bcm283x-rpi-led-deprecated.dtsi" 7 #include "bcm283x-rpi-usb-host.dtsi" 10 compatible = "raspberrypi,model-a", "brcm,bcm2835"; 21 * Taken from Raspberry-Pi-Rev-1.0-Model-AB-Schematics.pdf 28 gpio-line-names = "SDA0", [all …]
|
H A 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 "bcm2835-rpi-common.dtsi" 6 #include "bcm283x-rpi-led-deprecated.dtsi" 7 #include "bcm283x-rpi-usb-host.dtsi" 10 compatible = "raspberrypi,model-a-plus", "brcm,bcm2835"; 27 gpio-line-names = "ID_SDA", 84 pinctrl-names = "default"; [all …]
|
H A 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"; 19 gpio-line-names = "GPIO0", 76 pinctrl-names = "default"; 77 pinctrl-0 = <&gpioout &alt0>; 81 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; 82 power-domains = <&power RPI_POWER_DOMAIN_HDMI>; [all …]
|
H A 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 …]
|
H A D | bcm2835-rpi-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * bcm2835, bcm2836 and bcm2837 implementations that interact with RPi's 8 #include <dt-bindings/power/raspberrypi-power.h> 13 clock-names = "pixel", "hdmi"; 17 power-domains = <&power RPI_POWER_DOMAIN_V3D>;
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | brcm,bcm2835-unicam.yaml | 1 # 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. 26 const: brcm,bcm2835-unicam 30 - description: Unicam block. 31 - description: Clock Manager Image (CMI) block. [all …]
|
/linux/drivers/pmdomain/bcm/ |
H A 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 12 controller. Any usage of power domains by the Raspberry Pi 13 firmware means that Linux usage of the same power domain 17 bool "Raspberry Pi power domain driver" 22 This enables support for the RPi power domains which can be enabled 26 bool "Broadcom PMB (Power Management Bus) driver" 31 This enables support for the Broadcom's PMB (Power Management Bus) that 35 bool "BCM63xx power domain driver" [all …]
|
H A 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> 61 /* The power gates must be enabled with this bit before enabling the LDO in the 109 #define PM_READ(reg) readl(power->base + (reg)) 110 #define PM_WRITE(reg, val) writel(PM_PASSWORD | (val), power->base + (reg)) 133 struct bcm2835_power *power; member 152 static int bcm2835_asb_control(struct bcm2835_power *power, u32 reg, bool enable) in bcm2835_asb_control() argument [all …]
|
H A 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> 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() 68 old_interface ? "power" : "domain", on, ret); in rpi_firmware_set_power() [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 2 obj-$(CONFIG_BCM_PMB) += bcm-pmb.o 3 obj-$(CONFIG_BCM2835_POWER) += bcm2835-power.o 4 obj-$(CONFIG_BCM63XX_POWER) += bcm63xx-power.o 5 obj-$(CONFIG_RASPBERRYPI_POWER) += raspberrypi-power.o
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | brcm,bcm2835-vec.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-vec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Eric Anholt <eric@anholt.net> 15 - brcm,bcm2711-vec 16 - brcm,bcm2835-vec 27 power-domains: 31 - compatible 32 - reg [all …]
|
H A D | brcm,bcm2835-dsi0.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-dsi0.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Eric Anholt <eric@anholt.net> 13 - $ref: dsi-controller.yaml# 16 "#clock-cells": 21 - brcm,bcm2711-dsi1 22 - brcm,bcm2835-dsi0 23 - brcm,bcm2835-dsi1 [all …]
|
H A 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# 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 27 - description: The HDMI state machine clock [all …]
|
H A D | brcm,bcm2835-v3d.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/brcm,bcm2835-v3d.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Eric Anholt <eric@anholt.net> 15 - brcm,bcm2835-v3d 16 - brcm,cygnus-v3d 27 power-domains: 31 - compatible 32 - reg [all …]
|
/linux/drivers/watchdog/ |
H A 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> 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() 75 PM_WDOG_TIME_SET), wdt->base + PM_WDOG); in bcm2835_wdt_start() 76 cur = readl_relaxed(wdt->base + PM_RSTC); in bcm2835_wdt_start() [all …]
|
/linux/Documentation/hwmon/ |
H A D | sbrmi.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 8 * Sideband Remote Management Interface (SB-RMI) compliant AMD SoC 15 To instantiate this driver on an AMD CPU with SB-RMI 22 As mentioned in AMD's APML specification, The SB-RMI address is 27 Datasheet: The SB-RMI interface and protocol along with the Advanced 31 https://www.amd.com/en/support/tech-docs?keyword=55898 36 ----------- 39 (SB-RMI) module from the external SMBus master that can be used to report socket 40 power on AMD platforms using mailbox command and resembles a typical 8-pin remote 41 power sensor's I2C interface to BMC. [all …]
|