Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp837690ybb; Wed, 25 Mar 2020 10:32:22 -0700 (PDT) X-Google-Smtp-Source: ADFU+vthUl7RCleVHpOSQ2Vr61+tEZXCvRN76k7UadATY2/hA3uOq6YPW3y3AWrtRl1t3VNOxaKy X-Received: by 2002:a05:6830:1d98:: with SMTP id y24mr3314542oti.76.1585157542019; Wed, 25 Mar 2020 10:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585157542; cv=none; d=google.com; s=arc-20160816; b=m9bkiSHg6oFi4rcv91Fg9fXsB1HXwR9oi1ey73KYnKhxj+x0ntlwqe766glZxtuW5f +6qYjzrVURRieK1+UMSipikinZ0fSOcVQWngMt3A59xzO7SO2XP0Hv6xTtCA+LPeVsWG pQ8r2YePzDuSHAdbbm/LsWNvwg6XTU2Kyl63FpN2HrqPEGY92EUmno5m9Llp78fvaes9 ItLfO8JxV4YIkxSRA9lg+hbpo6rPefzGShEV7lqMwdx/S02ZpqPH3kos/mh0yZQRnSyE plR7xZw9HRm86MJIkff6ypmE8D1NFhal9+rpHGKAhACkrg4jsvvyQ5paONhfj5ieYVdZ fh+w== 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=uWdnOW+rHhtHe2wnFWWgu10bfceKKRVD0CIddfSwdw8=; b=bgl5T8xx6WXk+XzwLP3jewSAXew+Tt3rWP1lJC6I+idYE3Z2nQDumxodDPpEa0fpcl ND7adfdfwDXHi30NvbswjPg4P90F5e55UAlnASFgRNxEXbOI5Vt51wrK520DGhvn9h9+ X79/Mw3qspwcbgTaL4WtADmYRusiocN+A44w5pEcC85hk1aNs9lwiJvG7BOHiYeEbPwo NiDRlmgvLRpzuIQLozVEsYFZV8D+JdH/0OsI2HhBwKSpRy1I2ok4lhyPw1XdeHvr81Dq XWvV/sgE9gcTyBNZ4ensPv13NnLZ7cAdARUPefo/t9cDnpbQrtNgLyWQR1NTyDi00kbB xMUw== 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 q19si11387529otk.11.2020.03.25.10.32.08; Wed, 25 Mar 2020 10:32:22 -0700 (PDT) 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 S1727798AbgCYRbn (ORCPT + 99 others); Wed, 25 Mar 2020 13:31:43 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:37082 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727129AbgCYRbn (ORCPT ); Wed, 25 Mar 2020 13:31:43 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 10A462969FA 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: linux-mediatek@lists.infradead.org, Andrew-CT Chen , rdunlap@infradead.org, frank-w@public-files.de, wens@csie.org, Mauro Carvalho Chehab , Houlong Wei , Collabora Kernel ML , devicetree@vger.kernel.org, Thomas Gleixner , Richard Fontana , Matthias Brugger , Greg Kroah-Hartman , Minghsiu Tsai , matthias.bgg@kernel.org, Allison Randal , linux-kernel@vger.kernel.org, hsinyi@chromium.org, Seiya Wang , linux-clk@vger.kernel.org, mtk01761 , Kate Stewart , Matthias Brugger , sean.wang@mediatek.com, Weiyi Lu , linux-arm-kernel@lists.infradead.org, Daniel Vetter , dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org Subject: [RESEND PATCH v12 2/5] dt-bindings: mediatek: Update mmsys binding to reflect it is a system controller Date: Wed, 25 Mar 2020 18:31:20 +0100 Message-Id: <20200325173123.3569606-3-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200325173123.3569606-1-enric.balletbo@collabora.com> References: <20200325173123.3569606-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 v12: 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