[PATCH 5.15 053/373] pwm: rcar: Improve register calculation