PHOENIX — Motel 6 has tentatively agreed to settle a lawsuit that alleges it discriminated against some Latino customers at two Phoenix locations by giving their whereabouts and personal information to immigration agents who later arrested at least seven guests.The lawsuit alleges Motel 6 had a corporate policy or practice of giving U.S. Immigration and Customs Enforcement information that guests provided at check-in. It also accused Motel 6 of providing such information without requiring authorities to get a warrant or without having a reasonable suspicion that crimes were being committed.Details of the tentative deal, revealed Friday in court records, haven’t been publicly released. Lawyers said they need until mid-August to turn in the settlement paperwork. Motel 6 has agreed in principle to settle the lawsuit. The deal is subject to the approval of a federal judge.The Mexican American Legal Defense and Educational Fund, which filed the lawsuit in January, was planning to present to the court a public filing with the full details of the settlement in the next couple of weeks, said Thomas A. Saenz, MALDEF’s president and general counsel.Lauren Mack, a spokeswoman for ICE, said the agency declined comment Monday on the tentative settlement.Don Bivens, an attorney representing Motel 6, didn’t immediately return a call seeking comment on the tentative settlement.The national budget motel chain said in September that its Phoenix employees will no longer work with immigration authorities after the Phoenix New Times reported that workers were providing guests’ names to agents who later arrested 20 people on immigration charges.