lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211210175223.31131-6-flora.fu@mediatek.com>
Date:   Sat, 11 Dec 2021 01:52:16 +0800
From:   Flora Fu <flora.fu@...iatek.com>
To:     Matthias Brugger <matthias.bgg@...il.com>,
        Pi-Cheng Chen <pi-cheng.chen@...iatek.com>,
        Yong Wu <yong.wu@...iatek.com>
CC:     <linux-kernel@...r.kernel.org>,
        <linux-arm-kernel@...ts.infradead.org>,
        <linux-mediatek@...ts.infradead.org>,
        Flora Fu <flora.fu@...iatek.com>,
        "JB Tsai" <jb.tsai@...iatek.com>
Subject: [PATCH 05/12] remoteproc: mediatek: Add MT8195 APU remoteproc support

Add MT8195 platform data in the APU remoteproc driver.

Signed-off-by: Flora Fu <flora.fu@...iatek.com>

---
 drivers/remoteproc/mtk-apu-rproc.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/drivers/remoteproc/mtk-apu-rproc.c b/drivers/remoteproc/mtk-apu-rproc.c
index 40af8e88f41a..dc54b87ad661 100644
--- a/drivers/remoteproc/mtk-apu-rproc.c
+++ b/drivers/remoteproc/mtk-apu-rproc.c
@@ -997,8 +997,23 @@ const struct mtk_apu_platdata mt8192_platdata = {
 	},
 };
 
+const struct mtk_apu_platdata mt8195_platdata = {
+	.flags = F_AUTO_BOOT,
+	.ipi_attrs = mt81xx_ipi_attrs,
+	.ops = {
+		.start = mt81xx_rproc_start,
+		.stop = mt81xx_rproc_stop,
+		.resume = mt81xx_rproc_resume,
+		.apu_memmap_init = mt81xx_apu_memmap_init,
+		.apu_memmap_remove = mt81xx_apu_memmap_remove,
+		.power_on = mt81xx_apu_power_on,
+		.power_off = mt81xx_apu_power_off,
+	},
+};
+
 static const struct of_device_id apu_of_match[] = {
 	{ .compatible = "mediatek,mt8192-apusys-rv", .data = &mt8192_platdata},
+	{ .compatible = "mediatek,mt8195-apusys-rv", .data = &mt8195_platdata},
 	{},
 };
 MODULE_DEVICE_TABLE(of, apu_of_match);
-- 
2.18.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ