Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1687245ybv; Fri, 14 Feb 2020 04:19:56 -0800 (PST) X-Google-Smtp-Source: APXvYqwjHNLs4NCtu5OXVRKkljzkr5y5TxrPE+Cf0piwmVYx+AahZ6W0fWbgsgGyuGkDysfgaENv X-Received: by 2002:aca:cc07:: with SMTP id c7mr1576705oig.165.1581682796460; Fri, 14 Feb 2020 04:19:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581682796; cv=none; d=google.com; s=arc-20160816; b=b57dY11vWf7T15xLNZWOAoLgIdBeW9z8CgylEK9Xkc7gWnPTDrlM8AaeC03TZHBGgb rCIXz5nemYFwsdLhVHWYwsgevEK0jFhrW59pksol8bPIMdyP93QpKBtymzqmqLdzqW0z lw2368WPfXu6qTZqVI5N0BMCA1kTDujHGSgixqx10rEVw0uif9i9Dxh+6r4tXFu5g2Mo ndloAFS5jPKvJapdGYdR3Ox9hNJ5QZAQGdP+5aVOiguKQqwB+TCvAoO8rHpI62btpcGk qwFvE5jvQDgy81OGxpszMDDMlJYXs0gl9xbYJBfLaiIMzrVXIrQKKyk54icOxwDm+G2O fgxQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=ww0Qxcppaxv2JmUH8b9vfYe0PgMT3yqgPr8Eea0sy2I=; b=w8xtKZdR8da3fywGhjKq4Gw/KH0hohfujufAMBa9Yh1cOT0Emlxi8EeqoqPwYy6J/d TcZzvTZv/T2fg8DpimWVpcf3MGv8IjY/1VdsS39NnB0zuYBCt89Y/O5fKDNByL7R5ze7 XCFINXVHb/9AYMdWew95SlSXCpD2YPzCmgJh/mBAmiPR0gp/FMKEFPAMxrHgpUJLW8fh l3VxE/JjTOj2XxJnVULUnUgNZHeoRR+t6pcgtHkz3/PLxdDATufSIoLZA2kiZ14SAoiD YX4KaVJh1ePzi0clJZzXY2tJY2xmSoUQvPdogTsvjU6vryPccdS1DgsQFtNcFLvPStnB 8NwQ== 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 f194si417520oig.243.2020.02.14.04.19.44; Fri, 14 Feb 2020 04:19:56 -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 S1729140AbgBNMTe (ORCPT + 99 others); Fri, 14 Feb 2020 07:19:34 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:44828 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728582AbgBNMTe (ORCPT ); Fri, 14 Feb 2020 07:19:34 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 5E10528D7ED Subject: Re: [PATCH v7 01/13] dt-bindings: arm: move mmsys description to display To: Matthias Brugger , CK Hu , matthias.bgg@kernel.org Cc: mark.rutland@arm.com, airlied@linux.ie, mturquette@baylibre.com, dri-devel@lists.freedesktop.org, laurent.pinchart@ideasonboard.com, ulrich.hecht+renesas@gmail.com, linux-clk@vger.kernel.org, drinkcat@chromium.org, Weiyi Lu , wens@csie.org, mtk01761 , linux-media@vger.kernel.org, devicetree@vger.kernel.org, Daniel Vetter , frank-w@public-files.de, sean.wang@mediatek.com, robh+dt@kernel.org, linux-mediatek@lists.infradead.org, hsinyi@chromium.org, linux-arm-kernel@lists.infradead.org, Matthias Brugger , sboyd@kernel.org, rdunlap@infradead.org, linux-kernel@vger.kernel.org, p.zabel@pengutronix.de References: <20200213201953.15268-1-matthias.bgg@kernel.org> <20200213201953.15268-2-matthias.bgg@kernel.org> <1581662577.17949.3.camel@mtksdaap41> <2bda2dd7-9ed2-8b4c-897e-e585ccfa1fa5@gmail.com> From: Enric Balletbo i Serra Message-ID: <022e8f64-b414-67a5-722e-bdd7c00230ff@collabora.com> Date: Fri, 14 Feb 2020 13:19:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <2bda2dd7-9ed2-8b4c-897e-e585ccfa1fa5@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi CK, On 14/2/20 11:01, Matthias Brugger wrote: > > > On 14/02/2020 07:42, CK Hu wrote: >> Hi, Matthias: >> >> On Thu, 2020-02-13 at 21:19 +0100, matthias.bgg@kernel.org wrote: >>> From: Matthias Brugger >>> >>> The mmsys block provides registers and clocks for the display >>> subsystem. The binding description should therefore live together with >>> the rest of the display descriptions. Move it to display/mediatek. >>> >> >> Yes, for the upstreamed driver, only display (DRM) use mmsys clock. For >> some MDP patches [1] in progress, MDP also use mmsys clock. So we just >> consider what's upstreamed now? > Let me jump into the discussion, and sorry if my question is silly because I'm just starting to look at this code. IMO we should consider all the cases to find a proper fix on all this, and if MDP uses also mmsys clocks this approach will not work. I think the main problem here and the big question is what exactly is the MMSYS block, is an independent clock controller that provides clocks to DRM and other blocks? or is hardly tied to the DRM block in some way? Could you give us a block schema on how the things are interconnected? If is an independent clock controller I think there was a mistake when the first drm driver was pushed by using the compatible = "mediatek,mt8173-mmsys" as id for that driver. Thanks, Enric > I'm not sure if I understand you correctly. Are you proposing to keep the > binding description in arm/mediatek? > > Regards, > Matthias > >> >> [1] https://patchwork.kernel.org/patch/11140747/ >> >> Regards, >> CK >> >>> Signed-off-by: Matthias Brugger >>> >>> --- >>> >>> Changes in v7: >>> - move the binding description >>> >>> Changes in v6: None >>> Changes in v5: None >>> Changes in v4: None >>> Changes in v3: None >>> Changes in v2: None >>> >>> .../bindings/{arm => display}/mediatek/mediatek,mmsys.txt | 0 >>> 1 file changed, 0 insertions(+), 0 deletions(-) >>> rename Documentation/devicetree/bindings/{arm => display}/mediatek/mediatek,mmsys.txt (100%) >>> >>> diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt b/Documentation/devicetree/bindings/display/mediatek/mediatek,mmsys.txt >>> similarity index 100% >>> rename from Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt >>> rename to Documentation/devicetree/bindings/display/mediatek/mediatek,mmsys.txt >> >> _______________________________________________ >> linux-arm-kernel mailing list >> linux-arm-kernel@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel >>