[PATCH 6.13 167/414] pwm: rcar: Improve register calculation