Based on kernel version 6.15
. Page generated on 2025-05-29 09:09 EST
.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
| # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/pwm/sophgo,sg2042-pwm.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Sophgo SG2042 PWM controller
maintainers:
- Chen Wang <unicorn_wang@outlook.com>
description:
This controller contains 4 channels which can generate PWM waveforms.
allOf:
- $ref: pwm.yaml#
properties:
compatible:
const: sophgo,sg2042-pwm
reg:
maxItems: 1
clocks:
maxItems: 1
clock-names:
items:
- const: apb
resets:
maxItems: 1
"#pwm-cells":
const: 3
required:
- compatible
- reg
- clocks
- clock-names
- resets
unevaluatedProperties: false
examples:
- |
#include <dt-bindings/reset/sophgo,sg2042-reset.h>
pwm@7f006000 {
compatible = "sophgo,sg2042-pwm";
reg = <0x7f006000 0x1000>;
#pwm-cells = <3>;
clocks = <&clock 67>;
clock-names = "apb";
resets = <&rstgen RST_PWM>;
};
|
- << [ bindings ]
- adi,axi-pwmgen.yaml
- airoha,en7581-pwm.yaml
- allwinner,sun4i-a10-pwm.yaml
- apple,s5l-fpwm.yaml
- atmel,at91sam-pwm.yaml
- atmel,hlcdc-pwm.yaml
- brcm,bcm7038-pwm.yaml
- brcm,iproc-pwm.yaml
- brcm,kona-pwm.yaml
- cirrus,clps711x-pwm.txt
- cirrus,ep9301-pwm.yaml
- clk-pwm.yaml
- fsl,vf610-ftm-pwm.yaml
- google,cros-ec-pwm.yaml
- img-pwm.txt
- imx-pwm.yaml
- imx-tpm-pwm.yaml
- intel,keembay-pwm.yaml
- intel,lgm-pwm.yaml
- iqs620a-pwm.yaml
- kontron,sl28cpld-pwm.yaml
- lpc1850-sct-pwm.txt
- lpc32xx-pwm.txt
- marvell,berlin-pwm.yaml
- marvell,pxa-pwm.yaml
- mediatek,mt2712-pwm.yaml
- mediatek,pwm-disp.yaml
- microchip,corepwm.yaml
- mxs-pwm.yaml
- nvidia,tegra20-pwm.yaml
- nxp,pca9685-pwm.txt
- opencores,pwm.yaml
- pwm-amlogic.yaml
- pwm-bcm2835.yaml
- pwm-gpio.yaml
- pwm-hibvt.txt
- pwm-lp3943.txt
- pwm-nexus-node.yaml
- pwm-rockchip.yaml
- pwm-samsung.yaml
- pwm-sifive.yaml
- pwm-st.txt
- pwm-tiecap.yaml
- pwm-tiehrpwm.yaml
- pwm-tipwmss.txt
- pwm.txt
- pwm.yaml
- renesas,pwm-rcar.yaml
- renesas,tpu-pwm.yaml
- snps,dw-apb-timers-pwm2.yaml
- sophgo,sg2042-pwm.yaml
- spear-pwm.txt
- sprd,ums512-pwm.yaml
- st,stmpe-pwm.txt
- sunplus,sp7021-pwm.yaml
- ti,omap-dmtimer-pwm.yaml
- ti,twl-pwm.txt
- ti,twl-pwmled.txt
- toshiba,pwm-visconti.yaml
- vt8500-pwm.txt
-