* [PATCH 1/5] arm64: dts: mediatek: mt8167: add mmsys node @ 2021-04-05 20:08 Fabien Parent 2021-04-05 20:08 ` [PATCH 2/5] arm64: dts: mediatek: mt8167: add smi_common node Fabien Parent ` (4 more replies) 0 siblings, 5 replies; 10+ messages in thread From: Fabien Parent @ 2021-04-05 20:08 UTC (permalink / raw) To: Rob Herring, Matthias Brugger Cc: mkorpershoek, Fabien Parent, devicetree, linux-arm-kernel, linux-mediatek, linux-kernel Add node for MMSYS. Signed-off-by: Fabien Parent <fparent@baylibre.com> --- arch/arm64/boot/dts/mediatek/mt8167.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi b/arch/arm64/boot/dts/mediatek/mt8167.dtsi index 156fbdad01fb..9d765034dfb0 100644 --- a/arch/arm64/boot/dts/mediatek/mt8167.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8167.dtsi @@ -125,5 +125,11 @@ pio: pinctrl@1000b000 { #interrupt-cells = <2>; interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>; }; + + mmsys: mmsys@14000000 { + compatible = "mediatek,mt8167-mmsys", "syscon"; + reg = <0 0x14000000 0 0x1000>; + #clock-cells = <1>; + }; }; }; -- 2.31.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/5] arm64: dts: mediatek: mt8167: add smi_common node 2021-04-05 20:08 [PATCH 1/5] arm64: dts: mediatek: mt8167: add mmsys node Fabien Parent @ 2021-04-05 20:08 ` Fabien Parent 2021-04-06 0:23 ` kernel test robot 2021-04-06 11:27 ` Matthias Brugger 2021-04-05 20:08 ` [PATCH 3/5] arm64: dts: mediatek: mt8167: add larb nodes Fabien Parent ` (3 subsequent siblings) 4 siblings, 2 replies; 10+ messages in thread From: Fabien Parent @ 2021-04-05 20:08 UTC (permalink / raw) To: Rob Herring, Matthias Brugger Cc: mkorpershoek, Fabien Parent, devicetree, linux-arm-kernel, linux-mediatek, linux-kernel Add the smi_common node. Signed-off-by: Fabien Parent <fparent@baylibre.com> --- arch/arm64/boot/dts/mediatek/mt8167.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi b/arch/arm64/boot/dts/mediatek/mt8167.dtsi index 9d765034dfb0..4b951f81db9e 100644 --- a/arch/arm64/boot/dts/mediatek/mt8167.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8167.dtsi @@ -131,5 +131,14 @@ mmsys: mmsys@14000000 { reg = <0 0x14000000 0 0x1000>; #clock-cells = <1>; }; + + smi_common: smi@14017000 { + compatible = "mediatek,mt8167-smi-common"; + reg = <0 0x14017000 0 0x1000>; + clocks = <&mmsys CLK_MM_SMI_COMMON>, + <&mmsys CLK_MM_SMI_COMMON>; + clock-names = "apb", "smi"; + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; + }; }; }; -- 2.31.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 2/5] arm64: dts: mediatek: mt8167: add smi_common node 2021-04-05 20:08 ` [PATCH 2/5] arm64: dts: mediatek: mt8167: add smi_common node Fabien Parent @ 2021-04-06 0:23 ` kernel test robot 2021-04-06 7:34 ` Fabien Parent 2021-04-06 11:27 ` Matthias Brugger 1 sibling, 1 reply; 10+ messages in thread From: kernel test robot @ 2021-04-06 0:23 UTC (permalink / raw) To: Fabien Parent, Rob Herring, Matthias Brugger Cc: kbuild-all, clang-built-linux, mkorpershoek, Fabien Parent, devicetree, linux-arm-kernel, linux-mediatek, linux-kernel [-- Attachment #1: Type: text/plain, Size: 1990 bytes --] Hi Fabien, Thank you for the patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on arm/for-next keystone/next soc/for-next rockchip/for-next arm64/for-next/core shawnguo/for-next clk/clk-next v5.12-rc6 next-20210401] [cannot apply to xlnx/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Fabien-Parent/arm64-dts-mediatek-mt8167-add-mmsys-node/20210406-041016 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: arm64-randconfig-r011-20210406 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 2760a808b9916a2839513b7fd7314a464f52481e) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/0day-ci/linux/commit/bbbf216a8432b5af475e4e709bf481475c1af58f git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Fabien-Parent/arm64-dts-mediatek-mt8167-add-mmsys-node/20210406-041016 git checkout bbbf216a8432b5af475e4e709bf481475c1af58f # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> All errors (new ones prefixed by >>): >> Error: arch/arm64/boot/dts/mediatek/mt8167.dtsi:73.26-27 syntax error FATAL ERROR: Unable to parse input tree --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 35029 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/5] arm64: dts: mediatek: mt8167: add smi_common node 2021-04-06 0:23 ` kernel test robot @ 2021-04-06 7:34 ` Fabien Parent 0 siblings, 0 replies; 10+ messages in thread From: Fabien Parent @ 2021-04-06 7:34 UTC (permalink / raw) To: kernel test robot Cc: Rob Herring, Matthias Brugger, kbuild-all, clang-built-linux, Mattijs Korpershoek, DTML, Linux ARM, moderated list:ARM/Mediatek SoC support, linux-kernel Hi, I forgot to mention it, but this series depends on https://patchwork.kernel.org/project/linux-mediatek/patch/20210405172836.2038526-1-fparent@baylibre.com/ On Tue, Apr 6, 2021 at 2:25 AM kernel test robot <lkp@intel.com> wrote: > > Hi Fabien, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on robh/for-next] > [also build test ERROR on arm/for-next keystone/next soc/for-next rockchip/for-next arm64/for-next/core shawnguo/for-next clk/clk-next v5.12-rc6 next-20210401] > [cannot apply to xlnx/master] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: https://github.com/0day-ci/linux/commits/Fabien-Parent/arm64-dts-mediatek-mt8167-add-mmsys-node/20210406-041016 > base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next > config: arm64-randconfig-r011-20210406 (attached as .config) > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 2760a808b9916a2839513b7fd7314a464f52481e) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install arm64 cross compiling tool for clang build > # apt-get install binutils-aarch64-linux-gnu > # https://github.com/0day-ci/linux/commit/bbbf216a8432b5af475e4e709bf481475c1af58f > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Fabien-Parent/arm64-dts-mediatek-mt8167-add-mmsys-node/20210406-041016 > git checkout bbbf216a8432b5af475e4e709bf481475c1af58f > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot <lkp@intel.com> > > All errors (new ones prefixed by >>): > > >> Error: arch/arm64/boot/dts/mediatek/mt8167.dtsi:73.26-27 syntax error > FATAL ERROR: Unable to parse input tree > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/5] arm64: dts: mediatek: mt8167: add smi_common node 2021-04-05 20:08 ` [PATCH 2/5] arm64: dts: mediatek: mt8167: add smi_common node Fabien Parent 2021-04-06 0:23 ` kernel test robot @ 2021-04-06 11:27 ` Matthias Brugger 1 sibling, 0 replies; 10+ messages in thread From: Matthias Brugger @ 2021-04-06 11:27 UTC (permalink / raw) To: Fabien Parent, Rob Herring Cc: mkorpershoek, devicetree, linux-arm-kernel, linux-mediatek, linux-kernel On 05/04/2021 22:08, Fabien Parent wrote: > Add the smi_common node. > > Signed-off-by: Fabien Parent <fparent@baylibre.com> Applied to v5.12-next/dts64-2 I'll leave the others for a v2 of the series, as there a small comments. Regards, Matthias > --- > arch/arm64/boot/dts/mediatek/mt8167.dtsi | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi b/arch/arm64/boot/dts/mediatek/mt8167.dtsi > index 9d765034dfb0..4b951f81db9e 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8167.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8167.dtsi > @@ -131,5 +131,14 @@ mmsys: mmsys@14000000 { > reg = <0 0x14000000 0 0x1000>; > #clock-cells = <1>; > }; > + > + smi_common: smi@14017000 { > + compatible = "mediatek,mt8167-smi-common"; > + reg = <0 0x14017000 0 0x1000>; > + clocks = <&mmsys CLK_MM_SMI_COMMON>, > + <&mmsys CLK_MM_SMI_COMMON>; > + clock-names = "apb", "smi"; > + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; > + }; > }; > }; > ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 3/5] arm64: dts: mediatek: mt8167: add larb nodes 2021-04-05 20:08 [PATCH 1/5] arm64: dts: mediatek: mt8167: add mmsys node Fabien Parent 2021-04-05 20:08 ` [PATCH 2/5] arm64: dts: mediatek: mt8167: add smi_common node Fabien Parent @ 2021-04-05 20:08 ` Fabien Parent 2021-04-06 8:43 ` Yong Wu 2021-04-05 20:08 ` [PATCH 4/5] arm64: dts: mediatek: mt8167: add iommu node Fabien Parent ` (2 subsequent siblings) 4 siblings, 1 reply; 10+ messages in thread From: Fabien Parent @ 2021-04-05 20:08 UTC (permalink / raw) To: Rob Herring, Matthias Brugger Cc: mkorpershoek, Fabien Parent, devicetree, linux-arm-kernel, linux-mediatek, linux-kernel Add larb nodes for MT8167: * larb0 is used for display (dsi and hdmi) * larb1 is used for camera (csi) * larb2 is used for the video hardware decoder Signed-off-by: Fabien Parent <fparent@baylibre.com> --- arch/arm64/boot/dts/mediatek/mt8167.dtsi | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi b/arch/arm64/boot/dts/mediatek/mt8167.dtsi index 4b951f81db9e..9b352031c5f6 100644 --- a/arch/arm64/boot/dts/mediatek/mt8167.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8167.dtsi @@ -140,5 +140,38 @@ smi_common: smi@14017000 { clock-names = "apb", "smi"; power-domains = <&spm MT8167_POWER_DOMAIN_MM>; }; + + larb0: larb@14016000 { + compatible = "mediatek,mt8167-smi-larb"; + reg = <0 0x14016000 0 0x1000>; + mediatek,smi = <&smi_common>; + mediatek,larbid = <0>; + clocks = <&mmsys CLK_MM_SMI_LARB0>, + <&mmsys CLK_MM_SMI_LARB0>; + clock-names = "apb", "smi"; + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; + }; + + larb1: larb@15001000 { + compatible = "mediatek,mt8167-smi-larb"; + reg = <0 0x15001000 0 0x1000>; + mediatek,smi = <&smi_common>; + mediatek,larbid = <1>; + clocks = <&imgsys CLK_IMG_LARB1_SMI>, + <&imgsys CLK_IMG_LARB1_SMI>; + clock-names = "apb", "smi"; + power-domains = <&spm MT8167_POWER_DOMAIN_ISP>; + }; + + larb2: larb@16010000 { + compatible = "mediatek,mt8167-smi-larb"; + reg = <0 0x16010000 0 0x1000>; + mediatek,smi = <&smi_common>; + mediatek,larbid = <2>; + clocks = <&vdecsys CLK_VDEC_CKEN>, + <&vdecsys CLK_VDEC_LARB1_CKEN>; + clock-names = "apb", "smi"; + power-domains = <&spm MT8167_POWER_DOMAIN_VDEC>; + }; }; }; -- 2.31.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 3/5] arm64: dts: mediatek: mt8167: add larb nodes 2021-04-05 20:08 ` [PATCH 3/5] arm64: dts: mediatek: mt8167: add larb nodes Fabien Parent @ 2021-04-06 8:43 ` Yong Wu 0 siblings, 0 replies; 10+ messages in thread From: Yong Wu @ 2021-04-06 8:43 UTC (permalink / raw) To: Fabien Parent Cc: Rob Herring, Matthias Brugger, mkorpershoek, devicetree, linux-arm-kernel, linux-mediatek, linux-kernel On Mon, 2021-04-05 at 22:08 +0200, Fabien Parent wrote: > Add larb nodes for MT8167: > * larb0 is used for display (dsi and hdmi) > * larb1 is used for camera (csi) > * larb2 is used for the video hardware decoder > > Signed-off-by: Fabien Parent <fparent@baylibre.com> > --- > arch/arm64/boot/dts/mediatek/mt8167.dtsi | 33 ++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi b/arch/arm64/boot/dts/mediatek/mt8167.dtsi > index 4b951f81db9e..9b352031c5f6 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8167.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8167.dtsi > @@ -140,5 +140,38 @@ smi_common: smi@14017000 { > clock-names = "apb", "smi"; > power-domains = <&spm MT8167_POWER_DOMAIN_MM>; > }; > + > + larb0: larb@14016000 { > + compatible = "mediatek,mt8167-smi-larb"; > + reg = <0 0x14016000 0 0x1000>; > + mediatek,smi = <&smi_common>; > + mediatek,larbid = <0>; From [1], This should be: mediatek,larb-id. Actually this property is unnecessary in this SoC since this larb-id in the m4u node is consecutive. [1] https://elixir.bootlin.com/linux/v5.12-rc2/source/Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml#L58 > + clocks = <&mmsys CLK_MM_SMI_LARB0>, > + <&mmsys CLK_MM_SMI_LARB0>; > + clock-names = "apb", "smi"; > + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; > + }; > + > + larb1: larb@15001000 { > + compatible = "mediatek,mt8167-smi-larb"; > + reg = <0 0x15001000 0 0x1000>; > + mediatek,smi = <&smi_common>; > + mediatek,larbid = <1>; > + clocks = <&imgsys CLK_IMG_LARB1_SMI>, > + <&imgsys CLK_IMG_LARB1_SMI>; > + clock-names = "apb", "smi"; > + power-domains = <&spm MT8167_POWER_DOMAIN_ISP>; > + }; > + > + larb2: larb@16010000 { > + compatible = "mediatek,mt8167-smi-larb"; > + reg = <0 0x16010000 0 0x1000>; > + mediatek,smi = <&smi_common>; > + mediatek,larbid = <2>; > + clocks = <&vdecsys CLK_VDEC_CKEN>, > + <&vdecsys CLK_VDEC_LARB1_CKEN>; > + clock-names = "apb", "smi"; > + power-domains = <&spm MT8167_POWER_DOMAIN_VDEC>; > + }; > }; > }; ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 4/5] arm64: dts: mediatek: mt8167: add iommu node 2021-04-05 20:08 [PATCH 1/5] arm64: dts: mediatek: mt8167: add mmsys node Fabien Parent 2021-04-05 20:08 ` [PATCH 2/5] arm64: dts: mediatek: mt8167: add smi_common node Fabien Parent 2021-04-05 20:08 ` [PATCH 3/5] arm64: dts: mediatek: mt8167: add larb nodes Fabien Parent @ 2021-04-05 20:08 ` Fabien Parent 2021-04-05 20:08 ` [PATCH 5/5] arm64: dts: mediatek: mt8167: add some DRM nodes Fabien Parent 2021-04-06 11:27 ` [PATCH 1/5] arm64: dts: mediatek: mt8167: add mmsys node Matthias Brugger 4 siblings, 0 replies; 10+ messages in thread From: Fabien Parent @ 2021-04-05 20:08 UTC (permalink / raw) To: Rob Herring, Matthias Brugger Cc: mkorpershoek, Fabien Parent, devicetree, linux-arm-kernel, linux-mediatek, linux-kernel Add node for the MT8167's IOMMU. Signed-off-by: Fabien Parent <fparent@baylibre.com> --- arch/arm64/boot/dts/mediatek/mt8167.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi b/arch/arm64/boot/dts/mediatek/mt8167.dtsi index 9b352031c5f6..3ba03ca749b2 100644 --- a/arch/arm64/boot/dts/mediatek/mt8167.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8167.dtsi @@ -173,5 +173,14 @@ larb2: larb@16010000 { clock-names = "apb", "smi"; power-domains = <&spm MT8167_POWER_DOMAIN_VDEC>; }; + + iommu: m4u@10203000 { + cell-index = <0>; + compatible = "mediatek,mt8167-m4u"; + reg = <0 0x10203000 0 0x1000>; + mediatek,larbs = <&larb0 &larb1 &larb2>; + interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_LOW>; + #iommu-cells = <1>; + }; }; }; -- 2.31.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 5/5] arm64: dts: mediatek: mt8167: add some DRM nodes 2021-04-05 20:08 [PATCH 1/5] arm64: dts: mediatek: mt8167: add mmsys node Fabien Parent ` (2 preceding siblings ...) 2021-04-05 20:08 ` [PATCH 4/5] arm64: dts: mediatek: mt8167: add iommu node Fabien Parent @ 2021-04-05 20:08 ` Fabien Parent 2021-04-06 11:27 ` [PATCH 1/5] arm64: dts: mediatek: mt8167: add mmsys node Matthias Brugger 4 siblings, 0 replies; 10+ messages in thread From: Fabien Parent @ 2021-04-05 20:08 UTC (permalink / raw) To: Rob Herring, Matthias Brugger Cc: mkorpershoek, Fabien Parent, devicetree, linux-arm-kernel, linux-mediatek, linux-kernel Add all the DRM nodes required to get DSI to work on MT8167 SoC. Signed-off-by: Fabien Parent <fparent@baylibre.com> --- arch/arm64/boot/dts/mediatek/mt8167.dtsi | 149 +++++++++++++++++++++++ 1 file changed, 149 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi b/arch/arm64/boot/dts/mediatek/mt8167.dtsi index 3ba03ca749b2..8ca92d6b203a 100644 --- a/arch/arm64/boot/dts/mediatek/mt8167.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8167.dtsi @@ -16,6 +16,19 @@ / { compatible = "mediatek,mt8167"; + aliases { + aal0 = &aal; + ccorr0 = &ccorr; + color0 = &color; + dither0 = &dither; + dsi0 = &dsi; + ovl0 = &ovl0; + pwm0 = &disp_pwm; + rdma0 = &rdma0; + rdma1 = &rdma1; + wdma0 = &wdma; + }; + soc { topckgen: topckgen@10000000 { compatible = "mediatek,mt8167-topckgen", "syscon"; @@ -114,6 +127,13 @@ vdecsys: syscon@16000000 { #clock-cells = <1>; }; + mutex: mutex@14015000 { + compatible = "mediatek,mt8167-disp-mutex"; + reg = <0 0x14015000 0 0x1000>; + interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_LOW>; + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; + }; + pio: pinctrl@1000b000 { compatible = "mediatek,mt8167-pinctrl"; reg = <0 0x1000b000 0 0x1000>; @@ -126,6 +146,135 @@ pio: pinctrl@1000b000 { interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>; }; + rdma1: rdma1@1400a000 { + compatible = "mediatek,mt8167-disp-rdma", + "mediatek,mt2701-disp-rdma"; + reg = <0 0x1400a000 0 0x1000>; + interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_LOW>; + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_RDMA1>; + iommus = <&iommu M4U_PORT_DISP_RDMA1>; + mediatek,larb = <&larb0>; + }; + + disp_pwm: disp_pwm@1100f000 { + compatible = "mediatek,mt8167-disp-pwm", + "mediatek,mt8173-disp-pwn"; + reg = <0 0x1100f000 0 0x1000>; + #pwm-cells = <2>; + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; + clocks = <&topckgen CLK_TOP_PWM_SEL>, + <&topckgen CLK_TOP_PWM_MM>, + <&mmsys CLK_MM_DISP_PWM_26M>, + <&mmsys CLK_MM_DISP_PWM_MM>; + clock-names = "pwm_sel", + "pwm_mm", + "main", + "mm"; + status = "disabled"; + }; + + dsi: dsi@14012000 { + compatible = "mediatek,mt8167-dsi", + "mediatek,mt2701-dsi"; + reg = <0 0x14012000 0 0x1000>; + interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_LOW>; + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DSI_ENGINE>, + <&mmsys CLK_MM_DSI_DIGITAL>, + <&mipi_tx>; + clock-names = "engine", "digital", "hs"; + phys = <&mipi_tx>; + phy-names = "dphy"; + status = "disabled"; + }; + + mipi_tx: mipi_dphy@14018000 { + compatible = "mediatek,mt8167-mipi-tx", + "mediatek,mt2701-mipi-tx"; + reg = <0 0x14018000 0 0x90>; + clocks = <&topckgen CLK_TOP_MIPI_26M_DBG>; + clock-output-names = "mipi_tx0_pll"; + #clock-cells = <0>; + #phy-cells = <0>; + status = "disabled"; + }; + + ovl0: ovl0@14007000 { + compatible = "mediatek,mt8167-disp-ovl", + "mediatek,mt8173-disp-ovl"; + reg = <0 0x14007000 0 0x1000>; + interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_LOW>; + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_OVL0>; + iommus = <&iommu M4U_PORT_DISP_OVL0>; + mediatek,larb = <&larb0>; + }; + + rdma0: rdma0@14009000 { + compatible = "mediatek,mt8167-disp-rdma", + "mediatek,mt2701-disp-rdma"; + reg = <0 0x14009000 0 0x1000>; + interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_LOW>; + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_RDMA0>; + iommus = <&iommu M4U_PORT_DISP_RDMA0>; + mediatek,larb = <&larb0>; + }; + + color: color@1400c000 { + compatible = "mediatek,mt8167-disp-color", + "mediatek,mt8173-disp-color"; + reg = <0 0x1400c000 0 0x1000>; + interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_LOW>; + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_COLOR>; + }; + + ccorr: ccorr@1400d000 { + compatible = "mediatek,mt8167-disp-ccorr", + "mediatek,mt8183-disp-ccorr"; + reg = <0 0x1400d000 0 0x1000>; + interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_LOW>; + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_CCORR>; + }; + + aal: aal@1400e000 { + compatible = "mediatek,mt8167-disp-aal"; + reg = <0 0x1400e000 0 0x1000>; + interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_LOW>; + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_AAL>; + }; + + gamma: gamma@1400f000 { + compatible = "mediatek,mt8167-disp-gamma", + "mediatek,mt8173-disp-gamma"; + reg = <0 0x1400f000 0 0x1000>; + interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_LOW>; + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_GAMMA>; + }; + + dither: dither@14010000 { + compatible = "mediatek,mt8167-disp-dither"; + reg = <0 0x14010000 0 0x1000>; + interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_LOW>; + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_DITHER>; + }; + + wdma: wdma0@1400b000 { + compatible = "mediatek,mt8167-disp-wdma"; + reg = <0 0x1400b000 0 0x1000>; + interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_LOW>; + power-domains = <&spm MT8167_POWER_DOMAIN_MM>; + clocks = <&mmsys CLK_MM_DISP_WDMA>; + iommus = <&iommu M4U_PORT_DISP_WDMA0>; + mediatek,larb = <&larb0>; + }; + mmsys: mmsys@14000000 { compatible = "mediatek,mt8167-mmsys", "syscon"; reg = <0 0x14000000 0 0x1000>; -- 2.31.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 1/5] arm64: dts: mediatek: mt8167: add mmsys node 2021-04-05 20:08 [PATCH 1/5] arm64: dts: mediatek: mt8167: add mmsys node Fabien Parent ` (3 preceding siblings ...) 2021-04-05 20:08 ` [PATCH 5/5] arm64: dts: mediatek: mt8167: add some DRM nodes Fabien Parent @ 2021-04-06 11:27 ` Matthias Brugger 4 siblings, 0 replies; 10+ messages in thread From: Matthias Brugger @ 2021-04-06 11:27 UTC (permalink / raw) To: Fabien Parent, Rob Herring Cc: mkorpershoek, devicetree, linux-arm-kernel, linux-mediatek, linux-kernel On 05/04/2021 22:08, Fabien Parent wrote: > Add node for MMSYS. > > Signed-off-by: Fabien Parent <fparent@baylibre.com> Applied to v5.12-next/dts64-2 Thanks > --- > arch/arm64/boot/dts/mediatek/mt8167.dtsi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8167.dtsi b/arch/arm64/boot/dts/mediatek/mt8167.dtsi > index 156fbdad01fb..9d765034dfb0 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8167.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8167.dtsi > @@ -125,5 +125,11 @@ pio: pinctrl@1000b000 { > #interrupt-cells = <2>; > interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>; > }; > + > + mmsys: mmsys@14000000 { > + compatible = "mediatek,mt8167-mmsys", "syscon"; > + reg = <0 0x14000000 0 0x1000>; > + #clock-cells = <1>; > + }; > }; > }; > ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2021-04-06 11:28 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-04-05 20:08 [PATCH 1/5] arm64: dts: mediatek: mt8167: add mmsys node Fabien Parent 2021-04-05 20:08 ` [PATCH 2/5] arm64: dts: mediatek: mt8167: add smi_common node Fabien Parent 2021-04-06 0:23 ` kernel test robot 2021-04-06 7:34 ` Fabien Parent 2021-04-06 11:27 ` Matthias Brugger 2021-04-05 20:08 ` [PATCH 3/5] arm64: dts: mediatek: mt8167: add larb nodes Fabien Parent 2021-04-06 8:43 ` Yong Wu 2021-04-05 20:08 ` [PATCH 4/5] arm64: dts: mediatek: mt8167: add iommu node Fabien Parent 2021-04-05 20:08 ` [PATCH 5/5] arm64: dts: mediatek: mt8167: add some DRM nodes Fabien Parent 2021-04-06 11:27 ` [PATCH 1/5] arm64: dts: mediatek: mt8167: add mmsys node Matthias Brugger
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).