[PATCH 5.10 047/286] pwm: rcar: Improve register calculation