projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be69087
)
ptp: ocp: Add GND and VCC output selectors
author
Jonathan Lemon
<jonathan.lemon@gmail.com>
Thu, 10 Mar 2022 20:19:06 +0000
(12:19 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 11 Mar 2022 11:54:45 +0000
(11:54 +0000)
These will provide constant outputs.
Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_ocp.c
patch
|
blob
|
history
diff --git
a/drivers/ptp/ptp_ocp.c
b/drivers/ptp/ptp_ocp.c
index b3ea6dc7a00dd2e133f654b1c044a77794d48263..1a4a284749eb55022196ad445a32025e06f45e49 100644
(file)
--- 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 },
{ }
};