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