From patchwork Sat Dec 16 01:48:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ji Sheng Teoh X-Patchwork-Id: 755230 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E7923110D; Sat, 16 Dec 2023 01:49:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=starfivetech.com 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 7E67E7F98; Sat, 16 Dec 2023 09:49:10 +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; Sat, 16 Dec 2023 09:49:10 +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, 16 Dec 2023 09:49:06 +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 v4 0/1] Add StarFive JH8100 watchdog Date: Sat, 16 Dec 2023 09:48:49 +0800 Message-ID: <20231216014850.1011344-1-jisheng.teoh@starfivetech.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX072.cuchost.com (172.16.6.82) X-YovoleRuleAgent: yovoleflag Changes since v3: - Drop items in compatible field. - Replace items with maxItems in reset field. - Replace maxItems with items: -description in if else reset field Changes since v2: - Express JH8100 compatibility to JH7110 in dt-bindings. - Rework min/maxItems constraint for JH8100 resets property. Changes since v1: - Drop "starfive,jh8100-wdt" compatible field in starfive-wdt.c, and express them in dt-bindings. - Use minItems in resets field to cater for single reset signal in JH8100. - Reword Watchdog reset to Core reset for JH8100. StarFive's JH8100 watchdog reuses JH7100 register mapping. DT-binding of JH7100 watchdog is extended to support JH8100. Since JH8100 only uses 1 reset signal, update the binding to support one reset for "starfive,jh8100-wdt" compatible. Ji Sheng Teoh (1): dt-bindings: watchdog: starfive,jh7100-wdt: Add compatible for JH8100 .../watchdog/starfive,jh7100-wdt.yaml | 29 +++++++++++++++---- 1 file changed, 23 insertions(+), 6 deletions(-)