-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'pwm/for-6.14-rc1' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/ukleinek/linux Pull pwm updates from Uwe Kleine-König: "This time there are very little changes for pwm. There is nothing new, just a few maintenance cleanups. The contributors this time around were Krzysztof Kozlowski, Mingwei Zheng, Philipp Stanner, and Stanislav Jakubek. Thanks!" * tag 'pwm/for-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux: pwm: stm32: Add check for clk_enable() dt-bindings: pwm: Correct indentation and style in DTS example pwm: stm32-lp: Add check for clk_enable() dt-bindings: pwm: marvell,berlin-pwm: Convert from txt to yaml dt-bindings: pwm: sprd,ums512-pwm: convert to YAML pwm: Replace deprecated PCI functions
- Loading branch information
Showing
11 changed files
with
143 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
Documentation/devicetree/bindings/pwm/marvell,berlin-pwm.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/pwm/marvell,berlin-pwm.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Berlin PWM controller | ||
|
||
maintainers: | ||
- Jisheng Zhang <jszhang@kernel.org> | ||
- Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | ||
|
||
properties: | ||
compatible: | ||
const: marvell,berlin-pwm | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
"#pwm-cells": | ||
const: 3 | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
|
||
allOf: | ||
- $ref: pwm.yaml# | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
pwm@f7f20000 { | ||
compatible = "marvell,berlin-pwm"; | ||
reg = <0xf7f20000 0x40>; | ||
clocks = <&chip_clk 12>; | ||
#pwm-cells = <3>; | ||
}; | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
66 changes: 66 additions & 0 deletions
66
Documentation/devicetree/bindings/pwm/sprd,ums512-pwm.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/pwm/sprd,ums512-pwm.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Spreadtrum/Unisoc UMS512 PWM Controller | ||
|
||
maintainers: | ||
- Orson Zhai <orsonzhai@gmail.com> | ||
- Baolin Wang <baolin.wang@linux.alibaba.com> | ||
- Chunyan Zhang <zhang.lyra@gmail.com> | ||
|
||
properties: | ||
compatible: | ||
const: sprd,ums512-pwm | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
maxItems: 8 | ||
|
||
clock-names: | ||
items: | ||
- const: pwm0 | ||
- const: enable0 | ||
- const: pwm1 | ||
- const: enable1 | ||
- const: pwm2 | ||
- const: enable2 | ||
- const: pwm3 | ||
- const: enable3 | ||
|
||
'#pwm-cells': | ||
const: 2 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- clock-names | ||
|
||
allOf: | ||
- $ref: pwm.yaml# | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/sprd,ums512-clk.h> | ||
pwm@32260000 { | ||
compatible = "sprd,ums512-pwm"; | ||
reg = <0x32260000 0x10000>; | ||
clocks = <&aon_clk CLK_PWM0>, <&aonapb_gate CLK_PWM0_EB>, | ||
<&aon_clk CLK_PWM1>, <&aonapb_gate CLK_PWM1_EB>, | ||
<&aon_clk CLK_PWM2>, <&aonapb_gate CLK_PWM2_EB>, | ||
<&aon_clk CLK_PWM3>, <&aonapb_gate CLK_PWM3_EB>; | ||
clock-names = "pwm0", "enable0", | ||
"pwm1", "enable1", | ||
"pwm2", "enable2", | ||
"pwm3", "enable3"; | ||
#pwm-cells = <2>; | ||
}; | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters