[PATCH v4 03/10] coresight: config: Add configuration and feature generic functions