From patchwork Fri Nov 16 12:54:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 10686315 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 1C1E214BD for ; Fri, 16 Nov 2018 12:57:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09C8D2CDCB for ; Fri, 16 Nov 2018 12:57:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F18FE2CDCA; Fri, 16 Nov 2018 12:57:25 +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 7DDEE2CDCA for ; Fri, 16 Nov 2018 12:57:25 +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=RmwzGjMI2DEcz0gfdUHBBu/coTZcqAuIqViWQbnVNi4=; b=Ej3Ixmr4AhC6oz zSIvdGqYPeZ936uzZq88IZC6a9LQhPquveBsJP4SObyVaWZBwnIOgWy9VG4XqjGd/E3SMZxkHAr5p JHInHPtFeAVeCfkK5BZOmKTiKwAL+uT2q0ZeD5qRV/PlLstMEOByTlpzmZ1VsuDPJuHlRFoi0eeqv /wANu6xxe07VLZSt4UvPVVq92LU0YgBz4jCWxzoTZd6V3eeiz88Uukq3OKBP6mwMJuPHXPDgnDFQc ooCe7MM0Y0Vz0598ABp/VNxc+/1DkzaGzswx1KaLHOLhcnrs5zQMQudqfkkFjatRoxoRNitoG9el3 NJF9GuGFaWDCV3ug8/qg==; 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 1gNdgY-0006p9-EE; Fri, 16 Nov 2018 12:57:22 +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-0005wA-JH; 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=tsAhKQPip//7JQCQPtVf82G+kK19O4GptN39t42Jur8=; b=zqRmqvnEDQd/lbzwOD1fcAUw43 X/8DjUznVlBecgyQtEQF4wBxX9gxZEiCRBpa0/XU+URtubnqa0uoSOwOHIztRkrzNubUn67Fkeort AsZBKp+fGSd78/OTiDLCsWNpz/3q35IAaJixWcM0cbsCmbFpWprGFdT3cSZToCpCKPkJVklC4HFju 4lZQ9f6sF0uqmUc/VnB9bLJFwKWjBUiG6Uc7eSTicEx12vEx/AkpAumRaoG1d9HTRiwf0XxZIT6ia hDPcsMWn+RnZ4/TTzImzXn4aJ9zEbNlNuewN+ozNPjrpRec7DhUlkRIbtjdzl+DuxdM9AxCp/0vZx FE1jWLlw==; 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-000063-UW; 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 B651122513; Fri, 16 Nov 2018 12:56:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542372970; bh=zcIYayK/x2veA+f/cfKszd/YU1GREEj9WyGnLQtE2/I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n04Pgmrbi90U5qIQr3eTt5qf9U6nhjBKPy1MzAm5BKF6latwnLvkfBQs8cgQ+B23A Y1jWA3JCZb1qo8QZ/3a5ZzNB0NV4Zbm1Vg7C5WXJrbe0MoBFb3YfqgnqPIaPqrOnrx /ys+eOxEGCcpWmeJrNt0LQs193Iquaa7EXZQYLys= 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 10/12] arm64: dts: mt6797: Use the new mmsys clock compatible Date: Fri, 16 Nov 2018 13:54:47 +0100 Message-Id: <20181116125449.23581-11-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_119441_9D211406 X-CRM114-Status: GOOD ( 11.08 ) 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 mmsys in a child node. Signed-off-by: Matthias Brugger --- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797.dtsi index 4beaa71107d7..3ca635c81de1 100644 --- a/arch/arm64/boot/dts/mediatek/mt6797.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6797.dtsi @@ -206,9 +206,13 @@ }; mmsys: mmsys_config@14000000 { - compatible = "mediatek,mt6797-mmsys", "syscon"; + compatible = "mediatek,mt6797-mmsys", "syscon", "simple-mfd"; reg = <0 0x14000000 0 0x1000>; - #clock-cells = <1>; + + mmsys_clk: clock-controller@14000000 { + compatible = "mediatek,mt6797-mmsys-clk"; + #clock-cells = <1>; + }; }; imgsys: imgsys_config@15000000 {