Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4104283rdb; Mon, 11 Dec 2023 08:58:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFaDo5eIacrKZbfEv24O7JleQv00SOD6mJjUoZduChTYyuqGG6cnKKPyDkllXaZm+M17nPj X-Received: by 2002:a05:6a21:1f05:b0:18f:97c:925d with SMTP id ry5-20020a056a211f0500b0018f097c925dmr2018598pzb.66.1702313897414; Mon, 11 Dec 2023 08:58:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702313897; cv=none; d=google.com; s=arc-20160816; b=bSssUyoXxieVs+GnfEnxiia6KJpgPpAQFp0SYahJXQPU3BhlGJ0KbBQekuxolPUuGn vysaIwNSRkB+x7gp7kFe+4h9uDTJhRfDjwC8WyWUmq+HRj96Zvg+AdzqtvsbK537DIIY AyMZWTGNVLdEP0g4XzUSbnKxexhEsBvgeEFKmdbvFHlhgpZQSNsappvgbox0JwMBqhbP JuadLvhuRuEXTfZdb6f80e0lxshsHoQF115xMz+alcRGG0ADmh//WUcaoWMFYhmg2xGJ lFgBl51Dw8Ye5XKtZgUjfCvUx+tIezdIhf+noDfHqfG2le86FVapI5NUgDewnGPPDe96 bapg== 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=EaR9rLZEA90kI3z4DuF0bvHPcYmpBKfG0sDJ3d3RVLA=; fh=PP3OOEM6qTHXd7ijYU+T0zRFKLi4EnMiNloGeENIp3U=; b=eNMhRT32nYpj+DpPmRXEuOj8kCk4mIQfgfBZCrNxG/nPXP3Vy3dyFB6NyGa//7ggxP XBlzkZ6B4QV+x3RQ0Y+lhJc83tpyC+LyBs1qlwog5dyHOCy40xekHBUaKmycL92vWDv/ 6L5ENXf+RtP2eEz6TIydgNRxbSLkY7I7I2+g51oFRpARMWpeJqIcpKYbXzApfZi8y39z injjje0+LZrfWuBu3E7XEXltgdPVmYs5S8YODG0OrrkmQzy/zVvm22tDaSoy0zTEZZwl JRtkf8B0vJbbgkLQSQQ8eTw/O/HBbLnQ5Ody36NzqPg7JI7/9KAw6FaASCwrQc4qnrcm h+xA== 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 Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id cj15-20020a056a00298f00b006ce83d8dcafsi6265977pfb.393.2023.12.11.08.58.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 08:58:17 -0800 (PST) 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 Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id B34A78042B75; Mon, 11 Dec 2023 08:58:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344041AbjLKQ6B convert rfc822-to-8bit (ORCPT + 99 others); Mon, 11 Dec 2023 11:58:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229661AbjLKQ57 (ORCPT ); Mon, 11 Dec 2023 11:57:59 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7F6B8E; Mon, 11 Dec 2023 08:58:04 -0800 (PST) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 85DF47FD3; Tue, 12 Dec 2023 00:58:03 +0800 (CST) Received: from EXMBX072.cuchost.com (172.16.6.82) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 12 Dec 2023 00:58:03 +0800 Received: from localhost.localdomain (202.188.176.82) by EXMBX072.cuchost.com (172.16.6.82) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 12 Dec 2023 00:57:58 +0800 From: Ji Sheng Teoh To: CC: , , , , , , , , , , , Subject: Re: [PATCH v1 2/2] dt-bindings: watchdog: starfive,jh7100-wdt: Add compatible for JH8100 Date: Tue, 12 Dec 2023 00:57:31 +0800 Message-ID: <20231211165731.1604004-1-jisheng.teoh@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <3b53b6c4-96e6-4129-912e-82b8ab9b2269@linaro.org> References: <3b53b6c4-96e6-4129-912e-82b8ab9b2269@linaro.org> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [202.188.176.82] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX072.cuchost.com (172.16.6.82) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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]); Mon, 11 Dec 2023 08:58:14 -0800 (PST) On Mon, 11 Dec 2023 11:06:09 +0100 Krzysztof Kozlowski wrote: > On 09/12/2023 15:27, Ji Sheng Teoh wrote: > > Add "starfive,jh8100-wdt" compatible string for StarFive's JH8100 > > watchdog. > > Since JH8100 watchdog only has 1 reset signal, update binding > > document to support one reset for "starfive,jh8100-wdt" compatible. > > > > Signed-off-by: Ley Foon Tan > > Signed-off-by: Ji Sheng Teoh > > --- > > .../watchdog/starfive,jh7100-wdt.yaml | 29 > > ++++++++++++++----- 1 file changed, 21 insertions(+), 8 deletions(-) > > > > diff --git > > a/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml > > b/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml > > index 68f3f6fd08a6..eec182317219 100644 --- > > a/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml > > +++ > > b/Documentation/devicetree/bindings/watchdog/starfive,jh7100-wdt.yaml > > @@ -19,14 +19,12 @@ description: isn't cleared, the watchdog will > > reset the system unless the watchdog reset is disabled. -allOf: > > - - $ref: watchdog.yaml# > > - > > properties: > > compatible: > > enum: > > - starfive,jh7100-wdt > > - starfive,jh7110-wdt > > + - starfive,jh8100-wdt > > > > reg: > > maxItems: 1 > > @@ -44,11 +42,6 @@ properties: > > - const: apb > > - const: core > > > > - resets: > > No, keep it here with min/maxItems. > Ok, will change it up to use min/maxItems. > > - items: > > - - description: APB reset > > - - description: Core reset > > - > > required: > > - compatible > > - reg > > @@ -56,6 +49,26 @@ required: > > - clock-names > > - resets > > > > +allOf: > > + - $ref: watchdog.yaml# > > + - if: > > + properties: > > + compatible: > > + contains: > > + enum: > > + - starfive,jh8100-wdt > > + then: > > + properties: > > + resets: > > + items: > > + - description: Watchdog reset > > Why is it called "Watchdog"? How is it different from "Core"? Will standardize them to use "Core" instead. Thanks. > > Best regards, > Krzysztof >