From patchwork Thu Nov 29 16:45:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10704897 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 F175B13AD for ; Thu, 29 Nov 2018 16:45:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E12082F3B8 for ; Thu, 29 Nov 2018 16:45:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D4EAC2F622; Thu, 29 Nov 2018 16:45:48 +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=ham 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 88EDF2F3B8 for ; Thu, 29 Nov 2018 16:45:48 +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=ZqANGWa7McOHBE1pZskEwQr7WN/3ROeKg9UYY8vONdM=; b=lmPi4KN8EVdcly EW54hMnliDtKgdMCakE5fMKwHuUEBwS+LOUPqYyZSbznTApXBh5/lAidwvwe4cHdeij3WVo7wZLBi i7gHW6LgF2b3Qb1/YMjsYHQF1OW7OihSsuixblChGKFa5+ouIa7RGwIIK1NCJauN/LgLmgSr92JBF AQPrtO6QQo8NRjqHfgop2t8PuJ/K5bh32yiioTsbn1SfMcFw4CW5yuYsNhbu+s1Ceo0lwKiRoGIMF 1bAGNrzbRJ9Ot1drUGvq702PDmKsEj1VF00A7tb4v+L7QUroI4JdxF0J0s3f+7tD+p0afHrHQQLbW 4SREo7u1vtbEMa/5zqSA==; 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 1gSPRj-0007md-G8; Thu, 29 Nov 2018 16:45:47 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gSPRf-0007kz-BR for linux-amlogic@lists.infradead.org; Thu, 29 Nov 2018 16:45:45 +0000 Received: by mail-wr1-x441.google.com with SMTP id 96so2603885wrb.2 for ; Thu, 29 Nov 2018 08:45:34 -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=iLou7dz6KpGeOcdPws8u1aBOfWLU1UkVe4gPfxDCfrk=; b=P1WlIP5Kc76QrXy9Wia3bb0nq5VTZ95vXfTAPbGbh+Spe23mkzMStCbqfraD7/eYRn kyxdINTXLrCLmXiQS//jVkrRP4FWTY4NMSLzQtIVETV7W3KDw/sq3jHxB7eEqUEA2ZYP gyaMbMqR7eBouti0krrLtdy3DNzYsoNZ2iazlpIMzMj2oGY+dQIXnADQwnxaPMhz72hL 1FyHYz3WLHE60GfSm3e3FWvN78k/Xybq1GErXWmFuW16zFHQNnYOcsRMova2pDrojQXn qtCLDT7nPczexkEIcHc2gAM1hm+b125Gfpb78zTLQJbM3GkEiqShUBUP1mX/LHu1+N4r qrzw== 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=iLou7dz6KpGeOcdPws8u1aBOfWLU1UkVe4gPfxDCfrk=; b=CpIvDdt4hqdQ+dcLlFhYGGT6BHXpH9ZGt9x47Ul8KCjWzNqh2s2dTH6/UNCzQj0517 i70iWxKV+CU7S7xGc4ZkncRww0sy8HyQesve0g8MjUJUuOy+kH1l8lAXYlvXyeOBjgGz qjCeWHQrxOuw0APTBbDzjIdHRT1LaN10Z9vFXiJQAEm7JW54EPnAYMfQXjXTjtmnM700 l+1/Uviau03x2OxKwqOaTJMC2m7mU6y4Kz9n8W6iganVqwfxPcFrn580SE0UQSuG475N KGxNFA8H17Cg0hXyyujir1mmoPdXeub1GGW+XzVdx0d6DoJz7KicaI9fv2MAguRZm0H4 OhIw== X-Gm-Message-State: AA+aEWachIj5z4gPp4+6Nq5mO6oB+TeL7wJK5NTkaxTgmqUJ0y1hna9L GD2a2LYvK5eXv4K85gJuIu8+SA== X-Google-Smtp-Source: AFSGD/XJVzqD8Bevf0E6VAajZr7dxenfYwYpoeWVVK3O2YYBunsucT3udfZ72nG+0NPadhfr17Ua0g== X-Received: by 2002:a5d:63c3:: with SMTP id c3mr2053402wrw.215.1543509932876; Thu, 29 Nov 2018 08:45:32 -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.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Nov 2018 08:45:32 -0800 (PST) From: Jerome Brunet To: Neil Armstrong , Carlo Caione , Kevin Hilman Subject: [PATCH 1/3] dt-bindings: clk: meson: add ao controller clock inputs Date: Thu, 29 Nov 2018 17:45:22 +0100 Message-Id: <20181129164524.18670-2-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_084543_416876_60FF03CC X-CRM114-Status: GOOD ( 10.96 ) 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 amlogic AO clock controller Signed-off-by: Jerome Brunet Reviewed-by: Stephen Boyd --- .../devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt b/Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt index 3a880528030e..c480db8f4793 100644 --- a/Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt +++ b/Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt @@ -11,6 +11,11 @@ Required Properties: - GXM (S912) : "amlogic,meson-gxm-aoclkc" - AXG (A113D, A113X) : "amlogic,meson-axg-aoclkc" followed by the common "amlogic,meson-gx-aoclkc" +- clocks: list of clock phandle, one for each entry clock-names. +- clock-names: should contain the following: + * "xtal" : the platform xtal + * "mpeg-clk" : the main clock controller mother clock (aka clk81) + * "ext-32k" : external 32kHz reference if any (optional) - #clock-cells: should be 1. @@ -40,8 +45,9 @@ ao_sysctrl: sys-ctrl@0 { compatible = "amlogic,meson-gxbb-aoclkc", "amlogic,meson-gx-aoclkc"; #clock-cells = <1>; #reset-cells = <1>; + clocks = <&xtal>, <&clkc CLKID_CLK81>; + clock-names = "xtal", "mpeg-clk"; }; -}; Example: UART controller node that consumes the clock and reset generated by the clock controller: From patchwork Thu Nov 29 16:45:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10704903 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 EE4DF13AD for ; Thu, 29 Nov 2018 16:46:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DFF552F6CC for ; Thu, 29 Nov 2018 16:46:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DDD952F6FB; Thu, 29 Nov 2018 16:46:01 +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=ham 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 7ADA02F3B8 for ; Thu, 29 Nov 2018 16:45:51 +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=EI5JfZUNbSPgTofboDZc01x5eK+dZIdTZ1pYVTaCWOs=; b=PYPaOkKU9sdKiu TY8cuijIQE+9z/LHy9nlfL7AsTqHdYN4/TJbZmDU8p9XDngE89lMKbxAtOgiTt5YGlmWuglqVJ20m HJ1S7PFjmIIhRTqhXMJSIX/5571/9NDN66nLXHybdR7Qth1MEvmIY6Oc/3t3lqMsJGEviO0w9diny z8dFgRFDBcIC2Gkqv4YjppinDXHU/GVQ1I4tBUnws2poHN+t5NcPfth1GIlSSbqst6qKKcZb4moLY ZNHc4b9ea/5TbO3b86qehZT1pCvmfaLQW9meTwwPaPa6zGz8J4e0BswgPKwjISEAMSb5Nle2W0trp DtaNioaSFihwBm8Ff/kA==; 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 1gSPRm-0007pX-Pu; Thu, 29 Nov 2018 16:45:50 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gSPRi-0007l2-1p for linux-amlogic@lists.infradead.org; Thu, 29 Nov 2018 16:45:47 +0000 Received: by mail-wm1-x341.google.com with SMTP id c126so2943395wmh.0 for ; Thu, 29 Nov 2018 08:45:35 -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=/+HUPI7NCPEqxzAVa9O0IyRuOHGA1MJL83xJ5Lr9NJk=; b=DexfL2/9SQxhAxCMBRCFlGSG/pDEM1J4Q+hNwIGIjaTtqeMBPQ5n+wffryGKuNY9zB 1wEP6MZX+SE7EUXl8E5Qc0MZy5GQVW8hUpROg0vsfEW5C48aouekelJnH6BvGQT8ndw2 ItJPX+6wpXWguzMw99mySU85i+enMh0uk6ZURmcQfpT2FkmIbTyC65vGaoDqaibhp3O3 vEIIHjuIZRhHqXz/KVFtb5lC0LgepyYddbSWaO+J+PjiI88BTKUpmXZeGSZEBCeg7pEs Ht6tbkaGJUnT5BoRjahl7FSMNSVeL8ReDBQTxwMDahOJVZ1QLT+RwEgar/904rs/I+Pc 1p0g== 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=/+HUPI7NCPEqxzAVa9O0IyRuOHGA1MJL83xJ5Lr9NJk=; b=L/a47cFw5r4Z7tqFQZuZORfWN6Zi0dA1iRk0svhke4lWUGXWKvvfUcZBR/kH2fkBPm D1OEgnJIZIgeLc2DEIpM3kVKP2CulIV1ySGDkGcltkBGtIcAQVZlJNbfl/dJFzJ2Rlto 4iiTI41f5fxrTTYf7HAvJVS8s3hjFbrBkwE4ctO2J776/VRhdp+Xp+3GTKViKEWjuj2L QUagsxgNo/wzWL0b9BCspwXU5D81csDB86JYTd7zlzsVK9rThAzaQKqiiwvz8O9UD4uR rDlKjLgw8+JFgacv6HouHeifAugGDlTZG5x6po0g42URwVe4IILOL6mEouz4b+mczsr+ Kvew== X-Gm-Message-State: AA+aEWZop4064yBReOt48fDOP1y77l+ZCrbgCxw9VPiFXqR8NI1E74Ot aiWV0u4Gk0UqQuXySnwS6Gf+EgMgwXvKFA== X-Google-Smtp-Source: AFSGD/X4hOS4mY/8Ur4opOqfHA6NapOJLwyMk2VeYKSWVnp+HFPr/jK+Tw5/k3eqPuvpXMJFdx71oQ== X-Received: by 2002:a1c:b687:: with SMTP id g129mr2353322wmf.59.1543509934245; Thu, 29 Nov 2018 08:45:34 -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.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Nov 2018 08:45:33 -0800 (PST) From: Jerome Brunet To: Neil Armstrong , Carlo Caione , Kevin Hilman Subject: [PATCH 2/3] dt-bindings: clk: meson: add main controller clock input Date: Thu, 29 Nov 2018 17:45:23 +0100 Message-Id: <20181129164524.18670-3-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_084546_097238_891D0612 X-CRM114-Status: UNSURE ( 9.20 ) 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 input of the main clock controller Signed-off-by: Jerome Brunet --- Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt b/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt index e950599566a9..79454869f96d 100644 --- a/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt +++ b/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt @@ -9,6 +9,8 @@ Required Properties: "amlogic,gxbb-clkc" for GXBB SoC, "amlogic,gxl-clkc" for GXL and GXM SoC, "amlogic,axg-clkc" for AXG SoC. +- clocks: phandle to the input clock of the controller, presumably the + platform xtal. - #clock-cells: should be 1. @@ -31,6 +33,7 @@ sysctrl: system-controller@0 { clkc: clock-controller { #clock-cells = <1>; compatible = "amlogic,gxbb-clkc"; + clocks = <&xtal> }; }; 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>; }; };