Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5367995pxu; Wed, 21 Oct 2020 23:38:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTy7ieUfO7tlO5TkjxYE6KD3Uv8QnneARzBXoi5HH3K61YjFJL7Rcgn9JgCWxgK1xK+8jL X-Received: by 2002:a50:ee95:: with SMTP id f21mr885750edr.270.1603348708040; Wed, 21 Oct 2020 23:38:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603348708; cv=none; d=google.com; s=arc-20160816; b=eWDayXbiqPpPKCNAQ8u9nmiZBwUYn6IxjeMsMgzE29O376rX/vgFgJ+piWBtH3v1u6 RvXa2E0JfmGh9qGkibxc6NzyVBftPrh2tpHN4t2cgIYSyRXqkothMbsnaJpgcgijKUjK UZkFN3ZnnGZ+OBnhEOzgj+O5l7u3itCC14aL0FAJwRHZl89WFJDCGQkz9jJCEA4qS1ms Y5m17vgRlgCoszxQhw4Cm9S3Wh7TVvGriWnp6BQBQRuBrSybZ8GWLX9VA5nZSdZrGjC8 elhjsGIVLf6845UhjmW+6DLPN6vgeFomwUBKvBN+4qDIJ4QPDwZ8ryFEgPzKRs4L5mq1 yIPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Cc/K/PIuG41/PR7b04TzfA68X44vY0DhA0nNvxK+odE=; b=ogzAau0ZPFCKZMH43p7LUSZKvbCAwvRtNHcMI/OzqXdEkaylUO0YaZ4Jg9kOdxs3CN VgS+wdS+K2DrOHHluVqlZdSIMRwsG2NNiG3o9fDBuU6vy9NH85nBqqn65KTWATQ4KVUq zDpu+VPJ2hC1ONkiTxj12b3tUjGETtZokYELlzznLJnCN1ndKTXrpHfGjOFJVxQaxyQB /xcpQcb0OGcGZ1RReqebUEwbNHsrhfmHAmLKcT01htHDJR3+FtEdcCjYFblBrgBjX1tz CfeL8kz2TdiBoJ1n5xdwg+dno/aCQ9pdczYgpTj/XrQ5ZyedZ+c//x5w4mOf07X51OAr w4Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=GrBOpz3B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lr20si309016ejb.439.2020.10.21.23.38.06; Wed, 21 Oct 2020 23:38:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=GrBOpz3B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2441012AbgJUS4o (ORCPT + 99 others); Wed, 21 Oct 2020 14:56:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395239AbgJUS4o (ORCPT ); Wed, 21 Oct 2020 14:56:44 -0400 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1646FC0613CF for ; Wed, 21 Oct 2020 11:56:44 -0700 (PDT) Received: by mail-io1-xd42.google.com with SMTP id b8so4265447ioh.11 for ; Wed, 21 Oct 2020 11:56:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Cc/K/PIuG41/PR7b04TzfA68X44vY0DhA0nNvxK+odE=; b=GrBOpz3B04eglI4Ou/H+aoMQQg7CO3n/sx11CnC2KFyl751f5YKbxaSJfAieTMWw+3 kUWQ215pQELE9Py74xWRSY0RUbNNU8vjRkpRQdw7F2GGU/dlVP7gC2Eu6WVVw+Hv6gmq fT3Ik/FKSDcRA8IdinKj2EfiCJZ8PsY1Wpev4G37iKVKPC3gKiVcL75dRi5pCmlhLOnb xw6VL88vbHWo41Wgo35mqxEQH5kQUEKl7XojseMCtNHeMNA9jtXbEr72jh9Sdcuc9GaW bW/GP+M9fsP2tI1TpMf5ZvWbfEtZl4I+lpZjbzIxPbFgx9c8joumjuG2a2iPHZxVfnnB pD2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Cc/K/PIuG41/PR7b04TzfA68X44vY0DhA0nNvxK+odE=; b=dfea3sBSmHdzLrk0D7JAeJsQOl3OZt16Oxj6osr7no+3ALO4ehOgtxY8TiFE0d3qqK EdhNCCQt7/KK9bCbwck2DBjboGBy7yLyqp8gkRGu0Dg21zh4hn+JlVD2zoNL73MFxW5K JigBoFcBIxdHVhUZ18QzfRvUFLDIB9Y01aQuqfzfWrS1AcCx+R7p3b4Du4xzOsauo2sh G0yQ7SsmTXG+Zv6Yh/tU2ctiHRR6IuNqFwkcBFfmIHS86g+GGrcyZo8Lms1Ls7cIK110 EV+44AYUol+Fk6jgy0wus4e96J22WaHFw7BJUeyt5vvgaYPeeg17IkXO1G+T+JQTLi0I L7hg== X-Gm-Message-State: AOAM533WzobhuZhNHzwSY4HPG7Ed6e0wOZgI1WylTlobnTSS8l83Y317 6Ku6tmHbSzM5g+aynZZ/xWuqMFFSbj0th/2rrKQDHg== X-Received: by 2002:a05:6638:1243:: with SMTP id o3mr3993558jas.82.1603306603222; Wed, 21 Oct 2020 11:56:43 -0700 (PDT) MIME-Version: 1.0 References: <20201020174253.3757771-1-fparent@baylibre.com> <20201020174253.3757771-3-fparent@baylibre.com> In-Reply-To: From: Fabien Parent Date: Wed, 21 Oct 2020 20:56:32 +0200 Message-ID: Subject: Re: [PATCH 2/8] dt-bindings: display: mediatek: dsi: add documentation for MT8167 SoC To: Chun-Kuang Hu Cc: "moderated list:ARM/Mediatek SoC support" , Linux ARM , linux-kernel , DTML , DRI Development , Matthias Brugger , Rob Herring , Daniel Vetter , David Airlie , Philipp Zabel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chun-Kuang, On Wed, Oct 21, 2020 at 7:01 PM Chun-Kuang Hu wro= te: > > Hi, Fabien: > > Fabien Parent =E6=96=BC 2020=E5=B9=B410=E6=9C=8821= =E6=97=A5 =E9=80=B1=E4=B8=89 =E4=B8=8A=E5=8D=881:43=E5=AF=AB=E9=81=93=EF=BC= =9A > > > > Add binding documentation for the MT8167 SoC. The SoC needs > > an additional clock compared to the already supported SoC: mipi26m. > > > > Signed-off-by: Fabien Parent > > --- > > .../devicetree/bindings/display/mediatek/mediatek,dsi.txt | 7 ++++--- > > 1 file changed, 4 insertions(+), 3 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/display/mediatek/mediate= k,dsi.txt b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi= .txt > > index f06f24d405a5..10ae6be7225e 100644 > > --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.t= xt > > +++ b/Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.t= xt > > @@ -7,12 +7,13 @@ channel output. > > > > Required properties: > > - compatible: "mediatek,-dsi" > > -- the supported chips are mt2701, mt7623, mt8173 and mt8183. > > +- the supported chips are mt2701, mt7623, mt8167, mt8173 and mt8183. > > - reg: Physical base address and length of the controller's registers > > - interrupts: The interrupt signal from the function block. > > - clocks: device clocks > > See Documentation/devicetree/bindings/clock/clock-bindings.txt for d= etails. > > -- clock-names: must contain "engine", "digital", and "hs" > > +- clock-names: must contain "engine", "digital", "hs" > > + Can optionnally also contain "mipi26m" > > It seems that mipi26m is the clock of mipi-tx. In mt8173.dtsi [1], > mipi-tx's clock is 26m. > > mipi_tx0: mipi-dphy@10215000 { > compatible =3D "mediatek,mt8173-mipi-tx"; > reg =3D <0 0x10215000 0 0x1000>; > clocks =3D <&clk26m>; > clock-output-names =3D "mipi_tx0_pll"; > #clock-cells =3D <0>; > #phy-cells =3D <0>; > status =3D "disabled"; > }; > > If this is the clock of mipi-tx, it should be controlled by mipi-tx drive= r. Thanks, I will fix that in v2. > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tr= ee/arch/arm64/boot/dts/mediatek/mt8173.dtsi?h=3Dv5.9 > > Regards, > Chun-Kuang. > > > - phys: phandle link to the MIPI D-PHY controller. > > - phy-names: must contain "dphy" > > - port: Output port node with endpoint definitions as described in > > @@ -26,7 +27,7 @@ The MIPI TX configuration module controls the MIPI D-= PHY. > > > > Required properties: > > - compatible: "mediatek,-mipi-tx" > > -- the supported chips are mt2701, 7623, mt8173 and mt8183. > > +- the supported chips are mt2701, 7623, mt8167, mt8173 and mt8183. > > - reg: Physical base address and length of the controller's registers > > - clocks: PLL reference clock > > - clock-output-names: name of the output clock line to the DSI encoder > > -- > > 2.28.0 > >