Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
ANDROID: GKI: pwm: core: Add option to config PWM duty/period with u6…
…4 data length Currently, PWM core driver provides interfaces for configuring PWM period and duty length in nanoseconds with an integer data type, so the max period can be only set to ~2.147 seconds. Add interfaces which can set PWM period and duty with u64 data type to remove this limitation. Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org> Bug: 152542675 Test: build and boot (cherry picked from commit a691c36aef3f1123f41f12e8d508c5e3457fec7f) [surenb: removed sysfs API changes, replaced 32-bit divisions with 64-bit ones in the following drivers to fix allmodconfig build: drivers/clk/clk-pwm.c drivers/hwmon/pwm-fan.c drivers/pwm/pwm-clps711x.c drivers/pwm/pwm-sti.c drivers/pwm/pwm-sun4i.c ] Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I149c14b2d59b181344e7bb77393c64bcd9998de5 Merged-In: I149c14b2d59b181344e7bb77393c64bcd9998de5
- Loading branch information
1 parent
1f1eb8c
commit d892c9f3571faa2e691fc3a9eb6ea4f4da1d7eab
Showing
8 changed files
with
99 additions
and
21 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
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