-
Notifications
You must be signed in to change notification settings - Fork 25
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.8-rc1' of git://git.kernel.org/pub/scm/linux/ker…
…nel/git/thierry.reding/linux-pwm Pull pwm updates from Thierry Reding: "This contains a bunch of cleanups and simplifications across the board, as well as a number of small fixes. Perhaps the most notable change here is the addition of an API that allows PWMs to be used in atomic contexts, which is useful when time- critical operations are involved, such as using a PWM to generate IR signals. Finally, I have decided to step down as PWM subsystem maintainer. Due to other responsibilities I have lately not been able to find the time that the subsystem deserves and Uwe, who has been helping out a lot for the past few years and has many things planned for the future, has kindly volunteered to take over. I have no doubt that he will be a suitable replacement" * tag 'pwm/for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (44 commits) MAINTAINERS: pwm: Thierry steps down, Uwe takes over pwm: linux/pwm.h: fix Excess kernel-doc description warning pwm: Add pwm_apply_state() compatibility stub pwm: cros-ec: Drop documentation for dropped struct member pwm: Drop two unused API functions pwm: lpc18xx-sct: Don't modify the cached period of other PWM outputs pwm: meson: Simplify using dev_err_probe() pwm: stmpe: Silence duplicate error messages pwm: Reduce number of pointer dereferences in pwm_device_request() pwm: crc: Use consistent variable naming for driver data pwm: omap-dmtimer: Drop locking dt-bindings: pwm: ti,pwm-omap-dmtimer: Update binding for yaml media: pwm-ir-tx: Trigger edges from hrtimer interrupt context pwm: bcm2835: Allow PWM driver to be used in atomic context pwm: Make it possible to apply PWM changes in atomic context pwm: renesas: Remove unused include pwm: Replace ENOTSUPP with EOPNOTSUPP pwm: Rename pwm_apply_state() to pwm_apply_might_sleep() pwm: Stop referencing pwm->chip pwm: Update kernel doc for struct pwm_chip ...
- Loading branch information
Showing
53 changed files
with
517 additions
and
365 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ title: MediaTek DISP_PWM Controller | |
|
||
maintainers: | ||
- Jitao Shi <[email protected]> | ||
- Xinlei Lee <[email protected]> | ||
|
||
allOf: | ||
- $ref: pwm.yaml# | ||
|
22 changes: 0 additions & 22 deletions
22
Documentation/devicetree/bindings/pwm/pwm-omap-dmtimer.txt
This file was deleted.
Oops, something went wrong.
59 changes: 59 additions & 0 deletions
59
Documentation/devicetree/bindings/pwm/ti,omap-dmtimer-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,59 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/pwm/ti,omap-dmtimer-pwm.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: TI dual mode timer PWM controller | ||
|
||
maintainers: | ||
- Tony Lindgren <[email protected]> | ||
|
||
description: | ||
TI dual mode timer instances have an IO pin for PWM capability | ||
|
||
allOf: | ||
- $ref: pwm.yaml# | ||
|
||
properties: | ||
compatible: | ||
const: ti,omap-dmtimer-pwm | ||
|
||
"#pwm-cells": | ||
const: 3 | ||
|
||
ti,timers: | ||
description: Timer instance phandle for the PWM | ||
$ref: /schemas/types.yaml#/definitions/phandle | ||
|
||
ti,prescaler: | ||
description: | | ||
Legacy clock prescaler for timer. The timer counter is prescaled | ||
with 2^n where n is the prescaler. | ||
$ref: /schemas/types.yaml#/definitions/uint32 | ||
enum: [ 0, 1, 2, 3, 4, 5, 6, 7 ] | ||
deprecated: true | ||
|
||
ti,clock-source: | ||
description: | | ||
Legacy clock for timer, please use assigned-clocks instead. | ||
0x00 - high-frequency system clock (timer_sys_ck) | ||
0x01 - 32-kHz always-on clock (timer_32k_ck) | ||
0x02 - external clock (timer_ext_ck, OMAP2 only) | ||
$ref: /schemas/types.yaml#/definitions/uint32 | ||
enum: [ 0, 1, 2 ] | ||
deprecated: true | ||
|
||
required: | ||
- compatible | ||
- ti,timers | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
pwm9: pwm { | ||
compatible = "ti,omap-dmtimer-pwm"; | ||
ti,timers = <&timer9>; | ||
#pwm-cells = <3>; | ||
}; |
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 |
---|---|---|
|
@@ -17645,12 +17645,11 @@ F: Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.yaml | |
F: drivers/media/rc/pwm-ir-tx.c | ||
|
||
PWM SUBSYSTEM | ||
M: Thierry Reding <[email protected]> | ||
R: Uwe Kleine-König <[email protected]> | ||
M: Uwe Kleine-König <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
Q: https://patchwork.ozlabs.org/project/linux-pwm/list/ | ||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git | ||
T: git https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git | ||
F: Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml | ||
F: Documentation/devicetree/bindings/pwm/ | ||
F: Documentation/driver-api/pwm.rst | ||
|
@@ -17660,7 +17659,7 @@ F: drivers/video/backlight/pwm_bl.c | |
F: include/dt-bindings/pwm/ | ||
F: include/linux/pwm.h | ||
F: include/linux/pwm_backlight.h | ||
K: pwm_(config|apply_state|ops) | ||
K: pwm_(config|apply_might_sleep|apply_atomic|ops) | ||
|
||
PXA GPIO DRIVER | ||
M: Robert Jarzmik <[email protected]> | ||
|
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.