From patchwork Fri Feb 8 10:14:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10802655 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 F3EC31669 for ; Fri, 8 Feb 2019 10:14:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E21B226253 for ; Fri, 8 Feb 2019 10:14:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D583728462; Fri, 8 Feb 2019 10:14:55 +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 9E5A126253 for ; Fri, 8 Feb 2019 10:14:54 +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=ijt5k2Co6HDrANZR7SpmG8RHQYb4xcWkaZXA6Xch7sI=; b=WKHpNDvueZ2mjm PeKlnB/nnuGpNPClWp19Ss5ZsslGNFeTkKS9T1Uqocje5nZ4SzN6UTA8vY/eqkQXOalZ7y7pJVH2O tIB9mxiTBe8YNA5iGM9BfWG3k1AcOxftKt5iBZPbWxKc/yx/hGz4XcMyjmggvYOlOzvvnjROF3aWg gqGbQEZISzLWaLOpb85+RD4bTy/FXvgcsazmIiUBLI3roCwkWLq/Xssvd4r1qPrVG3QDQAsG8lcxp iVi0HfZnJrXIdekxCaw747gj8SBAvw6Gwrk12f2a36S6VH2ZlHhC0ryZpLwS9/6TazcyFoxlZHCB4 lFS2sKDWPaGmhkZx2mag==; 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 1gs3BL-0006IG-VG; Fri, 08 Feb 2019 10:14:52 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gs3Ao-0005jr-Vx for linux-amlogic@lists.infradead.org; Fri, 08 Feb 2019 10:14:20 +0000 Received: by mail-wm1-x344.google.com with SMTP id t200so2806957wmt.0 for ; Fri, 08 Feb 2019 02:14:18 -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=BRXDa+0TVxZcYoEC45CBTpx7rG6dgcS0Dc6O77EV4hs=; b=kiIAwiTqinORRZqbH7rVzo72b8E9f7tv8pZtF5tGQwUsd7Gijie4pObU2AcxROrqGE ah92UYjSBCvCLCkMCRk2pyWnIF2j/UPQXrVIo5qKlmJ1OOIzJNrVP9DVEX3khfojqWOh WqCoxR/OalA32yXCo0MB15dZ0sAID+kKoiHVI+QPoRiEQNWTQdURZ0bN0UjRoIyR5sjP +nSRRqR9RBa7PP1NBYMkheF7/DuIHATa9yEVHCa8+2AdM29qKF3xWjv+QibzF0aWu275 YW/v96Td7G81c/eHQuxSHeQBSUgfQYY43/EQWrVRRI0/UIRN7Y7RZ7237tX6XARSl8vJ R7LQ== 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=BRXDa+0TVxZcYoEC45CBTpx7rG6dgcS0Dc6O77EV4hs=; b=rGMVn8jRQje/Xas8DIwjD2Ww4G2e/39JdvwPzupsefnXnz2695kOhp3KQTZdtdFFU1 9ql45kn5kNahKPHMqp3k697apItKy8y8ynTbUoPFGSrM63qKdmSUcXkWGbNS+e2sMwM/ PPfah/PZki0Qi7EMmzqgMACqvkuLxSBXV1RT0Y+XSgSvGtVs1QZBa0FLQENj3Mz7bod6 QNPV5LccsYEM1ryqeNb+v0j2ImKETHkOyPBpbGamhd5pSgLgmHuGgUrc32AP9DVnOhdT oN+eT4QFMJRKkAeSvXtmi7uGyjwbuhV6O9gH92EfLMP4C0NvU6eALdWXn6kVR6xbBUEW 0R9Q== X-Gm-Message-State: AHQUAuaiZtCTt54jBXrnf1FmMMLxZHa5HcrmeJdJBkKH40SVfcObElOL eHQGPzBuiR6MC7zCGhmjqsaf1w== X-Google-Smtp-Source: AHgI3IaDcp0Kd3lbpFEdo8o04UwImuCBn8esuyWNfU5kXFZuDRopItxxaBfWAXrGzLFLj5E4UjFe0w== X-Received: by 2002:a1c:c282:: with SMTP id s124mr10748554wmf.105.1549620857288; Fri, 08 Feb 2019 02:14:17 -0800 (PST) Received: from boomer.baylibre.com ([2a01:e35:2e9a:6060:2ed3:c463:803b:b085]) by smtp.googlemail.com with ESMTPSA id a62sm1901634wmf.47.2019.02.08.02.14.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Feb 2019 02:14:16 -0800 (PST) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 2/2] arm64: dts: meson: g12a: add peripheral clock controller Date: Fri, 8 Feb 2019 11:14:05 +0100 Message-Id: <20190208101405.25699-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190208101405.25699-1-jbrunet@baylibre.com> References: <20190208101405.25699-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190208_021419_030304_40E6BE5C X-CRM114-Status: UNSURE ( 8.98 ) 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: devicetree@vger.kernel.org, Neil Armstrong , linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.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 peripheral clock controller to the g12a SoC DT Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 05ea750b8c16..701a02244e04 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -121,6 +121,19 @@ #address-cells = <2>; #size-cells = <2>; ranges = <0x0 0x0 0x0 0x3c000 0x0 0x1400>; + + hhi: system-controller@0 { + compatible = "amlogic,meson-gx-hhi-sysctrl", + "simple-mfd", "syscon"; + reg = <0 0 0 0x400>; + + clkc: clock-controller { + compatible = "amlogic,g12a-clkc"; + #clock-cells = <1>; + clocks = <&xtal>; + clock-names = "xtal"; + }; + }; }; };