From nobody Wed Dec 17 08:19:20 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD3C3C25B67 for ; Fri, 27 Oct 2023 11:00:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345722AbjJ0LA2 (ORCPT ); Fri, 27 Oct 2023 07:00:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345585AbjJ0LAY (ORCPT ); Fri, 27 Oct 2023 07:00:24 -0400 Received: from mail-sh.amlogic.com (unknown [58.32.228.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39091D6; Fri, 27 Oct 2023 03:59:33 -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; Fri, 27 Oct 2023 18:44:25 +0800 From: Huqiang Qin To: , , , , , , , , CC: , , , , , Huqiang Qin Subject: [PATCH V3 1/3] dt-bindings: watchdog: Add support for Amlogic C3 and S4 SoCs Date: Fri, 27 Oct 2023 18:43:56 +0800 Message-ID: <20231027104358.342861-2-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231027104358.342861-1-huqiang.qin@amlogic.com> References: <20231027104358.342861-1-huqiang.qin@amlogic.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.28.11.83] Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Update dt-binding document for watchdog of Amlogic C3 and S4 SoCs. Signed-off-by: Huqiang Qin --- .../bindings/watchdog/amlogic,meson-gxbb-wdt.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-= wdt.yaml b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wd= t.yaml index 443e2e7ab467..69845ec32e81 100644 --- a/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml @@ -15,9 +15,15 @@ allOf: =20 properties: compatible: - enum: - - amlogic,meson-gxbb-wdt - - amlogic,t7-wdt + oneOf: + - enum: + - amlogic,meson-gxbb-wdt + - amlogic,t7-wdt + - items: + - enum: + - amlogic,c3-wdt + - amlogic,s4-wdt + - const: amlogic,t7-wdt =20 reg: maxItems: 1 --=20 2.42.0 From nobody Wed Dec 17 08:19:20 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BBE73C25B67 for ; Fri, 27 Oct 2023 11:00:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345691AbjJ0LAZ (ORCPT ); Fri, 27 Oct 2023 07:00:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230101AbjJ0LAW (ORCPT ); Fri, 27 Oct 2023 07:00:22 -0400 Received: from mail-sh.amlogic.com (unknown [58.32.228.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C2F6129; Fri, 27 Oct 2023 03:59:34 -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; Fri, 27 Oct 2023 18:44:26 +0800 From: Huqiang Qin To: , , , , , , , , CC: , , , , , Huqiang Qin Subject: [PATCH V3 2/3] arm64: dts: Add watchdog node for Amlogic C3 SoCs Date: Fri, 27 Oct 2023 18:43:57 +0800 Message-ID: <20231027104358.342861-3-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231027104358.342861-1-huqiang.qin@amlogic.com> References: <20231027104358.342861-1-huqiang.qin@amlogic.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.28.11.83] Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add watchdog device. Signed-off-by: Huqiang Qin Reviewed-by: Neil Armstrong --- 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 =3D <2>; ranges =3D <0x0 0x0 0x0 0xfe000000 0x0 0x480000>; =20 + watchdog@2100 { + compatible =3D "amlogic,c3-wdt", "amlogic,t7-wdt"; + reg =3D <0x0 0x2100 0x0 0x10>; + clocks =3D <&xtal>; + }; + periphs_pinctrl: pinctrl@4000 { compatible =3D "amlogic,c3-periphs-pinctrl"; #address-cells =3D <2>; --=20 2.42.0 From nobody Wed Dec 17 08:19:20 2025 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4F9FC25B67 for ; Fri, 27 Oct 2023 10:59:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345701AbjJ0K7k (ORCPT ); Fri, 27 Oct 2023 06:59:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230101AbjJ0K7i (ORCPT ); Fri, 27 Oct 2023 06:59:38 -0400 Received: from mail-sh.amlogic.com (unknown [58.32.228.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECC9B9C; Fri, 27 Oct 2023 03:59:35 -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; Fri, 27 Oct 2023 18:44:27 +0800 From: Huqiang Qin To: , , , , , , , , CC: , , , , , Huqiang Qin Subject: [PATCH V3 3/3] arm64: dts: Add watchdog node for Amlogic S4 SoCs Date: Fri, 27 Oct 2023 18:43:58 +0800 Message-ID: <20231027104358.342861-4-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231027104358.342861-1-huqiang.qin@amlogic.com> References: <20231027104358.342861-1-huqiang.qin@amlogic.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.28.11.83] Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add watchdog device. Signed-off-by: Huqiang Qin Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dt= s/amlogic/meson-s4.dtsi index e0cfc54ebccb..2344b2d741c3 100644 --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi @@ -92,6 +92,12 @@ apb4: bus@fe000000 { #size-cells =3D <2>; ranges =3D <0x0 0x0 0x0 0xfe000000 0x0 0x480000>; =20 + watchdog@2100 { + compatible =3D "amlogic,s4-wdt", "amlogic,t7-wdt"; + reg =3D <0x0 0x2100 0x0 0x10>; + clocks =3D <&xtal>; + }; + periphs_pinctrl: pinctrl@4000 { compatible =3D "amlogic,meson-s4-periphs-pinctrl"; #address-cells =3D <2>; --=20 2.42.0