From patchwork Fri Nov 16 12:54:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 10686319 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 61C761709 for ; Fri, 16 Nov 2018 12:58:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4F0492CDCE for ; Fri, 16 Nov 2018 12:58:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3EEAF2CDCB; Fri, 16 Nov 2018 12:58:01 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 2CDB52CDCB for ; Fri, 16 Nov 2018 12:58:00 +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=MmpdOGEBFcn5mcmK4HGSYiSbMq4oYnJEX2X517k6ARI=; b=Ivybt8oaM2Zy/d irnWprovbOD4jIeN1KuugENV2Yh9gpXwVztoJ52hnsJwWzUlgo+16zoTG8/qNJnbZcu6/xnfOZM5S Cbgvshp5ZKPnnXBqlN7Oas3xKBRidjXgYdFn92UwtP0tLdJh45eIYL9mqU+YV+wEWzCeVwQMAnRYq /8NOMV0dyijbkzdar1pvd2FRbOlyk4Z6W/OxBYj9VgFSVgiPTzd0HJGAD+/Zqtmxftknvum5n3OT1 0j6Q+mgJ90Cz+b49cA2hr8aaeku/LUxLlSGkwyaTPr1wwYeF9D767wXjfT1jjp74uWbUnNPxC8b4P JoJk3Az2GHr8jhg08W/Q==; 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 1gNdh7-0007KM-5D; Fri, 16 Nov 2018 12:57:57 +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 1gNdfX-0005wB-G7; Fri, 16 Nov 2018 12:56:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type: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=gAyTehBMOggrzSD04SdHUgPY8TKFwelr7xD34qjUHlg=; b=egi6DPbcQyC0emG9f6myZ57mXb TRtpdlnY6bT4Gotc41UvHRFIae7n18nUSGj0ulESMOMeACvytRkJIzRwuyCKWnyS96UQpWaXJWAwT R84eHjFHHE3euCYf2S9TBARBN3+rCDiFCN5rrld5tRy6P0XyuS1n9Pdaej/rGZSa9q4qkPLLD3lhu 4vxawLHpod0N37bOsFwB191zC8zZ+TX+Z3q8buSAXJrsN/F9vXVcOsHG6WFb5BXaN4S+Sv5tnNmyh Z7GPvGjHsqyX97AOsPCWeIIuoLJvNkB2eip6fVldIGE+Y3Z4d57NhpQggWpqWmyRCJood7ymwfG5J r6lMMK8w==; Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNdfU-00005j-UV; Fri, 16 Nov 2018 12:56:17 +0000 Received: from ziggy.de (unknown [93.176.133.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7264A22512; Fri, 16 Nov 2018 12:56:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542372966; bh=dpLq0vkDG34KOuZyGnY+rAYvDuqHjt2Dnb9kQAkm81w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1h8FLQduNaxEjy4A5Cx5IvWTvt7T/Ifm9Ibqc4E0ERxASVcEHKyFwD+hm2d2eLyZ0 4AMj/FEIWRJgIVyr4A9v7iul/J2Sz8VtMFYog5SEYqMTSoiivj/Rf89pM6wc7IbeNx a+v98KL3Cimp9Vw3QZorcaXBTFfQZiZUNhst2eGA= From: matthias.bgg@kernel.org To: robh+dt@kernel.org, mark.rutland@arm.com, ck.hu@mediatek.com, p.zabel@pengutronix.de, airlied@linux.ie, mturquette@baylibre.com, sboyd@codeaurora.org, ulrich.hecht+renesas@gmail.com, laurent.pinchart@ideasonboard.com, matthias.bgg@gmail.com Subject: [PATCH v5 09/12] arm64: dts: mt2712e: Use the new mmsys clock compatible Date: Fri, 16 Nov 2018 13:54:46 +0100 Message-Id: <20181116125449.23581-10-matthias.bgg@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181116125449.23581-1-matthias.bgg@kernel.org> References: <20181116125449.23581-1-matthias.bgg@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181116_075617_110724_00308379 X-CRM114-Status: GOOD ( 11.02 ) X-BeenThere: linux-arm-kernel@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, rdunlap@infradead.org, sean.wang@mediatek.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, sean.wang@kernel.org, wens@csie.org, Matthias Brugger , linux-mediatek@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Matthias Brugger Move the clock part of the mmsys in a child node. Signed-off-by: Matthias Brugger --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index ee627a7c7b45..dd6837df92c7 100644 --- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi @@ -412,9 +412,13 @@ }; mmsys: syscon@14000000 { - compatible = "mediatek,mt2712-mmsys", "syscon"; + compatible = "mediatek,mt2712-mmsys", "syscon", "simple-mfd"; reg = <0 0x14000000 0 0x1000>; - #clock-cells = <1>; + + mmsys_clk: clock-controller@14000000 { + compatible = "mediatek,mt2712-mmsys-clk"; + #clock-cells = <1>; + }; }; imgsys: syscon@15000000 {