[PATCH 6.1 028/134] clk: sprd: set max_register according to mapping range