[PATCH 6.2 030/139] clk: sprd: set max_register according to mapping range