Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71d41257 authored by Hemant Kumar's avatar Hemant Kumar Committed by Gerrit - the friendly Code Review server
Browse files

pic: msm: Add support for ep config space access via sysfs



Perform ep config space dword read and write using 16-bit BDF,
offset and value to write as input.

To perform config space read for vendor and device id for BDF
0x200

echo 0x200 0x0 > config_dwrod_read

To perform config space write on status and control offset with
write value 0x400 for BDF 0x200

echo 0x200 0x4 0x400 > config_dword_write

Usage information is provided by reading config_dword_read and
config_dword_write.

Change-Id: Ia733b7102bb5961e7ab3b27d4438460e52a51c57
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 631faf6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment