From patchwork Tue Oct 30 10:22:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10661273 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 1152214E2 for ; Tue, 30 Oct 2018 16:19:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF4702A884 for ; Tue, 30 Oct 2018 16:19:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E36222A886; Tue, 30 Oct 2018 16:19:26 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 78DA32A884 for ; Tue, 30 Oct 2018 16:19:26 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=0LauibkwST5FlEM8EAG1SNFH/VhkesqfoyJelA3/seU=; b=lCwrA+AUQxYhm6YudosA/HoUsn Fh1VPXg9vIMB9eMUk/7Ko3DibNARw2H/2meI373aA3yOtmfIXvQp2ylok6A0LGHLhi56gUfL3ERsh YQA6qhNwN8h7M8Z9m3GrNfy5a4vmK/+wDSXB8Fizj54n3Pcz5rQiZy+bYbvS/AjDOyjcgSRMQbDlg WDz2ONT3CEsnVbyRFiXKyFvq224TypEox8hWISZIgSE9ndx155PVcuMOEUlqSxMEoIuOaJO85aaqT EpVE/wSB0H/ZmE5YELlbF4BUF0kl0zZ0umFTQXVXGXpd9RV6M3+Fy5isCTqYkCR8XpW7grVGNfHKt YCNZZMNw==; 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 1gHWjl-0005nZ-2Q; Tue, 30 Oct 2018 16:19:25 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHWWh-0004uR-Q4 for linux-amlogic@bombadil.infradead.org; Tue, 30 Oct 2018 16:05:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ldt4WJfI4AQU3DusZodwyg3UdR/b7k3L1OUI368L5js=; b=n1UWzTzvkf99tI/OvzVPEJMsm aa7cWjEi11cUujKJY3Fg+BDVFPlAJ80Xl4dy3wG7MphaRxXrOYQKUtZL/YM1EU9D8Q8Aik2kozNsk g/qBIccSu7g8JL97PCBXIBrJh3AOM5Hpo2Qes5bmYAJ1WrpnkmYZ0lInsJ6feqbLfRC9wPneg+gpL 8EIACJtD4Z4T3w8DqlaWu1wGjC3Q3lviDNCi7XMaFscxRgjPq2aQS+h3M4gd6Q2lOjsgSJFjh7ozY dSr1ffaNAXPEQDWRh/ZoujmTR2fuPtXkOaLoembBt1AGC5WVtiyRI4QPJJZijuX0BhzickGsNAnQc 4W710fcug==; Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHWWe-0004Sc-Ng for linux-amlogic@lists.infradead.org; Tue, 30 Oct 2018 16:05:53 +0000 Received: by mail-wr1-x441.google.com with SMTP id t10-v6so13203446wrn.10 for ; Tue, 30 Oct 2018 09:05:41 -0700 (PDT) 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; bh=Ldt4WJfI4AQU3DusZodwyg3UdR/b7k3L1OUI368L5js=; b=WRdBXun+6RJXnuDEuatGFExhIB5+eaIgJBTeM7RBuldCHfFaoGgAnR6NsHpqSeDKVq n9kSuaFr3IkK3F87+XlJNuvrSPS1LV0/Q4fbcGpE2hkY7K4Rnhp9SmlGorRIEh4DvkNd km7Keq6Uf+7b9UPQgjPCJtjdk0UavGUv2YwA8wF/7ZYjiKXEhGTfmWmRjTMcCmniFog1 tX6rQOB85l4ti+mLWdjovNcvFoTDUXeMZeyiljHcvf8ol3GkfkZEggYpoNTW5ikZ9ZJA 8kor1L78X+oO+T9hVMpsl+s4dHxqSmL1M+PectcNE33RGIxmDc01pvqICwWcDYFTpnIr 5zcw== 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; bh=Ldt4WJfI4AQU3DusZodwyg3UdR/b7k3L1OUI368L5js=; b=BUZRIaL+kb8AIXLDiwPuhEfW4XUTdaxQJHkPsLcklpH5E3GwADL7JaTWcjSGi8R3ae 4Wo4HCgdTYnHDgH7gpxmj1DIieK7xBEiTcgKBKvqGk7hhq0sPt2Rupx2m8y9OqV3YpDw LjvHr6X8PvetjWHCQvuNc+ZoDfBeElnDeXtisflRThkMyzryk7USe7rOjzs+KnfcRk6f 4jZTs8Doich1m+VlB48MgKXuBGz4sElWlU8HI95bYZdx4Lwlk1Pp6r1ZhH//fNPZ3jSK 8OzgOG3R8aJrl2GSpa+quo8cO9Pv6G+N0pGSnOnrkfebrz6Gt8RllyM9NNOgmGXYi9Ve ytCg== X-Gm-Message-State: AGRZ1gJpqzMsjeP6ypHCgqY79Szerq0o7MIM/x8JdhVfCxRL0XVusKyv Z2SvEXSczdGMEri0SrRTuFpK4ma0aas= X-Google-Smtp-Source: AJdET5dl2ogEPQnxe6yMFr7g1KHIfKHvVj9wG0JNyf8Xj7SEpXrF9caIk7RrZ7P4HQWe0kT9WPODag== X-Received: by 2002:a5d:5086:: with SMTP id a6-v6mr5550614wrt.31.1540894961593; Tue, 30 Oct 2018 03:22:41 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id i204-v6sm26638614wmd.28.2018.10.30.03.22.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Oct 2018 03:22:41 -0700 (PDT) From: Jerome Brunet To: Srinivas Kandagatla , Kevin Hilman , Carlo Caione Subject: [PATCH 3/4] arm64: dts: meson-gx: add efuse pclk Date: Tue, 30 Oct 2018 11:22:30 +0100 Message-Id: <20181030102231.4851-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030102231.4851-1-jbrunet@baylibre.com> References: <20181030102231.4851-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181030_120552_994962_0E59039E X-CRM114-Status: GOOD ( 11.23 ) 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-kernel@vger.kernel.org, Jerome Brunet MIME-Version: 1.0 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 required peripheral clock for the efuse device. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 4 ++++ arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 1ade7e486828..524f533e41d4 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -282,6 +282,10 @@ compatible = "amlogic,meson-gxbb-aoclkc", "amlogic,meson-gx-aoclkc"; }; +&efuse { + clocks = <&clkc CLKID_EFUSE>; +}; + ðmac { clocks = <&clkc CLKID_ETH>, <&clkc CLKID_FCLK_DIV2>, diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index 8f0bb3c44bd6..8ccab9a1ebcc 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi @@ -75,6 +75,10 @@ }; }; +&efuse { + clocks = <&clkc CLKID_EFUSE>; +}; + ðmac { reg = <0x0 0xc9410000 0x0 0x10000 0x0 0xc8834540 0x0 0x4>;