[PATCH v6 3/5] memory: mediatek: Add SMI driver

2015-12-08 Thread Yong Wu
This patch add SMI(Smart Multimedia Interface) driver. This driver is responsible to enable/disable iommu and control the power domain and clocks of each local arbiter. Signed-off-by: Yong Wu --- Currently SMI offer mtk_smi_larb_get/put to enable the power-domain ,clocks

[PATCH v6 1/5] dt-bindings: iommu: Add binding for mediatek IOMMU

2015-12-08 Thread Yong Wu
This patch add mediatek iommu dts binding document. Signed-off-by: Yong Wu --- .../devicetree/bindings/iommu/mediatek,iommu.txt | 68 + include/dt-bindings/memory/mt8173-larb-port.h | 111 + 2 files changed, 179 insertions(+) create

[PATCH v6 5/5] dts: mt8173: Add iommu/smi nodes for mt8173

2015-12-08 Thread Yong Wu
This patch add the iommu/larbs nodes for mt8173 Signed-off-by: Yong Wu --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 81 1 file changed, 81 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi

[PATCH v6 2/5] dt-bindings: mediatek: Add smi dts binding

2015-12-08 Thread Yong Wu
This patch add smi binding document. Signed-off-by: Yong Wu --- .../memory-controllers/mediatek,smi-common.txt | 24 + .../memory-controllers/mediatek,smi-larb.txt | 25 ++ 2 files changed, 49 insertions(+) create mode

Re: [PATCH 5/5] iommu/io-pgtable: Add ARMv7 short descriptor support

2015-12-08 Thread Yong Wu
Hi Robin, Thanks very much for your rewriting. It looks more pretty. This works well in my selftest. and I will push to our chrome branch and request our video/display to test more. Only a little comment below. On Fri, 2015-12-04 at 17:53 +, Robin Murphy wrote: > Add a

[PATCH v6 0/5] MT8173 IOMMU SUPPORT

2015-12-08 Thread Yong Wu
This patch set adds support for m4u(Multimedia Memory Management Unit), Currently it only support the m4u with 2 levels of pagetable on mt8173. It's based on Robin Murphy's reposting Short-descriptor[1]. Please check the hardware block diagram of Mediatek IOMMU. m4u

Re: [PATCH v6 1/5] dt-bindings: iommu: Add binding for mediatek IOMMU

2015-12-08 Thread Yong Wu
also add Mark. On Tue, 2015-12-08 at 21:33 -0600, Rob Herring wrote: > On Tue, Dec 08, 2015 at 05:49:09PM +0800, Yong Wu wrote: > > This patch add mediatek iommu dts binding document. > > > > Signed-off-by: Yong Wu > > --- > >

Re: [PATCH v6 2/5] dt-bindings: mediatek: Add smi dts binding

2015-12-08 Thread Rob Herring
On Tue, Dec 08, 2015 at 05:49:10PM +0800, Yong Wu wrote: > This patch add smi binding document. > > Signed-off-by: Yong Wu Acked-by: Rob Herring > --- > .../memory-controllers/mediatek,smi-common.txt | 24 + >

Re: [PATCH v6 1/5] dt-bindings: iommu: Add binding for mediatek IOMMU

2015-12-08 Thread Rob Herring
On Tue, Dec 08, 2015 at 05:49:09PM +0800, Yong Wu wrote: > This patch add mediatek iommu dts binding document. > > Signed-off-by: Yong Wu > --- > .../devicetree/bindings/iommu/mediatek,iommu.txt | 68 + > include/dt-bindings/memory/mt8173-larb-port.h |