[PATCH 6.1 074/291] pwm: rcar: Improve register calculation