Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5237512rwb; Wed, 17 Aug 2022 13:46:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR7b05amrIclvx/nZ6sn9ohAZ761m/zYYX+8oZ7rMU5DQ2oWCVOZxDJaI0RDI7qUdBduTvkI X-Received: by 2002:a17:90b:4f42:b0:1f5:6976:7021 with SMTP id pj2-20020a17090b4f4200b001f569767021mr5686580pjb.30.1660769216750; Wed, 17 Aug 2022 13:46:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660769216; cv=none; d=google.com; s=arc-20160816; b=c7w6S+exmagxbHyjAFTcRm0bz8ekJk5WLVzpsVYABSqBTj1rkk1fJXROyypuH7vl2b 5UtqkK+i7eT7eQeHp+Ltlal3bovksOteqLgmIC+hIfvHCVDfOW/4o3rlcglFZnB6YcYr NFhSVyXL9E5fmClhcBZFNtxfCubz5PE2PLE5GSTRC0lbKdmooGA97wq0iulstWM4MqqR XPm957woryVy1jQceMuUIq08uf85PuKBvwsJRVuUb5cpqB2SrKmtTANWz8xtcvYFG202 wmHf4AGTrd6DZNxIR9hvkiwFtu2iBGG5Y8yU80+Vz19puu0i+iSQGmqmExVMhcv+5aH+ NHHg== 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 :dkim-signature; bh=1R6UrF0Wsbj6EmcSlPWRzTAwonFDames2nGAVyANWlQ=; b=uSCq/bSotpzPoBE3o9khoZwIdgvwxHQ3KRkr+D0doYiG6wT9BDtSznKfBCX5xudfSk KQ71xPT9gRF1AgXH+R0RMcI5Iq8uH8Aj7VfwcFBbvNKS+1WNiAfz+emmnW4xrcOu9cmj tot7rQUm8ytaa0i55oaQX+mtOhzTqcNZQT9wlWfpPqJEtfkNuPi8aE3l+b4pjhPGQpTn HWGi9by2mnE2jKHQ5iiXTiwrBaZH2/8EqfpCMlYWlQkMJHWi6OGuB+OZuFYCEyV1fbrd FQVirGBfUnMVdlJ1x5X2B8fAFyjAVUma4bO2aSQ0CY5/g/Gb3E0LlVhnVRkgxNgRQcAz avvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=PwR33To0; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id me12-20020a17090b17cc00b001f559b2fd12si2914059pjb.138.2022.08.17.13.46.44; Wed, 17 Aug 2022 13:46:56 -0700 (PDT) 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=@conchuod.ie header.s=google header.b=PwR33To0; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237343AbiHQUMl (ORCPT + 99 others); Wed, 17 Aug 2022 16:12:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240665AbiHQUMk (ORCPT ); Wed, 17 Aug 2022 16:12:40 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29A32A61DF for ; Wed, 17 Aug 2022 13:12:39 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id bd26-20020a05600c1f1a00b003a5e82a6474so1444501wmb.4 for ; Wed, 17 Aug 2022 13:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod.ie; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=1R6UrF0Wsbj6EmcSlPWRzTAwonFDames2nGAVyANWlQ=; b=PwR33To0N5ui/sX2vHA5vGOkVP5CwIp7cjsA3PN3/adE8gVsnwKwcA8MYb7gioCksg ahw0LIbslkzwkpF5jej+bp4Yf0eOt17d57rj6NZDdo2SwIe+S6QwHLjSHV2P1MzSZIBc SYx4JQvjJaj8YXXwnSVR4gMkDl8Q0JCp8oTckDnqWMsTdK5gI0pMdfXPPzjOTaFzzLMQ 12YILMe1gQQ55rA8mLmVO7Cvz9oVG8YaFarhPLW/UC6wwUTSAdaNVhcSQfB/LksZ2ARG 6gYZLDZVb5Wsbi12Ll5V36MnebMaEECTDL38Z4MC7mvuhjAl2WJjonXIZ/KRs1DxNILj o4YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=1R6UrF0Wsbj6EmcSlPWRzTAwonFDames2nGAVyANWlQ=; b=Lvdb/iUMqW0JALRWzPVU6Cr/wSoI8soEoPR1WYCI2bPzY1GmklnFGYpWgquOHmmLfO tPoVAu1vR5nWC8p7u13a7Ez40keqGHYLPJoSoFL+nYUC6JcNgz0OEKguvvz/YFqwtHbC F2AM42BcFnXLyniHYD6YStR0HN1qYGw7IyHx/vHC1AQmN5oIliN/CkYqoRj7DCGexbpc 2cXS7dVSoqEtzhumQmUP9bvpXvRHbYlSYBuHRquMai+UIHWlDIdSUo0/qiZZP0KwKjWO 58LoFIIPlCnrYWRvR9uz2pimDCVrr7jjOaFlcauLMfxrUMbPtDBphM9Z1j5MZMhpI5FE iSNw== X-Gm-Message-State: ACgBeo1o2IiOvoyTC4Pgy3cVZX5H7imdcOw0lX//zUi+gwzf/XEEB2Yp LwCdy9+cOw8qA98kFhkWqea/Xg== X-Received: by 2002:a05:600c:4f8f:b0:3a3:4612:6879 with SMTP id n15-20020a05600c4f8f00b003a346126879mr3121447wmq.84.1660767157797; Wed, 17 Aug 2022 13:12:37 -0700 (PDT) Received: from henark71.. ([109.76.58.63]) by smtp.gmail.com with ESMTPSA id i15-20020a05600c354f00b003a5dfd7e9eesm3029371wmq.44.2022.08.17.13.12.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 13:12:37 -0700 (PDT) From: Conor Dooley To: Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Albert Ou Cc: Daniel Lezcano , Anup Patel , Conor Dooley , Guo Ren , Sagar Kadam , Jessica Clarke , Andrew Jones , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, qemu-riscv@nongnu.org, Rob Herring Subject: [PATCH v3 1/4] dt-bindings: timer: sifive,clint: add legacy riscv compatible Date: Wed, 17 Aug 2022 21:12:10 +0100 Message-Id: <20220817201212.990712-2-mail@conchuod.ie> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220817201212.990712-1-mail@conchuod.ie> References: <20220817201212.990712-1-mail@conchuod.ie> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 From: Conor Dooley While "real" hardware might not use the compatible string "riscv,clint0" it is present in the driver & QEMU uses it for automatically generated virt machine dtbs. To avoid dt-validate problems with QEMU produced dtbs, such as the following, add it to the binding. riscv-virt.dtb: clint@2000000: compatible:0: 'sifive,clint0' is not one of ['sifive,fu540-c000-clint', 'starfive,jh7100-clint', 'canaan,k210-clint'] Reported-by: Rob Herring Link: https://lore.kernel.org/linux-riscv/20220803170552.GA2250266-robh@kernel.org/ Signed-off-by: Conor Dooley --- .../bindings/timer/sifive,clint.yaml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/timer/sifive,clint.yaml b/Documentation/devicetree/bindings/timer/sifive,clint.yaml index e64f46339079..bbad24165837 100644 --- a/Documentation/devicetree/bindings/timer/sifive,clint.yaml +++ b/Documentation/devicetree/bindings/timer/sifive,clint.yaml @@ -22,12 +22,18 @@ description: properties: compatible: - items: - - enum: - - sifive,fu540-c000-clint - - starfive,jh7100-clint - - canaan,k210-clint - - const: sifive,clint0 + oneOf: + - items: + - enum: + - sifive,fu540-c000-clint + - starfive,jh7100-clint + - canaan,k210-clint + - const: sifive,clint0 + - items: + - const: sifive,clint0 + - const: riscv,clint0 + deprecated: true + description: For the QEMU virt machine only description: Should be ",-clint" and "sifive,clint". -- 2.37.1