Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2071418ybg; Sun, 27 Oct 2019 10:27:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzeEyHZRtwkZoYwQjhQwQikb6y5DeVHhGx26hzt+W8MBkNR4+f2hTZuPQQjMSSozbAa8md6 X-Received: by 2002:a50:f70d:: with SMTP id g13mr15511061edn.172.1572197230235; Sun, 27 Oct 2019 10:27:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572197230; cv=none; d=google.com; s=arc-20160816; b=FFN7lL8lV3DvXcw0BIqLhdcg+gwi1sIYj8arHJOnYGB+IftUqpQM1s+uwWHpmrI6lU /PVlA/+7YB1OecS/1YWwXvkYxY7tUIeHst3pJxsDmwr2IjGzdgHdv6t6XFO8LAn3pwjK E2KfSiJfF5oRerH65ORwriJLx8YWYI1JQ2QWuSVj7HhF152Rc09cvlL5HK5lmArztnNv E4NdSR1qBWs04pAb6kY2oIC5v0IxPD0tf5CYK7JLcNLhBMtQ6zg7HJKZmpKygWC4BEaX l5UNhB4+bbTUQ/VIPViTeqWF7Tx01jmyHP1Hn/0JelasJQssL1nJLXKkRU+TSkXqHDms QHtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=27lV1jSL1pOmY52iA2rX2+BpQ+8jMOYRMeA1UyL2hfM=; b=pZtea1eBm117BEOzm1FIoPz8djxHwrpvA+KKo8ST8OStNkZ/7E90ad60oqpp0GKBpt +4JL0GQ5+fs1CPp2JDtjU9AsrDxgHHswPvYXTUEy3G59XsJv/WOJOy6x4Zd/Tf4Cc0tB +GyOcGOnZUvm89ipultnrOU+/TUnKRfDpx83n82MdP47Jgme+STyLJkUDFi5gDJJuLGB k+z2kokv2iLP8opZOgAv23TMTFF3yxlVtwHE6ZWDEflktdoovGbdlMgH7JUa39bIlYOJ KXk+3C+mh45aC1QPuBr/FWQZ6vexU8XAJZ2247ddqeczNdhKtdG6Pbv9+LvrF8iHeL64 lsqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=AoVinyap; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f6si4912124ejl.293.2019.10.27.10.26.45; Sun, 27 Oct 2019 10:27:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=AoVinyap; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727785AbfJ0QXw (ORCPT + 99 others); Sun, 27 Oct 2019 12:23:52 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:37628 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727467AbfJ0QXr (ORCPT ); Sun, 27 Oct 2019 12:23:47 -0400 Received: by mail-wm1-f67.google.com with SMTP id q130so6700281wme.2; Sun, 27 Oct 2019 09:23:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=27lV1jSL1pOmY52iA2rX2+BpQ+8jMOYRMeA1UyL2hfM=; b=AoVinyap5keVi8HvLp0UH+/Ax8BHjP5n/rdFXmYx38j237nX+kj3HaXZQ1by5mX220 tbhKnbprieqkKl5RGbhI08Homxfu6hHLXTSXHVGCQAfIyb5MFCeV0SDRXAwfghtEAi7M uysvJW9p3hDN4TyOCkRWcCp0QvFzNBSkRtqcFroX/xV9y36BE6q8NW7cLFvv5f4THy2j ajNqdk3d+JaAnDtXSF7gqtE/V/uSWkVPYL8d5N1eCj+diuwnUhNd76H0Hw6o5YKd+KLU lyjsq17tzYK6Nez7LyXI73gX9Rr/GcgMjNIY72tocZ8x9J5g8xNeVhNdd++HXAoltdD6 XDVQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=27lV1jSL1pOmY52iA2rX2+BpQ+8jMOYRMeA1UyL2hfM=; b=FG8bv6Syl78DE9ozu8mxL8LrJU2kh+dX66JHbmB93TqEUS4VE+Kj6kbU0y6RdAPmsC RnfXSqB5Cz7SkZhyI/09hJOi3II4nvMWNBsf/eFz/9oKZ0VfsNrlVjoI//3MRj8v4bMM 3p9UzoVSTD/ZyXzSQcKUwxlz6kcCcNgr90XjD3KnK0u+Rh6PFVhx3qSJvdeR/BKVEpqT HhijPNH7hHunQEa32WtFciIifCw8pYJQXbCaLK6ru0sTHI1FQCpycgzAWvEYWrMGvTPw adojgOdq8RD7hdiVEuH9ontlP6QkBqY2vfRvyi+Wp/wyJYBNkAMm/Fat1yZHj/VEQRSv yqaA== X-Gm-Message-State: APjAAAXxC0U8qcf4KETHyIqIyPfbl+BYUESoTt+eVOu9EjM8KUBY8upD iF/yeBWMwmsp9igfO8/s7t0nxJFfSIysAw== X-Received: by 2002:a1c:1fca:: with SMTP id f193mr5079801wmf.173.1572193423782; Sun, 27 Oct 2019 09:23:43 -0700 (PDT) Received: from localhost.localdomain (p200300F133D01300428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:f1:33d0:1300:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id 1sm8243299wrr.16.2019.10.27.09.23.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Oct 2019 09:23:43 -0700 (PDT) From: Martin Blumenstingl To: narmstrong@baylibre.com, jbrunet@baylibre.com, linux-amlogic@lists.infradead.org, khilman@baylibre.com Cc: robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, Martin Blumenstingl Subject: [PATCH v2 3/5] clk: meson: meson8b: use of_clk_hw_register to register the clocks Date: Sun, 27 Oct 2019 17:23:26 +0100 Message-Id: <20191027162328.1177402-4-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191027162328.1177402-1-martin.blumenstingl@googlemail.com> References: <20191027162328.1177402-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Switch from clk_hw_register to of_clk_hw_register so we can use clk_parent_data.fw_name. This will be used to get the "xtal", "ddr_pll" and possibly others from the .dtb. Signed-off-by: Martin Blumenstingl --- drivers/clk/meson/meson8b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/meson/meson8b.c b/drivers/clk/meson/meson8b.c index 70ac6755607e..306b809deb49 100644 --- a/drivers/clk/meson/meson8b.c +++ b/drivers/clk/meson/meson8b.c @@ -3696,7 +3696,7 @@ static void __init meson8b_clkc_init_common(struct device_node *np, if (!clk_hw_onecell_data->hws[i]) continue; - ret = clk_hw_register(NULL, clk_hw_onecell_data->hws[i]); + ret = of_clk_hw_register(np, clk_hw_onecell_data->hws[i]); if (ret) return; } -- 2.23.0