Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp966730rdb; Wed, 24 Jan 2024 00:02:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IEyoUq50OEJ4R5A6py5MChCuFWr1w2MRXvT3niBLfpDVShHAs16y+QtRLyqsSISHLYnfDe+ X-Received: by 2002:a17:90a:d704:b0:290:2cf6:9772 with SMTP id y4-20020a17090ad70400b002902cf69772mr3687790pju.2.1706083326277; Wed, 24 Jan 2024 00:02:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706083326; cv=pass; d=google.com; s=arc-20160816; b=mkzqwv3LL7ZXs5u9Q1h318VZFDX8mBP7+Pq3vvRwXHV3AwZP27jdioF2Kc84qeFMBr uRb1eaeI038+GH8BdSQbh3+HI2p2suGS1RnwmSpJJ/fRG3nvYx4Fu5hLJ3rZwF3cnEjm QFRywbA9c5tWHwlog1Fq200SnPK4SurDxPKvo0gKlcvlcevDD3qLNGONuaZGcE3wtWyn IPpEQ2G8hl3RpjyUUnQYvdPUu+Y4dHqj6wt9cSTeGb69mAwViKrM8hVRGypoEiCvUOMS NcoRU5IAR6BnIyfXJ52rrYmVjYZ8Ij2s3CTntQ0E7/iyjMKPJxakPkI5FBZuUyjCY1UD ifTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=1PwaNNHoovr1XsO2ShyI+BpkXh2zlE7frt/xlHXVHJM=; fh=H7EH4RybwHgSR4CmLHK44d7s6PyYJtkCmzwb/O3vn3I=; b=KtueU3B6txpsh1TY+eZatNZwTXJrWQ3ctAYbmuLIxl9tKRkeSv/j9l9kBzboT3L6YA +2RCJ8RIzZHhhqursbBll3I0qOgtDEip9WURkMAueRtUamzEP6e2c4fHcynVUbsCCTl0 LdZIzpGHcjeRzdf0yGeo2Aj0vjhHdpwte5WI6qpeZvDThMv1aujuQ2005ia76wnUCrc8 inynuezLbfDOtC8glu5E1Ib0NmnDu6MnOdOir5GRzuLlOVAuiJrjUouAFaVrZ8UY7ZRH yPF2tk1FIPlMrR97r8p+EXmvK4AmplivXxw1wAHnFbAgqrQRQb9xV7cR1U+Wzh2djsvU V9Dw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=oG4VYGwG; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-36595-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36595-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z15-20020a17090acb0f00b002901d59f793si11118254pjt.175.2024.01.24.00.02.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 00:02:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36595-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=oG4VYGwG; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-36595-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36595-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7ACFC28D15F for ; Wed, 24 Jan 2024 07:52:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 32C30171BA; Wed, 24 Jan 2024 07:52:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="oG4VYGwG" Received: from mail-oa1-f54.google.com (mail-oa1-f54.google.com [209.85.160.54]) (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 D05EB1772D for ; Wed, 24 Jan 2024 07:52:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706082724; cv=none; b=uawPbq4HGIJIw2hQv1rCC9Mww8oopWCVcqjbdrrtW4vrzd7eceCY+xrVyLthXKcvBCUXMy1Znoh9epvwMzVUuGh5N6qjJLSficVgN7yWelHRH+2J7pyCnT7gMHtasCng1uWpvYBGekHbYPoaKvPiYXKtM+YbOCYhORGffhKUOfM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706082724; c=relaxed/simple; bh=x5Asvmkq7qcjnNf7UFAguGURx9f6MZ/P9bw7U/kJkgs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=E8q6wn8RdrNVcyMVYUBUrYqLn0V8pHU2ThMu31+56CnHIFAKQMlWf6UHaknCSfjL6fC/tJRi4WveUYsvTgoYNMdZqAWNfP73Gv5Q+ZHZLBzlSJZCmzkIiNhne1gj0PVWq7WPnIU62U6okXtdescjq6rCMdjoOQALx8cGQFsJSkw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=oG4VYGwG; arc=none smtp.client-ip=209.85.160.54 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-oa1-f54.google.com with SMTP id 586e51a60fabf-21433afcc53so2001283fac.3 for ; Tue, 23 Jan 2024 23:52:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1706082722; x=1706687522; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=1PwaNNHoovr1XsO2ShyI+BpkXh2zlE7frt/xlHXVHJM=; b=oG4VYGwGI39QDpVW4tJcp/Cf8fwFqPkTECJGGTu/Fpnw/eE1OE1clGuNHqdWSx2uVK QLxD4kor0CJJSe+/51ghs1DQryMsaUgpTzYT51tY7+aV6B3tjkRij8I4Wxlvdy3H8Ijw KYFpDxbaiAzJ3hzaO37L1jWn9rHd4iyoE5yJc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706082722; x=1706687522; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1PwaNNHoovr1XsO2ShyI+BpkXh2zlE7frt/xlHXVHJM=; b=tnmL0LmW8GdDPIOaBWhOoBESO647MTjy+Eixge1zXw37BeTrQbx0qOopwsM247isd0 CYOE++4w+T9Nz5RCBy+6kcIeNfBLH0jaf7O7iL7WSdIN+f2aPuTkOK5hj8lKJ1d9YMgq wsz6+QrV/F1V4NqfMvzvAnGiHLt1yYCYjTYfi7xV8ltPsDo2UAUA0P6R4836mbhwlEun QlIwIpZOPUSzSuMfp/IvJ4J2GRgqODjxOhiJuSfDI8aZvFyMCX43S0oqJUJPUMjYSGT9 z5vFiK9sLAGJzYBW8Z9O8WSuKgupQpCphyXCPiPLUdDkOfDsjS+DWAHLFz5i6xF7eJl2 lP3A== X-Gm-Message-State: AOJu0YzceU0573X8msbV9wgfUL/RchySGXpN178lhGUBTLdc1jmPITW+ 06FLUsha9KipmKXID0F/eVFna/bjkP/P+7W/Qkof4SLr89e3PHzi4RMzYz39Lg== X-Received: by 2002:a05:6870:e40d:b0:214:807e:8a05 with SMTP id n13-20020a056870e40d00b00214807e8a05mr2978568oag.2.1706082721789; Tue, 23 Jan 2024 23:52:01 -0800 (PST) Received: from yuanhsinte1.c.googlers.com (2.210.143.34.bc.googleusercontent.com. [34.143.210.2]) by smtp.gmail.com with ESMTPSA id r21-20020a635155000000b005c1ce3c960bsm10941238pgl.50.2024.01.23.23.51.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 23:52:01 -0800 (PST) From: Hsin-Te Yuan Date: Wed, 24 Jan 2024 07:51:57 +0000 Subject: [PATCH v3] arm64: dts: mt8195-cherry-tomato: change watchdog reset boot flow Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240124-send-upstream-v3-1-5097c9862a73@chromium.org> X-B4-Tracking: v=1; b=H4sIAJzBsGUC/x2NQQrCQAwAv1JyNtDtomz9inhIt9EGaixJK0Lp3 w0eZ2CYHZxN2OHa7GD8EZe3BuRTA3UifTLKGAxd2+W2pILOOuK2+GpML+Q+8SWdqfS5QjQDOeN gpHWKSrd5DrkYP+T7n9zux/EDW1ZYVnQAAAA= To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Hsin-Te Yuan , Hsin-Te Yuan X-Mailer: b4 0.12.3 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. Fixes: 5eb2e303ec6b ("arm64: dts: mediatek: Introduce MT8195 Cherry platform's Tomato") Signed-off-by: Hsin-Te Yuan --- Changes in v3: - Add Fixes tag 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 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; +}; --- base-commit: 64b50fcb03649ca7f0d762a50e7a3484cfc1d586 change-id: 20230818-send-upstream-e91e615a893c Best regards, -- Hsin-Te Yuan