From patchwork Mon Aug 7 08:58:12 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: 13343196 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 9484FEB64DD for ; Mon, 7 Aug 2023 08:59:01 +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=5c46u2hpI0qYaxfix8xy3Z/up9ni9tRVfA2MBG++FVs=; b=Ow0yWBeIc0GhKC 4FUG15TvSF0X7D0GpjF/2ttMc8nb7o2RrNwdtCyWPmAu4HcNFMDqGvxKILsygzV8ef/y1OKuzjIV9 stujxB8n+5fk02x3R4Na+qSsB/gDvTBsnn4oGRrkzEGxSuz/C7TQW8ryMqeOBh/RJ5vbPfmjFl1Q7 EDjh+jnWDAgA5vviN7ONM4i10wCRGJDhBEXiHVgkIceVr8X3lQpx6p8sggbVXk8g6tVDcgjZVtxrm 43Ml7KGh4dPOJvszyOdishYVpg8tsjl69IFEwc87NtAoIfp853lDQanwplE/5Isjtz+Wj2r3uZf/N JX2R/Kg0BVXihXiX5Mjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qSw4U-00GW3a-1E; Mon, 07 Aug 2023 08:58:38 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qSw4Q-00GW1m-20 for linux-arm-kernel@lists.infradead.org; Mon, 07 Aug 2023 08:58:37 +0000 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1bbf3da0ea9so26762145ad.2 for ; Mon, 07 Aug 2023 01:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1691398711; x=1692003511; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ivUPZKkU9V81XA/9ZzpML9/MoT2AN2Em4Cdug3APMqE=; b=k8fdQc/jO9CQK9AMjUVaYJPPF2jGJAozl8L6QG33AYVjHyCCEaGfbC5AIX/6CcLksi rkAK2yqBJ9RFvU4SquPBJRCd+ZDPS0HT+mOlMwi6RdyMz/upN9GfrgmN0J9s3PPUdFyB E5sLEIa+3V5TvPiqn6O5to+Z1e1f7LyZVUOoM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691398711; x=1692003511; 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=ivUPZKkU9V81XA/9ZzpML9/MoT2AN2Em4Cdug3APMqE=; b=g5gYwonL43EadQDFwQT1qp0RqQizU3d/fQrBXMIShmf4opmsHX5JDNp3RwNPWxeZGm 5qFdNuxOgvwRInw0Vk4uLvNgBTz4rTYTRMBCHNj8aZqbusobwP0txpDrNr7viZ8l99ZU NCdS0wmUryBpBeGT9sdbtCE7iFr+87z+FFUlB25Z2edCdMl1FwXzYJnMMPJwuFndsE6U B7OojBNnU98uaNIrgQzTECnrFxhRVQ798uwB9ErDA0jgHIgkBXjyq8zGWTTumYh7tC+V ZpPpDunHSZ0+ER0NcFWjsVLoMLxqvz8HnawTZEW5tAMRXlS9bXUrK2061EuGNYgJRCVq OO3A== X-Gm-Message-State: AOJu0YyMx7c27AauV+AY/jjOf5nLLeVZkMySjnVB7Yr/NiNLcA1dYweM NWIwjMIF13W0teF+SmzeRflfPg== X-Google-Smtp-Source: AGHT+IFdeJORfRK7L+sj/NaxVhQeqQYdqhFUl6jyK8r0GnET7N4tBUbW1ngbqwX7Pj6YJBp7RXGPeQ== X-Received: by 2002:a17:902:ec92:b0:1b8:b827:aa8e with SMTP id x18-20020a170902ec9200b001b8b827aa8emr8776343plg.11.1691398710772; Mon, 07 Aug 2023 01:58:30 -0700 (PDT) Received: from localhost (97.176.124.34.bc.googleusercontent.com. [34.124.176.97]) by smtp.gmail.com with UTF8SMTPSA id q9-20020a170902b10900b001b8622c1ad2sm6286044plr.130.2023.08.07.01.58.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Aug 2023 01:58:30 -0700 (PDT) From: Hsin-Te Yuan X-Google-Original-From: Hsin-Te Yuan To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Hsin-Te Yuan Subject: [PATCH] arm64: dts: mt8195: change watchdog reset boot flow Date: Mon, 7 Aug 2023 08:58:12 +0000 Message-ID: <20230807085811.1.I7d08b8323531c59c0ec247570b2d05a790bfd3d4@changeid> X-Mailer: git-send-email 2.41.0.585.gd2178a4bd4-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230807_015836_216419_64D99413 X-CRM114-Status: GOOD ( 11.41 ) 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 external output reset signal was originally disabled and sent from firmware. However, an unfixed bug in the firmware 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 --- arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi index 37a3e9de90ff7..5dc4214e1840b 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi @@ -1147,6 +1147,10 @@ &uart0 { status = "okay"; }; +&watchdog { + /delete-property/ mediatek,disable-extrst; +}; + &xhci0 { status = "okay";