Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1165733pxm; Wed, 23 Feb 2022 20:02:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCfgyDwtLj1BpiM7yJXt5Sompoip4ohgX3/xTw3HQ/4mXAUiDtuRMofsDr1v2zKVjHlVyZ X-Received: by 2002:a63:2103:0:b0:36c:10db:5509 with SMTP id h3-20020a632103000000b0036c10db5509mr826083pgh.348.1645675350355; Wed, 23 Feb 2022 20:02:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645675350; cv=none; d=google.com; s=arc-20160816; b=Ci0d70xtfpqDBxVsUvj/elZ4emvJGw8KPnK30M1WJYxl6SXt9RJeKOcPLXC/8Ow/Ze o4RrL5Xmh/GX8pAiAS2rWl9odHUap0VJkhraJ1b2wydU+n1USrrtry+OBE1zrtOWfNYF 9DAQGDsQj1zePM/6o5952V/5HNkEepleLsTySBlOL2y7GRy+3IcOCNwCJx5Z7S3W38gv AAjT2hVe6ZR1jAI5KRlC4RrP3YTiOIWwTShj3Jz5Xfr3H4OUfWpppVSd94dvPU/r3CD/ Rajjc1ir7mgxy+nPpX22Eof5qTGKQ/GPl4qhHqzoum7gmY7HF0eb6FM7GSUqGZUAr5CN DKqA== 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=C3V/dtxV15Mn7k63x16wvKI7YuLTRLAtDoW+UZHVNSQ=; b=HM9xSR4u2qzE+nlFkLnqp7RVbRg6vUUyJStFY0FDffwm0VH+ZhnCV0ndpgBb+ocx9e ynm6bQgXUbaEzWZrtSqjIUNOZavfGvypCtgHVIhthZgaL8X3bkpRL1HW05O5V+Ztl6m3 LgAHulYGK2bg+2Jo/gh3ZzKH4BkXjIrbmDyiO8VO1dFXM77pNfiYq9xiVj6auq1rPwyQ qKXxFNdwtPrcRRFccSW7FEV0ScGVrwI4DwpLJoXI2sHlWwQtJF8qpx7TTKuZOhSkL5tP E6GAbqul7v4Su134tQPivQXhj5jGA4y8MGvzAqtzeaOk9XgIGTt8UVD01yMO7V7oBaGM 4HWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JpTyQ9fw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t6si1290154pld.38.2022.02.23.20.02.06; Wed, 23 Feb 2022 20:02:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JpTyQ9fw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229593AbiBXDwe (ORCPT + 99 others); Wed, 23 Feb 2022 22:52:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbiBXDwb (ORCPT ); Wed, 23 Feb 2022 22:52:31 -0500 Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76FD3144F4B for ; Wed, 23 Feb 2022 19:52:00 -0800 (PST) Received: by mail-yb1-xb36.google.com with SMTP id c6so1407525ybk.3 for ; Wed, 23 Feb 2022 19:52:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=C3V/dtxV15Mn7k63x16wvKI7YuLTRLAtDoW+UZHVNSQ=; b=JpTyQ9fwmnCkQTdb4pTZ4OG7pAZVm7gwL2969nPUypAx3k22so+gM3I0W2ci/jvCA5 BDPZMmcHgO3YLsB+3wl8ORdfR8CU0QCz0p728ige4gFTPcamGc/2PpHz7ciUiyqBI3Tu X9cjP50jWu0UKjTUkHmEzjal1OhvJNpAH3BzU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=C3V/dtxV15Mn7k63x16wvKI7YuLTRLAtDoW+UZHVNSQ=; b=pdoZ82FJ+Id06QVbFv85/zPHupUmixNVcqxA3TsM32JmpFNQAXhzGlIR1vqpqsdWfr vVq4Wj3KxVzQEF+Kj/B1KjIdADekqWRTKp/ys2ORLg1BfREPUlKcR7YJBYL26oEN/urJ wazcmDy6Q535te/vrPLjmL4yix3amf3WxG9e0BwYHaBEDTDy/joJZWvYqpGdwfVXWwnh tHtlsjvCoihPymfa62sLeQJpDeG2be9gjec2otN3OO2ZiRPAM14gc+ci6N6EJVRsfmgn Su4HqMayIrhD4G1Acv9NVYIYz5LkDtM+GGnMAwtIVAmDdA3VbKrG49DW9JUzpH60Mpw+ 4QXQ== X-Gm-Message-State: AOAM533sFdz+L5bdHKUAdZ0Hq6510CrqwFbbwzpZb0ySqPW63jKThpoV N+RAFjoRreW5Li3xDDWoqgQbFk86VPeTWcqGTTdWdw== X-Received: by 2002:a25:a486:0:b0:61d:a523:acd0 with SMTP id g6-20020a25a486000000b0061da523acd0mr753461ybi.203.1645674719716; Wed, 23 Feb 2022 19:51:59 -0800 (PST) MIME-Version: 1.0 References: <20220201174643.843102-1-nfraprado@collabora.com> In-Reply-To: <20220201174643.843102-1-nfraprado@collabora.com> From: Chen-Yu Tsai Date: Thu, 24 Feb 2022 11:51:48 +0800 Message-ID: Subject: Re: [PATCH v2] arm64: dts: mt8183: jacuzzi: Fix bus properties in anx's DSI endpoint To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Cc: Robert Foss , Matthias Brugger , Rob Herring , Xin Ji , kernel@collabora.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, dri-devel , Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, (CC-ed DRM bridge maintainers and the dri-devel ML) On Wed, Feb 2, 2022 at 1:47 AM N=C3=ADcolas F. R. A. Prado wrote: > > mt8183-kukui-jacuzzi has an anx7625 bridge connected to the output of > its DSI host. However, after commit fd0310b6fe7d ("drm/bridge: anx7625: > add MIPI DPI input feature"), a bus-type property started being required > in the endpoint node by the driver to indicate whether it is DSI or DPI. > > Add the missing bus-type property and set it to 5 > (V4L2_FWNODE_BUS_TYPE_PARALLEL) so that the driver has its input > configured to DSI and the display pipeline can probe correctly. Don't people find it odd that this is setting the bus-type to "parallel" (5) for the device to use DSI? Instead of "MIPI CSI-2 D-PHY" (4) or even "MIPI CSI-2 C-PHY" (1) which is specified in the binding? It's completely backwards. Would it be possible to fix the binding and driver at this point? Thanks ChenYu > While at it, also set the data-lanes property that was also introduced > in that same commit, so that we don't rely on the default value. > > Fixes: fd0310b6fe7d ("drm/bridge: anx7625: add MIPI DPI input feature") > Signed-off-by: N=C3=ADcolas F. R. A. Prado > > --- > v1: https://lore.kernel.org/all/20220120224204.773117-1-nfraprado@collabo= ra.com > > Changes in v2: > - (thanks Rob) Use proper format when refering to commit in commit > message as pointed out by checkpatch > > arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi b/arc= h/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi > index 8f7bf33f607d..e8f133dc96b9 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi > @@ -171,6 +171,8 @@ port@0 { > > anx7625_in: endpoint { > remote-endpoint =3D <&dsi_out>; > + bus-type =3D <5>; > + data-lanes =3D <0 1 2 3>; > }; > }; > > -- > 2.35.1 > > > _______________________________________________ > Linux-mediatek mailing list > Linux-mediatek@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-mediatek