From patchwork Mon Nov 21 04:17:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 23526 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1383855wrr; Sun, 20 Nov 2022 20:26:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf5eZb3fSvIyoZp1FlCKGvbJDiFPDXWj9fH7+IsA3eV0ka4jiVZ0qOlc7GfXmvSngMQjtJal X-Received: by 2002:a17:903:40c1:b0:186:b59e:b9f7 with SMTP id t1-20020a17090340c100b00186b59eb9f7mr10210402pld.99.1669004791870; Sun, 20 Nov 2022 20:26:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669004791; cv=pass; d=google.com; s=arc-20160816; b=Yxzf4jVWRSvS/LgmwbNysqwsECyuT3DFVtYDlSXA/wwvxvPfKYovIJcf9FRxpjRrNb c05CGjv93/qZZ89ErbONVNFUvfhYp6VyamDoLhSvQ1VoSEd63JI9o/eHhE77pBhBCnBU xbjUPmzecaW4BcuTuRcctVSbQiZ5cAZclZTrAHPFlp8wmk/ufzvul+a3i4ApY4qhtZTX m4umTv97JHA4fiGrUasY+xA/C1w5vagiTWA2ac/tIi72xMmCrjXm9ZZy/30oFQzjCy9h MqlCzeBXiVywvQ1smq6LI5wPp84ruPrJPZrnOfa+zuYF7zkVbAjS6dqjnOWDFwIXcn7G AjYw== ARC-Message-Signature: i=2; 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 :dkim-signature; bh=yswQKN/NwiMTTVeDwWejovNA0LCHs9YyUSqdR/PYtho=; b=byNNbVAa2IeJzLGjfoN4aYo4/37ZVpB5WApRci0t4qQSxXoX5AQVLsX09drk1klPmM /1BB1QxLjIXpqWLGOH7NaXN/fB5M3D6sIXyJGzQdLecNVUaOsSuGCpXhGC0G65dA5qyT wte0FkfpFbljpvn767CDg5z2X0ljo6K4aBQDYBLFSmpU+w6xANjr6c/SHIZkseRT/VnP c5gOgKYyzMvQkhxIYSC/5n4RFyLbdG2jCwH+PpOlr+2UpjHG+OI4yllWxuce7OGyuncb Kr5iKqJp3ZN8yIRMIXX+FcEblVViw3WaL1jpF0YUvyA9XG8eupHNXnTVxNybYVQpfKDy iMTA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@icenowy.me header.s=zmail header.b=aYn+JLu0; arc=pass (i=1 spf=pass spfdomain=icenowy.me dkim=pass dkdomain=icenowy.me dmarc=pass fromdomain=icenowy.me>); 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g18-20020a17090a579200b0021878aebd90si9122268pji.168.2022.11.20.20.26.18; Sun, 20 Nov 2022 20:26:31 -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=@icenowy.me header.s=zmail header.b=aYn+JLu0; arc=pass (i=1 spf=pass spfdomain=icenowy.me dkim=pass dkdomain=icenowy.me dmarc=pass fromdomain=icenowy.me>); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229753AbiKUESr (ORCPT + 99 others); Sun, 20 Nov 2022 23:18:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229727AbiKUESj (ORCPT ); Sun, 20 Nov 2022 23:18:39 -0500 Received: from sender4-op-o18.zoho.com (sender4-op-o18.zoho.com [136.143.188.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 744DD1A3B7; Sun, 20 Nov 2022 20:18:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669004306; cv=none; d=zohomail.com; s=zohoarc; b=dwATXG8k/51p7QFxP3OE4q2a4JGoVJ9MNI59UQkdx0xlU2T9kN9NGsFqH2iB6a33tSv2Hg1dyhS0Bj5AN9+TqCHbJ+I/HfI2JK6arJfDH39qUWv5GsKFzcoWZ33vgEQNeinXHdDIO9zOxerJi6mgZNABPYPyvQL7GAmFBm3trSs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1669004306; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=yswQKN/NwiMTTVeDwWejovNA0LCHs9YyUSqdR/PYtho=; b=dJl3LuNi2k+AP04WqKijzFHYPG6yEo3hgNXUWSw4mV03TeBXA4Rhv432Jzcg+sjCFAdMG5BK2c4Sv7z24O4QnEfisC8rOQ9hlIDAtuC4+9MnsuEhhlDd7P95UC+U3bxokRBZhSwzTgWqgSECtbz66d5ismYlRVqiQr+l7fG+OnE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=icenowy.me; spf=pass smtp.mailfrom=uwu@icenowy.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1669004306; s=zmail; d=icenowy.me; i=uwu@icenowy.me; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Reply-To; bh=yswQKN/NwiMTTVeDwWejovNA0LCHs9YyUSqdR/PYtho=; b=aYn+JLu0d/dP+2Ij+Wou35VkIDBSj1pT2SbuZ/Ez30kO1xbBADT8WtFCUWsT+itU KKyGlYVn8+48jqRupqiVQKF6borkKkfmklZsIAUwa8vVzooAb0gNtfPlKOFMdHnw/RL lUxipWYWFm7j6dJMXY2VKxkePJHyAi+rZgtpJnqk= Received: from edelgard.fodlan.icenowy.me (112.94.100.29 [112.94.100.29]) by mx.zohomail.com with SMTPS id 1669004306146990.0421850975872; Sun, 20 Nov 2022 20:18:26 -0800 (PST) From: Icenowy Zheng To: Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Daniel Lezcano , Jisheng Zhang , Samuel Holland Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Icenowy Zheng Subject: [PATCH 1/3] dt-bindings: timer: sifive,clint: add comaptibles for T-Head's C9xx Date: Mon, 21 Nov 2022 12:17:55 +0800 Message-Id: <20221121041757.418645-2-uwu@icenowy.me> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221121041757.418645-1-uwu@icenowy.me> References: <20221121041757.418645-1-uwu@icenowy.me> MIME-Version: 1.0 X-ZohoMailClient: External X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLACK autolearn=no 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?1750078368897338595?= X-GMAIL-MSGID: =?utf-8?q?1750078368897338595?= 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 --- 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 bbad24165837..aada6957216c 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: @@ -29,6 +33,10 @@ properties: - starfive,jh7100-clint - canaan,k210-clint - const: sifive,clint0 + - items: + - enum: + - allwinner,sun20i-d1-clint + - const: thead,c900-clint - items: - const: sifive,clint0 - const: riscv,clint0 From patchwork Mon Nov 21 04:17:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 23527 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1383906wrr; Sun, 20 Nov 2022 20:26:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf4OluOkBGg6UXQl+S7ERvH4cdF64GPb6QNShFN0i7fAJMwgsdHSHEqV7ZfT2fJDyDA2DB2U X-Received: by 2002:a63:5042:0:b0:46f:e658:a8ff with SMTP id q2-20020a635042000000b0046fe658a8ffmr1141022pgl.493.1669004804976; Sun, 20 Nov 2022 20:26:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669004804; cv=pass; d=google.com; s=arc-20160816; b=YoNr+3poOFXeAjDWAWVQV9hJa8NOt/bWsSppZxuBLaM2wySmCLIcwUbfYnuhn0ZG8b 6Dw/fhC4OeysQqwDjhmhq654j9awo9wrmuetYsbH2kmN+V2wDURvw3U/vLXRBqkTJxZX MIyuu5Jo+YkqWvCxK3o1AmRpIwXF6+y3bGT0g3LWBwkMuUfZ/9xgkPwT2Qkpd2v23zPM A9FUMjkQ+dZex4Xvyp86dPwvFLwZTb7fqjNV11NgRynKzbl2SXqJIYph79DzL2tFuMUd MLKdsEKZ0BJu+npj9eg88EYOSq6xjlwkAHj+1DzV7X/qLb0GC+Do9fjM0l/JgVGlbVcD wQ6g== ARC-Message-Signature: i=2; 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 :dkim-signature; bh=1jvBArX5LMEqGndC/rqeiRHpRcDw256YhccTebGyEL8=; b=TH/cINcCOTc88f/dQuOz4EYPjsvWH9LQMGJQ7i2HhJQn47UHkdOUPaTmCZVM0Ii+kD ffsO67vE4QvqFbLMgRyxOp+ScHm6Ot7cBPqZqRZsohTU1Ie6ZxuB07/tCugKPeHsxPPC b8XqkyNlHaP2nW+v9N1MBE0FCss9yqSBMXXifYlNkQKeibdGDZDqsmtfWkTRH5yzNix4 FvW4X0j9ZdbQtQ9HO9S7Eddk55mUH2KTFnfmBOJFypAf/MSVMrN1YAUdYLwuZRgwqLUm AIuY+0h1v2uaD9kxayLYmUNraaNVy0plncoftyqlIB0CY1Pyg9r3yVNMy+bflJ/wfnXI us6g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@icenowy.me header.s=zmail header.b=WBLe4bVO; arc=pass (i=1 spf=pass spfdomain=icenowy.me dkim=pass dkdomain=icenowy.me dmarc=pass fromdomain=icenowy.me>); 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x5-20020a17090300c500b00186a4763532si8962596plc.28.2022.11.20.20.26.32; Sun, 20 Nov 2022 20:26:44 -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=@icenowy.me header.s=zmail header.b=WBLe4bVO; arc=pass (i=1 spf=pass spfdomain=icenowy.me dkim=pass dkdomain=icenowy.me dmarc=pass fromdomain=icenowy.me>); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229489AbiKUETQ (ORCPT + 99 others); Sun, 20 Nov 2022 23:19:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbiKUESt (ORCPT ); Sun, 20 Nov 2022 23:18:49 -0500 Received: from sender4-op-o18.zoho.com (sender4-op-o18.zoho.com [136.143.188.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01E0F2A942; Sun, 20 Nov 2022 20:18:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669004316; cv=none; d=zohomail.com; s=zohoarc; b=aixIFHpi3bHX4fgmZ3jw6KdRI02uqQHXp/1mFoKt6XzDRrFU3cndHsJbUCsF6ZgSstQWSWKq17+bux6kgZIlqZZdyVreWGrQqBuijAr3uiwAO5/kd2jBfDCy9NKFS+Vj/82TH4M/vAA1SBAuhQzoipTxzOFiQjit/q5i0wB6fUU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1669004316; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=1jvBArX5LMEqGndC/rqeiRHpRcDw256YhccTebGyEL8=; b=DRkD33XgFDBpBkUfgL772kN8xlu2Q1JO4TuKnGVCn9Ct937mzlLI/gXomTplEfTizo7bJr1K/GtqSW54Q+ML9tLDzhXKL/pgFD2FA4SyBFKZOqfvmhZquB52J/YQ2GdI16dqYwVAPTQaa4QpNeGAyGt6e1E22ci34cchhJ31HJg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=icenowy.me; spf=pass smtp.mailfrom=uwu@icenowy.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1669004316; s=zmail; d=icenowy.me; i=uwu@icenowy.me; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Reply-To; bh=1jvBArX5LMEqGndC/rqeiRHpRcDw256YhccTebGyEL8=; b=WBLe4bVOKOeFkUgh+EGrCsx73wKCpTEBVPhaGux/W8pcJM+arJuhX32P4TKVapzM 5bjyb3/M3WCPy+l7/Ii4/IYjfliXcHAU6bIrv9R4u40Cqp7fVomldgPNv/SZdElvgBp J1fPNdB+DNxtLGOWmNZInsRkwl+4V3Gg83dWjW8E= Received: from edelgard.fodlan.icenowy.me (112.94.100.29 [112.94.100.29]) by mx.zohomail.com with SMTPS id 166900431506566.96637222919264; Sun, 20 Nov 2022 20:18:35 -0800 (PST) From: Icenowy Zheng To: Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Daniel Lezcano , Jisheng Zhang , Samuel Holland Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Icenowy Zheng Subject: [PATCH 2/3] dt-bindings: timer: sifive,clint: add compatible for OpenC906 Date: Mon, 21 Nov 2022 12:17:56 +0800 Message-Id: <20221121041757.418645-3-uwu@icenowy.me> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221121041757.418645-1-uwu@icenowy.me> References: <20221121041757.418645-1-uwu@icenowy.me> MIME-Version: 1.0 X-ZohoMailClient: External X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLACK autolearn=no 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?1750078382079718131?= X-GMAIL-MSGID: =?utf-8?q?1750078382079718131?= T-Head OpenC906 is a open-source-licensed fixed-configuration of C906, which is now public and able to be integrated. Add a compatible for the CLINT shipped as part of OpenC906, which should just be ordinary C9xx CLINT. Signed-off-by: Icenowy Zheng --- Documentation/devicetree/bindings/timer/sifive,clint.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/timer/sifive,clint.yaml b/Documentation/devicetree/bindings/timer/sifive,clint.yaml index aada6957216c..86703e995e31 100644 --- a/Documentation/devicetree/bindings/timer/sifive,clint.yaml +++ b/Documentation/devicetree/bindings/timer/sifive,clint.yaml @@ -35,6 +35,7 @@ properties: - const: sifive,clint0 - items: - enum: + - thead,openc906-clint - allwinner,sun20i-d1-clint - const: thead,c900-clint - items: From patchwork Mon Nov 21 04:17:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 23529 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1386274wrr; Sun, 20 Nov 2022 20:36:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf7nY6rI+X6y/S75cZKiFvjGQUkaW07Oke4DPwcf91B7JpQ2p7jkDsWlpnnfi2n51+yRJ7Xe X-Received: by 2002:a17:906:a0d9:b0:78d:b912:6a6c with SMTP id bh25-20020a170906a0d900b0078db9126a6cmr14133793ejb.124.1669005392824; Sun, 20 Nov 2022 20:36:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669005392; cv=pass; d=google.com; s=arc-20160816; b=bj7xXbcdP/sLg4RN6Lz30Uo3au0jKrWE2NJ8UQrDtwM3T2tgrI6/5+b7AWu+jfCMxw qO8fF4eTKib0Q8ASgwSUQ506UKcdS9Gr3jV6kygJWq0im1HgBXQ6cq7MPPz3eWp0Fcb/ rG09QRVWe++hqs9f5TmqDb8oAwOWGBNjDMYws/+Bwyp2FO6rBix1k/UpBWJ/X9x4nQAq fFUgYFSUx+pASWiceazzjjjKz92kTPVurvXJxhOZNcrxTGaE/O9BIz+Qkl03z1wjY1M5 0M6/M3JFTU9RHDP8/RP5Zn/cnAwxJt7QvSsz1XiiMY3YQbbq6gqDB66XTSTMcdbdEb6T pH8w== ARC-Message-Signature: i=2; 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 :dkim-signature; bh=3mufr77oeRQMIDQ9BLCeK57+i5lF/oGGUHybbQbCGv0=; b=fsQWne/MyuCJTVTNnVA+lg3aSjlHnhG/cZm8afHMFDF5O/gIVptd8GykXxDo0EHM0Y C8bVy7aSUg6A4y12BYeEWYQR+DFTacNa8Mbe76PF56O5vpfMsMnzD1RfqCBmhgYIbCXb BxOt041SLgQCO394wWma7eA4du4pS4W/+LbxP66dornKssaBptzmzu3cgjBhYE+Oe56a 8cEqmONAR9djFmRpb5dj5henicypTiI0KBH4u+BLSfJL5pKJ5pRKCK2mM7Prs19NTIF3 WbervrfY40p59AQ5GVFz7NZhG/UhO9+RFQpXAzxcZL5bNX3DsYq4B9VXV9m1NWU2IPAB IdHA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@icenowy.me header.s=zmail header.b=bgWiYmXi; arc=pass (i=1 spf=pass spfdomain=icenowy.me dkim=pass dkdomain=icenowy.me dmarc=pass fromdomain=icenowy.me>); 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wt7-20020a170906ee8700b0079b9f472d85si9429935ejb.698.2022.11.20.20.36.08; Sun, 20 Nov 2022 20:36:32 -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=@icenowy.me header.s=zmail header.b=bgWiYmXi; arc=pass (i=1 spf=pass spfdomain=icenowy.me dkim=pass dkdomain=icenowy.me dmarc=pass fromdomain=icenowy.me>); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229834AbiKUETb (ORCPT + 99 others); Sun, 20 Nov 2022 23:19:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229735AbiKUES7 (ORCPT ); Sun, 20 Nov 2022 23:18:59 -0500 Received: from sender4-op-o18.zoho.com (sender4-op-o18.zoho.com [136.143.188.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A5C424BF0; Sun, 20 Nov 2022 20:18:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669004323; cv=none; d=zohomail.com; s=zohoarc; b=fyshxFY9Mc/+iJ1znLlt674Lkas5pFte2C+XYQTgLN7twzB6oiciAGD71SWwdKJYSWu9U14IBwlUNSCSiEQh3l7TUKYWlrhN/nNXMLG+Mt+xd65yPGBlPRn9+5GsKbAfdhrvrwNXnAJ94K6lG3MRI01cKHD6VwrwhSqOmja/7TQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1669004323; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=3mufr77oeRQMIDQ9BLCeK57+i5lF/oGGUHybbQbCGv0=; b=SVO8XJ6yGlRfdKEtCycXw6K1MAX46QfAe8vf4WVf0/6apAEPkDzPKJ5PX8fVP714NYbxijEqQVOPq0l30Qzxwoer8d4M7Pgtzw6G+efKQY+mBWvk2JOSpAIImm/Aj24lOAi3NU9ZX3HKzD19kE47UJiQMAEU7npXXrTMwrdUGak= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=icenowy.me; spf=pass smtp.mailfrom=uwu@icenowy.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1669004323; s=zmail; d=icenowy.me; i=uwu@icenowy.me; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Reply-To; bh=3mufr77oeRQMIDQ9BLCeK57+i5lF/oGGUHybbQbCGv0=; b=bgWiYmXimeGexCxx/i1ZdvkWwgnY8ctOaoF23X/GecU0aP0ozpndtbVvorG9XYuG jKJc4b90Y4mNnMsDYcjOYJp9RsKWkQ7RgvGnEJz2VHKIExV1WhLnh0DVOieKdrM8oPP yYVyQLcerP1Ib9tbj82kd2UHkIJQzgnsqraBpu94= Received: from edelgard.fodlan.icenowy.me (112.94.100.29 [112.94.100.29]) by mx.zohomail.com with SMTPS id 1669004322259164.1933466310711; Sun, 20 Nov 2022 20:18:42 -0800 (PST) From: Icenowy Zheng To: Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Daniel Lezcano , Jisheng Zhang , Samuel Holland Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, Icenowy Zheng Subject: [PATCH 3/3] dt-bindings: interrupt-controller: sifive,plic: add OpenC906 compatible Date: Mon, 21 Nov 2022 12:17:57 +0800 Message-Id: <20221121041757.418645-4-uwu@icenowy.me> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221121041757.418645-1-uwu@icenowy.me> References: <20221121041757.418645-1-uwu@icenowy.me> MIME-Version: 1.0 X-ZohoMailClient: External X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLACK autolearn=no 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?1750078998397301997?= X-GMAIL-MSGID: =?utf-8?q?1750078998397301997?= T-Head OpenC906 is a open-source-licensed fixed-configuration of C906, which is now public and able to be integrated. Add a compatible for the PLIC shipped as part of OpenC906, which should just be ordinary C9xx PLIC. Signed-off-by: Icenowy Zheng Acked-by: Krzysztof Kozlowski --- .../bindings/interrupt-controller/sifive,plic-1.0.0.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml index 99e01f4d0a69..4d14c5f5c611 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml @@ -65,6 +65,7 @@ properties: - items: - enum: - allwinner,sun20i-d1-plic + - thead,openc906-plic - const: thead,c900-plic - items: - const: sifive,plic-1.0.0