diff options
author | Min Li <min.li.xe@renesas.com> | 2020-11-06 04:52:07 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-07 22:10:20 +0100 |
commit | e014ae39493f6d527f636260117709c1f81b3d57 (patch) | |
tree | c67a54f2770b418bae099d9e13c5ec663d397077 /drivers/ptp/ptp_idt82p33.h | |
parent | net: macvlan: remove redundant initialization in macvlan_dev_netpoll_setup (diff) | |
download | linux-e014ae39493f6d527f636260117709c1f81b3d57.tar.xz linux-e014ae39493f6d527f636260117709c1f81b3d57.zip |
ptp: idt82p33: add adjphase support
Add idt82p33_adjphase() to support PHC write phase mode.
Signed-off-by: Min Li <min.li.xe@renesas.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Link: https://lore.kernel.org/r/1604634729-24960-1-git-send-email-min.li.xe@renesas.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/ptp/ptp_idt82p33.h')
-rw-r--r-- | drivers/ptp/ptp_idt82p33.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ptp/ptp_idt82p33.h b/drivers/ptp/ptp_idt82p33.h index 9d46966d25f1..3a0e0016771b 100644 --- a/drivers/ptp/ptp_idt82p33.h +++ b/drivers/ptp/ptp_idt82p33.h @@ -56,6 +56,8 @@ #define PLL_MODE_SHIFT (0) #define PLL_MODE_MASK (0x1F) +#define PEROUT_ENABLE_OUTPUT_MASK (0xdeadbeef) + enum pll_mode { PLL_MODE_MIN = 0, PLL_MODE_AUTOMATIC = PLL_MODE_MIN, |