Received: by 2002:ac8:45c5:0:b0:405:464a:c27a with SMTP id e5csp1255560qto; Thu, 27 Jul 2023 09:04:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlEM/T1rduSwe/qtE/s7zYY5OqOA/7KIKp2GIpt5N+hUJU7+g78PNc+cxVj9VgLBTYd9dpQ9 X-Received: by 2002:a05:6402:1847:b0:522:3ebc:84b9 with SMTP id v7-20020a056402184700b005223ebc84b9mr2207467edy.24.1690473839976; Thu, 27 Jul 2023 09:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690473839; cv=none; d=google.com; s=arc-20160816; b=Dfze1Y7ed5GsNT+ox442N2gHTlcfiipVmcW6x68qnVVSv72htbGQT3EJZUaY9Uhx6X DDtcaCcY82PknXTl5h8AXq+1keW2l1UAV/2Rio1mX4ehTY4XGXg9oZcTVyp7z1NAT4vh mJUa4as6MKtakD6+rHqjIu1X9NdNNLLpDrblrAfojsOxRggObr77ml77EWB1qltb7BHB o45y2sBONlFaMM8zUZaNKdpAZWzS8qFsL6ufr9P81GoJs7OQ7pk3j4hW7LqBiTiOHcAr u32FzOYrpzOYkwU6nc2ZcrzIUo8y05ewkTwmXWPyp3HCzlEGh/uyjL81QrUFQ/ZIxmVa RlFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=HkMGDumQlalY89C6gPCAt+EinCF2NpTD+G/geonEwe8=; fh=OmAoaJuvB3XXLiomCJL8N6gASfCe++NVvvDQhXSoxOs=; b=JadmrrXfMQKXZXV/wRWRRfoGfdFUbr5B/w6u4H4PciLUnyDWr+gZfpisDa7YDXcYV5 4mcxtE3dJbJzAZgVg+UBwccTW+W2dTnc4rqr2JmItXoj7mdlVBoVlK+lTBwiAwkdPPd/ 1tiyL2JQycncG3jWMxnto4WZvvpVHWVDmXNj3BBC5nbIh2zJjP4cWSZ5d7h3e2o7Na9C xeFuSDPKWSVRockpiJsVUV0ofOyw8B3KKJoPPccEhxDo4vL2OEMeElyAmR9cDorSC9XU k2mciu6TDp1bxYC5x5Xlzk4PQUaPvutc87A0mo1FPNpLnG3B6txq9KLlUAuyILwy1mLh iw2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=QJLPzqFh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o4-20020aa7c504000000b0051e0cc6d8c2si1192740edq.474.2023.07.27.09.03.08; Thu, 27 Jul 2023 09:03:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=QJLPzqFh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234652AbjG0P1G (ORCPT + 99 others); Thu, 27 Jul 2023 11:27:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233532AbjG0P0v (ORCPT ); Thu, 27 Jul 2023 11:26:51 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C9A02D54; Thu, 27 Jul 2023 08:26:50 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-31771bb4869so1150236f8f.0; Thu, 27 Jul 2023 08:26:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690471608; x=1691076408; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=HkMGDumQlalY89C6gPCAt+EinCF2NpTD+G/geonEwe8=; b=QJLPzqFhw7qbdOMo67W0DveidbMWfA8UYMf6LvQNtcDD1N7p0GXZhxZIqEcIQVeAbw l8z9ApmYfdLNVwUvry+24uZ5rpIXD6UxJr38/t3gjgIumUE3m/GQUpnoefKjDs7POAt+ vLfkOX+x9b+g9nOMWlSQPHZbCsjfLByQ2kcks5dvPMIKnAgC1Dbhfivlz4ZngMWYk+Cs KajNfOMfYSb8UsQ+OHgjY7pluzshN2tfqOhIqWI5ohBJ+MNxS6ExFVf5Jb3k7KMWD9x9 a4Kse1naYHheuCtvrdhkTZp8Z6+vusdVGKMIsWIYkHBb6r1ip1OL7OL8lqp+whvvorZ0 SC7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690471608; x=1691076408; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HkMGDumQlalY89C6gPCAt+EinCF2NpTD+G/geonEwe8=; b=bpPhQef2cdN5QRmmiUN5CUUrNYOVInj33YrQGt4qoe8WHIyH1xwq1KTGN+KqcZoAM6 MO65Dt48fzZdJ6GDzZsNyZjFEYAOQPujaWzE4yOjJPiMJeEyfUvvD2rPblHAvf6UyvDu Zoztx+QfVnOrW5/Unwj35QgnkKEV+leNuRjDfxMAGO2Bxz8P4dXlCevjlDoSWQIwgQ3S akX+1kc1oxG+e6nZdtEJj8PKj29tDBNAMZYUK1IM8IPnGv8X/+7GLEfCOkiOKMGxd70B qfIUKT/ZL8Bj+kudMbSfwRrH7mhqhOb8pFalDAlybCLgjRMdt8LXaZTR/oFFpJjD3XMS PAjA== X-Gm-Message-State: ABy/qLan1JwPctDSWOdZbWRHYLOOikvzBXDZOW0cbrb6IECnZd6wxx5J J1accy5nUuIva9160i3RmsI= X-Received: by 2002:adf:f8ce:0:b0:317:6f08:8371 with SMTP id f14-20020adff8ce000000b003176f088371mr1994540wrq.48.1690471608531; Thu, 27 Jul 2023 08:26:48 -0700 (PDT) Received: from [127.0.1.1] ([91.230.2.244]) by smtp.gmail.com with ESMTPSA id b17-20020adfde11000000b003143765e207sm2350622wrm.49.2023.07.27.08.26.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 08:26:48 -0700 (PDT) From: Benjamin Bara Date: Thu, 27 Jul 2023 17:26:38 +0200 Subject: [PATCH 3/6] soc/tegra: pmc: Specify restart mode MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230727-pca9450-reboot-v1-3-c8edb27bf404@skidata.com> References: <20230727-pca9450-reboot-v1-0-c8edb27bf404@skidata.com> In-Reply-To: <20230727-pca9450-reboot-v1-0-c8edb27bf404@skidata.com> To: Lee Jones , Thierry Reding , Jonathan Hunter , Tony Lindgren , Liam Girdwood , Mark Brown , Dmitry Osipenko , Robin Gong , Jerome Neanne Cc: linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org, Benjamin Bara X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Benjamin Bara Specify the implemented restart handler as a warm one. Signed-off-by: Benjamin Bara --- drivers/soc/tegra/pmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/tegra/pmc.c b/drivers/soc/tegra/pmc.c index 162f52456f65..4f42febb9b0f 100644 --- a/drivers/soc/tegra/pmc.c +++ b/drivers/soc/tegra/pmc.c @@ -2962,7 +2962,7 @@ static int tegra_pmc_probe(struct platform_device *pdev) } err = devm_register_sys_off_handler(&pdev->dev, - SYS_OFF_MODE_RESTART, + SYS_OFF_MODE_RESTART_WARM, SYS_OFF_PRIO_LOW, tegra_pmc_restart_handler, NULL); if (err) { -- 2.34.1