aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
authorLinus Torvalds <torvalds@linux-foundation.org>2026-06-16 07:26:47 +0530
committerLinus Torvalds <torvalds@linux-foundation.org>2026-06-16 07:26:47 +0530
commit6b617c82580599994c8dd078ab0dcb0375b42eda (patch)
treec2a607ac8316e31ff773eefac4e4ffd15183cbcb /Documentation
parentfd1878584db2f0ab3fe8f2b3d8d59316fffa47fa (diff)
parent6f9b73071c15001530e6697491b6db1bf639f4c7 (diff)
downloadath-6b617c82580599994c8dd078ab0dcb0375b42eda.tar.gz
Merge tag 'pwm/for-7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux
Pull pwm updates from Uwe Kleine-König: "The usual mixture of minor fixes, a few cleanups, a new driver and dt updates for the pwm subsystem. Thanks to Chen Ni, Devi Priya, Manish Baing, Maurice Hieronymus, Ronaldo Nunez, Rosen Penev, Shiji Yang and Yixun Lan for the actual changes and Bjorn Andersson, Conor Dooley, Frank Li, Michal Wilczynski and Rob Herring for reviews and acks" * tag 'pwm/for-7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux: pwm: th1520: Remove requirement for mul_u64_u64_div_u64_roundup dt-bindings: pwm: stmpe: Drop legacy binding pwm: pca9685: Use named initializers for struct i2c_device_id pwm: pxa: Add optional bus clock dt-bindings: pwm: marvell,pxa-pwm: Add SpacemiT K3 PWM support pwm: ipq: Add missing module description pwm: stm32: Make use of mul_u64_u64_div_u64_roundup() pwm: Consistently define pci_device_ids using named initializers pwm: Driver for qualcomm ipq6018 pwm block pwm: imx27: Fix variable truncation in .apply() pwm: mediatek: correct mt7628 clock source setting pwm: mediatek: set mt7628 pwm45_fixup flag to false pwm: atmel-tcb: Remove unneeded semicolon
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/pwm/marvell,pxa-pwm.yaml41
-rw-r--r--Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt18
2 files changed, 38 insertions, 21 deletions
diff --git a/Documentation/devicetree/bindings/pwm/marvell,pxa-pwm.yaml b/Documentation/devicetree/bindings/pwm/marvell,pxa-pwm.yaml
index 8df327e528107..f1422a401b6ba 100644
--- a/Documentation/devicetree/bindings/pwm/marvell,pxa-pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/marvell,pxa-pwm.yaml
@@ -15,7 +15,9 @@ allOf:
properties:
compatible:
contains:
- const: spacemit,k1-pwm
+ enum:
+ - spacemit,k1-pwm
+ - spacemit,k3-pwm
then:
properties:
"#pwm-cells":
@@ -26,6 +28,26 @@ allOf:
const: 1
description: |
Used for specifying the period length in nanoseconds.
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - spacemit,k3-pwm
+ then:
+ required:
+ - clock-names
+ properties:
+ clocks:
+ minItems: 2
+ clock-names:
+ minItems: 2
+ else:
+ properties:
+ clocks:
+ maxItems: 1
+ clock-names:
+ maxItems: 1
properties:
compatible:
@@ -36,7 +58,9 @@ properties:
- marvell,pxa168-pwm
- marvell,pxa910-pwm
- items:
- - const: spacemit,k1-pwm
+ - enum:
+ - spacemit,k1-pwm
+ - spacemit,k3-pwm
- const: marvell,pxa910-pwm
reg:
@@ -47,7 +71,18 @@ properties:
description: Number of cells in a pwm specifier.
clocks:
- maxItems: 1
+ minItems: 1
+ items:
+ - description: The function clock
+ - description: An optional bus clock
+
+ clock-names:
+ minItems: 1
+ maxItems: 2
+ oneOf:
+ - items:
+ - const: func
+ - const: bus
resets:
maxItems: 1
diff --git a/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt b/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt
deleted file mode 100644
index f401316e0248b..0000000000000
--- a/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-== ST STMPE PWM controller ==
-
-This is a PWM block embedded in the ST Microelectronics STMPE
-(ST Multi-Purpose Expander) chips. The PWM is registered as a
-subdevices of the STMPE MFD device.
-
-Required properties:
-- compatible: should be:
- - "st,stmpe-pwm"
-- #pwm-cells: should be 2. See pwm.yaml in this directory for a description of
- the cells format.
-
-Example:
-
-pwm0: pwm {
- compatible = "st,stmpe-pwm";
- #pwm-cells = <2>;
-};