Merge "thermal: support max polling/passive delay setting" into tm-dev