Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2150804ybf; Mon, 2 Mar 2020 03:02:33 -0800 (PST) X-Google-Smtp-Source: APXvYqzTeD29mvVc7n4e7AEsaUd40x9SqAAd8eoU3mwIrAq84mvm/+iA3FcgXxoVzmRubrflMCZH X-Received: by 2002:aca:c709:: with SMTP id x9mr10753173oif.130.1583146953430; Mon, 02 Mar 2020 03:02:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583146953; cv=none; d=google.com; s=arc-20160816; b=w5ZntJy3MTzeFNFsOrhCzaMGUZqrG2KciCsKgz5wWA89Jn+112PQGa8SyKdYkLfg6q gkiSJhsfZ3WoxXOO6HwPb60K0iD2X3WkA7BVS827/og7WevRPzfGjeG7/yd2ZLVDshcg 9j2hj2GQYfKVhk7TeqAhxrcQhfWYRqoBSC1/2F7k7wKccJR9zF83979ZDMZcIMQqY5b5 YYRCwMf5jOj8YA2PhxguMFbDwaX7Js4s4UMv/XERpnPbT7MQSm/t+q1vCcOPB6F2U3Tn 5T+bI3LGCj68ILyivsYNCxN2cks0SLd0j67ixn9jsFif9of58qgx8UiJWOvO0lF9YBsS q3aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ua4LkjUcEkKd+TYiG9FUdyjZbM/TTLUVx1QygAPm9eY=; b=uQYYrGc1bUoZm+rr1MUM/uitXpRIf2Xo7c8591knw4MSceEo62Y3FjUDWLHeZAT7OI o3QhU3VAr42Nd2uStmdYe4GAE2Mr7cT5gJjH8UEqRR1r4i6aDR5calgET9zW7EemgbSW lNeyyTLOJhX0huZX17tgluEd1YYzFq5cePB20CUXHsZDx4XKqrzZ9q/yxchybAlj4Q29 /umFDsPnHzU6qb8Wz3DZA6T3mZlLOE3bfED47coZlnJYmzS5f43lmOO4SPdg4HhrIHu4 RAMIsLoAaqn2+NgNkl0Q84EKgJ3GNcXggp2hqnihI13kmh8hxh6HKhJWy5rXPsYwXgIN Z6eA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v25si6127838ote.90.2020.03.02.03.02.17; Mon, 02 Mar 2020 03:02:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727902AbgCBLBr (ORCPT + 99 others); Mon, 2 Mar 2020 06:01:47 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:44502 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727883AbgCBLBp (ORCPT ); Mon, 2 Mar 2020 06:01:45 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id CC79F2949CF From: Enric Balletbo i Serra To: robh+dt@kernel.org, mark.rutland@arm.com, ck.hu@mediatek.com, p.zabel@pengutronix.de, airlied@linux.ie, mturquette@baylibre.com, sboyd@kernel.org, ulrich.hecht+renesas@gmail.com, laurent.pinchart@ideasonboard.com Cc: Mauro Carvalho Chehab , rdunlap@infradead.org, dri-devel@lists.freedesktop.org, Weiyi Lu , Seiya Wang , linux-clk@vger.kernel.org, Collabora Kernel ML , mtk01761 , Allison Randal , Thomas Gleixner , wens@csie.org, Kate Stewart , Greg Kroah-Hartman , Houlong Wei , Matthias Brugger , linux-media@vger.kernel.org, devicetree@vger.kernel.org, sean.wang@mediatek.com, frank-w@public-files.de, Minghsiu Tsai , Andrew-CT Chen , linux-mediatek@lists.infradead.org, hsinyi@chromium.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org, Richard Fontana , linux-kernel@vger.kernel.org, matthias.bgg@kernel.org, Daniel Vetter Subject: [PATCH v11 2/5] dt-bindings: mediatek: Update mmsys binding to reflect it is a system controller Date: Mon, 2 Mar 2020 12:01:25 +0100 Message-Id: <20200302110128.2664251-3-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200302110128.2664251-1-enric.balletbo@collabora.com> References: <20200302110128.2664251-1-enric.balletbo@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The mmsys system controller is not only a pure clock controller, so update the binding documentation to reflect that apart from providing clocks, it also provides routing and miscellaneous control registers. Signed-off-by: Enric Balletbo i Serra Reviewed-by: Matthias Brugger Reviewed-by: CK Hu --- Changes in v11: None Changes in v10: - Update the binding documentation for the mmsys system controller. Changes in v9: None Changes in v8: None Changes in v7: None .../devicetree/bindings/arm/mediatek/mediatek,mmsys.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt index 301eefbe1618..8d6a9d98e7a6 100644 --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt @@ -1,7 +1,8 @@ Mediatek mmsys controller ============================ -The Mediatek mmsys controller provides various clocks to the system. +The Mediatek mmsys system controller provides clock control, routing control, +and miscellaneous control in mmsys partition. Required Properties: @@ -15,13 +16,13 @@ Required Properties: - "mediatek,mt8183-mmsys", "syscon" - #clock-cells: Must be 1 -The mmsys controller uses the common clk binding from +For the clock control, the mmsys controller uses the common clk binding from Documentation/devicetree/bindings/clock/clock-bindings.txt The available clocks are defined in dt-bindings/clock/mt*-clk.h. Example: -mmsys: clock-controller@14000000 { +mmsys: syscon@14000000 { compatible = "mediatek,mt8173-mmsys", "syscon"; reg = <0 0x14000000 0 0x1000>; #clock-cells = <1>; -- 2.25.1