Re: [PATCH v5 5/5] arm64: dts: mt8192: add pwrap node

2021-02-04 Thread kernel test robot
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 linux/master linus/master v5.11-rc6 next-20210125]
[cannot apply to mediatek/for-next]
[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-PMIC-wrapper-support-for-Mediatek-MT6873-8192-SoC-IC/20210205-093351
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: arm64-randconfig-r021-20210204 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
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
# 
https://github.com/0day-ci/linux/commit/89327847fb3d72eb77dec4ea071dd03e95599a94
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review 
Hsin-Hsiung-Wang/Add-PMIC-wrapper-support-for-Mediatek-MT6873-8192-SoC-IC/20210205-093351
git checkout 89327847fb3d72eb77dec4ea071dd03e95599a94
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross 
ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot 

All errors (new ones prefixed by >>):

>> Error: arch/arm64/boot/dts/mediatek/mt8192.dtsi:255.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-...@lists.01.org


.config.gz
Description: application/gzip


[PATCH v5 5/5] arm64: dts: mt8192: add pwrap node

2021-02-04 Thread Hsin-Hsiung Wang
Add pwrap node to SOC MT8192.

Signed-off-by: Hsin-Hsiung Wang 
---
changes since v4:
- update correct pwrap node in the Mediatek MT8192 dtsi.
---
 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 12 
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi 
b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
index e12e024de122..537af653ac54 100644
--- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
@@ -247,6 +247,18 @@
clock-names = "clk13m";
};
 
+   pwrap: pwrap@10026000 {
+   compatible = "mediatek,mt6873-pwrap";
+   reg = <0 0x10026000 0 0x1000>;
+   reg-names = "pwrap";
+   interrupts = ;
+   clocks = < CLK_INFRA_PMIC_AP>,
+< CLK_INFRA_PMIC_TMR>;
+   clock-names = "spi", "wrap";
+   assigned-clocks = < CLK_TOP_PWRAP_ULPOSC_SEL>;
+   assigned-clock-parents = < CLK_TOP_OSC_D10>;
+   };
+
uart0: serial@11002000 {
compatible = "mediatek,mt8192-uart",
 "mediatek,mt6577-uart";
-- 
2.18.0