diff mbox series

[v8,4/4] arm64: dts: mt8192: add spmi node

Message ID 1622025344-31888-5-git-send-email-hsin-hsiung.wang@mediatek.com
State Superseded
Headers show
Series Add SPMI support for Mediatek MT6873/8192 SoC IC | expand

Commit Message

Hsin-Hsiung Wang May 26, 2021, 10:35 a.m. UTC
Add spmi node to SOC MT8192.

Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
---
changes since v7:
- no change.
---
 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

Comments

Hsin-Hsiung Wang May 27, 2021, 2:08 a.m. UTC | #1
Hi, Sirs
Thanks for the review.
This series is based on Chun-Jie's patches[1].

[1]
https://patchwork.kernel.org/project/linux-mediatek/list/?series=488239

On Thu, 2021-05-27 at 00:46 +0800, kernel test robot wrote:
> Hi Hsin-Hsiung,

> 

> Thank you for the patch! Yet something to improve:

> 

> [auto build test ERROR on robh/for-next]

> [also build test ERROR on mediatek/for-next linus/master v5.13-rc3 next-20210526]

> [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/Hsin-Hsiung-Wang/Add-SPMI-support-for-Mediatek-MT6873-8192-SoC-IC/20210526-183803

> base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next

> config: arm64-randconfig-r016-20210526 (attached as .config)

> compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 99155e913e9bad5f7f8a247f8bb3a3ff3da74af1)

> 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/423b4a1660f5157dbac566f9c498c61927f09022

>         git remote add linux-review https://github.com/0day-ci/linux

>         git fetch --no-tags linux-review Hsin-Hsiung-Wang/Add-SPMI-support-for-Mediatek-MT6873-8192-SoC-IC/20210526-183803

>         git checkout 423b4a1660f5157dbac566f9c498c61927f09022

>         # 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/mt8192.dtsi:299.24-25 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
kernel test robot May 27, 2021, 8:22 a.m. UTC | #2
Hi Hsin-Hsiung,

Thanks for the clarification, the bot can't parse the previous patchset 
from a link,
but can get the base from '--base' option in 
https://git-scm.com/docs/git-format-patch.

Best Regards,
Rong Chen

On 5/27/21 10:08 AM, Hsin-hsiung Wang wrote:
> Hi, Sirs

> Thanks for the review.

> This series is based on Chun-Jie's patches[1].

>

> [1]

> https://patchwork.kernel.org/project/linux-mediatek/list/?series=488239

>

> On Thu, 2021-05-27 at 00:46 +0800, kernel test robot wrote:

>> Hi Hsin-Hsiung,

>>

>> Thank you for the patch! Yet something to improve:

>>

>> [auto build test ERROR on robh/for-next]

>> [also build test ERROR on mediatek/for-next linus/master v5.13-rc3 next-20210526]

>> [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/Hsin-Hsiung-Wang/Add-SPMI-support-for-Mediatek-MT6873-8192-SoC-IC/20210526-183803

>> base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next

>> config: arm64-randconfig-r016-20210526 (attached as .config)

>> compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 99155e913e9bad5f7f8a247f8bb3a3ff3da74af1)

>> 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/423b4a1660f5157dbac566f9c498c61927f09022

>>          git remote add linux-review https://github.com/0day-ci/linux

>>          git fetch --no-tags linux-review Hsin-Hsiung-Wang/Add-SPMI-support-for-Mediatek-MT6873-8192-SoC-IC/20210526-183803

>>          git checkout 423b4a1660f5157dbac566f9c498c61927f09022

>>          # 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/mt8192.dtsi:299.24-25 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

> _______________________________________________

> kbuild-all mailing list -- kbuild-all@lists.01.org

> To unsubscribe send an email to kbuild-all-leave@lists.01.org
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
index 9757138..9ceed61 100644
--- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
@@ -291,6 +291,23 @@ 
 			clock-names = "clk13m";
 		};
 
+		spmi: spmi@10027000 {
+			compatible = "mediatek,mt6873-spmi";
+			reg = <0 0x10027000 0 0x000e00>,
+			      <0 0x10029000 0 0x000100>;
+			reg-names = "pmif", "spmimst";
+			clocks = <&infracfg CLK_INFRA_PMIC_AP>,
+				 <&infracfg CLK_INFRA_PMIC_TMR>,
+				 <&topckgen CLK_TOP_SPMI_MST_SEL>;
+			clock-names = "pmif_sys_ck",
+				      "pmif_tmr_ck",
+				      "spmimst_clk_mux";
+			assigned-clocks = <&topckgen CLK_TOP_PWRAP_ULPOSC_SEL>;
+			assigned-clock-parents = <&topckgen CLK_TOP_OSC_D10>;
+			#address-cells = <2>;
+			#size-cells = <0>;
+		};
+
 		uart0: serial@11002000 {
 			compatible = "mediatek,mt8192-uart",
 				     "mediatek,mt6577-uart";