ARM: Mediatek soc drivers for v4.13
Subsystems (2)
Matthias Brugger
maintainerHi Olof, hi Anrd,
Please merge this updates for mediatek soc drivers.
Regards,
Matthias
---
The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6:
Linux 4.12-rc1 (2017-05-13 13:19:49 -0700)
are available in the git repository at:
https://github.com/mbgg/linux-mediatek.git tags/v4.12-next-soc
for you to fetch changes up to 58a823dd7b515827ed07adb268e1769b3c292586:
soc: mediatek: PMIC wrap: Fix possible NULL derefrence. (2017-05-15
10:47:25 +0200)
----------------------------------------------------------------
- enhance scpsys to support mt6797
- add mt6797 support to scpsys
- fix error path in pmic-wrapper
- fix possible NULL pointer dereference in pmic-wrapper
----------------------------------------------------------------
Christophe Jaillet (1):
soc: mediatek: PMIC wrap: Fix error handling
Mars Cheng (3):
soc: mediatek: avoid using fixed spm power status defines
soc: mediatek: add vdec item for scpsys
soc: mediatek: add MT6797 scpsys support
shailendra.v at samsung.com (1):
soc: mediatek: PMIC wrap: Fix possible NULL derefrence.
drivers/soc/mediatek/mtk-pmic-wrap.c | 14 ++- drivers/soc/mediatek/mtk-scpsys.c | 149 +++++++++++++++++++++++++++++-- include/dt-bindings/power/mt6797-power.h | 30 +++++++ 3 files changed, 184 insertions(+), 9 deletions(-)
create mode 100644 include/dt-bindings/power/mt6797-power.h
Matthias Brugger
maintainerHi Olof and Arnd,
Olof merged my v4.12-next-dts32 and v4.12-next-dts64 branch, but didn't merge this one.
Actually dts64 depends on a this branch as it provides the dt-binding header for the scpsys on mt6797. Not sure if I screwed up here having such dependencies between my branches.
Are there any concerns regarding the v4.12-next-soc which holds you back on merging it?
Regards,
Matthias
Quoted 47 lines · Matthias Brugger
Hi Olof, hi Anrd,
Please merge this updates for mediatek soc drivers.
Regards,
Matthias---
The following changes since commit
2ea659a9ef488125eb46da6eb571de5eae5c43f6:Linux 4.12-rc1 (2017-05-13 13:19:49 -0700)are available in the git repository at:
https://github.com/mbgg/linux-mediatek.git tags/v4.12-next-soc
for you to fetch changes up to
58a823dd7b515827ed07adb268e1769b3c292586:soc: mediatek: PMIC wrap: Fix possible NULL derefrence. (2017-05-15
10:47:25 +0200)----------------------------------------------------------------
- enhance scpsys to support mt6797
- add mt6797 support to scpsys
- fix error path in pmic-wrapper
- fix possible NULL pointer dereference in pmic-wrapper----------------------------------------------------------------
Christophe Jaillet (1):
soc: mediatek: PMIC wrap: Fix error handlingMars Cheng (3):
soc: mediatek: avoid using fixed spm power status defines
soc: mediatek: add vdec item for scpsys
soc: mediatek: add MT6797 scpsys supportshailendra.v at samsung.com (1):
soc: mediatek: PMIC wrap: Fix possible NULL derefrence.drivers/soc/mediatek/mtk-pmic-wrap.c | 14 ++- drivers/soc/mediatek/mtk-scpsys.c | 149 +++++++++++++++++++++++++++++-- include/dt-bindings/power/mt6797-power.h | 30 +++++++ 3 files changed, 184 insertions(+), 9 deletions(-)create mode 100644
include/dt-bindings/power/mt6797-power.h
Quoted 4 lines · Matthias Brugger
Hi Olof and Arnd,
Olof merged my v4.12-next-dts32 and v4.12-next-dts64 branch, but didn't merge this one.
AFAICT, he merged it but forgot to send an email about it.
Quoted 3 lines
Actually dts64 depends on a this branch as it provides the dt-binding header for the scpsys on mt6797. Not sure if I screwed up here having such dependencies between my branches.
You did, but it already went in unnoticed and I now get this build error in next/dt:
make O=obj-arm64 ARCH=arm64 dtbs CROSS_COMPILE=/home/arnd/cross-gcc/bin/aarch64-linux- -skj30 In file included from ../arch/arm64/boot/dts/mediatek/mt6797-evb.dts:16:0:../arch/arm64/boot/dts/mediatek/mt6797.dtsi:15:10: fatal error:dt-bindings/power/mt6797-power.h: No such file or directory
#include <dt-bindings/power/mt6797-power.h>
I've fixed it up for now with this patch:
Quoted 1 line
From
10c235cdc9350c6da40760f7468d1189bfd4e7ffMon Sep 17 00:00:00 2001
From: Arnd Bergmann <[email protected]>
Date: Fri, 23 Jun 2017 12:28:34 +0200
Subject: [PATCH] arm64: dts: mediatek: don't include missing file
This resolves a build error in the next/dt branch:
In file included from arch/arm64/boot/dts/mediatek/mt6797-evb.dts:16:0:arch/arm64/boot/dts/mediatek/mt6797.dtsi:15:10: fatal error:dt-bindings/power/mt6797-power.h: No such file or directory
003f5d0c3462 ("arm64: dts: mediatek: add clk and scp nodes for MT6797")
(quoted diff) +0 -0
b/arch/arm64/boot/dts/mediatek/mt6797.dtsi
index 3512c8e6dc65..31088a9f71de 100644
arch/arm64/boot/dts/mediatek/mt6797.dtsi +0 -1
@@ -12,7 +12,6 @@ */ #include <dt-bindings/clock/mt6797-clk.h> -#include <dt-bindings/power/mt6797-power.h> #include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
Once you actually start using the symbols from mt6797-power.h, you'll have to add this back, but after the merge window it will be there from the drivers branch.
In the future, please make sure each branch can be built by itself and produce a working kernel image, including "make dtb".
Arnd