Nick Kyrgios is eligible to return to tennis after accepting a one-month ban for testing positive for cocaine.