From patchwork Mon Dec 3 17:16:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10710119 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 5538213BF for ; Mon, 3 Dec 2018 17:17:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 396772A569 for ; Mon, 3 Dec 2018 17:17:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2DBB12AA24; Mon, 3 Dec 2018 17:17:18 +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 CF1962A569 for ; Mon, 3 Dec 2018 17:17:17 +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=PnTgPJGqiPSLhe5NziKFSyQe7oMqS7I/+P8wB55cY9M=; b=t1Wl8DpZyq5Vb/ Ym3QKV6s9mTQQH73PCT6tg5VNcRe7NG7i7GGQnz/lBTzT4jIC1comCTfyLVEkzGbCldrcnQinMCcK FZ9UUcF9hozBmxm8wJiwxVAejgA6KV74lIn82lh5+JC1jHrpkRe1N4BLL8duvO6BrzsCcLepN2EXD fVL7YYUKNfg9yRYLrQM+kBaGjridcS2kIl+f5kqeAdqg0yYtIeqhtqU4k1IDTDwhsvZh8YoZzSI2U VCCl7YJfn4WEDNGAmwe3GPiwhWq+RBXByjEM2sjOAD4BouDXKo16DUYQ0PLkv3RDt35msC2en5jkJ cFpft+zjU3/i/fhvojKA==; 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 1gTrqO-00054E-Nu; Mon, 03 Dec 2018 17:17:16 +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 1gTrqH-0004wu-M2 for linux-amlogic@lists.infradead.org; Mon, 03 Dec 2018 17:17:12 +0000 Received: by mail-wr1-x441.google.com with SMTP id u3so13010196wrs.3 for ; Mon, 03 Dec 2018 09:16:58 -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=xe6dxR2Vde59Kua+p62/ZAkFh7k+BKyeNCE4MaXeE50=; b=mJuLSldGAO9/CbJ8V0G/bCDIcD46wesQm1LGPpzYVtxmFzHzFJHS+LEr21j97bNU94 XfqulbAt3KOVPYfKEiukw9MblLw7QlP1C3MB5/NHrsTBrYZO455Mc0ppRdZ+al3cABN9 t6BxLKZ50yhk0F4bdFWds5tbs21WP6FT2kma0nbU29CD1eB7wWasIhmLTJhrdMgt//LT qddjcUrUJHm3DTV1WnC375HcOiyJUU1Ahx37RN+cmtwwMhocILcHBo68XHJHQnBiQDA8 yWRd6MomZATRNmY1SJ3dkoGdLkn3piIL/+SqkC/nT9dV89klH8OTxmyZ0rN2Eek0wFOf hwKA== 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=xe6dxR2Vde59Kua+p62/ZAkFh7k+BKyeNCE4MaXeE50=; b=uN4Wn4C2Xk5gTYNfhal0eHfPzfoiQTFbdcAKcx807Frd617HySKavd4ycz2qtBmuqx Rtt7Kiy0b35ShI8w0GQ5BRo2eMM7A7yBwg3kPZt/NRTvPp7JM1fhOkQTbAP+by1z27pa 5mYT9yDfoi9YREpfQPAdBiWkXxO/5yew/hnn9P0ZklwoDWRFOIFeHmcChXuUR8pXC0s7 ieM5G0wBLSMog2jsyzsKEg5kteKMCM/DMDjwSFUpLxiRRsISKEJY0lkKsR2L8Cr37zEa 1Y5Im+Uwy8WbQJ7TOCMIZAEHgmIoMS5m7l8wpxRepoRe1FF5HfxQjxMYU+GOPNgQaihi emEQ== X-Gm-Message-State: AA+aEWag3+Fr8lqyXTA4Q6azR0qUk+lPlEKiAN6wa4eEe5F5QfzFqs44 ueihW4U79aMzwfHE8SdIQ4j/iQ== X-Google-Smtp-Source: AFSGD/URCHA/e4IENh4CAOMvOH4+Eaq6ZSkYjwDbPZzNmEpDZyxn2h74s8XOGYOVDShgbFKcHzy4Ng== X-Received: by 2002:adf:f28d:: with SMTP id k13mr15513177wro.78.1543857417161; Mon, 03 Dec 2018 09:16:57 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id h203sm22494889wma.19.2018.12.03.09.16.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Dec 2018 09:16:56 -0800 (PST) From: Jerome Brunet To: Neil Armstrong , Carlo Caione , Kevin Hilman Subject: [PATCH v3 1/3] dt-bindings: clk: meson: add ao controller clock inputs Date: Mon, 3 Dec 2018 18:16:38 +0100 Message-Id: <20181203171640.12110-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181203171640.12110-1-jbrunet@baylibre.com> References: <20181203171640.12110-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181203_091709_811622_44F56A79 X-CRM114-Status: GOOD ( 11.35 ) 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 --- Stephen, Since I made some changes here, I did not pick your previous Reviewed-by tag, in case you did not agree with this version. Cheers Jerome .../devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt | 10 +++++++++- 1 file changed, 9 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..79511d7bb321 100644 --- a/Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt +++ b/Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt @@ -11,6 +11,13 @@ 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-0" : external 32kHz reference #0 if any (optional) + * "ext-32k-1" : external 32kHz reference #1 if any (optional - gx only) + * "ext-32k-2" : external 32kHz reference #2 if any (optional - gx only) - #clock-cells: should be 1. @@ -40,8 +47,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 Mon Dec 3 17:16:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10710113 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 7692413BF for ; Mon, 3 Dec 2018 17:17:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5712B2A569 for ; Mon, 3 Dec 2018 17:17:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4769B2A967; Mon, 3 Dec 2018 17:17:13 +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 E08512A569 for ; Mon, 3 Dec 2018 17:17:12 +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=myvzyk5rmPZmOD9pg2Lvtiq1lTLuoKmDacGpxIML3Zo=; b=tl+frHzjkTfe1o OgqajhYivYfq/xH79GNNT1LIlJKZFfwX4zoET5HBhOan3V9AUS88UGPbj81MhUwBdX8VyXO7BmtSL 9AH8hHw37JqlO0x2saHy5TGQi1CN3gsLVFHUER+pI4ljNW52qM0P23HLIoURJIMWXdJa1GR9PyV2/ JTzCLjhuWOONasFZ1j9FTZfBYnrC0F6K0BSZH/puQG9jGgQQLL72F0weyUxeYkr2H7gXXtDZTgATB Uo9+AbORlqUeI7iG16mwFUMz2cVOzpGrqP8uBnmsRSGaYICNFG/+DS9/XM6DeonQ9KKLJMTmd6RgB +bsWqCqptVc9+MjiU7fA==; 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 1gTrqK-00050Y-By; Mon, 03 Dec 2018 17:17:12 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gTrqF-0004xA-JM for linux-amlogic@lists.infradead.org; Mon, 03 Dec 2018 17:17:11 +0000 Received: by mail-wm1-x343.google.com with SMTP id y185so7465916wmd.1 for ; Mon, 03 Dec 2018 09:16:59 -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=kB5h7/Rv1D1xOyHHlP5vWdrL7/AqkFtz/4BXIM0rK9U=; b=V9y1fEFCuD2h5uN7uD+DaVzIvzU86Lx4yzK6uxuJuZvEHPQcbmWNar7+BPBFt0RiPs uRKiBU5QQRJban/13TYK4baJkz4fVotz/nrqAvbhsmi+pAnPuBFjeCsYWCY8geeJ+ToC i4TyGm711cHH8ce5XBfJf+wRdW0oCYC9xcfOJAEt0RyO40tBskPSAefFQ3cBg0NT4pgB rXwt5U7kG/81STgqfrGTu+0khzDNlgDw/xlEulmgocf505qrCa04Z9l+MCPkFluTQhR4 8NSmDGwm9W0gONByiN9txLhjn21d5IWDEMBbQQAlstFiLc/dr0DwMSirS6fKhYR3LqR4 jnVw== 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=kB5h7/Rv1D1xOyHHlP5vWdrL7/AqkFtz/4BXIM0rK9U=; b=Z8iZXjRnKSAI80viYCF3vmzVt2mWl1fCHSd5CXrLGSeeAlXk6+f2xzGYvxT90n4WBC lDa1ULtxR6DWznjpsvn+JWk4URN4RcezVuzezzmEoDxfwQl0aeB4dkIz6gcEslT5DqlJ tQZ0ix3mwZsZ5u2kQXxX5CHwJu8mDPtTA+bbqH3hy4oCIwgon1mPpbVyooHlsciD6TLJ jODwANGq8imeZ7TQbi+YwLoRcEbgHkorYcozZnbIrUx6qyqO2uZSJUmixdCUuVOLUtZa /4Ruq8dqU9IC46kuXuJ2vmTiC3xykGTZrCeB3IM0z41Zd1MPvJZb3Xw25G8gG/l7E4/h DcGw== X-Gm-Message-State: AA+aEWaIH29bpv7mXg1qYm0E76e6xTvfrKdrkRaOt0eRX3TGBnjCKclH RMr7+eYJU74DbBd/lNB63BiUKg== X-Google-Smtp-Source: AFSGD/V/bsrlHrXrvkgFoGA+uzecY9c85wUSZZyU7a47Du3yA4aU8OlPqQZ9CUrVa0WkhYEMFcJjwA== X-Received: by 2002:a1c:588a:: with SMTP id m132-v6mr9040728wmb.85.1543857418700; Mon, 03 Dec 2018 09:16:58 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id h203sm22494889wma.19.2018.12.03.09.16.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Dec 2018 09:16:58 -0800 (PST) From: Jerome Brunet To: Neil Armstrong , Carlo Caione , Kevin Hilman Subject: [PATCH v3 2/3] dt-bindings: clk: meson: add main controller clock input Date: Mon, 3 Dec 2018 18:16:39 +0100 Message-Id: <20181203171640.12110-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181203171640.12110-1-jbrunet@baylibre.com> References: <20181203171640.12110-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181203_091707_666133_28B27E34 X-CRM114-Status: UNSURE ( 9.69 ) 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 Reviewed-by: Stephen Boyd --- .../devicetree/bindings/clock/amlogic,gxbb-clkc.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt b/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt index e950599566a9..a6871953bf04 100644 --- a/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt +++ b/Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt @@ -9,6 +9,9 @@ Required Properties: "amlogic,gxbb-clkc" for GXBB SoC, "amlogic,gxl-clkc" for GXL and GXM SoC, "amlogic,axg-clkc" for AXG SoC. +- clocks : list of clock phandle, one for each entry clock-names. +- clock-names : should contain the following: + * "xtal": the platform xtal - #clock-cells: should be 1. @@ -31,6 +34,8 @@ sysctrl: system-controller@0 { clkc: clock-controller { #clock-cells = <1>; compatible = "amlogic,gxbb-clkc"; + clocks = <&xtal>; + clock-names = "xtal"; }; }; From patchwork Mon Dec 3 17:16:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10710117 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 E88F315A6 for ; Mon, 3 Dec 2018 17:17:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDAE22A569 for ; Mon, 3 Dec 2018 17:17:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1A932AA24; Mon, 3 Dec 2018 17:17:16 +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 651DB2A569 for ; Mon, 3 Dec 2018 17:17:16 +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=Z63s3F1F4K3PTaMykSXFFGWZCYGYxa30wOyRlYKE368=; b=kBF0h8zoE8vHJi Mweu/mVdLWhlZaI9jw7dKCTj2H3gTOtaWLof2swO29CILgvMJNOcWppxC4VlDF5hAqj4qVrLooT19 yZ2tscGnxrE4DoLpYcqoHqcRyaJ7HiLVJ6AG5z3BWD+dkJ/aukp6I127KPxlrivZT26q1gPLAHcQT e8w8I3bYxQgnVGa8W+AEYlrAEkggqeobiWuF8BI3IikoYKdtbCTCrOZaOajUawS5z3NczVl7r37yi T0WdPvMkBmitnYZZCjN5qvc5iEX0KLDnbzdeoax+0+raYt+dKjv8TtPCCzbRPYmyVNDSJk42a/t5g nE7hB9+/YuvNMt2RFBpA==; 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 1gTrqN-00053H-SM; Mon, 03 Dec 2018 17:17:15 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gTrqJ-0004xD-NU for linux-amlogic@lists.infradead.org; Mon, 03 Dec 2018 17:17:13 +0000 Received: by mail-wr1-x444.google.com with SMTP id z5so13018811wrt.11 for ; Mon, 03 Dec 2018 09:17:01 -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=BP9ybMzJZp1+OKkGo/Adw1pBqXhAS19qiDN4KiHG7uY=; b=lI657OQDKrakfTgc4BLtHK9PXSKWLG9HAoPJGc0cDt2oW9/Y8CUqMtRwOPFksOr4jP a/nVLBdWv7VH19TkLByDN4ao7knJZsHj+0l/6auPWplaNTM9QQDGTzKuYsVSW8nLMSoc ut77wMz4zVP0UTGbg/vIrMf6ev5WbNuGPgmvpft9GrG5qaJ5QbvJYgQLwixDwwjJWlkX GETVYMlBMhPnIUnwb84bh0xXLtsd0oll1WfHTaKrK9ANsEa0KXWoXbABNczgo/vOInMI VfC2NM1IxlSQUxBae63354TCciURbNHBFcu1TZ9gTvDoCCq/3Mm4tuL+UC4pwUgiMPzj vxBw== 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=BP9ybMzJZp1+OKkGo/Adw1pBqXhAS19qiDN4KiHG7uY=; b=uG/1Il4c45bwDsnCuzfGYdJg9GBYZwSXr1Aac0kq8sb9z/VVu8jz/2tYNLrxWAR08V h/8aqSgJp2Bd1/uncjRhX9PSAhSOXNcvghn+3bnWkha/893H8wlMQYvl4Gt3MdWGAanH xPI5TtY/nx96hHZVfDnR3jNK5MIX3uEor6d6ESlBIURScY7OG7rVvU26fLHTfVIlSW5B 9uYzx5C8uJotpMgpsmV1eoRlFsxQd4XnWLmRkPRaPC+5Z8NtPyJxTtQuI49YQe6mOglj H7+yBQ9PaqWL//Fa2k2KGZRShRG8q+mnJS+8Sdfx+wr56pircwxmFhe1MFnd9RBAFEw2 YK7g== X-Gm-Message-State: AA+aEWa874ZHlWfOGJoSOcBoetuEKYI0vX/1rhvkX8/sBoTNIdu7rZ41 4zEvFqumtdLeoI8WlFQkxhW4hA== X-Google-Smtp-Source: AFSGD/WYpZtO5s+K3nIBr7Qc4rZxjoRyF939LAv6O1Vr0BW+sn9c95fmV2p0Do9WcdGMxC7ZLYS/qQ== X-Received: by 2002:a5d:4a45:: with SMTP id v5mr14298280wrs.7.1543857420163; Mon, 03 Dec 2018 09:17:00 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id h203sm22494889wma.19.2018.12.03.09.16.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Dec 2018 09:16:59 -0800 (PST) From: Jerome Brunet To: Neil Armstrong , Carlo Caione , Kevin Hilman Subject: [PATCH v3 3/3] arm64: dts: meson: add clock controller clock inputs Date: Mon, 3 Dec 2018 18:16:40 +0100 Message-Id: <20181203171640.12110-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181203171640.12110-1-jbrunet@baylibre.com> References: <20181203171640.12110-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181203_091711_850316_D832FF61 X-CRM114-Status: UNSURE ( 9.81 ) 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 | 4 ++++ arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 4 ++++ arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 5f512c91471e..5f3ac275f1ab 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -1089,6 +1089,8 @@ clkc: clock-controller { compatible = "amlogic,axg-clkc"; #clock-cells = <1>; + clocks = <&xtal>; + clock-names = "xtal"; }; }; }; @@ -1334,6 +1336,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..a7b883ced0a8 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,8 @@ clkc: clock-controller { compatible = "amlogic,gxbb-clkc"; #clock-cells = <1>; + clocks = <&xtal>; + clock-names = "xtal"; }; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index ed278097825b..d5c3d78aafeb 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,8 @@ clkc: clock-controller { compatible = "amlogic,gxl-clkc"; #clock-cells = <1>; + clocks = <&xtal>; + clock-names = "xtal"; }; };