diff options
author | Yong Wu <yong.wu@mediatek.com> | 2021-01-11 19:18:43 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-02-01 11:27:58 +0000 |
commit | 5cf482f2f7a658fe4f74e97ed7e6e7f8263df03f (patch) | |
tree | c47eb714aad6b521a1add2cf8f0e46aeb8796f2c /include/dt-bindings/memory/mt2712-larb-port.h | |
parent | bca28426805dc3a87b3b0d2fd528caf1a3e1b119 (diff) | |
download | lwn-5cf482f2f7a658fe4f74e97ed7e6e7f8263df03f.tar.gz lwn-5cf482f2f7a658fe4f74e97ed7e6e7f8263df03f.zip |
dt-bindings: memory: mediatek: Add a common memory header file
Put all the macros about smi larb/port togethers.
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Link: https://lore.kernel.org/r/20210111111914.22211-3-yong.wu@mediatek.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'include/dt-bindings/memory/mt2712-larb-port.h')
-rw-r--r-- | include/dt-bindings/memory/mt2712-larb-port.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dt-bindings/memory/mt2712-larb-port.h b/include/dt-bindings/memory/mt2712-larb-port.h index 6f9aa7349cef..83e8070b4c1c 100644 --- a/include/dt-bindings/memory/mt2712-larb-port.h +++ b/include/dt-bindings/memory/mt2712-larb-port.h @@ -6,7 +6,7 @@ #ifndef __DTS_IOMMU_PORT_MT2712_H #define __DTS_IOMMU_PORT_MT2712_H -#define MTK_M4U_ID(larb, port) (((larb) << 5) | (port)) +#include <dt-bindings/memory/mtk-memory-port.h> #define M4U_LARB0_ID 0 #define M4U_LARB1_ID 1 |