From patchwork Fri Oct 27 10:43:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 15967 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp512276vqb; Fri, 27 Oct 2023 03:59:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IExZaMcxDCt3P4jil+wlWUP7Y6gColleuWuER2EROIbygZIZCwl92Uht1NSsKqpcc34aDyz X-Received: by 2002:a67:c89e:0:b0:457:c37d:5d4f with SMTP id v30-20020a67c89e000000b00457c37d5d4fmr2523259vsk.28.1698404386226; Fri, 27 Oct 2023 03:59:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698404386; cv=none; d=google.com; s=arc-20160816; b=mNpy8la82Vk5YgwqFICoeNhODiXuohJs09yXY/JBB5hhRw+DxyUSpYXUNxhiXUp6YC zuCSb1swd+wQrdNeAGnbkDg+82HdtREQEXAjObK2rvVA2qFpyS/xNnVKcTLHUsn5dZFz tqcvykUuvhFxKyKNlnkKJczMguWCVOdmQRIW0NRvtYMl9BUNkiB4gFTUVRaWrTCgc2JS Y4j04z7u5ppUoUsdq2zzpkAgmyGG4qsdqAIvhkugTeu+4ouU+nPiMTq4JTmlgx+jQt4O +CQNBmCXjUL9dUo/216a+uSx81NOf0iDrWM8spc5BGoq+gbEubhnzH4POkBUI1t2uei+ uJ8g== 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 :message-id:date:subject:cc:to:from; bh=BjdtyQE8SRnSqXvMnkt0rF7zStHCnd+z+vTyP7iA9Ag=; fh=jl+6xami2wMN5/WImgUgWF+yM7SARCr/QXw/jnT6odM=; b=FXeZe9UPLrPuD26XV1axMJWzY7zwDC/UywmmSbvk4EUcOb4hhF2M8Ijtu6Q5yDoaWI oLWiyft8ghpb7rT2NBfatbJEaGGAkgEajd4u4QUFmDX1J5UpZx5iayq5sybAexTUvafW gbWcOoqW3QVeafGmDEgLgdVbNm2YcM7V6wmt3K2CsMOHCE/WrEA1XXBOGYKLNbdP1tS0 rZ05C/Fy7SpY/4/YFb6ae6/CUHzVBzbIF1joW85iDURX0Sq+3HL6lyQfgf7BP7wlRrGl 8VBAv/RIkTIgJpiUP8iAAD2uYJvqmqFxruWTWCf2r9BhPvu9rhJYUYbMvhg9g6hnoQlq h1WQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id v12-20020a252f0c000000b00da0c97a3c20si2109688ybv.543.2023.10.27.03.59.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 03:59:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 9F9BB83D9B44; Fri, 27 Oct 2023 03:59:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345585AbjJ0K7f (ORCPT + 25 others); Fri, 27 Oct 2023 06:59:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230101AbjJ0K7e (ORCPT ); Fri, 27 Oct 2023 06:59:34 -0400 X-Greylist: delayed 902 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 27 Oct 2023 03:59:30 PDT Received: from mail-sh.amlogic.com (unknown [58.32.228.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5BBF9C; Fri, 27 Oct 2023 03:59:30 -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 0/3] Add watchdog support for Amlogic C3 and S4 SoCs Date: Fri, 27 Oct 2023 18:43:55 +0800 Message-ID: <20231027104358.342861-1-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Originating-IP: [10.28.11.83] X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email 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 (pete.vger.email [0.0.0.0]); Fri, 27 Oct 2023 03:59:42 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780906077535761968 X-GMAIL-MSGID: 1780906077535761968 Amlogic C3 and S4 has the same watchdog controller as Amlogic T7. Changes since V2 [2]: - Modified yaml document to ensure that dtbs_check passes. - Added a patch for watchdog support for S4. Changes since V1 [1]: - Added C3 compatibles, with T7 compatibles list as fallback. [1]: https://lore.kernel.org/all/20230925090641.1185942-1-huqiang.qin@amlogic.com/ [2]: https://lore.kernel.org/all/20230926055512.2355390-1-huqiang.qin@amlogic.com/ Huqiang Qin (3): dt-bindings: watchdog: Add support for Amlogic C3 and S4 SoCs arm64: dts: Add watchdog node for Amlogic C3 SoCs arm64: dts: Add watchdog node for Amlogic S4 SoCs .../bindings/watchdog/amlogic,meson-gxbb-wdt.yaml | 12 +++++++++--- arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi | 6 ++++++ arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 6 ++++++ 3 files changed, 21 insertions(+), 3 deletions(-)