From patchwork Tue Mar 26 22:37:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 13605206 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C8FF0CD11DF for ; Tue, 26 Mar 2024 22:38:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cPVD16eS8oX04AT7tMoHXYIb2Z9zxtBjEkTOIiTGRHI=; b=kiTXgXeGht69oJ 70G0ULX2gwxRKAIhPRquko7lsWmZjodHoIZ/RpDuAyQsj5Mlma2Fi7GNuxG/oUQdORJtq7QcfthNd jxS1ENNmhUSLm8P7Sw2B8w20eTqULIqB78X3C4s1jwzpGY3YwJsBt9Hb5pbjVSdLqByTtwzONaQSh 713krArdQOtvMxkCKizVqauLq6ysefPdjRG1hSujtEpn94pDu/UIyvUxptO/7EWutbRw/xJD4gt9N g9Yk9Y81/OK67V4SvGxnvKqnGfMgCx8k/GlHLcmDnz3oLhHlMuC7OhR9GdNixmWpzeWZxRfJAPphJ N8w/SLciA/e0bAZjMzIw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpFQa-00000006iJp-2hIL; Tue, 26 Mar 2024 22:37:56 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpFQJ-00000006iBd-0lnG for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2024 22:37:41 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 42QMbWGd122550; Tue, 26 Mar 2024 17:37:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1711492652; bh=Lgm+zMk+iBG2wv4BvI+8VRJEkQ6t3xqJUb4WT18clKA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=HOrp+wOsLao8NEe7IbHVfN5R8WnWUCQsZsgd3hFkv1JFOgKqx0z+MxdTmkIItXluo 0U8XqFSbkjhfVBXkqUtZ0aH7XoejlWrUDJUZTM7EQbq2FNn59jdf72ELB4CJhx46Id 0t38enLoiVxe7UNlbyAu8/zIKk+Vm9feTij/2XHU= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42QMbWiL106451 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 26 Mar 2024 17:37:32 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 26 Mar 2024 17:37:31 -0500 Received: from fllvsmtp8.itg.ti.com (10.64.41.158) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 26 Mar 2024 17:37:31 -0500 Received: from fllvsmtp8.itg.ti.com ([10.249.42.149]) by fllvsmtp8.itg.ti.com (8.15.2/8.15.2) with ESMTP id 42QMbVmY109669; Tue, 26 Mar 2024 17:37:31 -0500 From: Andrew Davis To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Santosh Shilimkar , Nishanth Menon , Vignesh Raghavendra CC: , , , Andrew Davis Subject: [PATCH 1/4] firmware: ti_sci: Use devm_register_restart_handler() Date: Tue, 26 Mar 2024 17:37:27 -0500 Message-ID: <20240326223730.54639-2-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240326223730.54639-1-afd@ti.com> References: <20240326223730.54639-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240326_153739_456299_38412236 X-CRM114-Status: GOOD ( 13.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Use device life-cycle managed register function to simplify probe. Signed-off-by: Andrew Davis Reviewed-by: Gabriel Somlo Reviewed-by: Markus Schneider-Pargmann --- drivers/firmware/ti_sci.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c index 8b9a2556de16d..9885e1763591b 100644 --- a/drivers/firmware/ti_sci.c +++ b/drivers/firmware/ti_sci.c @@ -87,7 +87,6 @@ struct ti_sci_desc { * struct ti_sci_info - Structure representing a TI SCI instance * @dev: Device pointer * @desc: SoC description for this instance - * @nb: Reboot Notifier block * @d: Debugfs file entry * @debug_region: Memory region where the debug message are available * @debug_region_size: Debug region size @@ -103,7 +102,6 @@ struct ti_sci_desc { */ struct ti_sci_info { struct device *dev; - struct notifier_block nb; const struct ti_sci_desc *desc; struct dentry *d; void __iomem *debug_region; @@ -122,7 +120,6 @@ struct ti_sci_info { #define cl_to_ti_sci_info(c) container_of(c, struct ti_sci_info, cl) #define handle_to_ti_sci_info(h) container_of(h, struct ti_sci_info, handle) -#define reboot_to_ti_sci_info(n) container_of(n, struct ti_sci_info, nb) #ifdef CONFIG_DEBUG_FS @@ -3254,10 +3251,9 @@ devm_ti_sci_get_resource(const struct ti_sci_handle *handle, struct device *dev, } EXPORT_SYMBOL_GPL(devm_ti_sci_get_resource); -static int tisci_reboot_handler(struct notifier_block *nb, unsigned long mode, - void *cmd) +static int tisci_reboot_handler(struct sys_off_data *data) { - struct ti_sci_info *info = reboot_to_ti_sci_info(nb); + struct ti_sci_info *info = data->cb_data; const struct ti_sci_handle *handle = &info->handle; ti_sci_cmd_core_reboot(handle); @@ -3400,10 +3396,9 @@ static int ti_sci_probe(struct platform_device *pdev) ti_sci_setup_ops(info); if (reboot) { - info->nb.notifier_call = tisci_reboot_handler; - info->nb.priority = 128; - - ret = register_restart_handler(&info->nb); + ret = devm_register_restart_handler(dev, + tisci_reboot_handler, + info); if (ret) { dev_err(dev, "reboot registration fail(%d)\n", ret); goto out; From patchwork Tue Mar 26 22:37:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 13605204 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AC3A4C54E67 for ; Tue, 26 Mar 2024 22:38:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wqdLmMIHh6nkhDJDiM5IwIntct9W6F7bvGy28HW7jbY=; b=vksbDR/tkzaC7P RoQXXvVrZAOKriPhRiPDr4KFfPC/9EG/29ZRfJiVAjSvDcXmGLM5NDKzQeuZS+ENsNjLPMvVg8Fi4 pluYlFzGTEz4p3tP9GM/r1FkiTO2Gg93KxkjMfiP3LOzJpT5hlgnDnUswziR9GSto02qrEa2fdIe/ q/G2EO3zla3r5jN1xJq5svIWIY4ODL80omaaf2fHa6UfUAPFMrmmhzOzTRjkYBgWMMljZMq5m4L/m 9pCruZOg2hNKN9h/7FQ0BsdYqCXc9v04g27+5Uk77mPgwF5xrLkZ+P0fSf/sgMf610DYGQBY1uX47 N0K8rsWMQjUa2wHgNoGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpFQZ-00000006iJ5-3JoS; Tue, 26 Mar 2024 22:37:55 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpFQH-00000006iBH-32Pr for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2024 22:37:40 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 42QMbWDp092773; Tue, 26 Mar 2024 17:37:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1711492652; bh=RROmykh+GXi1qU7J3euldybQGKdRbR+HJWggHHB28yU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ClUU2fkcDKhV6stl1V3qCZgvZ+fsU/whnXAvmUfquPeXbV63a/JrDilk6G9DVVfpA mQ3mTPvUWZO0vD4qJ5hNsXaer46eBGXSdCOQyrV9ot3v+6CUEKq/Kyvi5EoelD73xu vNyCoG4vf8uE1e1LGSu04EFbnfYsyZZRBqWrG8J4= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42QMbWHw106463 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 26 Mar 2024 17:37:32 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 26 Mar 2024 17:37:32 -0500 Received: from fllvsmtp8.itg.ti.com (10.64.41.158) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 26 Mar 2024 17:37:32 -0500 Received: from fllvsmtp8.itg.ti.com ([10.249.42.149]) by fllvsmtp8.itg.ti.com (8.15.2/8.15.2) with ESMTP id 42QMbVmZ109669; Tue, 26 Mar 2024 17:37:31 -0500 From: Andrew Davis To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Santosh Shilimkar , Nishanth Menon , Vignesh Raghavendra CC: , , , Andrew Davis Subject: [PATCH 2/4] firmware: ti_sci: Unconditionally register reset handler Date: Tue, 26 Mar 2024 17:37:28 -0500 Message-ID: <20240326223730.54639-3-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240326223730.54639-1-afd@ti.com> References: <20240326223730.54639-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240326_153737_954345_87FDC46B X-CRM114-Status: GOOD ( 13.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There was once a limitation that there could only be one system reset handler. Due to that we only would register this handler when a non-standard device tree property was found, else we left the default handler in place (usually PSCI). Now that we can have multiple handlers, and TI-SCI reset is always available in the firmware, register this handler unconditionally. This priority is left at the default so higher priority handlers (like PSCI) are still attempted first. Signed-off-by: Andrew Davis Reviewed-by: Markus Schneider-Pargmann --- drivers/firmware/ti_sci.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c index 9885e1763591b..160968301b1fb 100644 --- a/drivers/firmware/ti_sci.c +++ b/drivers/firmware/ti_sci.c @@ -3299,7 +3299,6 @@ static int ti_sci_probe(struct platform_device *pdev) struct mbox_client *cl; int ret = -EINVAL; int i; - int reboot = 0; u32 h_id; desc = device_get_match_data(dev); @@ -3323,8 +3322,6 @@ static int ti_sci_probe(struct platform_device *pdev) } } - reboot = of_property_read_bool(dev->of_node, - "ti,system-reboot-controller"); INIT_LIST_HEAD(&info->node); minfo = &info->minfo; @@ -3395,14 +3392,10 @@ static int ti_sci_probe(struct platform_device *pdev) ti_sci_setup_ops(info); - if (reboot) { - ret = devm_register_restart_handler(dev, - tisci_reboot_handler, - info); - if (ret) { - dev_err(dev, "reboot registration fail(%d)\n", ret); - goto out; - } + ret = devm_register_restart_handler(dev, tisci_reboot_handler, info); + if (ret) { + dev_err(dev, "reboot registration fail(%d)\n", ret); + goto out; } dev_info(dev, "ABI: %d.%d (firmware rev 0x%04x '%s')\n", From patchwork Tue Mar 26 22:37:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 13605203 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2C261CD1280 for ; Tue, 26 Mar 2024 22:38:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kym/H0EF6I7exK4Dt7YIl8MDvTJkENSTYkcZzaWXE/Q=; b=sZwa2D05hqR5hJ bpGOL5puTZ8JfHHK527qMCuNmgpjtaO6+YN1N3shhI540wJhSgp0xW4Tr3k7qF55UV3FimZPngGsP KcP/AmYio1+g50YRQpzv7pBmdNsJKvihqFuGpdzCKLIAXKhJQtmSZAVjarc38KJqcz7lDZk3RV6jF kTqmL0RedXlwfkFEcIyPbDT20rjZZpZmEeW8R+Z5UvXK+458qqxNdIke1SugsaLwb7fwVdS0Pnmfp oDavIAkH3V2U7gujjz+MJO1T+DV8iJzLd5J/ZiWgX7DXaZp6K8ZwSC18C+J0JxllBWAy1sxJ2zF92 5XLOO/UDUR5S8/P7nqnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpFQV-00000006iGS-2HqL; Tue, 26 Mar 2024 22:37:51 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpFQH-00000006iBK-1eYV for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2024 22:37:39 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 42QMbX5P117999; Tue, 26 Mar 2024 17:37:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1711492653; bh=WqdWf4g6YBQDgfjZS/u2rNlfM6pu58G4U7P0RsBUz0g=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Ar7eF3BI7MlZXytugsZ5b9P3qX7v52ROwJFjmHbS08qoTnhRjrQ/0da9ujjJAzXi3 3XNlJ/E/9m9lBPZFKvzw5Re/9Ky1PaUmzTAJAqh0Ld6C1kUWgQW/kkFa5Lc1niNUfT ptuxHMuGdzXVQzrtOggsurEUJznLUspNzRKJCtFQ= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42QMbXpJ045392 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 26 Mar 2024 17:37:33 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 26 Mar 2024 17:37:32 -0500 Received: from fllvsmtp8.itg.ti.com (10.64.41.158) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 26 Mar 2024 17:37:32 -0500 Received: from fllvsmtp8.itg.ti.com ([10.249.42.149]) by fllvsmtp8.itg.ti.com (8.15.2/8.15.2) with ESMTP id 42QMbVma109669; Tue, 26 Mar 2024 17:37:32 -0500 From: Andrew Davis To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Santosh Shilimkar , Nishanth Menon , Vignesh Raghavendra CC: , , , Andrew Davis Subject: [PATCH 3/4] ARM: dts: ti: keystone: k2g: Remove ti,system-reboot-controller property Date: Tue, 26 Mar 2024 17:37:29 -0500 Message-ID: <20240326223730.54639-4-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240326223730.54639-1-afd@ti.com> References: <20240326223730.54639-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240326_153737_586276_A4A3D09A X-CRM114-Status: GOOD ( 10.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The property ti,system-reboot-controller is no longer needed as the reboot handler is now always registered. Remove this property. While here remove the comment about delete-property, all K2G platforms use PMMC, and it wasn't good advice anyway. Signed-off-by: Andrew Davis --- arch/arm/boot/dts/ti/keystone/keystone-k2g.dtsi | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/boot/dts/ti/keystone/keystone-k2g.dtsi b/arch/arm/boot/dts/ti/keystone/keystone-k2g.dtsi index 790b29ab0fa2c..dafe485dfe197 100644 --- a/arch/arm/boot/dts/ti/keystone/keystone-k2g.dtsi +++ b/arch/arm/boot/dts/ti/keystone/keystone-k2g.dtsi @@ -256,11 +256,6 @@ msgmgr: mailbox@2a00000 { pmmc: system-controller@2921c00 { compatible = "ti,k2g-sci"; - /* - * In case of rare platforms that does not use k2g as - * system master, use /delete-property/ - */ - ti,system-reboot-controller; mbox-names = "rx", "tx"; mboxes = <&msgmgr 5 2>, <&msgmgr 0 0>; From patchwork Tue Mar 26 22:37:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 13605205 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9BB77CD1280 for ; Tue, 26 Mar 2024 22:38:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uazcMv/MlZpJ7yUPMT11AqJlYZWEjfQBGRlTYgbmnWk=; b=oq9LaMJBv38wA9 vktTrGsNHcR5S1dETJEYU9Bm4T8HSyhDtRg2KWcn0N/LuDNVnQCC4w37Ko7/Wu0BEDsF6AiKRUxgC +1MTMiUQcARwzn+qJnLrvP2R0YQESxdzSW9KCcCEk3cjofeZTmMBCUxXFSUE2zPVh5Gj1WpXQeS0x 5eXlG33yGN/WeEU5UjXyW8ATuUpfhrSWUPDV7aNHLlpC3ysYjv/TTIA3TVIU66KfNtxsDyZm7MU2e /7170/toWfz5LtMtFVuBIt3UsDpLne4V85Wr7uI+Ok8w1WHlynLiRUd30j/lUvfP8iiRXGIcVdt2u oxHvcFWpUKNuu3N18ZUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpFQY-00000006iI7-1sqm; Tue, 26 Mar 2024 22:37:54 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpFQH-00000006iBe-32GF for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2024 22:37:40 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 42QMbXD1092778; Tue, 26 Mar 2024 17:37:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1711492653; bh=/m8GoNEQsRLxqh9NQPyFQwvDN6J319O/acSr4HwVOVY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=o/fPq/5SSQ+VArFeDEix1gk/agcwEhg72ojykz+sOWTAgh6n/3WZh5/h4eJCn7JVJ t42QOhpdioZoPZi76QLJAb1C7doWikG70nA649tXN6eKUgry4hKyPLFz51Qd87r8Yw oyacQxK8IFs0d/muIS+OEFLJzW0TBZRGW1WYjQF0= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42QMbXvs045399 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 26 Mar 2024 17:37:33 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 26 Mar 2024 17:37:33 -0500 Received: from fllvsmtp8.itg.ti.com (10.64.41.158) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 26 Mar 2024 17:37:33 -0500 Received: from fllvsmtp8.itg.ti.com ([10.249.42.149]) by fllvsmtp8.itg.ti.com (8.15.2/8.15.2) with ESMTP id 42QMbVmb109669; Tue, 26 Mar 2024 17:37:32 -0500 From: Andrew Davis To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Santosh Shilimkar , Nishanth Menon , Vignesh Raghavendra CC: , , , Andrew Davis Subject: [PATCH 4/4] dt-bindings: arm: keystone: Remove ti,system-reboot-controller property Date: Tue, 26 Mar 2024 17:37:30 -0500 Message-ID: <20240326223730.54639-5-afd@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240326223730.54639-1-afd@ti.com> References: <20240326223730.54639-1-afd@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240326_153737_924938_A2D42852 X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This property was only ever used in one device. It is no longer needed as what it signaled is now default. Remove this unneeded/unused property. Signed-off-by: Andrew Davis Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml index c24ad0968f3ef..7f06b10802449 100644 --- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml +++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml @@ -61,10 +61,6 @@ properties: mboxes: minItems: 2 - ti,system-reboot-controller: - description: Determines If system reboot can be triggered by SoC reboot - type: boolean - ti,host-id: $ref: /schemas/types.yaml#/definitions/uint32 description: | @@ -94,7 +90,6 @@ examples: - | pmmc: system-controller@2921800 { compatible = "ti,k2g-sci"; - ti,system-reboot-controller; mbox-names = "rx", "tx"; mboxes = <&msgmgr 5 2>, <&msgmgr 0 0>;