From patchwork Mon Feb 13 18:26:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 56433 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2503061wrn; Mon, 13 Feb 2023 10:30:57 -0800 (PST) X-Google-Smtp-Source: AK7set/df3Xh48RYyLIyGTW/BEAXLhBCFfhjamD0TJHA1HQJNRBeyYRAA8DHqx9wNxu7nL5AfR5y X-Received: by 2002:a17:907:a095:b0:877:8ae7:2e44 with SMTP id hu21-20020a170907a09500b008778ae72e44mr27637435ejc.5.1676313057041; Mon, 13 Feb 2023 10:30:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676313057; cv=none; d=google.com; s=arc-20160816; b=GNxfECVlEIMtu7m+rxiNk8hqceTYxu9PRWZSQm8mYQMEHLMskpwD14Xtfe0qLxUSTP PKDmigGWdQlefs7HT8uv3hC7u7ibpoQ63ojVcmynM+bA58n3xOvHaYp2yvdnJxQzpMiT HFde4u5FRAiC3+ouOEmesa4eLjo69WMcXR8geYlCME01bJyfnQYbAiwlQB9oHXL6yDyu 3hc5MJ/TRbpsyVonKB51e0Au8BTQDkfEcqiqMuxki1vBPnoGYw4mkl1snNBQywdILdSj oREKk6NktFC89A0jc6IJOc+Tr4q2A9wf/t+bh5ytuhjFRoUx8RsPqUD0vTXa2GtaUrHa 6sdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=wLCWW0kqHwupS7L0F+qxBfen0pMEijdMQGMd9xe8Xkw=; b=YUmBlE3ShM6nsYfoy9xatX1jowrivqb6lhWfTZC/kvCMGgH0L/3OgOIFwKxkbSXJ7q prR7CgMBEgR0+asLzXVovkJVYaXfVz6jl0h3kWIWOulhXjBduDJvzbSI7WWqawajiWPG 3IAsT8yh3AzNN3/tCjJiGlWKdziOqB+Sh1lhT/YswyRSq5BnvtnvRuZU1h0nFLuXyOqZ jGDVre4eAhRBZw77BPSTc2eRK3r63ubFXlDmLs+sjN/JKD5kSWjMAEnY565X1EANZCQr KBDN1L4QdbxzlP3I/Z0uCFKWttVHTpl4yXFzgwDnSczVKqDlorpmjfuqMoLbA+z4jSsp M+Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=WYbnzMTU; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="0UPQ3nN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fn18-20020a1709069d1200b008905589a3c4si12875189ejc.754.2023.02.13.10.30.33; Mon, 13 Feb 2023 10:30:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=WYbnzMTU; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b="0UPQ3nN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230252AbjBMS0o (ORCPT + 99 others); Mon, 13 Feb 2023 13:26:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229919AbjBMS02 (ORCPT ); Mon, 13 Feb 2023 13:26:28 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 469021702; Mon, 13 Feb 2023 10:26:27 -0800 (PST) Date: Mon, 13 Feb 2023 18:26:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1676312783; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wLCWW0kqHwupS7L0F+qxBfen0pMEijdMQGMd9xe8Xkw=; b=WYbnzMTUQiDeypkfpJWNyRvUGkEOTXb1IMhJ9upjrT+CfAEj7iX0MW56KTdLC8KUZLZodo cLBCpDiDtfUiojMYTyxjgXMkuFH8LpNPRGKbBL28G7JTSpVFpErtZuMlnm0Qy1BoOdyFO2 zP87sU8RKpSCc5tuTyuHZ2ks+1FFpZ+cHKvGFzjHzqqkBcFcz8TeuJplysdPVJliA2uMuJ trZt5Sk21fcGEA68H7DHn5bRK98xE28EYLcFo9sKDc7IjCsNdIjNWCyBLfdu6Btt1kSGTd AdBVvgPMEzj8pTc09Hnw7ym7fug4xtav6lGZHe+pLC1xrpHUl4UNTxFGoo47TQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1676312783; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wLCWW0kqHwupS7L0F+qxBfen0pMEijdMQGMd9xe8Xkw=; b=0UPQ3nN/6f8yoKwDak6cQ1nryJ8H1eHEz4T1dSIBB7Ykwb+8wnQ3MR12YQDp4EcwVfzTIX MQDS30igQBUHOEAg== From: "tip-bot2 for Icenowy Zheng" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] dt-bindings: timer: sifive,clint: add comaptibles for T-Head's C9xx Cc: Icenowy Zheng , Krzysztof Kozlowski , Samuel Holland , Conor Dooley , Daniel Lezcano , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230202072814.319903-1-uwu@icenowy.me> References: <20230202072814.319903-1-uwu@icenowy.me> MIME-Version: 1.0 Message-ID: <167631278317.4906.9154845972759763827.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756739289062560793?= X-GMAIL-MSGID: =?utf-8?q?1757741639974484720?= The following commit has been merged into the timers/core branch of tip: Commit-ID: abd873afc889c0b4348ec4b567d83f97df8edaf6 Gitweb: https://git.kernel.org/tip/abd873afc889c0b4348ec4b567d83f97df8edaf6 Author: Icenowy Zheng AuthorDate: Thu, 02 Feb 2023 15:28:14 +08:00 Committer: Daniel Lezcano CommitterDate: Mon, 13 Feb 2023 13:10:17 +01:00 dt-bindings: timer: sifive,clint: add comaptibles for T-Head's C9xx T-Head C906/C910 CLINT is not compliant to SiFive ones (and even not compliant to the newcoming ACLINT spec) because of lack of mtime register. Add a compatible string formatted like the C9xx-specific PLIC compatible, and do not allow a SiFive one as fallback because they're not really compliant. Signed-off-by: Icenowy Zheng Acked-by: Krzysztof Kozlowski Reviewed-by: Samuel Holland Acked-by: Conor Dooley Link: https://lore.kernel.org/r/20230202072814.319903-1-uwu@icenowy.me Signed-off-by: Daniel Lezcano --- Documentation/devicetree/bindings/timer/sifive,clint.yaml | 8 +++++++- 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/timer/sifive,clint.yaml b/Documentation/devicetree/bindings/timer/sifive,clint.yaml index bbad241..aada695 100644 --- a/Documentation/devicetree/bindings/timer/sifive,clint.yaml +++ b/Documentation/devicetree/bindings/timer/sifive,clint.yaml @@ -20,6 +20,10 @@ description: property of "/cpus" DT node. The "timebase-frequency" DT property is described in Documentation/devicetree/bindings/riscv/cpus.yaml + T-Head C906/C910 CPU cores include an implementation of CLINT too, however + their implementation lacks a memory-mapped MTIME register, thus not + compatible with SiFive ones. + properties: compatible: oneOf: @@ -30,6 +34,10 @@ properties: - canaan,k210-clint - const: sifive,clint0 - items: + - enum: + - allwinner,sun20i-d1-clint + - const: thead,c900-clint + - items: - const: sifive,clint0 - const: riscv,clint0 deprecated: true