diff options
author | David Lechner <dlechner@baylibre.com> | 2024-10-09 16:11:49 -0500 |
---|---|---|
committer | Uwe Kleine-König <ukleinek@kernel.org> | 2024-10-25 11:42:36 +0200 |
commit | 2e82d58c7ba8f7b4bb273ca5859b682b65654f9e (patch) | |
tree | fc19b4d8c9f3a33aa17825e898d692db6e972dce /drivers/pwm/pwm-imx27.c | |
parent | 3c25a3d0769d13c448780b3db91104460502682d (diff) | |
download | lwn-2e82d58c7ba8f7b4bb273ca5859b682b65654f9e.tar.gz lwn-2e82d58c7ba8f7b4bb273ca5859b682b65654f9e.zip |
pwm: axi-pwmgen: Rename 0x10 register
Rename the 0x10 register from REG_CONFIG to REG_RSTN. Also rename the
associated bit macros accordingly.
While touching this, move the bit macros close to the register address
macro for better organization.
According to [1], the name of the 0x10 register is REG_RSTN, and there
is a different register named REG_CONFIG (0x18). So we should not be
using REG_CONFIG for the 0x10 register to avoid confusion.
[1]: http://analogdevicesinc.github.io/hdl/library/axi_pwm_gen/index.html
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20241009-pwm-axi-pwmgen-enable-force_align-v1-1-5d6ad8cbf5b4@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'drivers/pwm/pwm-imx27.c')
0 files changed, 0 insertions, 0 deletions