Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2974174rdb; Sat, 9 Dec 2023 06:28:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IF30z/AJU+DDPMg4mIa9mZ14orx36zV532y3g3poEaZAswtdaJCqDMqga3P6QXEGpfNB5JA X-Received: by 2002:a05:6a21:a582:b0:190:8d36:5502 with SMTP id gd2-20020a056a21a58200b001908d365502mr1669009pzc.44.1702132106968; Sat, 09 Dec 2023 06:28:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702132106; cv=none; d=google.com; s=arc-20160816; b=mv3Opr/PYvHYyCmXklAiAcRUWZjLXoSXkZz7a2wx6G6zeSkCPSUT9F7CE/5/n4dVlh XcqUNdCzoB4n/pxu+8Qrsp+rqIebI4vM5A4+tB4r19mVj0aYL/Z5d9zOUcRZDD9Gg2iS 40G3g1PvnKh2QDZTYQfTSWzKwnMMmKmTqkD1RbV0sf9JYaxvze3TlO1QOtiJKTucR/mu EgslyzYK4NKH/L4sn43CiK4VQKDBmv8ueOJ444IXzxf/p06xjeJ7cOlCA9MWRVAFtydX PEz+BdEmzOaA4tCq9XqsQShoNSX6w8IjA+dghPRhxhhrf++/OkI8v2CY2ATd755cwwp0 /GWw== 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=TiLT+eFmBHUpbe/O8ErQPvlPcuBE1aU821AUXGcHIng=; fh=jwVIUMUQW/dlvsiazkX9JNTHHgOyH1wsqGeNTyTYaiE=; b=r+Jgr1H4TuMvzyDQ+rkS4WRlg6xQTDgGZwZOZFMtKTpVvcWAZpk1ZC1vnmfjhMPI+w iq2o9371rMe9dvH9SvKhXUv1KAaLXNfbWsiSCqofDQDM56eljWmt2XneXTtQbmAs+8V3 9x3i/Mb033a7AZIIRLVB4b49J/mMy8rQexyAJ4pFYmTyilxsYei3gGxihachRU6U2zS6 YOX9KFpaBTMjA5lTb/JAA+xqoV7cOaUsQf6GMUYShh/dHNklalO9m/mAAh3P2ZK//atm 90hIPUpvDXVdoLeNgDGTzrcGPPL9eJL7WAK+w9/s8yuTj+N+zmP6dovJ4Lv47kRFHZUM vCqA== 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 Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id bv127-20020a632e85000000b005c671034477si3076974pgb.539.2023.12.09.06.28.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Dec 2023 06:28:26 -0800 (PST) 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 Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 5EAAA8069CB4; Sat, 9 Dec 2023 06:28:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230322AbjLIO17 convert rfc822-to-8bit (ORCPT + 99 others); Sat, 9 Dec 2023 09:27:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbjLIO16 (ORCPT ); Sat, 9 Dec 2023 09:27:58 -0500 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB37310E7; Sat, 9 Dec 2023 06:28:04 -0800 (PST) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id B9A6524E03E; Sat, 9 Dec 2023 22:28:03 +0800 (CST) Received: from EXMBX072.cuchost.com (172.16.6.82) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Sat, 9 Dec 2023 22:28: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; Sat, 9 Dec 2023 22:27:59 +0800 From: Ji Sheng Teoh To: Xingyu Wu , Samin Guo , Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Ji Sheng Teoh , Ley Foon Tan , , , Subject: [PATCH v1 2/2] dt-bindings: watchdog: starfive,jh7100-wdt: Add compatible for JH8100 Date: Sat, 9 Dec 2023 22:27:23 +0800 Message-ID: <20231209142723.2060196-3-jisheng.teoh@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231209142723.2060196-1-jisheng.teoh@starfivetech.com> References: <20231209142723.2060196-1-jisheng.teoh@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [202.188.176.82] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) 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 howler.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 (howler.vger.email [0.0.0.0]); Sat, 09 Dec 2023 06:28:21 -0800 (PST) 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: - 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 + else: + properties: + resets: + items: + - description: APB reset + - description: Core reset + unevaluatedProperties: false examples: -- 2.25.1