From patchwork Thu Nov 29 16:45:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10704901 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CF32D14E2 for ; Thu, 29 Nov 2018 16:45:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BEB9F2F4D3 for ; Thu, 29 Nov 2018 16:45:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B13352F685; Thu, 29 Nov 2018 16:45:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B7B0B2F4D3 for ; Thu, 29 Nov 2018 16:45:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wAa6F1EqkzxBsDB12TdHF35zRLvFM7Dv6AfR//zSyp0=; b=OKkMJKEI7Xrkff ZOM88hcPWL9Irx2vOchoeEGDPtzr0WcJT13nGPjt2ugKMs9oveloDhav3A29wefs0O5AMm1P98KK9 9U35h0QOdz6efBa3DQw85Oq+0BiGUJixlmEFix/EbJTEbR/BL4S4J7WjZiJ3WuSDiQBs1HW1DeJGn z0amBQ+oQWalKk6jvnCdGW5CjbZoX63pg4ze4sn1qLXazT/316BB2mBMf5Vr/jZETpHjPqfnlNlJ6 rSRmuk+rEiAT0kGT24PObAy1OjYo9mLZJ0LDEsjqHK+kxokVxeTjO0Ivkqj7GKt/5fY1bpyLJzCSn vlmnklGVC8esNvn2N7PA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gSPRo-0007rR-T0; Thu, 29 Nov 2018 16:45:52 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gSPRj-0007l4-7E for linux-amlogic@lists.infradead.org; Thu, 29 Nov 2018 16:45:50 +0000 Received: by mail-wm1-x342.google.com with SMTP id c126so2943472wmh.0 for ; Thu, 29 Nov 2018 08:45:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=EtM4PIazhY07dM0/SaEEWQPxpJFOk9DHFjeuMp17cAY=; b=dp6tBqUavwos7KZ6mfDXbkfB1XygBEgZvGmxP56Gt7XJvFVMSHA+Hbmc218c34qykK mnKFwjX/LAeiZ8J7StjT1l/MyQY9VfNWCZGBnu8zGb8/1vxZe0vWyibf5kYKvQ3s8Tb3 oUf9Snoo6m2eXkvB3ttsuCl72Gh5NJemwmlpHwWSL7PT+Oo7XLRwYJd6+W4dn+ERcgn8 LCjmmDwmH55yKn9YQp0uQqs43FJJ9JA47QKSpvSGPYBImCVyOyAGS1/bZJh7DtYDdXu5 UMBpD7k8n+y7QVVX1qyERYjExlapvkTAYdT+LawMVBdRxpeN6kCuQDbCLOgnYzD/lIzG sX+A== 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=EtM4PIazhY07dM0/SaEEWQPxpJFOk9DHFjeuMp17cAY=; b=hnkVIJaYm0vIiEvUyEq4r4iXVkIeqrdKyqaFk1I8P6nJpkFR0ldno1Ss10Ok/+g10k dmMu32nLYj8IuPtQ0F68LcQyL5+j1kGj4SdrmnA+F8iN6e1NFx9GPA38g69QL6NInXVO hUO1uP5firdFtGXLsUm5Zw6zkUFH3PDDKs4qYX5t7Zfb1nt8DM1e71/V6SO/Awl7AS5Q Agz5DI0RTgjuiGvRQXzL5HbtgwbiwY8mk/m3b5CzRHsA6zvW8+/UD1VORjin8SH6Z6Vi 3FpoQOmDA1COfyIEL4V/oqSQ/QTcN6aFC0WkTGvn0M2f1iz3J5C4xqQJNkhtgChGlYcn 8BtQ== X-Gm-Message-State: AA+aEWZAw4P8ROYA4zkt/nimn49PEFlxCZ/qkZiOU8jEnObA3et6OfPl L1t6Zwy+lje/pD1pfZnOSo/ZAQ== X-Google-Smtp-Source: AFSGD/WJaOfuutDvzzbZ0va/pIvGxVLGX5l0HSRmlnvR/hCkFtrHbXkYMSJpeus8Ic5I9RR/omDFMw== X-Received: by 2002:a7b:c44d:: with SMTP id l13mr2463397wmi.144.1543509935558; Thu, 29 Nov 2018 08:45:35 -0800 (PST) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id d4sm2721909wrp.89.2018.11.29.08.45.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Nov 2018 08:45:34 -0800 (PST) From: Jerome Brunet To: Neil Armstrong , Carlo Caione , Kevin Hilman Subject: [PATCH 3/3] arm64: dts: meson: add clock controller clock inputs Date: Thu, 29 Nov 2018 17:45:24 +0100 Message-Id: <20181129164524.18670-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181129164524.18670-1-jbrunet@baylibre.com> References: <20181129164524.18670-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181129_084547_526734_F75470A5 X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the clock inputs of the clock controllers Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 3 +++ arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 3 +++ arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 3 +++ 3 files changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 5f512c91471e..f2e9fbfff4ea 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -1089,6 +1089,7 @@ clkc: clock-controller { compatible = "amlogic,axg-clkc"; #clock-cells = <1>; + clocks = <&xtal>; }; }; }; @@ -1334,6 +1335,8 @@ compatible = "amlogic,meson-axg-aoclkc"; #clock-cells = <1>; #reset-cells = <1>; + clocks = <&xtal>, <&clkc CLKID_CLK81>; + clock-names = "xtal", "mpeg-clk"; }; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 6796d250985a..3322da6da962 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -299,6 +299,8 @@ &clkc_AO { compatible = "amlogic,meson-gxbb-aoclkc", "amlogic,meson-gx-aoclkc"; + clocks = <&xtal>, <&clkc CLKID_CLK81>; + clock-names = "xtal", "mpeg-clk"; }; &efuse { @@ -334,6 +336,7 @@ clkc: clock-controller { compatible = "amlogic,gxbb-clkc"; #clock-cells = <1>; + clocks = <&xtal>; }; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index ed278097825b..223f34959844 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi @@ -260,6 +260,8 @@ &clkc_AO { compatible = "amlogic,meson-gxl-aoclkc", "amlogic,meson-gx-aoclkc"; + clocks = <&xtal>, <&clkc CLKID_CLK81>; + clock-names = "xtal", "mpeg-clk"; }; &gpio_intc { @@ -284,6 +286,7 @@ clkc: clock-controller { compatible = "amlogic,gxl-clkc"; #clock-cells = <1>; + clocks = <&xtal>; }; };