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