• Rajan Vaja's avatar
    xilinx: versal: Updated Response of QueryData API call · 1ba2d84f
    Rajan Vaja authored
    
    
    For the current XilPM calls, The handler of IPI returns information
    with 16 Bytes data.
    So during QueryData API call for the ClockName and PinFunctionName,
    response data(name of clock or function) response[0..3] are used to
    return name. And status is not being returned for such API.
    
    Updated XilPM calls reply in a consistent way and The handler of IPI
    return information with 32Bytes data. Where response[0] always set
    to status.
    For the version-2 of QueryData API, during call for the ClockName
    and PinFunctionName, response data(name of clock or function) get as
    response[1...4].
    
    To support both the version of QueryData API, added version based
    compatibility by the use of feature check.
    Signed-off-by: default avatarVenkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com>
    Signed-off-by: default avatarAmit Sunil Dhamne <amit.sunil.dhamne@xilinx.com>
    Signed-off-by: default avatarRajan Vaja <rajan.vaja@xilinx.com>
    Change-Id: I336128bff7bbe659903b0f8ce20ae6da7e3b51b4
    1ba2d84f
pm_api_sys.c 24.8 KB