Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3876589rdb; Thu, 28 Dec 2023 03:04:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7ojwzB5gNQevmQk8vs10gsvg36tVYMKQBK8zwx1qxxI1sv0yLKcaJv7vKgmoSjZe7fhrZ X-Received: by 2002:aa7:8448:0:b0:6d9:a073:b21f with SMTP id r8-20020aa78448000000b006d9a073b21fmr3133662pfn.7.1703761461012; Thu, 28 Dec 2023 03:04:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703761461; cv=none; d=google.com; s=arc-20160816; b=fcaypEh/pOIQnUbOLDq3Vbwvtnmb+HS1Mmpgl1u+bkCAbP560vwpQUVJBwkdDEaTYN 7lQSs4WLMGGL4oa/DIJNuHJRebNUgkBLsBo6T/rhUBMJ5uviFO4c9UBUKUn0ZU1VNqRp jcJnepApOw2jMcAisMXOdVHui9B/MlxVA6wp3HganbNnFViZGLRccjluDo5t1iO1iWXp zCSUduADUhwZ4Dpna7nELw4kgdWeBiyIqzRhrpBFohBQ2KMflhST8eH4Y+2gZDm2kPZr obPWmHFHwqSaKOSWFjEPsFWCsBQYxI9WNktCLe+KYyjOUxxLfzQ9CZETm1yb+I8wjPGZ fWow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=snYrry9zLuh+jWtvPEimeAzwraocI1J6hz5mOunhcYM=; fh=N1vgfDSGgjn7KaBIucsseQ8Vq1rmSEb0BUPxa4gngro=; b=ynxxM5jXDIn+jhPvg7wwabDofT01PtLKIpYEq7FrsNq8sIwUbC/kMDEiwtRdJJ70xf qGkhlBCVaoO54zEZDBhZfW/fxgwwrxTE84mVnWwUKMCSR3Ga4W4+Czg42M1uZvfO1geK qgIUMA19raFTMRNGCMdW53lkAHYs8Bo9V8d5oxsRBm62iF9cqyC3XiZAuJOUuBSF4Ohq 9u8e+b6LWLeD+w78bh2+KtzOc070JKYJfgaTcWsmzXdHx2qBCUnWJSlTzqOoIL5l/jkd hnckCa/uUTBEuRRMURN8rq2OHAup4kUzZy4Qn82qrDsiyZvEAunMt4YIqjZe0Ni9AlDk wSGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fZBk20e2; spf=pass (google.com: domain of linux-kernel+bounces-12599-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12599-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id b191-20020a6334c8000000b005ce01410dddsi9196851pga.638.2023.12.28.03.04.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 03:04:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12599-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fZBk20e2; spf=pass (google.com: domain of linux-kernel+bounces-12599-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12599-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id E188DB24822 for ; Thu, 28 Dec 2023 11:00:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5FFE46FBF; Thu, 28 Dec 2023 10:57:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="fZBk20e2" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 39D6C6FC3 for ; Thu, 28 Dec 2023 10:57:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1d4751dcb56so8580055ad.1 for ; Thu, 28 Dec 2023 02:57:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1703761049; x=1704365849; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=snYrry9zLuh+jWtvPEimeAzwraocI1J6hz5mOunhcYM=; b=fZBk20e2nKa6rWmA3/7Vyt2SxtfIPDgl3TUA1cd59pOkHyTP76UsPINd8B1+G0a6AL iOHNGlpn6BFUEW9bJicVY+jYW2nwF6t2iug+gACEN6siVT38tTO0/dJujeH2sTqtVO+G 29zOkTPee3CwuJvQv0TWP+2DL7s+gYuDP+p6A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703761049; x=1704365849; 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=snYrry9zLuh+jWtvPEimeAzwraocI1J6hz5mOunhcYM=; b=Eax8g+2b7fE43Uxhu8SbhY9tkBv5Rk+W+XQwVTkWknB3seYxdsi8z3wEvy5fUkJ5EW uJjdeY8vKcTNFknRGrksbzTLETUb8l160JCmE4Qyvb20P/uZAozLKpuyjSixJeJR4ycw g2p4ucmKzTy66GxoeB8hcjYx0cm56zVdRhdyOM3iRi63XGb5HWmbDV9L8N1GugXqqSDC 0tacOy3LB0Yj8rMzTmOSB2cqrMtGHT3n3OMqscKRsIWqB76IbANUiUaY7YhdMl57K8Rk lKga4oKHr7bxfwHX1S0hMp+pyybghJudlanUxJCjbYWJVCpp8Lq2N1V2i0m9jtbq5OKo xgzg== X-Gm-Message-State: AOJu0YzHegITmThw0P+CLW+gNMTT1LG3ktU39y32hyECz0qGc1H08Lie /PdEQyyf2BkFf/nx8M6QnaVnlBKELnFr X-Received: by 2002:a17:902:b58b:b0:1d3:442e:f0a2 with SMTP id a11-20020a170902b58b00b001d3442ef0a2mr5009163pls.139.1703761049479; Thu, 28 Dec 2023 02:57:29 -0800 (PST) Received: from yuanhsinte-p1g4.corp.google.com ([2401:fa00:1:14:497f:b57b:3927:7371]) by smtp.gmail.com with ESMTPSA id d14-20020a170902aa8e00b001bf52834696sm13542193plr.207.2023.12.28.02.57.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 02:57:29 -0800 (PST) From: Hsin-Te Yuan To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: Hsin-Te Yuan , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH RESEND v2] arm64: dts: mt8195-cherry-tomato: change watchdog reset boot flow Date: Thu, 28 Dec 2023 18:57:01 +0800 Message-ID: <20231228105717.719624-1-yuanhsinte@chromium.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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(+) 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 2d5e8f371b6d..a82d716f10d4 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 2586c32ce6e6..2fe20e0dad83 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 f54f9477b99d..dd294ca98194 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; +}; -- 2.43.0.472.g3155946c3a-goog