Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1077864rwr; Wed, 3 May 2023 09:53:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7C1g4IgUAXzsldW5NkRkHRExXfnSojR/xHwLgPa+jvjkIMnX2vI+InIrLfEQjn5NxHYduc X-Received: by 2002:a17:903:24f:b0:1aa:fbaa:ee10 with SMTP id j15-20020a170903024f00b001aafbaaee10mr747512plh.37.1683132802167; Wed, 03 May 2023 09:53:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683132802; cv=none; d=google.com; s=arc-20160816; b=UcadMbUXLo082PscKyUBYdLw1gpQ0ehKx/4YJaDN+QTgt59rBO/W35iTo/nLgRFUOs JqcjR1AOSZ+NdpTtEHbW9PjEy1x0rDy9DcDO92cFlRhgJqJENwNwhqq36SCv0cKxnReC C0+PfHmtZdcW7vhNeMvNss03ryzwNu9OKTMUg/uNp749SB4poKVdzLvC7TsPBxuz8gD/ GHNWbTGoC9dJyMXxntCuGwDrBBMB8W/KE38rh+1kpTe1h4ITjlkI7zmKflg5y4rKtXcn ZQbmGbbGYrkq6DQNPHK7CCCh5cg4ka5WjARXPONOMx/t4RMJm/7S8G1nX8A+PoKa4oRl afoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Wz6v8uYHo0LpPLKMPt437X8+F6WcxC2BzkAFGOrZAgE=; b=KXcexVUdTFJNWzxxeCNJ6mLBUKGvKS+AP5j6Yrj36hOOQBtITs5t0W0K8J4uFBBZoW i8ODKVUPrEm+/0BkVDEx9c1KodH46oRQh4vOxXDkZBb0GlakX3EcYozAoN2O6tJjTMKB CjgJWnekLmkjzZ3ptMc+ewOig2nmURdoW2IPR3p6+CiAzppspm5DlGwhp22SeI6tBkeh 8pC+ajD5C0wfPvEf2Spv+/x3WNb9y8KSrvLOypfgv049A+eA9CB6SUeLt5wY2vMICits GYeDitwyLbqcwl30xmd5LQb6o6AyYoS+u85xu+7qRlLEaa+HcnLTqLxlUtpm6DDHQbbY tZyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=kCsPK1lk; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t9-20020a170902e84900b001a20333d702si36180743plg.291.2023.05.03.09.53.10; Wed, 03 May 2023 09:53:22 -0700 (PDT) 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=@fris.de header.s=dkim header.b=kCsPK1lk; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229668AbjECQdh (ORCPT + 99 others); Wed, 3 May 2023 12:33:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbjECQdg (ORCPT ); Wed, 3 May 2023 12:33:36 -0400 Received: from mail.fris.de (mail.fris.de [116.203.77.234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 492473ABC for ; Wed, 3 May 2023 09:33:34 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id B39E4BFAE6; Wed, 3 May 2023 18:33:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1683131611; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=Wz6v8uYHo0LpPLKMPt437X8+F6WcxC2BzkAFGOrZAgE=; b=kCsPK1lkPscu8mHpVGaYjIMrkL3Y83hjOX6nB9DD7tu1cwu3wWw0muGYyEtIyH/4FGSyI3 C3Ecep97lekr8IM+q0c4bvhyS+1u1rm3zVwCjgAaCXDc+wIOx7EuO8bzhkvNOZL3kHkLp0 9kK+LiLno6Ubc9jHuYFT/0HrkmuYiFkcT/hZu8xZ4qY/N0pRA8945fPA2ZcE0YZUb7gR9m LGwRG+9WFcEat7g8s3jIohGYOyKlVI6z6JkzOLTq2CaHlhGJzuzn1mv2OlGchR+2wyPuWW zqlXv4S4uOS1mBYHIoY+8velaBjdmNKR8TGKTAfN6i8lJeJz13x2pumlrPJTNw== From: Frieder Schrempf To: Andrzej Hajda , Daniel Vetter , David Airlie , dri-devel@lists.freedesktop.org, Inki Dae , Jagan Teki , linux-kernel@vger.kernel.org, Marek Szyprowski , Neil Armstrong , Robert Foss Cc: Frieder Schrempf , Alexander Stein , Jernej Skrabec , Jonas Karlman , Laurent Pinchart , Marek Vasut , Sam Ravnborg , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= Subject: [PATCH v2 0/2] Init flow fixes for Samsung DSIM and TI SN65DSI84 Date: Wed, 3 May 2023 18:33:05 +0200 Message-Id: <20230503163313.2640898-1-frieder@fris.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 From: Frieder Schrempf This patchset contains a proposal to fix the initialization flow for the display pipeline used on our i.MX8MM Kontron boards: i.MX8MM LCDIF -> i.MX8MM DSIM -> TI SN65DSI84 -> 7" LVDS Panel Without these changes the display works most of the time, but fails to come up occassionally when booting or doing on/off cycling tests with: echo 0 > /sys/devices/platform/soc@0/32c00000.bus/32e00000.lcdif/graphics/fb0/blank echo 1 > /sys/devices/platform/soc@0/32c00000.bus/32e00000.lcdif/graphics/fb0/blank All the changes intend to follow the documentation provided here: https://docs.kernel.org/gpu/drm-kms-helpers.html#mipi-dsi-bridge-operation Changes for v2: * Drop RFC * Drop non-working Exynos cleanup patch 3/3 Frieder Schrempf (2): drm: bridge: samsung-dsim: Fix i.MX8M enable flow to meet spec drm/bridge: ti-sn65dsi83: Fix enable/disable flow to meet spec drivers/gpu/drm/bridge/samsung-dsim.c | 25 +++++++++++++++++++++++-- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 19 ++++++++++++++++--- 2 files changed, 39 insertions(+), 5 deletions(-) -- 2.40.0