diff options
author | Jonathan Lemon <jonathan.lemon@gmail.com> | 2022-03-10 21:19:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-11 12:54:45 +0100 |
commit | cd09193ffbf86026c490798a6db0f67a53bec333 (patch) | |
tree | 7037762295a01450089a26125542b35c98fdccce /drivers/ptp | |
parent | ptp: ocp: Rename output selector 'GNSS' to 'GNSS1' (diff) | |
download | linux-cd09193ffbf86026c490798a6db0f67a53bec333.tar.xz linux-cd09193ffbf86026c490798a6db0f67a53bec333.zip |
ptp: ocp: Add GND and VCC output selectors
These will provide constant outputs.
Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp')
-rw-r--r-- | drivers/ptp/ptp_ocp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ptp/ptp_ocp.c b/drivers/ptp/ptp_ocp.c index b3ea6dc7a00d..1a4a284749eb 100644 --- a/drivers/ptp/ptp_ocp.c +++ b/drivers/ptp/ptp_ocp.c @@ -544,6 +544,8 @@ static struct ocp_selector ptp_ocp_sma_out[] = { { .name = "GNSS2", .value = 0x08 }, { .name = "IRIG", .value = 0x10 }, { .name = "DCF", .value = 0x20 }, + { .name = "GND", .value = 0x2000 }, + { .name = "VCC", .value = 0x4000 }, { } }; |