From patchwork Mon Nov 21 04:17:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 1979 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1383735wrr; Sun, 20 Nov 2022 20:26:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf5oEgJ70GiucR8R/oAKm0CBH8iTBFo6pnrzTKyln330G2KhsFVetCEkRoMkEtnoj2Fbm/Zc X-Received: by 2002:a17:902:e0ca:b0:187:1a3f:d552 with SMTP id e10-20020a170902e0ca00b001871a3fd552mr10316257pla.5.1669004769729; Sun, 20 Nov 2022 20:26:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669004769; cv=pass; d=google.com; s=arc-20160816; b=QGxeeGT3uUz0MCD7trbwihiC1/2aVh0Z9mfxyyf8hWBnHR3Jd+7McWtOAAxJxWzjP8 wtRtxAqk2I5jwHHqlNYZn5hvjYdMrlsLsPC531PXUWpOydanigWmAyTCIIrpNwl1PMWb 3ujRX3TthI1Grf+PuOwh2PhZ+aVY/Oh0lRdYK9A1x5S3OFSgzAn5zquuHDnN8aMjf8Xi 3PoO51zHeq4i5TgGYn4zv2Voc3La302P16XMUMMm4FQCtEPgiwiV8ciknkps76imMp+K gx4durJig5nlM7PeJkRKlIy3VepfV35BiF+M1s4OyOczIgVhC9TX3D98BbBrXLcDquVX X+gw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=GNYADZcnxx6WkArBGDcoffHOVmoS+nSPURWj3RjmA38=; b=Gezn/MCxOPndUm9Npe5y8n5bfsXledSyD/PqCPtrZXcSfbJFxlZIWqA1PanmMx0bi8 /xky1Ya9CJIFOEKoKATArRqOEqcubucQ+m6qgOfVtqZJfrSd+5X4i2DW9E1ZhhIOTjMa 2iUk2/AJZXzKrJq0/7IBiYJKc6WTD94GGdUwr4E57xpccYr5vEgrmIXzGje4Hl7xFglw dEcAKy9xA8xV0wjr7MlQVdoc8DdXsMImvejF5BjXk+ei8DS0Th1B7Mqs5yc8i97FW7+d OWWskZbrdAUwTJMMba2hVBIAQs+N9UedwEnsi0q2alrLBHf59e8kjq3B3crNFFprjHVA xX+A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@icenowy.me header.s=zmail header.b=Nvh9uIP3; 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 o22-20020aa79796000000b00536f8a6acadsi9796292pfp.2.2022.11.20.20.25.54; Sun, 20 Nov 2022 20:26:09 -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=Nvh9uIP3; 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 S229706AbiKUESb (ORCPT + 99 others); Sun, 20 Nov 2022 23:18:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbiKUESa (ORCPT ); Sun, 20 Nov 2022 23:18:30 -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 89E1E11C03; Sun, 20 Nov 2022 20:18:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669004296; cv=none; d=zohomail.com; s=zohoarc; b=G/zTHj12pak8TZy5UTM0TaeQXtk29vVSGC77Ga8410ygc1tJCudOK/ls8rSJmkdb1MuGZEbowlwiKT6L8aec4T2BnuG49jDdWmFpeWPLv5D5lXOUU/x6ieqZUOsoDAhu/JdXB5xq1Cd6GnypgtY+XUk1s2trtePXmxDFjOVcbiw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1669004296; h=Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=GNYADZcnxx6WkArBGDcoffHOVmoS+nSPURWj3RjmA38=; b=U+UG/qLW098b4/hWy9UdQq1jQzj/athmHatXK5dHYhu2ktHml1Up700LbaIL50vb0ilpB5joef/WtT9c11VE860QJxbzfg9dzzRP4B9FKX4UB3kBwNPPW6psGR9m09H+CDj5RNmOmvTsS1neC0eaJeF/PvQdGrlDuFBf1utNF1A= 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=1669004296; s=zmail; d=icenowy.me; i=uwu@icenowy.me; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-Id:Message-Id:MIME-Version:Content-Transfer-Encoding:Reply-To; bh=GNYADZcnxx6WkArBGDcoffHOVmoS+nSPURWj3RjmA38=; b=Nvh9uIP3GO3O1ZJkOo9D6kD3qIcR4T7LtgELBttovaK0uP4XVd6Dczfq2N3SXln7 enfM2yxMJkQiVT3205Z1fHt0poBujbQySD/tvNpnj9Qm7aPLs8XxKIZR7U/LRVuM2i6 gYRG5FPaz5VT1ZqOrV6DfuOpRJBRDZmp05ziKyKY= Received: from edelgard.fodlan.icenowy.me (112.94.100.29 [112.94.100.29]) by mx.zohomail.com with SMTPS id 1669004294902760.6808277013304; Sun, 20 Nov 2022 20:18:14 -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 0/3] Some DT binding quirks for T-Head C9xx Date: Mon, 21 Nov 2022 12:17:54 +0800 Message-Id: <20221121041757.418645-1-uwu@icenowy.me> X-Mailer: git-send-email 2.37.1 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?1750078345142644994?= X-GMAIL-MSGID: =?utf-8?q?1750078345142644994?= These patchset is just full of DT binding patches related to T-Head C906/C910. These cores now have an open-source fixed-configuration edition, which enables everyone to explore with them. The first patch adds an compatible string set for T-Head CLINT, which is incompatible with SiFive ones by not having a mtime register. The Linux CLINT driver, which is only used in M mode now, does not support it at all -- having a DT binding is for OpenSBI. The second and third patches are for OpenC906, the open source edition of C906. They try to add some DT binding strings for it. By the way, as we discussed in the BoufalloLab series, C906/C910 do not have so many customizable options for PLIC/CLINT, so maybe we should not add additional per-SoC-system compatible strings and allow only "thead,c900-*". Icenowy Zheng (3): dt-bindings: timer: sifive,clint: add comaptibles for T-Head's C9xx dt-bindings: timer: sifive,clint: add compatible for OpenC906 dt-bindings: interrupt-controller: sifive,plic: add OpenC906 compatible .../bindings/interrupt-controller/sifive,plic-1.0.0.yaml | 1 + .../devicetree/bindings/timer/sifive,clint.yaml | 9 +++++++++ 2 files changed, 10 insertions(+)