wcnss: Add support to auto detect Iris XO

WCNSS platform driver can detect the Iris card attached to it. And if
dynamic XO detection is enabled, then WCNSS driver can configure the
48MHZ/19.2MHZ Iris XO configuration based on the Iris card attached to
it. The Iris register for this configuration can be read, once the 5wire
GPIO settings are applied. (Even before applying the Iris XO)

The dynamic XO will only be performed on 8x26 variants. If the dynamic
detection is not enabled, then platform driver will choose the settings
based on the has_48mhz_xo module parameter or qcom,has_48mhz_xo device
tree entry.

Change-Id: I8990468492efa1d3d3a606d01904a77eeaa6a980
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
4 files changed