Fenglin Wu
d892c9f357
ANDROID: GKI: pwm: core: Add option to config PWM duty/period with u64 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
2020-04-03 15:23:59 -07:00
..
2020-03-25 09:50:38 +01:00
2020-03-09 19:48:21 +00:00
2020-04-02 15:28:21 +02:00
2020-02-24 08:34:42 +01:00
2020-03-21 09:54:56 +01:00
2020-01-27 14:51:09 +01:00
2020-03-18 08:19:47 +01:00
2020-01-09 10:19:04 +01:00
2020-01-27 14:50:36 +01:00
2020-01-04 19:13:12 +01:00
2020-03-05 17:40:55 +01:00
2020-04-03 15:23:59 -07:00
2020-04-02 23:32:47 +00:00
2020-01-27 15:55:44 +01:00
2019-12-18 09:03:30 +01:00
2020-03-03 14:26:54 -08:00
2020-03-05 16:42:18 +01:00
2020-03-11 14:15:12 +01:00
2020-03-16 18:13:07 +00:00
2020-04-02 23:21:22 +00:00
2020-03-23 12:21:04 -07:00
2020-01-09 10:19:09 +01:00
2020-03-21 08:37:27 +01:00
2020-01-27 14:51:00 +01:00
2019-12-19 22:51:54 +00:00
2020-04-03 08:17:23 +02:00
2020-04-03 08:17:23 +02:00
2020-03-21 08:37:27 +01:00
2020-02-11 04:34:01 -08:00
2020-04-03 15:23:59 -07:00
2020-03-27 02:11:00 +00:00
2020-04-03 08:17:23 +02:00
2020-02-24 08:34:49 +01:00
2020-03-25 09:50:38 +01:00
2020-04-03 08:17:23 +02:00
2020-04-03 08:17:23 +02:00
2020-03-18 08:19:47 +01:00
2020-03-05 17:40:55 +01:00
2019-12-17 20:34:33 +01:00
2020-02-24 08:34:35 +01:00
2020-01-27 14:50:45 +01:00
2020-03-18 07:14:21 +01:00
2020-01-27 14:51:14 +01:00
2020-03-26 20:56:04 +00:00
2020-04-03 08:17:23 +02:00
2020-01-27 14:50:13 +01:00
2020-01-23 08:21:28 +01:00
2020-02-11 04:34:14 -08:00
2020-03-25 09:50:38 +01:00
2020-04-03 08:17:23 +02:00
2020-02-14 16:33:27 -05:00
2020-04-03 08:17:23 +02:00
2020-04-02 15:28:12 +02:00
2020-01-27 14:50:55 +01:00
2020-01-26 19:04:57 +00:00
2020-03-11 14:14:55 +01:00
2020-02-24 11:38:01 -08:00
2020-04-03 16:33:15 +00:00
2020-01-27 15:55:44 +01:00
2019-12-31 16:36:01 +01:00
2020-03-09 11:32:05 -07:00
2020-03-25 08:06:07 +01:00
2020-03-11 14:15:10 +01:00
2020-03-18 07:14:23 +01:00
2020-04-03 08:17:23 +02:00
2020-03-27 14:29:21 -07:00
2020-01-23 08:21:35 +01:00
2020-04-03 15:23:59 -07:00
2020-01-27 14:50:31 +01:00
2020-04-02 16:27:12 -07:00
2020-02-24 08:34:50 +01:00
2020-02-24 08:34:44 +01:00
2019-12-21 10:57:30 +01:00
2020-03-25 09:50:38 +01:00
2020-04-02 15:28:15 +02:00
2020-04-03 08:17:23 +02:00
2019-12-13 08:51:54 +01:00
2020-03-05 17:40:55 +01:00
2019-12-31 16:35:55 +01:00
2020-03-25 09:50:38 +01:00
2020-04-03 08:17:23 +02:00
2020-02-28 16:38:58 +01:00
2020-02-05 19:20:26 +00:00
2020-03-12 10:46:18 -07:00
2020-02-28 16:38:44 +01:00
2020-04-03 08:17:23 +02:00
2020-02-24 08:34:37 +01:00
2020-04-03 08:17:23 +02:00
2020-01-27 15:55:44 +01:00
2020-03-05 17:40:55 +01:00
2020-03-11 14:15:00 +01:00
2020-03-03 23:28:01 +00:00
2020-02-24 08:34:47 +01:00
2020-02-24 08:34:47 +01:00
2019-12-01 09:16:22 +01:00
2020-03-11 14:14:53 +01:00
2020-03-25 08:06:08 +01:00