From patchwork Tue May 21 16:03:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10954201 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A78C8912 for ; Tue, 21 May 2019 16:03:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 971B9289A3 for ; Tue, 21 May 2019 16:03:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B2A028AB2; Tue, 21 May 2019 16:03:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E1A8289A3 for ; Tue, 21 May 2019 16:03:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728662AbfEUQDl (ORCPT ); Tue, 21 May 2019 12:03:41 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:39818 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727990AbfEUQDl (ORCPT ); Tue, 21 May 2019 12:03:41 -0400 Received: by mail-wm1-f66.google.com with SMTP id n25so1625003wmk.4; Tue, 21 May 2019 09:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SyE9kuP93puOVa5bnxKzAz6P/q7rG15j4OqWFA5YadY=; b=T+vYrdTmZN/Md8Sf9dvxQNA0o0nZohyfU6cEOhtm/9KKtsEci4xzTwF5wwha/RbDcm hxWNAf+NMA09hM4YjOJI6kvZvazFJlDKG8ray2p2qXbvjxFyenWsP6msDiRkdpIIeTsc 7lyZXOUNLnq/6d3I9HejXYYGL8HP+rpU3lsXxGPVEr5rQS8NJUxSKsFnMXer/ab76net atdfJRW7SM9srR81IAT/KY7wstpxt3hKyaRVFk9qzTyDpIGuYYgInFzk9/58pfWWERSr QtJRL7WPoVW/8/MKODfl5ocUuejtytfVzNMK2KaALG/t82pQfmBIVhNH4O7OJHx2A/s9 05aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SyE9kuP93puOVa5bnxKzAz6P/q7rG15j4OqWFA5YadY=; b=HSZu6Vg45O1N/HP3Lyf8QEmAqCe0hcq95LmLaeRJT3C1ZcroBvSYlrXeQ7Dy2SAm+C rCmfjAu1vLmuAJW00gm3IIASkeE/++mbYHQ1JhIjbFLBLy6ofbngCrrNKZvjdx4aYQPf G/9LN6X1NBtThzT+g4tCSC8HFjLTCcWZGHW+b9UqoCeNqDk21we0/I5r76TQh9Jx3ycu S9vukTF1WCIq8vm/PEb98UoDlHLGoCJoQlLTskH7qFBIXj3q5CBYo61JSmTksaJ/uSXA Sct4E7YXHtDIe3nIU9JbsboIsEQ5WqPf3tyZOwMTWAllVX0jbJxHCcfgD4jaCtGjFKhu 8V1Q== X-Gm-Message-State: APjAAAULsYG42M9jYgCr62knyUf2VolBVUTfJgb4Rir9agw/5Z35bSoR 1DlibGER0fknrTwJDyQrcsMM0vQLSTA7Sg== X-Google-Smtp-Source: APXvYqwUHxJAUHN1YLpD84q4B8bKA40ChffErOtsXq3i2Uq3kGPqvW+6jtuDA211uTmP3GAi8TqfxA== X-Received: by 2002:a1c:4087:: with SMTP id n129mr4099381wma.14.1558454618926; Tue, 21 May 2019 09:03:38 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id g11sm6853811wrq.89.2019.05.21.09.03.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 May 2019 09:03:38 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= Subject: [PATCH v4 1/5] dt-bindings: watchdog: add Allwinner H6 watchdog Date: Tue, 21 May 2019 18:03:26 +0200 Message-Id: <20190521160330.28402-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190521160330.28402-1-peron.clem@gmail.com> References: <20190521160330.28402-1-peron.clem@gmail.com> MIME-Version: 1.0 Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Allwinner H6 has a similar watchdog as the A64 which is already a compatible of the A31. This commit add the H6 compatible. Signed-off-by: Clément Péron --- Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt b/Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt index 46055254e8dd..e65198d82a2b 100644 --- a/Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt +++ b/Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt @@ -6,6 +6,7 @@ Required properties: "allwinner,sun4i-a10-wdt" "allwinner,sun6i-a31-wdt" "allwinner,sun50i-a64-wdt","allwinner,sun6i-a31-wdt" + "allwinner,sun50i-h6-wdt","allwinner,sun6i-a31-wdt" "allwinner,suniv-f1c100s-wdt", "allwinner,sun4i-a10-wdt" - reg : Specifies base physical address and size of the registers. From patchwork Tue May 21 16:03:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10954213 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 42F6613AD for ; Tue, 21 May 2019 16:03:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3291E28980 for ; Tue, 21 May 2019 16:03:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2664B289A3; Tue, 21 May 2019 16:03:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C8DC2289F5 for ; Tue, 21 May 2019 16:03:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728830AbfEUQDm (ORCPT ); Tue, 21 May 2019 12:03:42 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:45589 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728615AbfEUQDm (ORCPT ); Tue, 21 May 2019 12:03:42 -0400 Received: by mail-wr1-f67.google.com with SMTP id b18so19198818wrq.12; Tue, 21 May 2019 09:03:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QpDXZXYym29zoRjsqduFr5nvO56XxhEiJtjU9uFwgpA=; b=myg0kVbvmbZMg4wMSNJNjqjThk/atZjhPgsXft0HcYvA6F/Wb2aqyb7pgjdU5vd1Uq Oa0OVzB8LMhxHE1skUKFmESOAnmFvl6LyhmTnZD9Z/nFkLIem17t1B6wBLYvfXjQVafR 62coFzNMdQw2UgoOJ4MNRlOmQIddli7ELBYACmyOipYaBIrlVVhrdp+mHL/gJMDl7tA8 ZA63gsCPHuVZ5zHSqSTV9eEj5Skt649vHWcJR8RKNu3ujkGmls609fiShQfRpjEB8y83 Zvnpa1dosXnvxbI2GfTxha4jbl0jNivujYxmlqw7VYOlU4y7WMFkhACfFexmxVLcEDpp 2QIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QpDXZXYym29zoRjsqduFr5nvO56XxhEiJtjU9uFwgpA=; b=saIhydvbCruCBQSJDvdreCjQrFMW2Pi6R34xVBZSLN+N8cnB6auDcUxYUHAkFqxORA QAO/FjavYgYKToKSoKSak4YSGtjytR0A2Cn2H2i3p0QbCFhYTsG22vYswE7EIpfVBMp0 ynrWb4uK6PBRAH3k/HL7I1KUepsKDdPEsmI8WC5H8ph8oMPRRtuTz+7e7BheYLMpP+h+ 2ygx+8pVmUUI0z76DKnVSX6eVDhTHCgCPQQODcKOuWYT0KHlwKifDItQkKalmlAy416o zNyrSRCU1DntDoHWHXPcCSXPIogJCewEU5K7go4XruPB6IKc9q7/b4jXVsotdLzTD6Co 5D6g== X-Gm-Message-State: APjAAAW4tNKHJOPPvZhQRuPcfSW1ezU8EYapeFdskPBzUeWasx5JSRYT gNHVfQR2Yrw6Ze/yjUqBGVs= X-Google-Smtp-Source: APXvYqyG8Z9Cg25S9tECJteAsXvRH4P6r7/DZmyURD8DPwh2PqxPxWbojqBz44LdbbuIcGGMG56h8w== X-Received: by 2002:adf:f351:: with SMTP id e17mr197313wrp.113.1558454620199; Tue, 21 May 2019 09:03:40 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id g11sm6853811wrq.89.2019.05.21.09.03.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 May 2019 09:03:39 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= Subject: [PATCH v4 2/5] arm64: dts: allwinner: h6: add watchdog node Date: Tue, 21 May 2019 18:03:27 +0200 Message-Id: <20190521160330.28402-3-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190521160330.28402-1-peron.clem@gmail.com> References: <20190521160330.28402-1-peron.clem@gmail.com> MIME-Version: 1.0 Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Allwinner H6 has a watchog node which seems broken on some boards. Test has been performed on several boards. Chen-Yu Tsai boards: Pine H64 - H6448BA 7782 => OK OrangePi Lite 2 - H8068BA 61C2 => KO Martin Ayotte boards: Pine H64 - H8069BA 6892 => OK OrangePi 3 - HA047BA 69W2 => KO OrangePi One Plus - H7310BA 6842 => KO OrangePi Lite2 - H6448BA 6662 => KO Clément Péron board: Beelink GS1 - H7309BA 6842 => KO As it seems not fixable for now, declare the node but leave it disable with a comment. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index 16c5c3d0fd81..13e70aebddbe 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -208,6 +208,15 @@ reg = <0x03006000 0x400>; }; + watchdog: watchdog@30090a0 { + compatible = "allwinner,sun50i-h6-wdt", + "allwinner,sun6i-a31-wdt"; + reg = <0x030090a0 0x20>; + interrupts = ; + /* Broken on some H6 boards */ + status = "disabled"; + }; + pio: pinctrl@300b000 { compatible = "allwinner,sun50i-h6-pinctrl"; reg = <0x0300b000 0x400>; From patchwork Tue May 21 16:03:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10954211 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6F157912 for ; Tue, 21 May 2019 16:03:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D13628877 for ; Tue, 21 May 2019 16:03:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4DC7E28AAF; Tue, 21 May 2019 16:03:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0506728980 for ; Tue, 21 May 2019 16:03:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728634AbfEUQDn (ORCPT ); Tue, 21 May 2019 12:03:43 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:46122 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728767AbfEUQDn (ORCPT ); Tue, 21 May 2019 12:03:43 -0400 Received: by mail-wr1-f68.google.com with SMTP id r7so19216761wrr.13; Tue, 21 May 2019 09:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2HlGSUgjzAvNOVGdN7gVs7WcE2QF1w4iYjEKQyq+ki4=; b=nk+gBBhUgCbSkRmcV+nB7trvkMcW4vUROz49tmifqzka5udFk7R3G/03Vv+jPLHmZv 1K8PlRVRwsSlXHRxHvgxCcChuBFKOFtLJddDD7d+w6nwDldotEIcZD3KA0SA7BFxSPnL PESoxYCpQ6sjqQtadTWZeTWMue0r2KlwSWoHYMhKeFivHCnK6MZEXNFPbVKXaGnNLyxT 4hSW6zZNB47vCKCNCuBjPFpRxlMfuEUhgRZP/mS8nD1slaHsY2V0REI27EmCOypcwMrt 7YWA6V89OWtERGMdc67BKM5mwxWM8p4taHMYj5lIphXcwRK7Edk/qFetKSqZdKqxSLq0 a9Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2HlGSUgjzAvNOVGdN7gVs7WcE2QF1w4iYjEKQyq+ki4=; b=bRalwcBiyJ6PUT8DsJavqJMSZRuuTsaQ9J20b5UelDNiGTChXIH70/7WoYn95xKsiL x7+Odb+TekpRGwQfA79bmtQ7kgUoJS3dZhmkOpfyQopXErnASTW6SV5LFRn7n561UZj+ gf35QNoEaUqkpK3pQev19czV8UgAmiJEvktBfTEmWd8pa1N0BEinMJkTNizEfeZAyX7T JLPbKWTS9AkxJzVo/iXogNFfWh+b3H8sEjN3I80uahc97zd7BgyHbBOuwI5V4Cnjv3yO N6+vsmOXBenwWQiFuB+Kzu9I3wFeQLUkGmVyyWHjrmwyZ9cXSnrEnk9uUI1+Uh6J6Rfh x/pg== X-Gm-Message-State: APjAAAX3CbGVgcRqih8R66DIFd2Oa6WO1n3EXQoTHzUq4xOe1PS8b1ou Zu0mOdz5Eq54ccNevkjc4/iDYNVUor1xDA== X-Google-Smtp-Source: APXvYqz7pfnHqKxAsdVAsab620Fxs7RFfDYzuAYjex3e8EHMv4AKzoox2BUVgMZupSjlethDygyWuA== X-Received: by 2002:adf:bc94:: with SMTP id g20mr31810762wrh.206.1558454621208; Tue, 21 May 2019 09:03:41 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id g11sm6853811wrq.89.2019.05.21.09.03.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 May 2019 09:03:40 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= Subject: [PATCH v4 3/5] dt-bindings: watchdog: add Allwinner H6 r_watchdog Date: Tue, 21 May 2019 18:03:28 +0200 Message-Id: <20190521160330.28402-4-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190521160330.28402-1-peron.clem@gmail.com> References: <20190521160330.28402-1-peron.clem@gmail.com> MIME-Version: 1.0 Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Allwinner H6 has a second watchdog on the r-blocks which is compatible with the A31. This commit add the H6 compatible for the r_watchdog. Signed-off-by: Clément Péron --- Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt b/Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt index e65198d82a2b..c5bef3dd43d0 100644 --- a/Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt +++ b/Documentation/devicetree/bindings/watchdog/sunxi-wdt.txt @@ -6,6 +6,7 @@ Required properties: "allwinner,sun4i-a10-wdt" "allwinner,sun6i-a31-wdt" "allwinner,sun50i-a64-wdt","allwinner,sun6i-a31-wdt" + "allwinner,sun50i-h6-r-wdt","allwinner,sun6i-a31-wdt" "allwinner,sun50i-h6-wdt","allwinner,sun6i-a31-wdt" "allwinner,suniv-f1c100s-wdt", "allwinner,sun4i-a10-wdt" - reg : Specifies base physical address and size of the registers. From patchwork Tue May 21 16:03:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10954203 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BD383912 for ; Tue, 21 May 2019 16:03:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD11328AAF for ; Tue, 21 May 2019 16:03:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A0DE828AB9; Tue, 21 May 2019 16:03:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48DE828ABF for ; Tue, 21 May 2019 16:03:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728940AbfEUQDp (ORCPT ); Tue, 21 May 2019 12:03:45 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:54247 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728615AbfEUQDo (ORCPT ); Tue, 21 May 2019 12:03:44 -0400 Received: by mail-wm1-f66.google.com with SMTP id 198so3551527wme.3; Tue, 21 May 2019 09:03:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cXUpOzTXRkpXF5rHOHPBRJ/bn1tvIHFvWTlLeYQuAWI=; b=F2MQg2yI+JdMgmQAbMUQyS6rfaoDCM9OvmTaAz4A21RNul+JS/Pq5eV0KCHkNz22x0 s1GHlAgY4qLHU/ErzOsGOSApC7CJdVebXqJoc0L5YxqZYOCAU0oLAli05bhnlot/NP33 7gf8oKiQ5HxAarStxDMp46aMeibzxwgXqQ3QXEzvNNzOQFCv0Ly41gNO27Sn8nw3ZiR7 qOCNg40+wgiSRb8lQTsEUBI6ieMIEj0r8ibTH+I4xnJ0GZLtoGr1zaetdFK8fuI+Ulso nN2pEf7TbguOEJeMEF1/HXbP7nLRpNVMKCcTOhDt+ECFvslyv/dE8MpX+s9Nj9s5HBBk aQEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cXUpOzTXRkpXF5rHOHPBRJ/bn1tvIHFvWTlLeYQuAWI=; b=KuyrevcDsRnKzwkUZgTBRdX6feUnTsGd2BiM3g/2pjgiW0QBxAVWiBwz7M+6f8p0At bB/zmPMiq4+EckwskVMRYzE0wNUcvwqT6osy/QTwA8AR8I9/nLHXuSr+4eFn8KpwZA8R NbyxZYDPye7Wo3w5Ai8X0QTUqVyRakjaeftr6S3Cyf+5Ceb2GG15IFw+JwJksnl34rv7 DM5pPdPMRIMZ1QIgwtZdo8lI4CTlRMfMxgTrlDzotfeFHpjP/t0d4p+6X7WitJnAQana A0KDdxqlxGhAYgsJXtGj/gOqoJ2ppP0zcyAO0GezCk75mIayyRNf8N4VmgZxHClTzkH9 teug== X-Gm-Message-State: APjAAAUkJAgWHxSIhL9jI6OEvS6T6UjOViKqA5GRry4ETFei1hff7syZ DypSrvHxr5uLJXYhbjz/bNk= X-Google-Smtp-Source: APXvYqy4CuLUUMUkQHqzH/rtwoT1Ng0BDlq8tNehJfpoMqikNeIiPCAC4aW/BnOT95vGQKRxH+LKDA== X-Received: by 2002:a1c:9616:: with SMTP id y22mr3963336wmd.73.1558454622519; Tue, 21 May 2019 09:03:42 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id g11sm6853811wrq.89.2019.05.21.09.03.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 May 2019 09:03:41 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= Subject: [PATCH v4 4/5] arm64: dts: allwinner: h6: add r_watchog node Date: Tue, 21 May 2019 18:03:29 +0200 Message-Id: <20190521160330.28402-5-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190521160330.28402-1-peron.clem@gmail.com> References: <20190521160330.28402-1-peron.clem@gmail.com> MIME-Version: 1.0 Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Allwinner H6 has a r_watchdog similar to A64. Declare it in the device-tree. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index 13e70aebddbe..66897880c722 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -631,6 +631,13 @@ #reset-cells = <1>; }; + r_watchdog: watchdog@7020400 { + compatible = "allwinner,sun50i-h6-r-wdt", + "allwinner,sun6i-a31-wdt"; + reg = <0x07020400 0x20>; + interrupts = ; + }; + r_intc: interrupt-controller@7021000 { compatible = "allwinner,sun50i-h6-r-intc", "allwinner,sun6i-a31-r-intc"; From patchwork Tue May 21 16:03:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10954209 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4EF711708 for ; Tue, 21 May 2019 16:03:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3FD9B28A02 for ; Tue, 21 May 2019 16:03:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3462328AB9; Tue, 21 May 2019 16:03:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C0C6828AB8 for ; Tue, 21 May 2019 16:03:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728979AbfEUQDt (ORCPT ); Tue, 21 May 2019 12:03:49 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:46126 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728936AbfEUQDq (ORCPT ); Tue, 21 May 2019 12:03:46 -0400 Received: by mail-wr1-f67.google.com with SMTP id r7so19216949wrr.13; Tue, 21 May 2019 09:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hGVC97kr/8/BngU9FjmbWaxR7LHVSKdzb8qIb3rfhLw=; b=HRRHLDE1UdIMVLXhwmTlkWpovX6rwrEXPgpyKoOZuazWMIopdAk4WZP0WUYOA3XTgv vQxe4ruWmBTcZJ4wCOqsdA/7mq37vXaU/eCoqqgnI/abpOR0Uu1ny4UDdtz6hV5lu3Cr awd1tgjLmydezd0eSTlv5xZlJOerP4Y7+98cXdJrzEVoL4TmL7kcZ9mKvq4oj6y28ahb uRIEZVH5wTF0UWExYRcZxojFsjmPrlS6zTGDFxDs1nxv2oeTGakE7+a47GIZ4Iu0KthH 3jf65+ePC+f3evSjgiHaXfaR8C7FTuOTSSvkGe/WaAnHoV/RzggAAqhPMFE7dzcMGLLd KvAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hGVC97kr/8/BngU9FjmbWaxR7LHVSKdzb8qIb3rfhLw=; b=kzpF1o5CsMjrbFzS7qEGkt4GbSc/n/OZ2CXB/OR/99UrMbQoShTrIAopXQ7GcGfrHZ 7dGHm+AxBmP1ni6CLKAiflIBKtbtGvFpDgU2N4qp72J7vOh+ZiKJ751LfwPe2/IaYxRW CW1HhzGF7gBXhyf4n6Mz5NfcfeYteRfkkjP76F2DaqmvV2qUYWF1zjm0Nfp5ENb5PRDU YLH2avfhzxoKFXooEKBu/ErYOyhBrofnKXyQCPE9eG0Z69qmLfwyM82ZTHxgbOLK9rZB dnuBkiSn3lZ9OWFDdjOLlNsQyL9psLf0wvQm2QZaNdBupEW9JoyfWF6ZDKP6Vt5C0+Cn ng3w== X-Gm-Message-State: APjAAAUjl8aE+zJGa2WTQCApxi1ybmT+cU76zELftuS6FeXopA9lIV9k HmZQvIkZxrytSpVt+XI01rc= X-Google-Smtp-Source: APXvYqwsJuVrNQzCHOQhxugVzCWj6HJBBTOVQD6czAHbkhVTt9RaLaBMKvGnLoVMuS7+6erE1Vtuuw== X-Received: by 2002:adf:c149:: with SMTP id w9mr40235573wre.40.1558454623694; Tue, 21 May 2019 09:03:43 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id g11sm6853811wrq.89.2019.05.21.09.03.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 May 2019 09:03:43 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= Subject: [PATCH v4 5/5] arm64: defconfig: enable sunxi watchdog Date: Tue, 21 May 2019 18:03:30 +0200 Message-Id: <20190521160330.28402-6-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190521160330.28402-1-peron.clem@gmail.com> References: <20190521160330.28402-1-peron.clem@gmail.com> MIME-Version: 1.0 Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The SUNXI_WATCHDOG option is required to make the watchdog available on Allwinner H6. Enable this option as a module. Signed-off-by: Clément Péron --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 4d583514258c..fc51dd4decb1 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -420,6 +420,7 @@ CONFIG_UNIPHIER_THERMAL=y CONFIG_WATCHDOG=y CONFIG_ARM_SP805_WATCHDOG=y CONFIG_S3C2410_WATCHDOG=y +CONFIG_SUNXI_WATCHDOG=m CONFIG_IMX2_WDT=y CONFIG_MESON_GXBB_WATCHDOG=m CONFIG_MESON_WATCHDOG=m