From patchwork Tue Sep 26 05:55:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 144736 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp1700275vqu; Mon, 25 Sep 2023 23:08:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEx2nJsW4RjYTwrieToevux9DI5pcFgj+a6kekv49ehvf7zk4h8J1v5lYr/FYIExvdDB7QY X-Received: by 2002:a1f:49c7:0:b0:496:b3e6:e10a with SMTP id w190-20020a1f49c7000000b00496b3e6e10amr5140881vka.0.1695708521792; Mon, 25 Sep 2023 23:08:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695708521; cv=none; d=google.com; s=arc-20160816; b=LUMSW9CLBqevp3GPXfbzesda6Cjat4c9XO4VU5wvz1NNJiWhr1G3hCMG8migOpf3Gx h5avPRq+UN04aCHIAsAyeEwEfQV2qoRymMtES5QZo2calwfOU+dSXqm6YcVIdEyhSfGX sHrK6Hdg8Hhgdx1L8w9gn8hlaFomRwPD9icPwU2fGLwWkbIAhTNdNv5cQNb7jgw4Obtt jcgYJb8bqnASRrkc86oZ2GYd2KKMEyBvpJsnwzpE3iru8yx22R7K3RHjF8v1w2rtJ3r/ JU1+PxuxRDGgYHPYKRpokfLrUdammQutegA+yRg8D8a3GRY3N5xclWrJm5nq9ziNOpQV ekOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=NcfbxGUNqmdJ6l0zVLVIqtOx3wIffAaAFKjeKjK9d/0=; fh=jl+6xami2wMN5/WImgUgWF+yM7SARCr/QXw/jnT6odM=; b=pDM0kgHtQP00so15GFkVgSvt/h6tD1m8OprU7OUxw1F7ZJ12UK68UfUSkM8en7OCBs jE4dNrtdn8QpFY6tkmxFUqTi8kT8uwlMeJ1IR2LNN3bSAW9oW1vem7t24yEOp2/WR6DS UlAwEXqM8QbobltjIZrj9nGwJgoE7GVKxGerxnaIpml3uJbrfnCugCePyLz0/avJnZc3 izAeeOg1Btab3E275AOFYh703s5UQQ9QprR3v1l1/tLfdfEXF7+xBXkA24AfQA7XIQOv Z+EOaV/OmP7twQ+QnpdYuf5c+V0H4o4GUppNIfii1fz3mcmIRBvljNqzwcYpwIHMyMM7 x7sw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id ca24-20020a056a00419800b0068fea05ecdasi11931536pfb.182.2023.09.25.23.08.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 23:08:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 689CA811F939; Mon, 25 Sep 2023 22:55:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232408AbjIZFzr (ORCPT + 26 others); Tue, 26 Sep 2023 01:55:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjIZFzo (ORCPT ); Tue, 26 Sep 2023 01:55:44 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A6C1F0; Mon, 25 Sep 2023 22:55:37 -0700 (PDT) Received: from rd02-sz.amlogic.software (10.28.11.83) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.13; Tue, 26 Sep 2023 13:55:32 +0800 From: Huqiang Qin To: , , , , , , , , CC: , , , , , Huqiang Qin Subject: [PATCH V2 1/2] dt-bindings: watchdog: Add support for Amlogic C3 SoCs Date: Tue, 26 Sep 2023 13:55:11 +0800 Message-ID: <20230926055512.2355390-2-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230926055512.2355390-1-huqiang.qin@amlogic.com> References: <20230926055512.2355390-1-huqiang.qin@amlogic.com> MIME-Version: 1.0 X-Originating-IP: [10.28.11.83] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 25 Sep 2023 22:55:47 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778079258708833711 X-GMAIL-MSGID: 1778079258708833711 Update dt-binding document for watchdog of Amlogic C3 SoCs. Signed-off-by: Huqiang Qin --- V1 -> V2: Added compatibles. .../devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml index 443e2e7ab467..b7e8e453c0ef 100644 --- a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml @@ -17,6 +17,7 @@ properties: compatible: enum: - amlogic,meson-gxbb-wdt + - amlogic,c3-wdt - amlogic,t7-wdt reg: From patchwork Tue Sep 26 05:55:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 144734 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp1698470vqu; Mon, 25 Sep 2023 23:04:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGnQXorzJwEeWHV5D4aiDRhuUmPBF+LxKKQrZ8E32E++wpuJ5vXE9xxw9isLIOqu9ispiJH X-Received: by 2002:a05:6870:5388:b0:1c3:91b9:e1e7 with SMTP id h8-20020a056870538800b001c391b9e1e7mr11911328oan.21.1695708295904; Mon, 25 Sep 2023 23:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695708295; cv=none; d=google.com; s=arc-20160816; b=dsyIxzk7Sz5BHDeiwZdNa8raCmOGSrYZU+welBVkkQALHfg56jdwkHi8MO959F3Llt iL6sLLvf0O9f5pL3mS4dPhPSgCc+r+T2xqq1kiDqF/U0X4YbAiHlaanvlh3rNdT9sWEH aK0a/oEELaS+kG/KYvZewDAFBJaEQu23MjuMvazZ98OlB63G3dlxMgS+EXxlj10FSKAF M4vmRZeqGW8klNMHrmyzSmYe6xaStYuF0dH1umiGwCUKEM3FV64+jQ8cEYryVbOxxJcd 49clN7jiFvrQXBL+TTDxwUUgwUa0Py4j/tgoXg1u0+Uflz1BW3hk6WlkdhXfoswgecW4 3fJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=aEl7u5d/u+Ryt3ksQcYIUNYocM+3PIHnewAmdqQ0smU=; fh=jl+6xami2wMN5/WImgUgWF+yM7SARCr/QXw/jnT6odM=; b=W7Na7jmU5xvZgUFBeAZaSuSi2uaw0ZwoaFGJEIb45JYC0sMgQ7Y8KX1+jWFWY7xLMj Z5qnZEoCi+rf41AxND6ymfbk+0NvZho3AUXCBJ7GpOqCyp+kkvk27Feqe0T3SxeBEM44 LF5Poj48oTSv9Vz+8spb9Lqns246zrhZ+pGFBuJVD2ktERa4E4ZCuMmwRkLjNbHxbH4w th/+zgjbvBXOxMyaI9DWxcVnsjwHjmeNBeKvRwYy0noHm2ZAqDZizSbCUeJ0DT06PBiv d43YRN2ARUlPOpqJ/BFAK8yGIy8sX/pd1Z+3vjuzxZKRY5mx97OT7H5chiNK5gvIHtor kynA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id 132-20020a63018a000000b0055fce913d52si11330084pgb.761.2023.09.25.23.04.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 23:04:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 63881809C67C; Mon, 25 Sep 2023 22:56:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233691AbjIZF4e (ORCPT + 26 others); Tue, 26 Sep 2023 01:56:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233680AbjIZF4c (ORCPT ); Tue, 26 Sep 2023 01:56:32 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 439F1DE; Mon, 25 Sep 2023 22:55:39 -0700 (PDT) Received: from rd02-sz.amlogic.software (10.28.11.83) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.13; Tue, 26 Sep 2023 13:55:33 +0800 From: Huqiang Qin To: , , , , , , , , CC: , , , , , Huqiang Qin Subject: [PATCH V2 2/2] arm64: dts: Add watchdog node for Amlogic C3 SoCs Date: Tue, 26 Sep 2023 13:55:12 +0800 Message-ID: <20230926055512.2355390-3-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230926055512.2355390-1-huqiang.qin@amlogic.com> References: <20230926055512.2355390-1-huqiang.qin@amlogic.com> MIME-Version: 1.0 X-Originating-IP: [10.28.11.83] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 25 Sep 2023 22:56:40 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778079022259889429 X-GMAIL-MSGID: 1778079022259889429 Add watchdog device. Signed-off-by: Huqiang Qin --- V1 -> V2: Increase compatibles of C3 watchdog. arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi index 998f5050795c..2ad1f8eef199 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi @@ -81,6 +81,12 @@ apb4: bus@fe000000 { #size-cells = <2>; ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>; + watchdog@2100 { + compatible = "amlogic,c3-wdt", "amlogic,t7-wdt"; + reg = <0x0 0x2100 0x0 0x10>; + clocks = <&xtal>; + }; + periphs_pinctrl: pinctrl@4000 { compatible = "amlogic,c3-periphs-pinctrl"; #address-cells = <2>;