Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/mfd/
Dbcm2835-pm.c1 // SPDX-License-Identifier: GPL-2.0+
3 * PM MFD driver for Broadcom BCM2835
5 * This driver binds to the PM block and creates the MFD device for
11 #include <linux/mfd/bcm2835-pm.h>
21 { .name = "bcm2835-wdt" },
25 { .name = "bcm2835-power" },
31 struct device *dev = &pdev->dev; in bcm2835_pm_probe()
32 struct bcm2835_pm *pm; in bcm2835_pm_probe() local
35 pm = devm_kzalloc(dev, sizeof(*pm), GFP_KERNEL); in bcm2835_pm_probe()
36 if (!pm) in bcm2835_pm_probe()
[all …]
/kernel/linux/linux-6.6/drivers/mfd/
Dbcm2835-pm.c1 // SPDX-License-Identifier: GPL-2.0+
3 * PM MFD driver for Broadcom BCM2835
5 * This driver binds to the PM block and creates the MFD device for
11 #include <linux/mfd/bcm2835-pm.h>
21 { .name = "bcm2835-wdt" },
25 { .name = "bcm2835-power" },
29 struct bcm2835_pm *pm) in bcm2835_pm_get_pdata() argument
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()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/bcm/
Dbrcm,bcm2835-pm.yaml1 # 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/bcm/
Dbrcm,bcm2835-pm.txt1 BCM2835 PM (Power domains, watchdog)
3 The PM block controls power domains and some reset lines, and includes
4 a watchdog timer. This binding supersedes the brcm,bcm2835-pm-wdt
5 binding which covered some of PM's register range and functionality.
9 - compatible: Should be "brcm,bcm2835-pm"
10 - reg: Specifies base physical address and size of the two
11 register ranges ("PM" and "ASYNC_BRIDGE" in that
13 - clocks: a) v3d: The V3D clock from CPRMAN
17 - #reset-cells: Should be 1. This property follows the reset controller
19 - #power-domain-cells: Should be 1. This property follows the power domain
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/broadcom/
Dbcm2835-common.dtsi1 // 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 …]
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 …]
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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dbcm2835-common.dtsi1 // 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 …]
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 …]
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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/watchdog/
Dbrcm,bcm2835-pm-wdog.txt1 BCM2835 Watchdog timer
5 - compatible : should be "brcm,bcm2835-pm-wdt"
6 - reg : Specifies base physical address and size of the registers.
10 - timeout-sec : Contains the watchdog timeout in seconds
15 compatible = "brcm,bcm2835-pm-wdt";
17 timeout-sec = <10>;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/watchdog/
Dbrcm,bcm2835-pm-wdog.txt1 BCM2835 Watchdog timer
5 - compatible : should be "brcm,bcm2835-pm-wdt"
6 - reg : Specifies base physical address and size of the registers.
10 - timeout-sec : Contains the watchdog timeout in seconds
15 compatible = "brcm,bcm2835-pm-wdt";
17 timeout-sec = <10>;
/kernel/linux/linux-6.6/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>
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 …]
/kernel/linux/linux-5.10/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>
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 …]
/kernel/linux/linux-6.6/drivers/soc/bcm/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 bool "BCM2835 power domain driver"
8 select PM_GENERIC_DOMAINS if PM
11 This enables support for the BCM2835 power domains and reset
20 select PM_GENERIC_DOMAINS if PM
39 Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
49 select PM_GENERIC_DOMAINS if PM
59 select PM_GENERIC_DOMAINS if PM
/kernel/linux/linux-5.10/drivers/soc/bcm/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 bool "BCM2835 power domain driver"
8 select PM_GENERIC_DOMAINS if PM
11 This enables support for the BCM2835 power domains and reset
20 select PM_GENERIC_DOMAINS if PM
39 Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
Dbcm2835-power.c1 // 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))
141 /* PM registers. */
[all …]
/kernel/linux/linux-6.6/drivers/pmdomain/bcm/
Dbcm2835-power.c1 // 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))
140 /* PM registers. */
154 void __iomem *base = power->asb; in bcm2835_asb_control()
163 if (power->rpivid_asb) in bcm2835_asb_control()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
11 depends on PM
24 VC4 GPU, such as the Raspberry Pi or other BCM2708/BCM2835.
50 Documentation/dev-tools/kunit/.
Dvc4_v3d.c1 // SPDX-License-Identifier: GPL-2.0-only
99 struct drm_debugfs_entry *entry = m->private; in vc4_v3d_debugfs_ident()
100 struct drm_device *dev = entry->dev; in vc4_v3d_debugfs_ident()
130 if (WARN_ON_ONCE(vc4->is_vc5)) in vc4_v3d_pm_get()
131 return -ENODEV; in vc4_v3d_pm_get()
133 mutex_lock(&vc4->power_lock); in vc4_v3d_pm_get()
134 if (vc4->power_refcount++ == 0) { in vc4_v3d_pm_get()
135 int ret = pm_runtime_get_sync(&vc4->v3d->pdev->dev); in vc4_v3d_pm_get()
138 vc4->power_refcount--; in vc4_v3d_pm_get()
139 mutex_unlock(&vc4->power_lock); in vc4_v3d_pm_get()
[all …]
/kernel/linux/linux-5.10/arch/arm64/
DKconfig.platforms1 # SPDX-License-Identifier: GPL-2.0-only
17 bool "Allwinner sunxi 64-bit SoC Family"
33 bool "Broadcom BCM2835 family"
69 bool "Broadcom Set-Top-Box SoCs"
87 select PM_GENERIC_DOMAINS if PM
97 This enables support for the Microchip Sparx5 ARMv8-based
98 SoC family of TSN-capable gigabit switches.
100 The SparX-5 Ethernet switch family provides a rich set of
101 switching features such as advanced TCAM-based VLAN and QoS
103 security through TCAM-based frame processing using versatile
[all …]
/kernel/linux/linux-6.6/arch/arm64/
DKconfig.platforms1 # SPDX-License-Identifier: GPL-2.0-only
12 bool "Allwinner sunxi 64-bit SoC Family"
33 This enables support for Apple's in-house ARM SoC family, starting
42 bool "Broadcom BCM2835 family"
67 Say Y if you intend to run the kernel on a Broadcom Broadband ARM-based
70 This enables support for Broadcom BCA ARM-based broadband chipsets,
74 bool "Broadcom Set-Top-Box SoCs"
105 select PM_GENERIC_DOMAINS if PM
115 This enables support for the Microchip Sparx5 ARMv8-based
116 SoC family of TSN-capable gigabit switches.
[all …]
/kernel/linux/linux-5.10/drivers/mailbox/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 on-chip processors through queued messages and interrupt driven
51 running on the Cortex-M3 rWTM secure processor of the Armada 37xx
77 This driver provides support for inter-processor communication
103 tristate "BCM2835 Mailbox"
108 BCM2835 Mailbox.
161 providing an interface for invoking the inter-process communication
174 tristate "APM SoC X-Gene SLIMpro Mailbox Controller"
177 An implementation of the APM X-Gene Interprocessor Communication
178 Mailbox (IPCM) between the ARM 64-bit cores and SLIMpro controller.
[all …]
/kernel/linux/linux-6.6/drivers/mailbox/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 on-chip processors through queued messages and interrupt driven
16 Apple SoCs have various co-processors required for certain
70 running on the Cortex-M3 rWTM secure processor of the Armada 37xx
96 This driver provides support for inter-processor communication
122 tristate "BCM2835 Mailbox"
127 BCM2835 Mailbox.
184 module will be called mailbox-mpfs.
193 providing an interface for invoking the inter-process communication
206 tristate "APM SoC X-Gene SLIMpro Mailbox Controller"
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_v3d.c1 // SPDX-License-Identifier: GPL-2.0-only
101 struct drm_info_node *node = (struct drm_info_node *)m->private; in vc4_v3d_debugfs_ident()
102 struct drm_device *dev = node->minor->dev; in vc4_v3d_debugfs_ident()
132 mutex_lock(&vc4->power_lock); in vc4_v3d_pm_get()
133 if (vc4->power_refcount++ == 0) { in vc4_v3d_pm_get()
134 int ret = pm_runtime_get_sync(&vc4->v3d->pdev->dev); in vc4_v3d_pm_get()
137 vc4->power_refcount--; in vc4_v3d_pm_get()
138 mutex_unlock(&vc4->power_lock); in vc4_v3d_pm_get()
142 mutex_unlock(&vc4->power_lock); in vc4_v3d_pm_get()
150 mutex_lock(&vc4->power_lock); in vc4_v3d_pm_put()
[all …]

12