From nobody Mon Sep 29 22:44:50 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78B57C25B0E for ; Tue, 16 Aug 2022 01:07:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343811AbiHPBH0 (ORCPT ); Mon, 15 Aug 2022 21:07:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348613AbiHPBCT (ORCPT ); Mon, 15 Aug 2022 21:02:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78CD2BA9C3; Mon, 15 Aug 2022 13:50:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CB5236103F; Mon, 15 Aug 2022 20:50:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA4F2C433D7; Mon, 15 Aug 2022 20:50:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660596626; bh=AjhUCMvw3Djg5sxJuPyH8xLqMY0x5dcD4IG5ow8tdvg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=viKG7/Zii5XM6dE4atX+U376OAQEi4W/A11TnjjYUluePkwy41G+oFbTGvQe9xlGk yQa3FnrxnBXYmozwJOXMuK9wr/V61dT6V4G39DlRem/UrtgdE49fl5aHsKjGxMunGV WowmzLrGbfNr2ZVDgu5J96JQWvlkD3Dk2XyWF5Qc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Robert Foss , Daniel Vetter Subject: [PATCH 5.19 1139/1157] Revert "drm/bridge: anx7625: Use DPI bus type" Date: Mon, 15 Aug 2022 20:08:15 +0200 Message-Id: <20220815180526.020681384@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Robert Foss commit 61922beba36adea8702fe8069b309c806f6608af upstream. This reverts commit a77c2af0994e24ee36c7ffb6dc852770bdf06fb1. This patch depends on the patches just aplied to the media tree, and will not build without them, which leaves drm-misc-next in a broken state. Let's revert the two latter patches until rc1 has been branched, and rc1 has been backmerged into drm-misc-next. Signed-off-by: Robert Foss Acked-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/20220523161520.354687-1= -robert.foss@linaro.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/bridge/analogix/anx7625.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- 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 devic =20 anx7625_get_swing_setting(dev, pdata); =20 - pdata->is_dpi =3D 0; /* default dsi mode */ + pdata->is_dpi =3D 1; /* default dpi mode */ pdata->mipi_host_node =3D 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; } =20 - bus_type =3D 0; + bus_type =3D V4L2_FWNODE_BUS_TYPE_PARALLEL; mipi_lanes =3D MAX_LANES_SUPPORT; ep0 =3D of_graph_get_endpoint_by_regs(np, 0, 0); if (ep0) { @@ -1640,8 +1640,8 @@ static int anx7625_parse_dt(struct devic mipi_lanes =3D of_property_count_u32_elems(ep0, "data-lanes"); } =20 - if (bus_type =3D=3D V4L2_FWNODE_BUS_TYPE_DPI) /* bus type is DPI */ - pdata->is_dpi =3D 1; + if (bus_type =3D=3D V4L2_FWNODE_BUS_TYPE_PARALLEL) /* bus type is Paralle= l(DSI) */ + pdata->is_dpi =3D 0; =20 pdata->mipi_lanes =3D mipi_lanes; if (pdata->mipi_lanes > MAX_LANES_SUPPORT || pdata->mipi_lanes <=3D 0)