From patchwork Sun May 26 09:13:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Walmsley X-Patchwork-Id: 1105532 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=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=sifive.com header.i=@sifive.com header.b="AlLB3XSF"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45BZCq3NRRz9s9T for ; Sun, 26 May 2019 19:13:41 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 9C928C21FB1; Sun, 26 May 2019 09:13:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id D3FEDC21DA1; Sun, 26 May 2019 09:13:33 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 4D877C21DA1; Sun, 26 May 2019 09:13:32 +0000 (UTC) Received: from mail-it1-f196.google.com (mail-it1-f196.google.com [209.85.166.196]) by lists.denx.de (Postfix) with ESMTPS id D4AC6C21C27 for ; Sun, 26 May 2019 09:13:30 +0000 (UTC) Received: by mail-it1-f196.google.com with SMTP id h20so22480170itk.4 for ; Sun, 26 May 2019 02:13:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7rq4csnrh1KXJUTAKaclMG1g0/R+8XHnnoS313o8FSk=; b=AlLB3XSFhkuRJ7DR3i+xESzdYzvIG1pFY1VrsoOydt3+iQv0xzeWAeexOvpMezwqGs l62PUCKf1gokE+MYfe6Pubewn4qaj9PMLXQH5IC3mUz236KlrIzoQ4vah3AWUxQxg0WS OscTBfM9PJJD2QUkxDPXe3bXHy325Qzjr3SZYb1syFxu7xDFfLOhGL82d1jLSf0qHk4F HT6bGmvRrta4ZtE4OZshKaz2C/9SdVBx5RQGBOSXHaYFAJJjhQjkgxP5p9zU3+5r62er DnKe82ZRcXWEe3m08Fyt+vjtwe4cFjW8rLJSSQcTn7a41YjsVGoA6lYl91D1WHhxlcOH bEsg== 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=7rq4csnrh1KXJUTAKaclMG1g0/R+8XHnnoS313o8FSk=; b=pcJb3f/JQ53teVhOefmmQDElxcFngfYCur+5R2rcaNpSqyj0vd+Lpi6WWxAp6SEx7J fmMKTuiLkG227zqWdz/blwf1zLCyvVtOFKBuJGsFKcC8BiQi91iHz7Mu+RBI5Z8zHQCA MfUA0kbooNAkSadYocZtIgRP/81KhftbscD9ohHZeiO7T935MoOmnGWFi5YD1Bc1W+i3 DphQj65+2YTf6lxdK/xHnTOLZ5QTnWrWVSASpM0tNJ0Zmn4j7qz0ce/eqZMjypzhn2wp LFc0atieUVuEWFefJvnIdVaqk8BsyZRfjFoP9mkqIoILL7lAZgZgtzdm+yTn19WDstDw 2nXw== X-Gm-Message-State: APjAAAUNPm8cKuZUF+AG8TvrBZFVYSEeNC+ka4wyBq+iuVQJD4G5obth Yewhj0jKUqcKcmwGLZ6xGtqVTqdNM0c= X-Google-Smtp-Source: APXvYqykDQ6/Vc+qtpDVrvDm/+R5Z8JKbz0xqpTx6ak1K9jNwxZBRml/LKmE2XCoK4jgr3lnKFoocQ== X-Received: by 2002:a02:8801:: with SMTP id r1mr10785340jai.6.1558862009197; Sun, 26 May 2019 02:13:29 -0700 (PDT) Received: from viisi.lan (c-73-95-159-87.hsd1.co.comcast.net. [73.95.159.87]) by smtp.gmail.com with ESMTPSA id 8sm2586366ioe.1.2019.05.26.02.13.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 May 2019 02:13:28 -0700 (PDT) From: Paul Walmsley To: u-boot@lists.denx.de Date: Sun, 26 May 2019 02:13:26 -0700 Message-Id: <20190526091326.31141-1-paul.walmsley@sifive.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Cc: Alexander Graf Subject: [U-Boot] [PATCH] clk: sifive: fu540-prci: align primary DT match string to the DT bindings X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" The U-Boot PRCI driver for the SiFive FU540 uses an out-of-date DT binding string, since the U-boot PRCI driver was upstreamed before the mainline Linux kernel PRCI driver was finished. This means that the U-Boot PRCI driver won't probe when used with a DT file that is aligned to the DT bindings and the driver in the Linux kernel: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/clock/sifive/fu540-prci.txt#n7 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/clk/sifive/fu540-prci.c#n610 Fix by aligning the U-Boot DT match string to the string that's used in the upstream DT bindings and the Linux kernel driver. Signed-off-by: Paul Walmsley Signed-off-by: Paul Walmsley Cc: Anup Patel Cc: Atish Patra Cc: Alexander Graf Reviewed-by: Atish Patra Reviewed-by: Bin Meng --- drivers/clk/sifive/fu540-prci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sifive/fu540-prci.c b/drivers/clk/sifive/fu540-prci.c index 2d47ebc6b1..d79d1a5351 100644 --- a/drivers/clk/sifive/fu540-prci.c +++ b/drivers/clk/sifive/fu540-prci.c @@ -589,7 +589,7 @@ static struct clk_ops sifive_fu540_prci_ops = { }; static const struct udevice_id sifive_fu540_prci_ids[] = { - { .compatible = "sifive,fu540-c000-prci0" }, + { .compatible = "sifive,fu540-c000-prci" }, { .compatible = "sifive,aloeprci0" }, { } };