From patchwork Fri Aug 18 04:51:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Te Yuan X-Patchwork-Id: 13357338 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 28556C71133 for ; Fri, 18 Aug 2023 04:52:11 +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: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:In-Reply-To:References: List-Owner; bh=CyGMMIiLVubqgE04KFLBnc4OGpoQjzDOda62rqh9YTs=; b=Ek79zrcdD4v17V 4fkTvKX0U0cN0EZ9ZjIT7O2kamG/m+vPf30SU9+qYjibt9B/8LZS4ngYb0x5Lt1nrlsCUo72BkO8M i9ZD9tf/HktqIkFur4ThxNf+DNml0RcRLx33kJhVaZJEAkFpg5kyx6eR/n7MtnZxAjdqls4b09QJe TU4khO3K4YB8BL/fzJvc2ZIiyHbpaIHg6nqH3yQFbc5iSXTCHvmS7uKHKC4QlxR+oGiNAqLc/qi/7 nvi7+nZ98W1Ol2vegy8IiiLDBoOaNeEjR09Nv3CQAo0Pscv9iqusT1dh5wHH84eH3lg2HD0GeNUl8 O4CSfh96dgdI9ZtALHnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWrSU-007hgt-0j; Fri, 18 Aug 2023 04:51:38 +0000 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWrSR-007hgI-0b for linux-arm-kernel@lists.infradead.org; Fri, 18 Aug 2023 04:51:36 +0000 Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-53fbf2c42bfso418598a12.3 for ; Thu, 17 Aug 2023 21:51:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1692334292; x=1692939092; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=TD+gevgj24BK8HPP9GIiWb36T/VnfPNgPphoj/WcGx0=; b=LeYl1NvcE31cfFvU2zGE9J5cv1gngt8rryB1sAeEokizuZXe19tFTbtA0Hhh4TVe+v 2ABCitl7HkikCwBgKVIlMa/nKGlTc1WrSIjOsm5OT1mH2kbV//8CmR4OWqxARI9ZNmHE WM7J7AZiVSQsiKli6vfG+P7i7aUqtmxz5tNaA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692334292; x=1692939092; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TD+gevgj24BK8HPP9GIiWb36T/VnfPNgPphoj/WcGx0=; b=IFFevt9bviirvQ5YrErCMPsBWq9LxY170T2CUBs4H2xXhFQui5bcWTnSuRHf6KqJCn CGTAo75v9W71JiFyQO6VpN54StI2zO0fJ5edMp2I0V0YWJaY/LdEo3VUde/Sko1o5lHj K40+IlSkdJ59PKohg6Llr3eo7ufVHuRCYQLEqveV9UCalXF6N/hseEplJDxmGHjPUh9X 7/nwFyTYS+f1t5MSM7tlEumLXjVaYtahrWZxniF2W5RcZDssK6se+Vcho7LP59qZW6qC RN1BoE96s+zmb7fWJx+NQsjubNOw2ydPVH81sdCTRHgRk16hpNsXGzFJiuVMLdPbN3qW WGLQ== X-Gm-Message-State: AOJu0Yw84HzWYgUyjRZO4K5M5fInkVEeiHh6ESzNJuTA3SXD+/uSa3cl ASIpxeTxIfPgVX8M0CGUOu+u1g== X-Google-Smtp-Source: AGHT+IFjIFUEtXq1tnxcTXCexqGlqyUOsce3/7NPFcbB/8zb467vXeOLFQEEiT7xtoEunJegNEbCpA== X-Received: by 2002:a05:6a20:2593:b0:13e:e3aa:d871 with SMTP id k19-20020a056a20259300b0013ee3aad871mr1699472pzd.53.1692334292110; Thu, 17 Aug 2023 21:51:32 -0700 (PDT) Received: from localhost (97.176.124.34.bc.googleusercontent.com. [34.124.176.97]) by smtp.gmail.com with UTF8SMTPSA id a2-20020aa780c2000000b00688214cff65sm603812pfn.44.2023.08.17.21.51.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Aug 2023 21:51:31 -0700 (PDT) From: yuanhsinte@chromium.org To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: Hsin-Te Yuan , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Hsin-Te Yuan Subject: [PATCH RESEND v2] arm64: dts: mt8195-cherry-tomato: change watchdog reset boot flow Date: Fri, 18 Aug 2023 04:51:17 +0000 Message-ID: <20230818-send-upstream-v2-1-f10d951a2971@google.com> X-Mailer: git-send-email 2.42.0.rc1.204.g551eb34607-goog MIME-Version: 1.0 X-Mailer: b4 0.12.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230817_215135_244371_A72A2EC2 X-CRM114-Status: UNSURE ( 9.35 ) 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 From: Hsin-Te Yuan The external output reset signal was originally disabled and sent from firmware. However, an unfixed bug in the firmware on tomato prevents the signal from being sent, causing the device to fail to boot. To fix this, enable external output reset signal to allow the device to reboot normally. Signed-off-by: Hsin-Te Yuan --- Changes in v2: - Limit the effect only on tomato. --- arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts | 4 ++++ arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts | 4 ++++ arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts | 4 ++++ 3 files changed, 12 insertions(+) --- base-commit: 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4 change-id: 20230818-send-upstream-e91e615a893c Best regards, diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts index 2d5e8f371b6de..a82d716f10d44 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts @@ -23,3 +23,7 @@ &sound { &ts_10 { status = "okay"; }; + +&watchdog { + /delete-property/ mediatek,disable-extrst; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts index 2586c32ce6e6f..2fe20e0dad836 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts @@ -43,3 +43,7 @@ &sound { &ts_10 { status = "okay"; }; + +&watchdog { + /delete-property/ mediatek,disable-extrst; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts index f54f9477b99da..dd294ca98194c 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts @@ -44,3 +44,7 @@ &sound { &ts_10 { status = "okay"; }; + +&watchdog { + /delete-property/ mediatek,disable-extrst; +};