From patchwork Sat Mar 27 11:57:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1459164 X-Patchwork-Delegate: uboot@andestech.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=MPhu/FBo; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4F6y5W75D8z9sRK for ; Sat, 27 Mar 2021 22:57:51 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D897A8285C; Sat, 27 Mar 2021 12:57:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="MPhu/FBo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B5CFE8289B; Sat, 27 Mar 2021 12:57:46 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F15B582385 for ; Sat, 27 Mar 2021 12:57:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-pg1-x533.google.com with SMTP id 32so6379926pgm.1 for ; Sat, 27 Mar 2021 04:57:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Jl0DY4Vo81eewlnnSa9qpeJRPP6XdpJ9wa3szo0wLCM=; b=MPhu/FBoih50Tet0Fy80iI5ZLHHeQhO9zP5iuIWoFP+CfZvLbK/6VIGeG7DW+zZqmA swa5MgzXtmvS7y4u9QrDPpcHOPKVIWqr6xwCqWEaYEu+Ob9ydpHElBLKVHnd9NkHN6IO GM2acQM92BzoJ0zRQJbMHa+R+BQyUzqKeTDIRnQ1Bm2XKi5ovy9GNu5KGqGOM6neflUS uTPZFpNT4Z66nK0gUXa+ETVin/3r1XSF392CEA7gD3CK8JqD09WZEW+TTDdOJVTRHnTM y4Ef3JV3qOBL4Hp/IowweWDKRR+7ShZbxzprvLadgd8k3x+RnDf/kDV0H4sZCMlp2JFq kPZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Jl0DY4Vo81eewlnnSa9qpeJRPP6XdpJ9wa3szo0wLCM=; b=NA0t5opkCeVLLk5nx1PZzcwd6LSuSnaOSPbTNykD+Gg8RsJUZDyArsUlsG9nA490wi ZfGaXPmFva9CwAiRrTyqqsQx4ICNZJqwg79J66hvrFQTCl3Ez/+BcsQmtZEw+pixm+6x fPLTyjMK15AyeK0OmTioFz8yxzHblWOH0FLiNsAur7t1Txo4NO1NQhw0D2hqYvnvTEIO 6VahrO32A2pP92m33+9dHHIPZDK1PsXcULkguZ604UKcj0+wKcWNB1q7+GHGpkt+QzS0 16IK54dXOAwcUXlxHeeZK4JTXfXtjsRG9DUTEPh54X2I0kyR1QDe5NyRDpJhj+PBR0An oq1A== X-Gm-Message-State: AOAM530FNwyPjSJwLlmiB+B8MOI/e9ZqyiFwbnxuzvImlp9pIDiVdw6c 8mtwxqifLSpO1Ov9rjwP2nA= X-Google-Smtp-Source: ABdhPJysUQcsCIXsQ+OXTHs1bsUK05P7s6mIFO7DGOchQV5R3KjNtPY/GVaD8zhQ0Vfc8QgR/nt0fg== X-Received: by 2002:a63:5464:: with SMTP id e36mr16405232pgm.223.1616846262428; Sat, 27 Mar 2021 04:57:42 -0700 (PDT) Received: from i9-aorus-gtx1080.localdomain (144.168.56.201.16clouds.com. [144.168.56.201]) by smtp.gmail.com with ESMTPSA id y9sm10912602pja.50.2021.03.27.04.57.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Mar 2021 04:57:42 -0700 (PDT) From: Bin Meng To: Rick Chen , u-boot@lists.denx.de Cc: Bin Meng Subject: [PATCH] timer: sifive_clint: Support the official clint DT bindings Date: Sat, 27 Mar 2021 19:57:35 +0800 Message-Id: <20210327115735.27743-1-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean Linux kernel commit a2770b57d083 ("dt-bindings: timer: Add CLINT bindings") adds the official DT bindings for CLINT, which uses "sifive,clint0" as the compatible string. "riscv,clint0" is now legacy and has to be kept for backward compatibility of legacy systems. Signed-off-by: Bin Meng Reviewed-by: Leo Yu-Chi Liang --- drivers/timer/sifive_clint_timer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/timer/sifive_clint_timer.c b/drivers/timer/sifive_clint_timer.c index de7b4b95c9..939b99d937 100644 --- a/drivers/timer/sifive_clint_timer.c +++ b/drivers/timer/sifive_clint_timer.c @@ -54,6 +54,7 @@ static int sifive_clint_probe(struct udevice *dev) static const struct udevice_id sifive_clint_ids[] = { { .compatible = "riscv,clint0" }, + { .compatible = "sifive,clint0" }, { } };