From patchwork Thu Mar 15 11:55:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 131768 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp1011891ljb; Thu, 15 Mar 2018 04:56:03 -0700 (PDT) X-Google-Smtp-Source: AG47ELtv/oBH8xw3ixGWn1LvQQsJ5f+xvBFP1JMlsbFG3Hv1IFyE2EjcKGrmhUV0ItCftnf3at1z X-Received: by 10.101.98.137 with SMTP id f9mr6462819pgv.6.1521114963494; Thu, 15 Mar 2018 04:56:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521114963; cv=none; d=google.com; s=arc-20160816; b=mMGKnpEvjm9IKES2qPPTJNjDpMsNpnYqHRe/td57FCiKgmX3l8CO/GCrfes/GF9+qZ XJMo8ctcRB9KfNsUPwdWxI/1yrKpOFvowWYBF+1ABH8Agg90y45A3xsnlC0TLAe0rSYy ZzXKeIWkQ81I85/23peJwDP8/tUeR3n+9EFdoFseq6nqy57IiX/XMNQ5/exyzVV0fLoI MAmld7q+wja0YQYwCbD0S/0bFxJQco/A+2Ua2/h/Ey+jU29gwAAP0377h6HGqWi42Zp0 vbFCaK3arVC3JmifOxLMa0XvdNh+O9AmDxGR328HHHu+QucJD37iCQFprMD0Xml6UhLO pDGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=eh6QbeJI7conhiyja2w2nPtZcuCcF26GxXVnMzKUMFs=; b=UQ/dzFlNlE0FQzY6H7binsXW5Klzf6p7k2gBhupwvLqseNyTPSPiSeOD2G+Z2R1P2/ lo1+ehCV2blmNwdysZpjK1DBVQ+iXlDi0uJbn+xqhh6YUohZAAr01zt7d9SC+KfSz2IT JhE5GCHYC+dq+jYmesO5tNgTczOQ/A1YYR0w/UFldOuPv9UaAxzUHu8hudCm5aIwQOJd 1k8Un3PhM4kBf/pZOvadBhi62syn3Zg49/uh6Zp5ChWTGkI/BIpuhHLrp7go2D7Dt9cD n568x/LFWZhDelcRo1JLYVzmA0WPBvEiZnc3wgick5HRzzFbiU2TXno1Zh7b6gRFmXg+ hCEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=MjC9Psr1; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f20si3741774pff.252.2018.03.15.04.56.03; Thu, 15 Mar 2018 04:56:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=MjC9Psr1; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751806AbeCOL4B (ORCPT + 6 others); Thu, 15 Mar 2018 07:56:01 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33639 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751714AbeCOLzy (ORCPT ); Thu, 15 Mar 2018 07:55:54 -0400 Received: by mail-wm0-f68.google.com with SMTP id s206so22796405wme.0 for ; Thu, 15 Mar 2018 04:55:54 -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=6jHTQALv084jqzn0sdG5UMTERp/CjdOXt0ugYg5DERk=; b=MjC9Psr1QcC/tpANQdCqwAcoAimyCJZWjl85d4PUyQSPAghyu4FdyamlhdllbaTh7z zxibQFnsUyUmvQPFWuHrcjhT0YMW8y4kmjOEBb4RBSAhG36m6qnGEl0y7lboj1oTbRPx LpctQ37OqW3LzJwygIz2JvC+5qmdLzlE4yNPM+9kOAWl/gC4c5U/89eEi0Pj7K1DPaOH gT/2VpaUxWpT2grw0IvKeKLdZ70DycQHXWerYZ9Z6zSoNjPsUmTay1RN/kkLjCUJEi8D tu3Wz5DgziP3Vlx96y5ljuqJSB635omzUx6qkIZX02A98ZdM0lU28nQeyIIoabWK5Laz /xdg== 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=6jHTQALv084jqzn0sdG5UMTERp/CjdOXt0ugYg5DERk=; b=ug2ltXGEP2MMCbfF5igElfJxOhQwUZv7xAIoyMIwSZgbW3OZWdHqMfQ17IlRjALdHI Cye9KNTu2Uf/PN3u+eTB0Aa39aiMevXcwl6ePIGqi+TJ5/8Qon4bTsPe/K5MFHePRV5b VLDYfS+7/DBd1Rkwqd2MkRUD4v5OkjK5J10fHObVK7ABh6J8+w0S6M05kD2Skulj7Ls/ n5Z90VRTeTdmrZTrHZpKNxieaqhJC1zkJ+WviFtatKtUDKiPtxQSQPnFbGWQFH2ce/X1 7Oi2oOhHZWRHHxr6pnZp3eNQUe5vM6h+YVMn9gK+zECULJexMwrL90d8++bKZ+i2x9XW ZArQ== X-Gm-Message-State: AElRT7FbQf1802XaBg9KOoZBD/EDtNnftTL8oCNU9aN6JH7CggR4zOAY EH4TGepnCvviGCHqaWdsiaBCqg== X-Received: by 10.28.13.67 with SMTP id 64mr4224409wmn.5.1521114953379; Thu, 15 Mar 2018 04:55:53 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id e18sm4483318wmc.21.2018.03.15.04.55.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Mar 2018 04:55:50 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione , Neil Armstrong Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/4] ARM64: dts: meson-gx: sysctrl is the parent of the clock controller Date: Thu, 15 Mar 2018 12:55:43 +0100 Message-Id: <20180315115545.1884-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180315115545.1884-1-jbrunet@baylibre.com> References: <20180315115545.1884-1-jbrunet@baylibre.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The parent of the meson-gx clock controller should be the hhi system controller, not the HIU bus. This way, the HHI register region can be used safely by multiple drivers Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 5 ++--- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) -- 2.14.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index cac72acb85b1..a48d2b821a49 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -304,11 +304,10 @@ clock-names = "isfr", "iahb", "venci"; }; -&hiubus { - clkc: clock-controller@0 { +&sysctrl { + clkc: clock-controller { compatible = "amlogic,gxbb-clkc"; #clock-cells = <1>; - reg = <0x0 0x0 0x0 0x3db>; }; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index e1a39cbed8c9..6b7dfa2d48e4 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi @@ -206,11 +206,10 @@ clock-names = "isfr", "iahb", "venci"; }; -&hiubus { - clkc: clock-controller@0 { +&sysctrl { + clkc: clock-controller { compatible = "amlogic,gxl-clkc", "amlogic,gxbb-clkc"; #clock-cells = <1>; - reg = <0x0 0x0 0x0 0x3db>; }; };