[PATCH v7 2/4] coresight: Add a helper to check if a device is source