Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2067389pxu; Fri, 18 Dec 2020 04:55:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQoNneY71d4dKPNZd777Ul83X3zHU1/GDf3ebN5Jbh54VQdRqvUfZc/yn76uf8v2X5DFAj X-Received: by 2002:aa7:c2d8:: with SMTP id m24mr4205102edp.300.1608296129538; Fri, 18 Dec 2020 04:55:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608296129; cv=none; d=google.com; s=arc-20160816; b=cWkjuTVaO8uNqnhWO8Bx0qX9KhBckYDIEqKqvbAtVSbF+y6PhHonsGBO0qJPviNj8h 2ubNKV1gOJ6ZyAE6iQ93VxfziTbTD8kRcKJo2qFIDh6UcwcM9PqwkC7/iuLuRs8SobLD Bzkbqb9CpQlWO04BkPYhsX6HLcij+fr01c4HDtkXwrczf4/G8wt3wb9AjRkNNd0Pc5BQ By5HBsfbj+wkMSlDi6P35/EnLq8tU7hQMhgwpMT/TBvuuMZmX2nBrGUOX44cIfaJTyZ0 ZRUjxLfP1N/RESdsxoqnLYhELzi+2W72CJMA8EqegtS/d//b+fypYGI1zUjy4nOhonAU E3pw== 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 :message-id:date:subject:cc:to:from; bh=52u3eDvMXP1ZI1WncPweKS7CwCUkMGzrSTEaeDMkPk4=; b=I4s5OmNhPA1QyxHpZe8qinulgeWPIU2jlNqYPKx/DrY5ucKhhkF1DDI7FxdSTgFvH8 lRGgXhAr1b2YNUx/Vw16sb/fNpZoAuKnvBg8cgXFzqzCmDOlQsNtp14jc+oGgX95l7qx amtz8Q/Kn7FoJjMOvZNKd3g0Hu92NVNfv5ISXUSfrFaPq35jU5ZC3DUd4l7QReFmSi3z aiDjg92Mrt2qvGak4LhulFjz80oxQOd1nd4NNfQ2r6qGjImCRu6J4+97tgUIwtnImt03 TmEAXpPGQnNm7BVvSKiCI76TTR4qcwMz7/xy6uurthDlZMxhUmhqoPRIQCP2Ddk3HvaR I5lA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r26si6114994edy.318.2020.12.18.04.55.06; Fri, 18 Dec 2020 04:55:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726571AbgLRMxj (ORCPT + 99 others); Fri, 18 Dec 2020 07:53:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726540AbgLRMxj (ORCPT ); Fri, 18 Dec 2020 07:53:39 -0500 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 730B6C0617A7 for ; Fri, 18 Dec 2020 04:52:58 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by baptiste.telenet-ops.be with bizsmtp id 5osu2400Y4C55Sk01osuC8; Fri, 18 Dec 2020 13:52:55 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kqFFe-00Bgl9-IK; Fri, 18 Dec 2020 13:52:54 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1kqFFd-00G0f3-VQ; Fri, 18 Dec 2020 13:52:53 +0100 From: Geert Uytterhoeven To: Luca Ceresoli , Michael Turquette , Stephen Boyd , Adam Ford , Rob Herring Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] clk: vc5: Use "idt,voltage-microvolt" instead of "idt,voltage-microvolts" Date: Fri, 18 Dec 2020 13:52:53 +0100 Message-Id: <20201218125253.3815567-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 45c940184b501fc6 ("dt-bindings: clk: versaclock5: convert to yaml") accidentally changed "idt,voltage-microvolts" to "idt,voltage-microvolt" in the DT bindings, while the driver still used the former. Update the driver to match the bindings, as Documentation/devicetree/bindings/property-units.txt actually recommends using "microvolt". Fixes: 260249f929e81d3d ("clk: vc5: Enable addition output configurations of the Versaclock") Signed-off-by: Geert Uytterhoeven --- There are no upstream users yet, but they are planned for v5.12, so I think this should be in v5.11-rc1. Thanks! --- drivers/clk/clk-versaclock5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-versaclock5.c b/drivers/clk/clk-versaclock5.c index c90460e7ef2153fe..43db67337bc06824 100644 --- a/drivers/clk/clk-versaclock5.c +++ b/drivers/clk/clk-versaclock5.c @@ -739,8 +739,8 @@ static int vc5_update_power(struct device_node *np_output, { u32 value; - if (!of_property_read_u32(np_output, - "idt,voltage-microvolts", &value)) { + if (!of_property_read_u32(np_output, "idt,voltage-microvolt", + &value)) { clk_out->clk_output_cfg0_mask |= VC5_CLK_OUTPUT_CFG0_PWR_MASK; switch (value) { case 1800000: -- 2.25.1