[openEuler-5.10-LTS 147/501] drm/bridge: tc358767: Move (e)DP bridge endpoint parsing into dedicated function