diff options
author | David S. Miller <davem@davemloft.net> | 2019-04-08 16:28:01 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-08 16:28:01 -0700 |
commit | 13ee7d49733b4579566f72c29b336a33cf3233c7 (patch) | |
tree | 19759a7228e86309a727608a94e7d55026022431 /drivers/gpio/gpio-davinci.c | |
parent | e4bf63482c309287ca84d91770ffa7dcc18e37eb (diff) | |
parent | be0faac952e1643237931956ab8ec5ceaeda41b0 (diff) |
Merge branch 'mlxsw-Add-support-for-devlink-info-command'
Ido Schimmel says:
====================
mlxsw: Add support for devlink info command
Shalom says:
Expose the following ASIC information via devlink info command:
- Driver name
- Hardware revision
- Firmware PSID
- Running firmware version
Standard output example:
$ devlink dev info pci/0000:03:00.0
pci/0000:03:00.0:
versions:
fixed:
hw.revision A0
fw.psid MT_2750110033
running:
fw.version 13.1910.622
Pretty JSON example:
$ devlink -jp dev info pci/0000:03:00.0
{
"info": {
"pci/0000:03:00.0": {
"versions": {
"fixed": {
"hw.revision": "A0",
"fw.psid": "MT_2750110033"
},
"running": {
"fw.version": "13.1910.622"
}
}
}
}
}
v2:
- Add fw.psid documentation
- Add driver name
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpio/gpio-davinci.c')
0 files changed, 0 insertions, 0 deletions