index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
drivers
/
pwm
/
core.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-04-30
pwm: Don't check pointer for being non-NULL after use
Uwe Kleine-König
1
-1
/
+3
2024-04-26
pwm: Add a struct device to struct pwm_chip
Uwe Kleine-König
1
-42
/
+51
2024-04-26
pwm: Ensure a struct pwm has the same lifetime as its pwm_chip
Uwe Kleine-König
1
-17
/
+10
2024-04-26
pwm: Move contents of sysfs.c into core.c
Uwe Kleine-König
1
-6
/
+534
2024-04-26
pwm: Ensure that pwm_chips are allocated using pwmchip_alloc()
Uwe Kleine-König
1
-0
/
+10
2024-03-29
pwm: Fix setting period with #pwm-cells = <1> and of_pwm_single_xlate()
Uwe Kleine-König
1
-1
/
+1
2024-02-15
pwm: Provide pwmchip_alloc() function and a devm variant of it
Uwe Kleine-König
1
-0
/
+58
2024-02-15
pwm: Provide an inline function to get the parent device of a given chip
Uwe Kleine-König
1
-21
/
+21
2024-02-15
pwm: Reorder symbols in core.c
Uwe Kleine-König
1
-309
/
+310
2024-02-15
pwm: Drop duplicate check against chip->npwm in of_pwm_xlate_with_flags()
Uwe Kleine-König
1
-3
/
+0
2024-02-15
pwm: Let the of_xlate callbacks accept references without period
Uwe Kleine-König
1
-11
/
+9
2024-02-15
pwm: Drop useless member .of_pwm_n_cells of struct pwm_chip
Uwe Kleine-König
1
-19
/
+3
2024-01-12
pwm: Fix out-of-bounds access in of_pwm_single_xlate()
Uwe Kleine-König
1
-1
/
+1
2023-12-20
pwm: Reduce number of pointer dereferences in pwm_device_request()
Uwe Kleine-König
1
-6
/
+8
2023-12-20
pwm: Make it possible to apply PWM changes in atomic context
Sean Young
1
-11
/
+51
2023-12-20
pwm: Rename pwm_apply_state() to pwm_apply_might_sleep()
Sean Young
1
-9
/
+9
2023-12-20
pwm: Narrow scope of struct pwm_device pointer
Uwe Kleine-König
1
-3
/
+2
2023-12-20
pwm: Mention PWM chip ID in /sys/kernel/debug/pwm
Uwe Kleine-König
1
-1
/
+2
2023-12-20
pwm: Replace PWM chip unique base by unique ID
Uwe Kleine-König
1
-42
/
+25
2023-12-20
pwm: Drop unused member "pwm" from struct pwm_device
Uwe Kleine-König
1
-1
/
+0
2023-10-13
pwm: Drop pwm_[sg]et_chip_data()
Uwe Kleine-König
1
-31
/
+0
2023-10-13
pwm: Manage owner assignment implicitly for drivers
Uwe Kleine-König
1
-10
/
+14
2023-07-28
pwm: Fix order of freeing resources in pwmchip_remove()
Uwe Kleine-König
1
-3
/
+3
2023-07-28
pwm: Drop unused #include <linux/radix-tree.h>
Uwe Kleine-König
1
-1
/
+0
2023-07-28
pwm: Remove outdated documentation for pwmchip_remove()
Uwe Kleine-König
1
-4
/
+1
2023-07-24
pwm: Explicitly include correct DT includes
Rob Herring
1
-0
/
+1
2023-07-20
pwm: Use a consistent name for pwm_chip pointers in the core
Uwe Kleine-König
1
-14
/
+14
2023-04-14
pwm: Remove unused radix tree
Thierry Reding
1
-12
/
+1
2023-04-13
pwm: Delete deprecated functions pwm_request() and pwm_free()
Uwe Kleine-König
1
-56
/
+2
2023-03-23
pwm: Zero-initialize the pwm_state passed to driver's .get_state()
Uwe Kleine-König
1
-2
/
+10
2022-12-06
pwm: Handle .get_state() failures
Uwe Kleine-König
1
-2
/
+12
2022-12-06
pwm/tracing: Also record trace events for failed API calls
Uwe Kleine-König
1
-10
/
+8
2022-12-06
pwm: core: Remove S_IFREG from debugfs_create_file()
Andy Shevchenko
1
-2
/
+1
2022-12-06
pwm: Don't initialize list head before calling list_add()
Uwe Kleine-König
1
-1
/
+0
2022-12-06
pwm: Mark free pwm IDs as used in alloc_pwms()
Uwe Kleine-König
1
-2
/
+2
2022-12-06
pwm: Reduce time the pwm_lock mutex is held in pwmchip_add()
Uwe Kleine-König
1
-15
/
+12
2022-12-06
pwm: Document variables protected by pwm_lock
Uwe Kleine-König
1
-0
/
+5
2022-10-07
Merge tag 'pwm/for-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...
Linus Torvalds
1
-1
/
+1
2022-09-28
pwm: core: Replace custom implementation of device_match_fwnode()
Andy Shevchenko
1
-1
/
+1
2022-09-19
pwm: core: Make of_pwm_get() static
Andy Shevchenko
1
-3
/
+2
2022-09-19
pwm: core: Get rid of unused devm_of_pwm_get()
Andy Shevchenko
1
-30
/
+0
2022-06-22
pwm: Drop support for legacy drivers
Uwe Kleine-König
1
-81
/
+1
2022-01-20
Merge tag 'pwm/for-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds
1
-60
/
+79
2021-11-18
Merge drm/drm-next into drm-misc-next
Thomas Zimmermann
1
-0
/
+9
2021-11-17
pwm: Restore initial state if a legacy callback fails
Uwe Kleine-König
1
-6
/
+8
2021-11-17
pwm: Prevent a glitch for legacy drivers
Uwe Kleine-König
1
-17
/
+24
2021-11-17
pwm: Move legacy driver handling into a dedicated function
Uwe Kleine-König
1
-60
/
+70
2021-11-05
pwm: Make it explicit that pwm_apply_state() might sleep
Uwe Kleine-König
1
-0
/
+9
2021-10-27
pwm: Introduce single-PWM of_xlate function
Bjorn Andersson
1
-0
/
+26
2021-09-02
pwm: Make pwmchip_remove() return void
Uwe Kleine-König
1
-3
/
+1
2021-07-07
pwm: Remove redundant assignment to pointer pwm
Colin Ian King
1
-1
/
+1
2021-06-30
pwm: core: Simplify some devm_*pwm*() functions
Andy Shevchenko
1
-35
/
+25
2021-06-30
pwm: core: Remove unused devm_pwm_put()
Andy Shevchenko
1
-25
/
+0
2021-06-30
pwm: core: Unify fwnode checks in the module
Andy Shevchenko
1
-6
/
+7
2021-06-30
pwm: core: Reuse fwnode_to_pwmchip() in ACPI case
Andy Shevchenko
1
-30
/
+1
2021-06-30
pwm: core: Convert to use fwnode for matching
Andy Shevchenko
1
-3
/
+3
2021-06-28
pwm: Drop irrelevant error path from pwmchip_remove()
Uwe Kleine-König
1
-14
/
+2
2021-06-28
pwm: Add a device-managed function to add PWM chips
Uwe Kleine-König
1
-0
/
+19
2021-06-04
pwm: core: Support new usage_power setting in PWM state
Clemens Gruber
1
-1
/
+5
2021-05-25
pwm: Autodetect default value for of_pwm_n_cells from device tree
Uwe Kleine-König
1
-1
/
+7
2021-05-25
pwm: Drop of_pwm_simple_xlate() in favour of of_pwm_xlate_with_flags()
Uwe Kleine-König
1
-26
/
+1
2021-05-25
pwm: Make of_pwm_xlate_with_flags() work with #pwm-cells = <2>
Uwe Kleine-König
1
-4
/
+5
2021-03-22
pwm: Drop function pwmchip_add_with_polarity()
Uwe Kleine-König
1
-22
/
+3
2021-03-22
pwm: Return -EINVAL for old-style drivers without .set_polarity callback
Uwe Kleine-König
1
-1
/
+1
2021-03-22
pwm: Always allocate PWM chip base ID dynamically
Uwe Kleine-König
1
-18
/
+7
2020-12-17
pwm: core: Use octal permission
Soham Biswas
1
-1
/
+1
2020-09-24
pwm: Convert to use DEFINE_SEQ_ATTRIBUTE macro
Liu Shixin
1
-14
/
+3
2020-06-17
pwm: Convert period and duty cycle to u64
Guru Das Srinagesh
1
-7
/
+7
2020-06-04
pwm: Add missing "CONFIG_" prefix
Kees Cook
1
-1
/
+1
2020-04-14
pwm: Add missing '\n' in log messages
Christophe JAILLET
1
-1
/
+1
2020-04-03
pwm: Make pwm_apply_state_debug() static
Jason Yan
1
-2
/
+2
2020-03-30
pwm: Implement some checks for lowlevel drivers
Uwe Kleine-König
1
-7
/
+128
2020-01-20
pwm: Implement tracing for .get_state() and .apply_state()
Uwe Kleine-König
1
-1
/
+8
2019-12-09
pwm: Read initial hardware state at request time
Thierry Reding
1
-3
/
+3
2019-10-21
Revert "pwm: Let pwm_get_state() return the last implemented state"
Thierry Reding
1
-8
/
+1
2019-09-21
pwm: Ensure pwm_apply_state() doesn't modify the state argument
Uwe Kleine-König
1
-4
/
+2
2019-09-21
pwm: Let pwm_get_state() return the last implemented state
Uwe Kleine-König
1
-1
/
+8
2019-09-21
pwm: Introduce local struct pwm_chip in pwm_apply_state()
Uwe Kleine-König
1
-11
/
+14
2019-08-08
pwm: Fallback to the static lookup-list when acpi_pwm_get fails
Hans de Goede
1
-2
/
+5
2019-07-09
Merge tag 'pwm/for-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...
Linus Torvalds
1
-3
/
+169
2019-06-26
pwm: Add support referencing PWMs from ACPI
Nikolaus Voss
1
-0
/
+122
2019-06-25
pwm: Add consumer device link
Fabrice Gasnier
1
-3
/
+47
2019-05-21
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 18
Thomas Gleixner
1
-14
/
+1
2019-05-09
pwm: Clear chip_data in pwm_put()
Uwe Kleine-König
1
-0
/
+1
2019-03-20
pwm: Fix deadlock warning when removing PWM device
Phong Hoang
1
-5
/
+5
2019-01-10
pwm: Drop per-chip dbg_show callback
Uwe Kleine-König
1
-4
/
+1
2019-01-10
pwm: Don't use memcmp() to compare state variables
Uwe Kleine-König
1
-1
/
+4
2017-07-06
pwm: Silently error out on EPROBE_DEFER
Jerome Brunet
1
-1
/
+3
2017-01-30
pwm: Try to load modules during pwm_get()
Hans de Goede
1
-0
/
+14
2017-01-30
pwm: Don't hold pwm_lookup_lock longer than necessary
Hans de Goede
1
-10
/
+8
2017-01-30
pwm: Make the PWM_POLARITY flag in DTB optional
Lothar Wassmann
1
-10
/
+12
2017-01-30
pwm: Print error messages with pr_err() instead of pr_debug()
Lothar Wassmann
1
-2
/
+2
2017-01-04
pwm: Remove pwm_can_sleep()
Thierry Reding
1
-12
/
+0
2016-09-05
pwm: Unexport children before chip removal
David Hsu
1
-0
/
+2
2016-07-25
Merge branch 'for-4.8/capture' into for-next
Thierry Reding
1
-0
/
+27
2016-06-10
pwm: Add PWM capture support
Lee Jones
1
-0
/
+27
2016-06-10
pwm: Improve args checking in pwm_apply_state()
Brian Norris
1
-1
/
+2
2016-05-17
Merge branch 'for-4.7/pwm-atomic' into for-next
Thierry Reding
1
-90
/
+132
2016-05-17
Merge branch 'for-4.7/pwm-args' into for-next
Thierry Reding
1
-6
/
+20
2016-05-17
pwm: Add information about polarity, duty cycle and period to debugfs
Heiko Stübner
1
-0
/
+5
2016-05-17
pwm: Switch to the atomic API
Boris Brezillon
1
-1
/
+4
2016-05-17
pwm: Add core infrastructure to allow atomic updates
Boris Brezillon
1
-68
/
+119
2016-05-17
pwm: Add hardware readout infrastructure
Boris Brezillon
1
-0
/
+3
2016-05-17
pwm: Move the enabled/disabled info into pwm_state
Boris Brezillon
1
-4
/
+9
2016-05-17
pwm: Introduce the pwm_state concept
Boris Brezillon
1
-4
/
+4
2016-05-17
pwm: Keep PWM state in sync with hardware state
Boris Brezillon
1
-14
/
+0
2016-05-17
pwm: Get rid of pwm->lock
Boris BREZILLON
1
-15
/
+4
2016-05-17
pwm: Fix pwm_apply_args() call sites
Boris Brezillon
1
-10
/
+17
2016-05-03
pwm: Use kcalloc() instead of kzalloc()
Thierry Reding
1
-1
/
+1
2016-05-03
pwm: Add missing newline
Thierry Reding
1
-0
/
+1
2016-05-03
pwm: Introduce the pwm_args concept
Boris Brezillon
1
-7
/
+14
2016-01-21
pwm: Mark all devices as "might sleep"
Thierry Reding
1
-1
/
+1
2015-11-10
pwm: Return -ENODEV if no PWM lookup match is found
Thierry Reding
1
-1
/
+3
2015-11-10
pwm: Set enable state properly on failed call to enable
Jonathan Richardson
1
-7
/
+26
2015-08-17
pwm: Clean up kerneldoc
Thierry Reding
1
-6
/
+38
2015-08-17
pwm: Remove useless whitespace
Thierry Reding
1
-1
/
+0
2015-07-20
pwm: Add the pwm_is_enabled() helper
Boris Brezillon
1
-2
/
+2
2015-06-12
pwm: Add pwmchip_add_with_polarity() API
Tim Kryger
1
-3
/
+20
2015-05-06
pwm: Add support to remove registered consumer lookup tables
Shobhit Kumar
1
-0
/
+17
2015-04-23
pwm: Remove __init initializer for pwm_add_table()
Shobhit Kumar
1
-1
/
+1
2015-02-03
pwm: Remove unnecessary check before of_node_put()
Markus Elfring
1
-1
/
+1
2014-08-29
pwm: Fix uninitialized warnings in pwm_get()
Geert Uytterhoeven
1
-15
/
+14
2014-08-25
pwm: Fix possible ZERO_SIZE_PTR pointer dereferencing error.
Xiubo Li
1
-1
/
+1
2014-08-18
pwm: Fix period and polarity in pwm_get() for non-perfect matches
Geert Uytterhoeven
1
-2
/
+6
2014-05-21
pwm: add period and polarity to struct pwm_lookup
Alexandre Belloni
1
-1
/
+7
2013-12-20
pwm: use seq_puts() instead of seq_printf()
Jingoo Han
1
-3
/
+3
2013-09-03
pwm: Use the DT macro directly when parsing PWM DT flags
Laurent Pinchart
1
-4
/
+3
2013-06-21
pwm: Add sysfs interface
H Hartley Sweeten
1
-2
/
+23
2013-06-10
pwm: devm: alloc correct pointer size
Wolfram Sang
1
-2
/
+2
2013-02-26
Merge tag 'for-3.9-rc1' of git://gitorious.org/linux-pwm/linux-pwm
Linus Torvalds
1
-0
/
+14
2013-02-01
pwm: Add devm_of_pwm_get() as exported API for users
Peter Ujfalusi
1
-0
/
+30
2013-02-01
pwm: core: Rename of_pwm_request() to of_pwm_get() and export it
Peter Ujfalusi
1
-4
/
+4
2013-01-30
pwm: Export pwm_{set,get}_chip_data()
Thierry Reding
1
-0
/
+2
2013-01-30
pwm: Add pwm_can_sleep() as exported API to users
Florian Vaussard
1
-0
/
+12
2012-12-06
pwm: Export of_pwm_xlate_with_flags()
Thierry Reding
1
-0
/
+1
2012-11-22
pwm: Device tree support for PWM polarity
Philip, Avinash
1
-0
/
+28
2012-10-05
pwm: Check for negative duty-cycle and period
Thierry Reding
1
-1
/
+1
2012-09-10
pwm: add devm_pwm_get() and devm_pwm_put()
Alexandre Courbot
1
-0
/
+58
2012-09-10
pwm: Add support for configuring the PWM polarity
Philip, Avinash
1
-0
/
+22
2012-08-17
pwm: core: Fix coding style issues
Sachin Kamat
1
-4
/
+4
2012-08-17
pwm: Add missing static storage class specifiers in core.c file
Sachin Kamat
1
-2
/
+2
2012-07-23
pwm: fix used-uninitialized warning in pwm_get()
Thierry Reding
1
-1
/
+1
2012-06-15
pwm: Add device tree support
Thierry Reding
1
-2
/
+146
2012-06-15
pwm: Add table-based lookup for static mappings
Thierry Reding
1
-15
/
+154
2012-06-15
pwm: Add debugfs interface
Thierry Reding
1
-0
/
+90
2012-06-15
pwm: Allow chips to support multiple PWMs
Thierry Reding
1
-77
/
+190
2012-06-15
pwm: Add PWM framework support
Sascha Hauer
1
-0
/
+227