Hi Mateusz Piesta
or maybe USB stack is not yet prepared for BC support on RT1051 ?
USBDCD is not in RT1050, this is why the FSL_FEATURE_SOC_USBDCD_COUNT is cero, in the RT1050 devices you can find the USB_ANALOG in the USB-PHY part.
This Phy is capable of the charger detection which "detects whether the upstream-facing device is connected to a down-stream facing charger, either a dedicated USB charger or a host charger". Unfortunately, this is not implemented in the usb_phy.c file of the USB stack, so the customer would need to add it.
Hope this helps.
Best regards