From patchwork Mon Dec 3 13:18:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10709541 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 D1A6416B1 for ; Mon, 3 Dec 2018 13:19:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C238D2B6B1 for ; Mon, 3 Dec 2018 13:19:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B6D042B6B4; Mon, 3 Dec 2018 13:19:23 +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 569DB2B6B6 for ; Mon, 3 Dec 2018 13:19:23 +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=BmTOIIEFZcHYqOp7IDTPdph/ua6sOJgPBy29GhRFrqo=; b=VML7DGGI63tSIo zYOQ8lVRoddNZl1IYYEszaXbfvV2nDsbixS9oBgLSDSZutpPKBgcF+Og2HKhJmoCi1GbDFYWaSdHK oE9AIxqrjXEnI1BN5eZjEwjp9T8unsWKnOL5COGYdZP+OqH3NeTIOd7YRYA5wqCM3uJPneG0LSnc3 7JXrP2CNRukGcfZDbJLpRjZtEnZ4Ee9/Bba/SSwaIhJZoJlP2YgdUdua+YgAVd9BomMHkwYZYoL/g L76wu7LKKsrbVZIDMAOrZP8R9yV/sRgTt46k63D6Y59r2HVF7wiO9D3uF0Tvsj3UNG/KK8ANvYUQX e2NlBOCdsenI6O8P5jwA==; 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 1gTo89-0007NN-HK; Mon, 03 Dec 2018 13:19:21 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gTo81-0007Gh-BM for linux-amlogic@lists.infradead.org; Mon, 03 Dec 2018 13:19:19 +0000 Received: by mail-wr1-x442.google.com with SMTP id 96so12164442wrb.2 for ; Mon, 03 Dec 2018 05:19:03 -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=nPWsn16HihaqS/gJnLipzT9xenTcdp/r8TBEXkQVJFg=; b=vNGt/j06zioXmLqN7+O4N2/xxw43bBG4RDIvXHM2l8hwHjcgsiyfFjcgxdVmM9AbJF O6852rDf0+btUzp5XwE8v3NvXqInWQ0AfKxsEd1z/fzCpCRrnVuew/BjKbMUJd2z4tsb Lr1LDICFBuD6zyevW9g1GRkcgq+8WLXSSMptI0l9epPExeNKy0fnDDW+fRI3fCazaAm8 tYjDio8gdOZtMq8vM4i4riSDM1LA7CDZO0bsyJwTRCk3tezk3vNGWuAiYF5fLMOdXw4y oUxltE6KXRuMY+sNTkbI4OiQgWD6ImmyyAWjVawAtbljC20OVD+SPnC0B9mDLkBDnMUT m2dA== 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=nPWsn16HihaqS/gJnLipzT9xenTcdp/r8TBEXkQVJFg=; b=FLEumd7m7lKBx7wGLl1KeApQ6vHiVydOmg4gZp34xk0vIHlX1OhQJi/DgF3Gykk6Fj xMXQWK7i3l07SctkZJjH1q8m+mshBBVmWsBTUkuaJXoGYwyqt6dW97tMjaWdjP9TI3n+ cZGK/46R7FCck5Lz5qzHa6ubBB187LvUJrHRT+Sa+6I/C9FsUXpDHkvXhltKvowI/OPX uD6nRVkS4FK0Is3L7ifGRnDRmMJ8QTM4QwiGd53oV5qbo6d097Yzfj97ul/q3D53PKJT Y9J+ZkZ23gmAceeVML0pc6i16WwMNfeXPsvdq2g+sKzxwSx+2O2u9wEtiaiAVQVyUljB YzOw== X-Gm-Message-State: AA+aEWZCZuu18kak2mPoAxn4QX5VriZfphV+stYFmzFeAIzLkj06gYdH t18Gs3wmM0W1YF0DONCFUdSykg== X-Google-Smtp-Source: AFSGD/Wr2vfY+7XmL4gftuGy4Mnt/MoiOvt8Vtp1ZtW1fAJh4B9fvGvZYtjugzQeaakwGff/x3XOhA== X-Received: by 2002:a5d:5208:: with SMTP id j8mr14566353wrv.188.1543843141765; Mon, 03 Dec 2018 05:19:01 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id n19sm6371063wmh.26.2018.12.03.05.19.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Dec 2018 05:19:01 -0800 (PST) From: Jerome Brunet To: Neil Armstrong , Carlo Caione , Kevin Hilman Subject: [PATCH v2 1/3] dt-bindings: clk: meson: add ao controller clock inputs Date: Mon, 3 Dec 2018 14:18:48 +0100 Message-Id: <20181203131850.31388-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181203131850.31388-1-jbrunet@baylibre.com> References: <20181203131850.31388-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_051913_383472_023B62C2 X-CRM114-Status: GOOD ( 11.06 ) 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 Reviewed-by: Stephen Boyd Signed-off-by: Jerome Brunet --- .../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 Mon Dec 3 13:18:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10709537 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 BB44D1731 for ; Mon, 3 Dec 2018 13:19:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A78F22B6B2 for ; Mon, 3 Dec 2018 13:19:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9BB282B6B7; Mon, 3 Dec 2018 13:19:21 +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 502DA2B6B6 for ; Mon, 3 Dec 2018 13:19:21 +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=sMHRqrxawVc3h3 ttOCUsKxgW91Uct7x13gIpyYNEqHL8aylmvku1QJR+4huK0xT0bImipvy/2sUWnQh1t7lRISx35iB BmdX1gm880XmxVvGUIq/6YnpyRCr8bSfLEEzg/CWPwbPnjShz47FODlA5J0nsWIXnuUyz4RzFvGUC POt6hrgrf0aWt6JVPPZs4QrkAnLefHpONe61dFo++phqM2ykdoqbwWYV//q1YmZX4/aPAiOUYNXHZ s3+AybBRWqvGyMao2CIfioEKS4gR08QDI5xqCCGaSUd5WyNf+SeAe+Ri8MG7pE0ZbvoHnQIPUFMhi VD8epnE+vR7qNcFKBPDw==; 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 1gTo88-0007Mg-RO; Mon, 03 Dec 2018 13:19:20 +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 1gTo80-0007Gj-6M for linux-amlogic@lists.infradead.org; Mon, 03 Dec 2018 13:19:18 +0000 Received: by mail-wr1-x441.google.com with SMTP id v13so12132704wrw.5 for ; Mon, 03 Dec 2018 05:19:04 -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=PojLIeY3MW0adsgpleN5wGL91ePZiK4bHuEPzWbp8iRQf9aOBjXrjkuJjgj0XlEg/b KWVx/quw7zUfLbHi8w53zvLr8asluoOFM38tJU6sE/YojRqOVV3SFa5QDrNR5OaIOjtg +g2ADTdPlkRBmbpCCqwdFhgdPtdXwejPIMXYWFsfUqiqX2wWGVFfMqT7SdsBblRGJXYo sQOkIq6lo6eg+GZ5T0OOMTZG5BcNIgFbo0/KVp49qmlZxEC+wxLwzFZb/bS4QTT+S/6G FAA9c7h5lqqG2znsuCzgCHC+3Ij/Ou9YxjiNh8745npYVHKJf9gBUaDI4lMmWzHuNyZw /lPA== 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=LrDg11uhMtdW+BjSb//gQcD4Os+GG+rSwMnAmHfR9uGyBTERrq9G71QhFyFgNgvJZu BcLI2OySwDgQqNS4/ARaz40MjGvnszcWIi8MfjkPOa2RRPSmqQiOky+lFBI/AL3cHGsl FVjf92tzs/C92pfp3KtMc/eq2ysZMp7SfxGlID0AstuY35N7QbUsAz+McAK/iyDYb7IL g5ah9ej1Cw10yY1mtV6m5z9Fj6QcPG0wSqPfEWqE2ZgiF7ufFQKs3162GXG/gZd2g3eF SQ3fw6UQvDa2PNH26xKSGWSrtiNwUZ1Ei/8XB4Cksy/bv+Nnw3aDDAcKGDgK1ZpxM2A5 ARcg== X-Gm-Message-State: AA+aEWbGaNMxNug4V/rOY2WBJKQkJJarj8eC8bdvVPrUWWxbC/cYGcLH 6zcuQ2asVwNAUWIaS/DINjaBOQ== X-Google-Smtp-Source: AFSGD/UZF9UuEkYeIdajIAI7B7XhcajFUllHFzFJcGmdcIDTGR5C8gZ9gaClJ87PzrGgYeZqqPdjrw== X-Received: by 2002:adf:fa05:: with SMTP id m5mr13759344wrr.155.1543843143160; Mon, 03 Dec 2018 05:19:03 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id n19sm6371063wmh.26.2018.12.03.05.19.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Dec 2018 05:19:02 -0800 (PST) From: Jerome Brunet To: Neil Armstrong , Carlo Caione , Kevin Hilman Subject: [PATCH v2 2/3] dt-bindings: clk: meson: add main controller clock input Date: Mon, 3 Dec 2018 14:18:49 +0100 Message-Id: <20181203131850.31388-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181203131850.31388-1-jbrunet@baylibre.com> References: <20181203131850.31388-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_051912_234279_3DDCD120 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 --- .../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 13:18:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10709531 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 590D71731 for ; Mon, 3 Dec 2018 13:19:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47BD22B34C for ; Mon, 3 Dec 2018 13:19:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3AF982B1D0; Mon, 3 Dec 2018 13:19: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 E5B2F2B6B2 for ; Mon, 3 Dec 2018 13:19:15 +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=oHNuB6+7XSvHMk SmOtOVCZYipVjDShuNidyItrT1ScmokhbbmwofVA+pEBToJXA0/tySRm/fHd2FarACluhh0wxa2hX Q77SuwMPn6nyGvrmprJ1HyGPkDEbtVAtHD7WObglC9ihVnwLIrdw8WCwkz51AeNYbCN979uU1Wjm/ fpVYEo7hdA9IFoTFE8tayhPcXGtkifuJCkUPOGc2ad/0CKZQEt86SpfFRNgK715+h/wmEnrMOBNBi xhAIpgNLknEWxL9OW0iXjUal84A3dgvvYhdhoTp7+DyhSsOYl5AvWbBldE37kj0Zia2wWL5iqAEuq yP9z9WQ0U9KTxKMSGusg==; 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 1gTo83-0007Il-Ad; Mon, 03 Dec 2018 13:19:15 +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 1gTo80-0007Go-6Q for linux-amlogic@lists.infradead.org; Mon, 03 Dec 2018 13:19:14 +0000 Received: by mail-wr1-x441.google.com with SMTP id v6so12098549wrr.12 for ; Mon, 03 Dec 2018 05:19:05 -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=bDV9EMIhwTPWiIRtD7dUQqdKFnl9QcTVf0X3166IDXdJ+ca0ouuvwcGLYPTUCGZsk0 EL7m/IKnyeGqdCDeiRzAYiWVVXaFm5Yr01LzYgw5+2RSx9n21Z4Tb2Hjm0+M1qZNB9Jn B0xz3j+FnvTS+C4II39Ulupi1WS4O9cApQCr0x7d0ZVZyseq7cVyq6pjQt5BF71GCW5Z wq1TuEjpYc/oP3nyV2g5Bz30GQWs8tLRHZxLRqqof75MUM2SOgs4fzJBKCj8vpl7jSjI YQfWolzAEBF3C6BLDEDMq1pM9zwDaeKOEaW7SSfj2raZUTXMs/s6mnZvR2zBClZEPJCS bxhg== 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=eQMDr+Y7CHwUf0DjBelV2+VkW73g8ZbvjdD6HKH45uty+L+zqeWc9AP823lNY8boHk fHA3gNv/S7dGN9GL1z7tJ+AZcGIv1uLOLZjLXNwUgHdRIz1OwJ0aPjG2FDlhX6gVtaIy xzqVHbqDwe4XQkm+hYkRaTIunh9vqIEGTiufVFIPdeTTL/jFZTzDdF11lMgOIgFu8nO8 KDyO/sJ7TstyiGZOxuhMmVdiGN5SJq8zx5q2nOcnJFuHLkpNSSjkcJB98J8Uj8iM30ST 6aZBAGlATT2BDXmmGqQYfBpmaCdHq6YtPj7FnE/lAbf15v1jWRXSxzM3GTxISG0OjSkA Scjw== X-Gm-Message-State: AA+aEWZFB0hdLCEiyuobakFaUMvmP9f/+MZH5rBfDpJ6YnVaPcZetp1m eJ8zL6OB+oNxWHQJhNqwvAOUkA== X-Google-Smtp-Source: AFSGD/WeH7ptAAM3QeI82H+rjBO7yO+CYSkJwf7oQl1c2R+CMRQqTwfJwy72G4Pb9K42O0qHfE0OcA== X-Received: by 2002:a05:6000:12c4:: with SMTP id l4mr13518622wrx.134.1543843144632; Mon, 03 Dec 2018 05:19:04 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id n19sm6371063wmh.26.2018.12.03.05.19.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Dec 2018 05:19:04 -0800 (PST) From: Jerome Brunet To: Neil Armstrong , Carlo Caione , Kevin Hilman Subject: [PATCH v2 3/3] arm64: dts: meson: add clock controller clock inputs Date: Mon, 3 Dec 2018 14:18:50 +0100 Message-Id: <20181203131850.31388-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181203131850.31388-1-jbrunet@baylibre.com> References: <20181203131850.31388-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_051912_246536_13A5D22C X-CRM114-Status: UNSURE ( 9.91 ) 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"; }; };