I think there was such a thing in settings, a question about are new USB devices permitted…
By the way, don’t forget the old threads:
Another potential solution: Security of USB adapters and hubs - Does L5 need additional Purism hardware? - #3 by Dwaff
Anyway, remember also that it could also be the cable too: Charging with iPhone charger - #2 by JR-Fi
