linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: Support pwrap on MediaTek MT6779 platform
@ 2021-01-04  8:08 Argus Lin
  2021-01-04  8:08 ` [PATCH 1/2] arm64: dts: mt6779: Support pwrap on Mediatek " Argus Lin
  2021-01-04  8:08 ` [PATCH 2/2] arm64: configs: " Argus Lin
  0 siblings, 2 replies; 3+ messages in thread
From: Argus Lin @ 2021-01-04  8:08 UTC (permalink / raw)
  To: Rob Herring, Matthias Brugger, Catalin Marinas, Will Deacon
  Cc: devicetree, Arnd Bergmann, Anson Huang, Max Krummenacher, agx,
	linux-kernel, wsd_upstream, Li Yang, Michael Walle,
	linux-mediatek, linux-arm-kernel, Geert Uytterhoeven,
	Bjorn Andersson, Shawn Guo, argus.lin

This adds pwrap on Mediatek MT6779 platform.

change since v1:
  - adds pwrap node at mt6779.dtsi
  - set CONFIG_MTK_PMIC_WRAP at defconfig

Argus Lin (2):
  arm64: dts: mt6779: Support pwrap on MT6779 platform
  arm64: configs: Support pwrap on MT6779 platform

 arch/arm64/boot/dts/mediatek/mt6779.dtsi | 9 +++++++++
 arch/arm64/configs/defconfig             | 1 +
 2 files changed, 10 insertions(+)

--
1.8.1.1.dirty
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] arm64: dts: mt6779: Support pwrap on Mediatek MT6779 platform
  2021-01-04  8:08 [PATCH 0/2] arm64: Support pwrap on MediaTek MT6779 platform Argus Lin
@ 2021-01-04  8:08 ` Argus Lin
  2021-01-04  8:08 ` [PATCH 2/2] arm64: configs: " Argus Lin
  1 sibling, 0 replies; 3+ messages in thread
From: Argus Lin @ 2021-01-04  8:08 UTC (permalink / raw)
  To: Rob Herring, Matthias Brugger, Catalin Marinas, Will Deacon
  Cc: devicetree, Arnd Bergmann, Anson Huang, Max Krummenacher, agx,
	linux-kernel, wsd_upstream, Li Yang, Michael Walle,
	linux-mediatek, linux-arm-kernel, Geert Uytterhoeven,
	Bjorn Andersson, Shawn Guo, argus.lin

Support pwrap on Mediatek MT6779 platform by adding pwrap node in dts file.

Signed-off-by: Argus Lin <argus.lin@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt6779.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt6779.dtsi b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
index 370f309..2c2ca33 100644
--- a/arch/arm64/boot/dts/mediatek/mt6779.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6779.dtsi
@@ -189,6 +189,15 @@
 			#clock-cells = <1>;
 		};

+		pwrap: pwrap@1000d000 {
+			compatible = "mediatek,mt6779-pwrap";
+			reg = <0 0x1000d000 0 0x1000>;
+			reg-names = "pwrap";
+			interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&clk26m>, <&infracfg_ao CLK_INFRA_PMIC_AP>;
+			clock-names = "spi", "wrap";
+		};
+
 		uart0: serial@11002000 {
 			compatible = "mediatek,mt6779-uart",
 				     "mediatek,mt6577-uart";
--
1.8.1.1.dirty
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] arm64: configs: Support pwrap on Mediatek MT6779 platform
  2021-01-04  8:08 [PATCH 0/2] arm64: Support pwrap on MediaTek MT6779 platform Argus Lin
  2021-01-04  8:08 ` [PATCH 1/2] arm64: dts: mt6779: Support pwrap on Mediatek " Argus Lin
@ 2021-01-04  8:08 ` Argus Lin
  1 sibling, 0 replies; 3+ messages in thread
From: Argus Lin @ 2021-01-04  8:08 UTC (permalink / raw)
  To: Rob Herring, Matthias Brugger, Catalin Marinas, Will Deacon
  Cc: devicetree, Arnd Bergmann, Anson Huang, Max Krummenacher, agx,
	linux-kernel, wsd_upstream, Li Yang, Michael Walle,
	linux-mediatek, linux-arm-kernel, Geert Uytterhoeven,
	Bjorn Andersson, Shawn Guo, argus.lin

Support pwrap on Mediatek MT6779 platform by enabling CONFIG_MTK_PMIC_WRAP.

Signed-off-by: Argus Lin <argus.lin@mediatek.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 8383016..a2c926f 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -479,6 +479,7 @@ CONFIG_SPI_S3C64XX=y
 CONFIG_SPI_SH_MSIOF=m
 CONFIG_SPI_SUN6I=y
 CONFIG_SPI_SPIDEV=m
+CONFIG_MTK_PMIC_WRAP=m
 CONFIG_SPMI=y
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_PINCTRL_MAX77620=y
--
1.8.1.1.dirty
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-04  8:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-04  8:08 [PATCH 0/2] arm64: Support pwrap on MediaTek MT6779 platform Argus Lin
2021-01-04  8:08 ` [PATCH 1/2] arm64: dts: mt6779: Support pwrap on Mediatek " Argus Lin
2021-01-04  8:08 ` [PATCH 2/2] arm64: configs: " Argus Lin

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).