[PATCH 6.6 115/393] pwm: rcar: Improve register calculation