Searched +full:bcm2835 +full:- +full:pwm (Results 1 – 12 of 12) sorted by relevance
| /linux/Documentation/devicetree/bindings/pwm/ |
| H A D | pwm-bcm2835.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pwm/pwm-bcm2835.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: BCM2835 PWM controller (Raspberry Pi controller) 10 - Stefan Wahren <stefan.wahren@i2se.com> 13 - $ref: pwm.yaml# 17 const: brcm,bcm2835-pwm 25 "#pwm-cells": 29 - compatible [all …]
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm283x.dtsi | 1 #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 …]
|
| 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-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-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-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 …]
|
| /linux/drivers/pwm/ |
| H A D | pwm-bcm2835.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/pwm.h> 17 #define PWM_MODE 0x80 /* set timer in PWM mode */ 37 static int bcm2835_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) in bcm2835_pwm_request() argument 42 value = readl(pc->base + PWM_CONTROL); in bcm2835_pwm_request() 43 value &= ~(PWM_CONTROL_MASK << PWM_CONTROL_SHIFT(pwm->hwpwm)); in bcm2835_pwm_request() 44 value |= (PWM_MODE << PWM_CONTROL_SHIFT(pwm->hwpwm)); in bcm2835_pwm_request() 45 writel(value, pc->base + PWM_CONTROL); in bcm2835_pwm_request() 50 static void bcm2835_pwm_free(struct pwm_chip *chip, struct pwm_device *pwm) in bcm2835_pwm_free() argument 55 value = readl(pc->base + PWM_CONTROL); in bcm2835_pwm_free() [all …]
|
| H A D | pwm-raspberrypi-poe.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * https://www.raspberrypi.org/products/poe-hat/ 8 * - No disable bit, so a disabled PWM is simulated by duty_cycle 0 9 * - Only normal polarity 10 * - Fixed 12.5 kHz period 18 #include <linux/pwm.h> 20 #include <soc/bcm2835/raspberrypi-firmware.h> 21 #include <dt-bindings/pwm/raspberrypi,firmware-poe-pwm.h> 59 return -EIO; in raspberrypi_pwm_set_property() 77 return -EIO; in raspberrypi_pwm_get_property() [all …]
|
| /linux/drivers/clocksource/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 36 bool "BCM2835 timer driver" if COMPILE_TEST 39 Enables the support for the BCM2835 timer driver. 60 bool "OMAP dual-mode timer driver" if ARCH_K3 || COMPILE_TEST 64 Enables the support for the TI dual-mode timer driver. 198 Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture, 221 32-bit free running decrementing counters. 256 bool "Integrator-AP timer driver" if COMPILE_TEST 259 Enables support for the Integrator-AP timer. 284 available on many OMAP-like platforms. [all …]
|
| /linux/drivers/clk/bcm/ |
| H A D | clk-raspberrypi.c | 1 // 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> 31 [RPI_FIRMWARE_PWM_CLK_ID] = "pwm", 35 [RPI_FIRMWARE_PIXEL_BVB_CLK_ID] = "pixel-bvb", 182 * https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface 195 .id = cpu_to_le32(data->id), in raspberrypi_clock_property() 212 struct raspberrypi_clk *rpi = data->rpi; in raspberrypi_fw_is_prepared() [all …]
|