{"push_id":1065330724,"size":53,"distinct_size":53,"ref":"refs/heads/atomic-pwm2","head":"42fa7cfcf23effa66d98173de4e89801e65a3441","before":"e671e7ae815ceea108c33777d3a54f99d2b55174","commits":[{"sha":"9a9942bebbb14aaab23f76bffe3864e82a8b6a54","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"clk: pwm: use pwm_get_args() where appropriate\n\nThe PWM framework has clarified the concept of reference PWM config\n(the platform dependent config retrieved from the DT or the PWM\nlookup table) and real PWM state.\n\nUse pwm_get_args() when the PWM user wants to retrieve this reference\nconfig and not the current state.\n\nThis is part of the rework allowing the PWM framework to support\nhardware readout and expose real PWM state even when the PWM has\njust been requested (before the user calls pwm_config/enable/disable()).\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>\nAcked-by: Stephen Boyd <sboyd@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/9a9942bebbb14aaab23f76bffe3864e82a8b6a54"},{"sha":"39df15b3008ca6cac4fee2a3d329e3e35b3ad97c","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"hwmon: pwm-fan: use pwm_get_args() where appropriate\n\nThe PWM framework has clarified the concept of reference PWM config\n(the platform dependent config retrieved from the DT or the PWM\nlookup table) and real PWM state.\n\nUse pwm_get_args() when the PWM user wants to retrieve this reference\nconfig and not the current state.\n\nThis is part of the rework allowing the PWM framework to support\nhardware readout and expose real PWM state even when the PWM has\njust been requested (before the user calls pwm_config/enable/disable()).\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>\nAcked-by: Kamil Debski <k.debski@samsung.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/39df15b3008ca6cac4fee2a3d329e3e35b3ad97c"},{"sha":"874d4cd2e6df77bfae7120837e200d4f78831fe4","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"input: misc: max77693: use pwm_get_args() where appropriate\n\nThe PWM framework has clarified the concept of reference PWM config\n(the platform dependent config retrieved from the DT or the PWM\nlookup table) and real PWM state.\n\nUse pwm_get_args() when the PWM user wants to retrieve this reference\nconfig and not the current state.\n\nThis is part of the rework allowing the PWM framework to support\nhardware readout and expose real PWM state even when the PWM has\njust been requested (before the user calls pwm_config/enable/disable()).\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/874d4cd2e6df77bfae7120837e200d4f78831fe4"},{"sha":"e6243d537c9970de455a74df1ab42ec7dec1e6cf","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"leds: pwm: use pwm_get_args() where appropriate\n\nThe PWM framework has clarified the concept of reference PWM config\n(the platform dependent config retrieved from the DT or the PWM\nlookup table) and real PWM state.\n\nUse pwm_get_args() when the PWM user wants to retrieve this reference\nconfig and not the current state.\n\nThis is part of the rework allowing the PWM framework to support\nhardware readout and expose real PWM state even when the PWM has\njust been requested (before the user calls pwm_config/enable/disable()).\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>\nAcked-by: Jacek Anaszewski <j.anaszewski@samsung.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/e6243d537c9970de455a74df1ab42ec7dec1e6cf"},{"sha":"4f854e88f6a8be7feb61d1151812452ae6d78330","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"regulator: pwm: use pwm_get_args() where appropriate\n\nThe PWM framework has clarified the concept of reference PWM config\n(the platform dependent config retrieved from the DT or the PWM\nlookup table) and real PWM state.\n\nUse pwm_get_args() when the PWM user wants to retrieve this reference\nconfig and not the current state.\n\nThis is part of the rework allowing the PWM framework to support\nhardware readout and expose real PWM state even when the PWM has\njust been requested (before the user calls pwm_config/enable/disable()).\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/4f854e88f6a8be7feb61d1151812452ae6d78330"},{"sha":"496c6df2489c9033f6c9ad83bdc7ab6d526d72cd","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"fbdev: ssd1307fb: use pwm_get_args() where appropriate\n\nThe PWM framework has clarified the concept of reference PWM config\n(the platform dependent config retrieved from the DT or the PWM\nlookup table) and real PWM state.\n\nUse pwm_get_args() when the PWM user wants to retrieve this reference\nconfig and not the current state.\n\nThis is part of the rework allowing the PWM framework to support\nhardware readout and expose real PWM state even when the PWM has\njust been requested (before the user calls pwm_config/enable/disable()).\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/496c6df2489c9033f6c9ad83bdc7ab6d526d72cd"},{"sha":"a760bbd72d698164000b260a870411612a01a31c","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"backlight: pwm_bl: use pwm_get_args() where appropriate\n\nThe PWM framework has clarified the concept of reference PWM config\n(the platform dependent config retrieved from the DT or the PWM\nlookup table) and real PWM state.\n\nUse pwm_get_args() when the PWM user wants to retrieve this reference\nconfig and not the current state.\n\nThis is part of the rework allowing the PWM framework to support\nhardware readout and expose real PWM state even when the PWM has\njust been requested (before the user calls pwm_config/enable/disable()).\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/a760bbd72d698164000b260a870411612a01a31c"},{"sha":"6815a98e56bb1ae0152efb4766b6409e46fcee9f","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"backlight: lp8788: explicitly apply PWM config extracted from pwm_args\n\nCall pwm_apply_args() just after requesting the PWM device so that the\npolarity and period are initialized according to the information provided\nin pwm_args.\n\nThis is an intermediate state, and pwm_apply_args() should be dropped as\nsoon as the atomic PWM infrastructure is in place and the driver makes\nuse of it.\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/6815a98e56bb1ae0152efb4766b6409e46fcee9f"},{"sha":"ae63e29a8954367519996fb8bc05b223008760f8","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"backlight: lp855x: explicitly apply PWM config extracted from pwm_args\n\nCall pwm_apply_args() just after requesting the PWM device so that the\npolarity and period are initialized according to the information provided\nin pwm_args.\n\nThis is an intermediate state, and pwm_apply_args() should be dropped as\nsoon as the atomic PWM infrastructure is in place and the driver makes\nuse of it.\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/ae63e29a8954367519996fb8bc05b223008760f8"},{"sha":"602d0791d0c0206d5b8ccd715da9f68e6b40e7a3","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"backlight: lm3630a: explicitly apply PWM config extracted from pwm_args\n\nCall pwm_apply_args() just after requesting the PWM device so that the\npolarity and period are initialized according to the information provided\nin pwm_args.\n\nThis is an intermediate state, and pwm_apply_args() should be dropped as\nsoon as the atomic PWM infrastructure is in place and the driver makes\nuse of it.\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/602d0791d0c0206d5b8ccd715da9f68e6b40e7a3"},{"sha":"105ceaa42da8de21c9f2170e246effebb044ae8e","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"input: misc: max8997: explicitly apply PWM config extracted from pwm_args\n\nCall pwm_apply_args() just after requesting the PWM device so that the\npolarity and period are initialized according to the information provided\nin pwm_args.\n\nThis is an intermediate state, and pwm_apply_args() should be dropped as\nsoon as the atomic PWM infrastructure is in place and the driver makes\nuse of it.\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/105ceaa42da8de21c9f2170e246effebb044ae8e"},{"sha":"6f85edc795c3f5c33814e053dde976bf0a4f4e48","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"input: misc: pwm-beeper: explicitly apply PWM config extracted from pwm_args\n\nCall pwm_apply_args() just after requesting the PWM device so that the\npolarity and period are initialized according to the information provided\nin pwm_args.\n\nThis is an intermediate state, and pwm_apply_args() should be dropped as\nsoon as the atomic PWM infrastructure is in place and the driver makes\nuse of it.\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/6f85edc795c3f5c33814e053dde976bf0a4f4e48"},{"sha":"54410e4e31baf16a0a9c9b8806f44b7317ee88a3","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"drm: i915: explicitly apply PWM config extracted from pwm_args\n\nCall pwm_apply_args() just after requesting the PWM device so that the\npolarity and period are initialized according to the information provided\nin pwm_args.\n\nThis is an intermediate state, and pwm_apply_args() should be dropped as\nsoon as the atomic PWM infrastructure is in place and the driver makes\nuse of it.\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/54410e4e31baf16a0a9c9b8806f44b7317ee88a3"},{"sha":"a34a34853682508c9eb35a5f0ceb43c2dac806df","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"ARM: explicitly apply PWM config extracted from pwm_args\n\nCall pwm_apply_args() just after requesting the PWM device so that the\npolarity and period are initialized according to the information provided\nin pwm_args.\n\nThis is an intermediate state, and pwm_apply_args() should be dropped as\nsoon as the atomic PWM infrastructure is in place and the driver makes\nuse of it.\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/a34a34853682508c9eb35a5f0ceb43c2dac806df"},{"sha":"beb3348d40d909140033b3f4ceaf8e65432600de","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"pwm: keep PWM state in sync with hardware state\n\nBefore the introduction of pwm_args, the core was resetting the PWM period\nand polarity states to the reference values (those provided through the\nDT, a PWM lookup table or hardcoded in the driver).\n\nNow that all PWM users are correctly using pwm_args to configure their\nPWM device, we can safely remove the pwm_apply_args() call in\npwm_device_request().\n\nWe can also get rid of the pwm_set_period() call done in\npwm_apply_args(), because PWM users are now directly using pargs->period\ninstead of pwm_get_period(). By doing that we avoid messing with the\ncurrent PWM period.\n\nThe only remaining bit in pwm_apply_args() is the initial polarity\nsetting, and it should go away when all PWM users have been patched to\nuse the atomic API (with this API the polarity will be set along with\nother PWM arguments when configuring the PWM).\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/beb3348d40d909140033b3f4ceaf8e65432600de"},{"sha":"79ad59bceaa3cfdcdbbc3d25a2cc71ae4cada62a","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"pwm: introduce the pwm_state concept\n\nThe PWM state, represented by its period, duty_cycle and polarity,\nis currently directly stored in the PWM device.\nDeclare a pwm_state structure embedding those field so that we can later\nuse this struct to atomically update all the PWM parameters at once.\n\nAll pwm_get_xxx() helpers are now implemented as wrappers around\npwm_get_state().\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/79ad59bceaa3cfdcdbbc3d25a2cc71ae4cada62a"},{"sha":"c7553d9c492bd93c9d7b22ef22329bdcd5d2d6ff","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"pwm: move the enabled/disabled info into pwm_state\n\nPrepare the transition to PWM atomic update by moving the enabled/disabled\nstate into the pwm_state struct. This way we can easily update the whole\nPWM state by copying the new state in the ->state field.\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/c7553d9c492bd93c9d7b22ef22329bdcd5d2d6ff"},{"sha":"c986db71ccc9dcb566cb03bc034cf930024dfd1e","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"pwm: add the PWM initial state retrieval infra\n\nAdd a ->get_state() function to the pwm_ops struct to let PWM drivers\ninitialize the PWM state attached to a PWM device.\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/c986db71ccc9dcb566cb03bc034cf930024dfd1e"},{"sha":"70e7867177363489e2f86de2b9359432469260db","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"pwm: add the core infrastructure to allow atomic update\n\nAdd an ->apply() method to the pwm_ops struct to allow PWM drivers to\nimplement atomic update.\nThis method will be preferred over the ->enable(), ->disable() and\n->config() methods if available.\n\nAdd the pwm_apply_state() function to the PWM user API.\n\nNote that the pwm_apply_state() does not guarantee the atomicity of the\nupdate operation, it all depends on the availability and implementation\nof the ->apply() method.\n\npwm_enable/disable/set_polarity/config() are now implemented as wrappers\naround the pwm_apply_state() function.\n\npwm_adjust_config() is allowing smooth handover between the bootloader\nand the kernel. This function tries to adapt the current PWM state to\nthe PWM arguments coming from a PWM lookup table or a DT definition\nwithout changing the duty_cycle/period proportion.\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/70e7867177363489e2f86de2b9359432469260db"},{"sha":"fae683c6998739ca8ed11f0eb221d9fbcc21b2fb","author":{"email":"4e91513d4f418754031d3d36b3fc73980c40a38c@free-electrons.com","name":"Boris Brezillon"},"message":"pwm: update documentation\n\nUpdate the PWM subsystem documentation to reflect the atomic PWM changes.\n\nSigned-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>","distinct":true,"url":"https://api.github.com/repos/bbrezillon/linux-0day/commits/fae683c6998739ca8ed11f0eb221d9fbcc21b2fb"}]}