Los Angeles specifically waives replacement parking
LAMC 12.22 A.33(c)(12)(iii) says parking spaces lost when a garage or carport is converted to an ADU, or demolished for one, do not have to be replaced. This is separate from any parking rule for a new detached City-rules ADU.
LAMC 12.22 A.33(c)(12)(iii); ZA Memo 143 Rev. 1, Table 1 note 8