platform: Add a weak API to return the max peripherals supported by SPMI

Add a weak API to return the max SPMI peripherals supported. By default
the max number of peripherals supported on the platform is 128.

Change-Id: I17f14c1783378a6aff49dfa32d8265990029391f
2 files changed