There is a big difference in the philosophy of this play at different levels. The NFHS has a case play stating that a defensive player lying on the floor should not be charged with a foul when an offensive player trips over him/her. The NCAA has an AR which makes the opposite ruling and states this is a blocking foul and that the defender does not have LGP. I have no clue what the NBA does nor do I care, but I would guess that like the rest of their game, they favor the offensive player.
The couple guys I know that work D1 have told me that they call a foul on the defender when the dribbler's feet get clipped by an opponent running nearby.
I'm just the messenger JR... don't point that cannon my way!