diff options
author | Trent Piepho <tpiepho@impinj.com> | 2019-05-22 18:43:21 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-22 17:40:17 -0700 |
commit | 980066e6d9642fa5854bed8e592b1a30ea885b76 (patch) | |
tree | 4df7e9c3034ca7ffef64032344748990ab431054 /include/dt-bindings/net | |
parent | 9c3f3410f5ace868c7c82fe4479fd36bed5eee64 (diff) | |
download | blackbird-op-linux-980066e6d9642fa5854bed8e592b1a30ea885b76.tar.gz blackbird-op-linux-980066e6d9642fa5854bed8e592b1a30ea885b76.zip |
dt-bindings: phy: dp83867: Add documentation for disabling clock output
The clock output is generally only used for testing and development and
not used to daisy-chain PHYs. It's just a source of RF noise afterward.
Add a mux value for "off". I've added it as another enumeration to the
output property. In the actual PHY, the mux and the output enable are
independently controllable. However, it doesn't seem useful to be able
to describe the mux setting when the output is disabled.
Document that PHY's default setting will be left as is if the property
is omitted.
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/dt-bindings/net')
-rw-r--r-- | include/dt-bindings/net/ti-dp83867.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dt-bindings/net/ti-dp83867.h b/include/dt-bindings/net/ti-dp83867.h index 7b1656427cbe..192b79439eb7 100644 --- a/include/dt-bindings/net/ti-dp83867.h +++ b/include/dt-bindings/net/ti-dp83867.h @@ -56,4 +56,6 @@ #define DP83867_CLK_O_SEL_CHN_C_TCLK 0xA #define DP83867_CLK_O_SEL_CHN_D_TCLK 0xB #define DP83867_CLK_O_SEL_REF_CLK 0xC +/* Special flag to indicate clock should be off */ +#define DP83867_CLK_O_SEL_OFF 0xFFFFFFFF #endif |