Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp3296115lfo; Mon, 23 May 2022 00:59:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9Up/hUbzXBPXOzQYhTghapYjbxvGy9VRXuLcU4J3v+dG7gxL9TsP11mApI5AyKfxl5K2E X-Received: by 2002:a63:ef4e:0:b0:3f9:e8c4:b72d with SMTP id c14-20020a63ef4e000000b003f9e8c4b72dmr9432422pgk.328.1653292785269; Mon, 23 May 2022 00:59:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653292785; cv=none; d=google.com; s=arc-20160816; b=Q3X8yctFGD6pN/DtfRNkEE3WTdeKNmZdKGyeHre0O1sQelZoVWSHnP9oopokVC4eQK ygEAU7/NGjSeFTZqRqYffDzVlNuw9oo64xRbD95Ve1ouREcHAzO5butdCQWMU6O0jiQS O4CWfY65CNlHBjllem68GDcmM/6JwGVZ9x2g2FxMP97SeyRS8K4IGUTztnML5fDiKRvB oKMYkysIWZCvnbsVQdohs1UqMwWAso/YupDKcei+AXTsWra4iMDydpquLTWIm7CgYpzj XVJ1UimErGj7+95Q6dIVyNs1MZzh7dgb27jyb8UJW2WAlj18elxHf9EW0KkOSRiKD1AA LyTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=WtHxkgszDV/EegSXqTlHrX9ymt7tXoHTWBFP3/bwxA4=; b=XnUCE+JdY9yOyqLUAQxyb+O7VR4atYFTtdzhgyLmF/zaRORINP0/FT86upwtEbFRbW of+CVponKicZKWDkrlf3y2V8iUrkx67kXobt6J267zHcUE2VlPRchY4XdZIt1bTyUhkg s+MREHQP0KtpSP0UnIEDPo/MQsSANPo1jSUpvjnzd/oeGYjHRUqBW2Dciz0DEdFJn5js OqwHmKw8jyMqbWety5mP6TNG5OFc/SVCPDAfxQhycr3tdD8UpSO3OQtPg8idzAyFxWSC joIpBgtzh4QWxy/tL2Mp51wF1sZTjwEtQzKswvaCRLu7X6H0W7RXCoihAPTysboSIvtH /pHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=lTOKSmuI; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k14-20020a056a00134e00b0050dde3c0d4csi13199824pfu.284.2022.05.23.00.59.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 00:59:45 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=lTOKSmuI; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AA6781F7E1E; Sun, 22 May 2022 23:59:27 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245137AbiEUQHq (ORCPT + 99 others); Sat, 21 May 2022 12:07:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242468AbiEUQHl (ORCPT ); Sat, 21 May 2022 12:07:41 -0400 Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8612B77F25 for ; Sat, 21 May 2022 09:07:40 -0700 (PDT) Received: by mail-oi1-x22a.google.com with SMTP id t144so9933736oie.7 for ; Sat, 21 May 2022 09:07:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WtHxkgszDV/EegSXqTlHrX9ymt7tXoHTWBFP3/bwxA4=; b=lTOKSmuIkOpF8HGnAK4WXY7YIjk+Rdv3RO9uuySN7BzJ82WWevpfmwsUArtp3eC8gx 0G2vWcRb+6vO3KHLut2jIun8Gg49EwonSNy4+8uEkGOd/k3GqKQs6ggeNn3RJL+gI6S+ f+eTiTvMAYJK7AtYTmRaQXs28Mi/y6P4nazqs= 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; bh=WtHxkgszDV/EegSXqTlHrX9ymt7tXoHTWBFP3/bwxA4=; b=MpmagixgP7xj4o30rpX3kQCg2K8CUR/3FY/bx8OPqF6/53GN44HF5te2n7wAT5T84a LB06o5kYsE3SvG5JfAzk7ftyHhz+qfEpPJGLzOvLLBU62mpTcPvoA9WqNZJxxTOtXyJ3 gfANTGv/Af4qK4rbkfCgW3NoYc5eXRBP24ondgqi63AOkFvTKyRv7fZWQhsaa3ip/Z02 E3U7ClkOqENn79MMFHmDi1WrKhpnH/tGhNwQq1SEVLDHPAb7sQyBEYQbsGfXSxpq9qgZ REcQjmVWGUkSB2C8n5KyXn/oSE1eeuxcSn2uxj1Gm6IfStQAZqSw3HSpu6Uap3h+KjCz jA2g== X-Gm-Message-State: AOAM530xSsGu1lFhyOLTLBsbpAxkqaxhMI/NRQD1qlVbRB8ylusOkatc ++vME/dOESvcc5p3JRKcfR+yNKwW6grP1gXFxT9WYg== X-Received: by 2002:a05:6808:2181:b0:326:901e:f5e7 with SMTP id be1-20020a056808218100b00326901ef5e7mr8605870oib.7.1653149259864; Sat, 21 May 2022 09:07:39 -0700 (PDT) MIME-Version: 1.0 References: <20220422084720.959271-1-xji@analogixsemi.com> <20220422084720.959271-4-xji@analogixsemi.com> <20220425091419.GA967110@anxtwsw-Precision-3640-Tower> In-Reply-To: From: Daniel Vetter Date: Sat, 21 May 2022 18:07:29 +0200 Message-ID: Subject: Re: [PATCH v2 4/4] drm/bridge: anx7625: Use DPI bus type To: Robert Foss Cc: Xin Ji , Neil Armstrong , David Airlie , qwen@analogixsemi.com, Jonas Karlman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jernej Skrabec , Andrzej Hajda , Chen-Yu Tsai , bliang@analogixsemi.com, Laurent Pinchart Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Tue, 17 May 2022 at 18:09, Robert Foss wrote: > > On Mon, 25 Apr 2022 at 11:14, Xin Ji wrote: > > > > On Mon, Apr 25, 2022 at 04:24:50PM +0800, Chen-Yu Tsai wrote: > > > On Fri, Apr 22, 2022 at 10:13 PM Robert Foss wrote: > > > > > > > > On Fri, 22 Apr 2022 at 16:01, Robert Foss wrote: > > > > > > > > > > On Fri, 22 Apr 2022 at 10:49, Xin Ji wrote: > > > > > > > > > > > > As V4L2_FWNODE_BUS_TYPE_PARALLEL not properly descript for DPI > > > > > > interface, this patch use new defined V4L2_FWNODE_BUS_TYPE_DPI for it. > > > > > > > > > > > > Fixes: fd0310b6fe7d ("drm/bridge: anx7625: add MIPI DPI input feature") > > > > > > Signed-off-by: Xin Ji > > > > > > --- > > > > > > drivers/gpu/drm/bridge/analogix/anx7625.c | 8 ++++---- > > > > > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > > > > > > > > > > diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c > > > > > > index 376da01243a3..71df977e8f53 100644 > > > > > > --- a/drivers/gpu/drm/bridge/analogix/anx7625.c > > > > > > +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c > > > > > > @@ -1623,14 +1623,14 @@ static int anx7625_parse_dt(struct device *dev, > > > > > > > > > > > > anx7625_get_swing_setting(dev, pdata); > > > > > > > > > > > > - pdata->is_dpi = 1; /* default dpi mode */ > > > > > > + pdata->is_dpi = 0; /* default dsi mode */ > > > > > > pdata->mipi_host_node = of_graph_get_remote_node(np, 0, 0); > > > > > > if (!pdata->mipi_host_node) { > > > > > > DRM_DEV_ERROR(dev, "fail to get internal panel.\n"); > > > > > > return -ENODEV; > > > > > > } > > > > > > > > > > > > - bus_type = V4L2_FWNODE_BUS_TYPE_PARALLEL; > > > > > > + bus_type = 0; > > > > > > mipi_lanes = MAX_LANES_SUPPORT; > > > > > > ep0 = of_graph_get_endpoint_by_regs(np, 0, 0); > > > > > > if (ep0) { > > > > > > @@ -1640,8 +1640,8 @@ static int anx7625_parse_dt(struct device *dev, > > > > > > mipi_lanes = of_property_count_u32_elems(ep0, "data-lanes"); > > > > > > } > > > > > > > > > > > > - if (bus_type == V4L2_FWNODE_BUS_TYPE_PARALLEL) /* bus type is Parallel(DSI) */ > > > > > > - pdata->is_dpi = 0; > > > > > > + if (bus_type == V4L2_FWNODE_BUS_TYPE_DPI) /* bus type is DPI */ > > > > > > + pdata->is_dpi = 1; > > > > > > > > > > > > pdata->mipi_lanes = mipi_lanes; > > > > > > if (pdata->mipi_lanes > MAX_LANES_SUPPORT || pdata->mipi_lanes <= 0) > > > > > > > > > > Reviewed-by: Robert Foss > > > > > > > > Acked-by: Robert Foss > > > > > > Tested-by: Chen-Yu Tsai > > > > > > Confirmed this fixes the display on Juniper (Acer Chromebook Spin 311) on > > > mainline (next-20220422). > > > > > > Xin, in the future, please send the whole series to all recipients of > > > all patches listed by get_maintainers.pl, not just the recipients of > > > each patch. In the case of this series, they should have been sent > > > to all of the mailing lists (media, devicetree, dri-devel) so that > > > everyone has the same, full view of the patches. > > Hi ChenYu, OK, I'll send to all media, devicetree, dri-devel next time. > > Thanks, > > Xin > > > > > > ChenYu > > Applied 3/4 + 4/4 to drm-misc-next. This patch doesn't even compile. Can you pls fix this up asap? Also pls compile-test before pushing ... -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch