-
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-5.4-rc1' of git://git.kernel.org/pub/scm/linux/ker…
…nel/git/thierry.reding/linux-pwm Pull pwm updates from Thierry Reding: "Besides one new driver being added for the PWM controller found in various Spreadtrum SoCs, this series of changes brings a slew of, mostly minor, fixes and cleanups for existing drivers, as well as some enhancements to the core code. Lastly, Uwe is added to the PWM subsystem entry of the MAINTAINERS file, making official his role as a reviewer" * tag 'pwm/for-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (34 commits) MAINTAINERS: Add myself as reviewer for the PWM subsystem MAINTAINERS: Add patchwork link for PWM entry MAINTAINERS: Add a selection of PWM related keywords to the PWM entry pwm: mediatek: Add MT7629 compatible string dt-bindings: pwm: Update bindings for MT7629 SoC pwm: mediatek: Update license and switch to SPDX tag pwm: mediatek: Use pwm_mediatek as common prefix pwm: mediatek: Allocate the clks array dynamically pwm: mediatek: Remove the has_clks field pwm: mediatek: Drop the check for of_device_get_match_data() pwm: atmel: Consolidate driver data initialization pwm: atmel: Remove unneeded check for match data pwm: atmel: Remove platform_device_id and use only dt bindings pwm: stm32-lp: Add check in case requested period cannot be achieved pwm: Ensure pwm_apply_state() doesn't modify the state argument pwm: fsl-ftm: Don't update the state for the caller of pwm_apply_state() pwm: sun4i: Don't update the state for the caller of pwm_apply_state() pwm: rockchip: Don't update the state for the caller of pwm_apply_state() pwm: Let pwm_get_state() return the last implemented state pwm: Introduce local struct pwm_chip in pwm_apply_state() ...
- Loading branch information
Showing
31 changed files
with
576 additions
and
236 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Spreadtrum PWM controller | ||
|
||
Spreadtrum SoCs PWM controller provides 4 PWM channels. | ||
|
||
Required properties: | ||
- compatible : Should be "sprd,ums512-pwm". | ||
- reg: Physical base address and length of the controller's registers. | ||
- clocks: The phandle and specifier referencing the controller's clocks. | ||
- clock-names: Should contain following entries: | ||
"pwmn": used to derive the functional clock for PWM channel n (n range: 0 ~ 3). | ||
"enablen": for PWM channel n enable clock (n range: 0 ~ 3). | ||
- #pwm-cells: Should be 2. See pwm.txt in this directory for a description of | ||
the cells format. | ||
|
||
Optional properties: | ||
- assigned-clocks: Reference to the PWM clock entries. | ||
- assigned-clock-parents: The phandle of the parent clock of PWM clock. | ||
|
||
Example: | ||
pwms: pwm@32260000 { | ||
compatible = "sprd,ums512-pwm"; | ||
reg = <0 0x32260000 0 0x10000>; | ||
clock-names = "pwm0", "enable0", | ||
"pwm1", "enable1", | ||
"pwm2", "enable2", | ||
"pwm3", "enable3"; | ||
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>; | ||
assigned-clocks = <&aon_clk CLK_PWM0>, | ||
<&aon_clk CLK_PWM1>, | ||
<&aon_clk CLK_PWM2>, | ||
<&aon_clk CLK_PWM3>; | ||
assigned-clock-parents = <&ext_26m>, | ||
<&ext_26m>, | ||
<&ext_26m>, | ||
<&ext_26m>; | ||
#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
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
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
Oops, something went wrong.