Hi Aniket, On 12:45-20241116, Aniket Limaye wrote: > From: Reid Tonking <[email protected]> > > k3_avs driver checks opp_ids when probing and overwrites the voltage > values in vd_data for the respective board. The new k3_check_opp() can > be called from board files to check the efuse data and returns 0 if > valid. > > Also add the same check in k3_avs_program_voltage() to error out if > the efuse data was not valid. > > Signed-off-by: Reid Tonking <[email protected]> > Signed-off-by: Aniket Limaye <[email protected]> > --- [..] > > +/** > + * k3_check_opp: Check for presence of opp efuse > + * @opp_id: opp id to check if voltage is present
Could you document vdd_id as well which is another input to the function? > + * > + * Checks to see if an opp has voltage. k3_avs probe will populate > + * voltage data if efuse is present. Returns 0 if data is valid. > + */ > +int k3_check_opp(struct udevice *dev, int vdd_id, int opp_id) Regards, Manorit

