Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6232272ybv; Tue, 18 Feb 2020 12:32:30 -0800 (PST) X-Google-Smtp-Source: APXvYqxX3w0IRvZUnnIDyAuJllPkN45QOHqWVreGSGyxNXYBZ55i/4PabEJ9syId756CdQYL0kpq X-Received: by 2002:a05:6830:1e76:: with SMTP id m22mr12049268otr.295.1582057950095; Tue, 18 Feb 2020 12:32:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582057950; cv=none; d=google.com; s=arc-20160816; b=nSJZM+0EJNVBM5v+CwzYHr8GyFJ9oo4M0qLw7ot2ul85FNwl4yzoDjYgUwK2FQGjAQ DLp6qMWqnKMU9G1NI3PmBdJounoEMei+CCr4THGmfE20CqF3XrfrmppNClswewPD+Bm2 /4QCCYzS44y0c8+PpgLh3orflHXshZVsIJMO/qxstVCnkAK3Mgt5Wk7G0LbSg6/Sssfa OzqaLY5ffuYVii+AS0tJ32/IIHZ94gLuXvF5d6gZz8gq0chH+dZ3MEkwuUjJ3wCQ5UF5 TCuEWaPLs/IxckdJ+GE8UBENVtWidRRZ6s6CWbRhjdGEVkCUO8Gx92Z0A3Fl/gM9EoaB iiUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=J/VxJ3xiwdS6/BWNfUPWpgIlaLG5DINnCPtjKZgxKdM=; b=zfsJGyp77W1NUHaRovCxcr/++Y5VUBGDam6LU4wHc1OZU2RjfzhtrXP7yCAgn6Fpus ia9uMaN4AZbUcEhRhV85ftJzxHZkkWCmeFmAR6UlACO1tbvT5OZUqQ/998X/8UW41dvh ZnsZF/zDx0br0tvhGT/zrigo6vFVinRXRK6kEyh2eeyIwzUOpWn5RGsLNDDT3i8PzhX4 BggPINjuwBhz2hg+3+JMtLfEG40yALqSc+jEwud8VJqxZDPK75e7uLMBtWNb/ermmixG pfYcImVP6rpKbwgSd5rUzFovc6y+vvLuuRO9qfok5w3lpNcAKiXFchlG1tBVceolqNYL 9fSg== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u21si2308716otq.137.2020.02.18.12.32.18; Tue, 18 Feb 2020 12:32:30 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726821AbgBRUbz (ORCPT + 99 others); Tue, 18 Feb 2020 15:31:55 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:37102 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726283AbgBRUby (ORCPT ); Tue, 18 Feb 2020 15:31:54 -0500 Received: by mail-oi1-f195.google.com with SMTP id q84so21512439oic.4; Tue, 18 Feb 2020 12:31:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=J/VxJ3xiwdS6/BWNfUPWpgIlaLG5DINnCPtjKZgxKdM=; b=to4rJbzvx2eabws6ZIqorBVPxeBvz1PRGBHQrRNnzrPBYB9b8OtUIAGxg4nWCQvMh7 Rt8zwcB1IjXcMtjJOkSvnwixmoP5lXTe7dnq6PgDXuv7UdXa9/lHhejQ7syN7BJY7FN4 BQ/ToBs3tzaw3CDnjWyBmxo7RJy2dMPsy3gFcDMgwKDHoxvQ2gOya3UH3ZKHQcN+kqDp /qJuZ9B/itpHUcm9eeJ+NtPRyW4kzjukHbbK+T75Ng53AQoI0hfmvlDRZfTVa+vkFisz X+LUEYdfRF0GNjrAYSmSg+GKKD07IAPNE83gX4L/aemV4gCsQBYAeP7lLPYB9aA5QTuO MzKg== X-Gm-Message-State: APjAAAUgxRk/6MgwUq8bRHtb/oAIeiVFfzzXXo76aoBpC+h/oR0Q2abI KFJw2OG2osp5nhOJRgaXtQ== X-Received: by 2002:aca:af50:: with SMTP id y77mr2515745oie.8.1582057913671; Tue, 18 Feb 2020 12:31:53 -0800 (PST) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id y25sm1716518oto.27.2020.02.18.12.31.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Feb 2020 12:31:52 -0800 (PST) Received: (nullmailer pid 19094 invoked by uid 1000); Tue, 18 Feb 2020 20:31:51 -0000 Date: Tue, 18 Feb 2020 14:31:51 -0600 From: Rob Herring To: matthias.bgg@kernel.org Cc: 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, enric.balletbo@collabora.com, devicetree@vger.kernel.org, drinkcat@chromium.org, frank-w@public-files.de, sean.wang@mediatek.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, wens@csie.org, linux-mediatek@lists.infradead.org, rdunlap@infradead.org, hsinyi@chromium.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, Matthias Brugger , Daniel Vetter , Matthias Brugger Subject: Re: [PATCH v7 02/13] dt-bindings: display: mediatek: Add mmsys binding description Message-ID: <20200218203151.GA15948@bogus> References: <20200213201953.15268-1-matthias.bgg@kernel.org> <20200213201953.15268-3-matthias.bgg@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200213201953.15268-3-matthias.bgg@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 13, 2020 at 09:19:42PM +0100, matthias.bgg@kernel.org wrote: > From: Matthias Brugger > > The MediaTek DRM has a block called mmsys, which sets > the routing and enables the different blocks. > This patch adds one line for the mmsys bindings description and changes > the mmsys description to use the generic form of referring to a specific > Soc. > > Signed-off-by: Matthias Brugger > > --- > > Changes in v7: > - add hint to the mmsys binding document > - make mmsys description generic > - fix typo in commit message > > Changes in v6: None > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > .../bindings/display/mediatek/mediatek,disp.txt | 3 +++ > .../bindings/display/mediatek/mediatek,mmsys.txt | 9 +-------- > 2 files changed, 4 insertions(+), 8 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt > index b91e709db7a4..8e453026ef78 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt > @@ -24,6 +24,7 @@ connected to. > For a description of the display interface sink function blocks, see > Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.txt and > Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt. > +Documentation/devicetree/bindings/display/mediatek/mediatek,mmsys.txt. > > Required properties (all function blocks): > - compatible: "mediatek,-disp-", one of > @@ -43,7 +44,9 @@ Required properties (all function blocks): > "mediatek,-dpi" - DPI controller, see mediatek,dpi.txt > "mediatek,-disp-mutex" - display mutex > "mediatek,-disp-od" - overdrive > + "mediatek,-mmsys", "syscon" - provide clocks and components management > the supported chips are mt2701, mt2712 and mt8173. > + > - reg: Physical base address and length of the function block register space > - interrupts: The interrupt signal from the function block (required, except for > merge and split function blocks). > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,mmsys.txt b/Documentation/devicetree/bindings/display/mediatek/mediatek,mmsys.txt > index 301eefbe1618..7bbadee820e3 100644 > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,mmsys.txt > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,mmsys.txt > @@ -5,14 +5,7 @@ The Mediatek mmsys controller provides various clocks to the system. > > Required Properties: > > -- compatible: Should be one of: > - - "mediatek,mt2701-mmsys", "syscon" > - - "mediatek,mt2712-mmsys", "syscon" > - - "mediatek,mt6779-mmsys", "syscon" > - - "mediatek,mt6797-mmsys", "syscon" > - - "mediatek,mt7623-mmsys", "mediatek,mt2701-mmsys", "syscon" You've lost this information about the fallback... > - - "mediatek,mt8173-mmsys", "syscon" > - - "mediatek,mt8183-mmsys", "syscon" > +- compatible: "mediatek,-mmsys" You are just going to have to add these all back when this is converted to schema. Rob