aboutsummaryrefslogtreecommitdiff
path: root/include/npu2-regs.h
diff options
context:
space:
mode:
authorReza Arbab <arbab@linux.vnet.ibm.com>2017-11-13 16:19:16 -0600
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-11-13 17:47:56 -0600
commitac6f1599ff330fa602b3c9557a08f31f1158a55f (patch)
tree34154a2aa7f5efbbefc6a14489a46cfae615bec0 /include/npu2-regs.h
parentd6f2505b15422e3c63932a67278ebdbca67047d5 (diff)
downloadskiboot-ac6f1599ff330fa602b3c9557a08f31f1158a55f.zip
skiboot-ac6f1599ff330fa602b3c9557a08f31f1158a55f.tar.gz
skiboot-ac6f1599ff330fa602b3c9557a08f31f1158a55f.tar.bz2
npu2: hw-procedures: Add phy_rx_clock_sel()
Change the RX clk mux control to be done by software instead of HW. This avoids glitches caused by changing the mux setting. Signed-off-by: Reza Arbab <arbab@linux.vnet.ibm.com> Reviewed-By: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/npu2-regs.h')
-rw-r--r--include/npu2-regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/npu2-regs.h b/include/npu2-regs.h
index 307e93b..88ba709 100644
--- a/include/npu2-regs.h
+++ b/include/npu2-regs.h
@@ -281,6 +281,7 @@ void npu2_write_mask(struct npu2 *p, uint64_t reg, uint64_t val, uint64_t mask);
#define NPU2_NTL_CQ_FENCE_STATUS(ndev) NPU2_NTLU_REG_OFFSET(ndev, 0x500)
#define NPU2_NTL_DL_CONTROL(ndev) NPU2_DL_REG_OFFSET(ndev, 0xFFF4)
#define NPU2_NTL_DL_CONFIG(ndev) NPU2_DL_REG_OFFSET(ndev, 0xFFF8)
+#define NPU2_NTL_DL_CLK_CTRL(ndev) NPU2_DL_REG_OFFSET(ndev, 0x001C)
/* Misc block registers. Unlike the SM/CTL/DAT/NTL registers above
* there is only a single instance of each of these in the NPU so we