Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp5227552rwe; Tue, 18 Apr 2023 04:05:45 -0700 (PDT) X-Google-Smtp-Source: AKy350b7KKzgRGZhNM8qytu4VlTEiD+hPXPLmObRzqvzEEkdSiaUhjtbEc4rvI+qKEBfzBQnFf0C X-Received: by 2002:a17:902:f682:b0:1a1:f5dd:2dce with SMTP id l2-20020a170902f68200b001a1f5dd2dcemr2206804plg.6.1681815945304; Tue, 18 Apr 2023 04:05:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681815945; cv=none; d=google.com; s=arc-20160816; b=oZ/bPArzDifnNzRsjzUgxFsJCNDmBK4rUQs/kZQHaQTP3P9uuqntp66krHksbCmlfx azL6guh1DFouERTj6Fn8yFRS9Om6qjbSJk/cMlvMdTgL1eP+zmS+Lt7iPCiawi65rcC/ T9fvfZMjHR/ClmYAn/ect1lPtAPsOXjfxUTHueLUqW6JlTZE4+0EwSJr1mlqqeS4HXRT DihE4djHXftj5fkWjEMEHdYS6fxl81N+lLFBtLAWOsfFUEd4VNRhGu8i4FEhwRB6ly8G kkuZttyU591Dxh2ijChOQSIEQn4o/U6xcJqXILiFsuLYQRo7Dk6liT+Dw4uDbJox8qjA E/rw== 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=7rqfhs3lrBiS0Wr56mg5vWQczZCmYWMaWRtwjvTDXLU=; b=FkIHtJKbP9F8yIttw1Dq2dNiP9ajRv4IQ552oU0qmVE2n/AwQ1onBgxLgG5UT2rwq6 CRPtO0qkeObD66zQ7VZF3UbL9i/2CRq/HXsthLtov8ykJ2uop7fKU5kmlZuNQE0tqGzg JC18S5AS8evhU6fpeQBn+sgbVBxj/XTAsmqGe/EVInKiVwbTqFlHIwB43NB99vJ0ItwP 5byxZenKonBZXNpegBcHCvRnabFpzvsLnneBBopiOA6vyZPUDsn7X8SajDr3XxqYRkTS bWBwsybC3SpaOfq4LeXexiRapULwqaFvrxyb+n1wnYo7J4meYsoQhxI8Dy8DrZtavbO3 5xbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=Rzqu+xZR; 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 n12-20020a170903110c00b0019ccffb3fd3si14765716plh.509.2023.04.18.04.05.27; Tue, 18 Apr 2023 04:05:45 -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=Rzqu+xZR; 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 S231288AbjDRKiy (ORCPT + 99 others); Tue, 18 Apr 2023 06:38:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231271AbjDRKix (ORCPT ); Tue, 18 Apr 2023 06:38:53 -0400 X-Greylist: delayed 464 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 18 Apr 2023 03:38:50 PDT Received: from mail.fris.de (mail.fris.de [IPv6:2a01:4f8:c2c:390b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1CA6D2 for ; Tue, 18 Apr 2023 03:38:50 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5DF00C02F8; Tue, 18 Apr 2023 12:30:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1681813861; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding; bh=7rqfhs3lrBiS0Wr56mg5vWQczZCmYWMaWRtwjvTDXLU=; b=Rzqu+xZRmSjK7mxneuXkIcsQIqc7QMlQJAJLtz5ao9e890mi95HohRfDILQ0z/pX5uI7bB +lCg28lC3wlBp1nVfNeAhQ1133mpofYtVchwe76+/NAGQLRIJHdhl8ScQNxSpUBthBmC5d hrV8+ddNvFbPKqgrl5O7v5WPGK9gkQ3qz+N/bGCHFbWkohUaJ4GOUsP/lADOCI1XUcERD9 jWt7ffo+dK+W0us0Bu1NcSwmg0lp5D6xXXLKy2xgSS/anxxtehZSCnrjrBztwRU9LPxWWd hee6AA4/SXEc8ps/ayR/rVDi+MK+f9z0zozmVzmb0EQCcIvlLY/5zl6m3VyZmw== 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: [RFC PATCH 0/3] Init flow fixes for Samsung DSIM and TI SN65DSI84 Date: Tue, 18 Apr 2023 12:29:36 +0200 Message-Id: <20230418102947.876621-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 I also added a bit of a speculative patch 3/3 for cleaning up the Exynos init flow, which is the main reason this is sent as RFC as I have no idea if this is correct/working at all. Frieder Schrempf (3): drm: bridge: samsung-dsim: Fix i.MX8M enable flow to meet spec drm/bridge: ti-sn65dsi83: Fix enable/disable flow to meet spec drm: bridge: samsung-dsim: Remove init quirk for Exynos drivers/gpu/drm/bridge/samsung-dsim.c | 34 +++++++++++++++------------ drivers/gpu/drm/bridge/ti-sn65dsi83.c | 19 ++++++++++++--- 2 files changed, 35 insertions(+), 18 deletions(-) -- 2.40.0