[PATCH 6.6 181/269] spi: hisi-kunpeng: Add verification for the max_frequency provided by the firmware