From patchwork Fri Dec 27 14:14:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yong Liang X-Patchwork-Id: 11311237 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 977536C1 for ; Fri, 27 Dec 2019 14:15:45 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 69A31208C4 for ; Fri, 27 Dec 2019 14:15:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Phz2D/Rf"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="gDbh3tPm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 69A31208C4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8cRWhvqiI2xpVN5R6ADgzzBwKdODGODpX2vuuTD65e4=; b=Phz2D/Rf1ZL80Q 62j9VajMa38rnQU/kGw1x2Cn5x1f2QicbBZM3ZsyB+zJIUTDWGdRUFGU3z6EmLE9r1d99w0YpieLX AX4MpK0a0BdpEDd1ahyY3f9+mubjHcdEg9fHnllDrBe312cTuS39KbbiYdSbv9i2NS1yTGwg2kFNL R+kcwOXAd8c2u268xSmtQPuARm9IBWTDpLthAil8IaHb39GIXM4bzN/kIWyH3MkfLj9pFaJrPV6E3 oLMsnuGUkOaFiUMLdxZBsTmAvATfXvbu/xxvpVVRnMn0sU1QnKygpNmBm7a6KyOdaakhu9z8zMWCV clKup1N9rNjD4Cpx3S3Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ikqP1-0005sf-0T; Fri, 27 Dec 2019 14:15:43 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ikqOb-0005Pq-CM; Fri, 27 Dec 2019 14:15:22 +0000 X-UUID: 360037144ae2426eae6e50c7f0242fbe-20191227 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=hYdZmAwLVCeFCpsriUEzZ1+MZbETmTkKJGq6zQc2fQk=; b=gDbh3tPm36xfb7X++BSSaZSTHXTjctuxdOagaU310uA6V8yRgqqVQDvCEyRKsgpB8cdnXLcbaLQYw1m7P4MCx3I9FWxhqTVLpbz8IoXh0hvZYKeGTX3l0pB5zF2axxkSgRHTfVBpKAkPfEmv02f9zPELypvjyBx/AJu4WcGQIoA=; X-UUID: 360037144ae2426eae6e50c7f0242fbe-20191227 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 563276248; Fri, 27 Dec 2019 06:15:14 -0800 Received: from MTKMBS31N1.mediatek.inc (172.27.4.69) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 27 Dec 2019 06:15:22 -0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by MTKMBS31N1.mediatek.inc (172.27.4.69) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 27 Dec 2019 22:14:42 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 27 Dec 2019 22:15:24 +0800 From: Yong Liang To: , , , , , , , , , Subject: [PATCH v3 1/2] amr64: dts: modify mt8183.dtsi Date: Fri, 27 Dec 2019 22:14:04 +0800 Message-ID: <20191227141405.3396-2-yong.liang@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20191227141405.3396-1-yong.liang@mediatek.com> References: <20191227141405.3396-1-yong.liang@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: 65573B1BF2CA74CE9D4CBFF7A61812BFA2E2A57D9D751D313324137F0D19EB7B2000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191227_061517_490414_6DE320A4 X-CRM114-Status: UNSURE ( 7.54 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "yong.liang" Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org From: "yong.liang" 1. Include mt8183-reset.h and add reset-cells in infracfg in dtsi file 2. Add watchdog device node Signed-off-by: yong.liang Tested-by: Nicolas Boichat --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 10b32471bc7b..c86f5684d502 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include #include "mt8183-pinfunc.h" / { @@ -227,6 +228,7 @@ compatible = "mediatek,mt8183-infracfg", "syscon"; reg = <0 0x10001000 0 0x1000>; #clock-cells = <1>; + #reset-cells = <1>; }; pio: pinctrl@10005000 { @@ -253,6 +255,12 @@ #interrupt-cells = <2>; }; + watchdog: watchdog@10007000 { + compatible = "mediatek,mt8183-wdt", + "mediatek,mt6589-wdt"; + reg = <0 0x10007000 0 0x100>; + }; + apmixedsys: syscon@1000c000 { compatible = "mediatek,mt8183-apmixedsys", "syscon"; reg = <0 0x1000c000 0 0x1000>; From patchwork Fri Dec 27 14:14:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yong Liang X-Patchwork-Id: 11311241 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B1797138D for ; Fri, 27 Dec 2019 14:25:29 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 8EAAF20882 for ; Fri, 27 Dec 2019 14:25:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Q9y+c37A"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="Vul3stcg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8EAAF20882 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KNsv7T7wF1p3nlucXNOVo/tNjT6bgGgTHs39VH2YhGM=; b=Q9y+c37AoxkXB5 HsHLS6cC9yQf7FET34a23zY/75xinXopjyNPW9SqK2BNOrf+E2vZ8g5dBsIzwWLrCSMVt76n/IzDt wFu89l4mN5xLkMp6KM1+CysPmJYXB9fIPqfZUq6aJqfiC4tQOxyU0XmVwIq25EchLMQYa+OjhkPTg wTBHFLHLmvQUKrnK5e/XXbTDnZHIPZWC6FkJEAwXQVkpJo1uj8hJ6MhKjK9R57loud/E5sHVQK34p R45H9sZiMJjT/buAjPpQdiP9FhdWo/+0oeuq+yTXpJRYpPTuYw1i/5OpdIyYcsjhUjHieCABHYXuI s1gqRiMqLtyWmRvYVzLA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ikqYR-0000hs-TH; Fri, 27 Dec 2019 14:25:27 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ikqYH-0000ZU-Tf; Fri, 27 Dec 2019 14:25:19 +0000 X-UUID: 62f24943bdb84c23aa77f9b309ddbc7b-20191227 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=1zRXQBBd4HgmvNxvuWR+gqGoagId5f7H7dFTXUFOo1Q=; b=Vul3stcgS+VJfvN3abysF4cArcwPp0abSUrWHnV4nqJF4IZtgMHK+WMPSlo2AamnfD4qdNXBGxKPCA+4aRQh/+Rx0F0KLzHXej5UwxgNCheSmHW1vYDJFxGq5A2jipIep4l4CCmr37VJcOTm/lS9XUMO4iV4HauVb1H2lPYngEQ=; X-UUID: 62f24943bdb84c23aa77f9b309ddbc7b-20191227 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 85024612; Fri, 27 Dec 2019 06:25:14 -0800 Received: from MTKMBS31DR.mediatek.inc (172.27.6.102) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 27 Dec 2019 06:15:21 -0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by MTKMBS31DR.mediatek.inc (172.27.6.102) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 27 Dec 2019 22:14:33 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 27 Dec 2019 22:15:26 +0800 From: Yong Liang To: , , , , , , , , , Subject: [PATCH v3 2/2] dt-bindings: mt8183: Add watchdog dt-binding Date: Fri, 27 Dec 2019 22:14:05 +0800 Message-ID: <20191227141405.3396-3-yong.liang@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20191227141405.3396-1-yong.liang@mediatek.com> References: <20191227141405.3396-1-yong.liang@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: AC0E245F852230B6D0DBCBF49B10D944B4A66F6B530D98FD61051C746FE4C2FD2000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191227_062517_965792_324BF4B7 X-CRM114-Status: UNSURE ( 6.96 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "yong.liang" Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org From: "yong.liang" This patch add watchdog binding documentation for watchdog on MTK Socs. Signed-off-by: yong.liang Reviewed-by: Nicolas Boichat --- Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt index fd380eb28df5..3ee625d0812f 100644 --- a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt +++ b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt @@ -9,6 +9,7 @@ Required properties: "mediatek,mt7622-wdt", "mediatek,mt6589-wdt": for MT7622 "mediatek,mt7623-wdt", "mediatek,mt6589-wdt": for MT7623 "mediatek,mt7629-wdt", "mediatek,mt6589-wdt": for MT7629 + "mediatek,mt8183-wdt", "mediatek,mt6589-wdt": for MT8183 "mediatek,mt8516-wdt", "mediatek,mt6589-wdt": for MT8516 - reg : Specifies base physical address and size of the registers.