Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp1559975pxt; Sat, 7 Aug 2021 15:39:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJys8wfsfK6TJz4fMXSsSaHgahEN7OaeLnE+P0lLG1LFbjaA9Gj3El3ya6c/6WEPugdL3tpF X-Received: by 2002:a05:6402:27c9:: with SMTP id c9mr21725956ede.234.1628375987611; Sat, 07 Aug 2021 15:39:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628375987; cv=none; d=google.com; s=arc-20160816; b=GG9DVLwtQLB3oJ3cvOXv5hZh4pD8MGTGboT+HdgKg+gvdrLCqExl1pA53furTcE1vH EYjkH2RsH/I3Q5EkSM5GbK2upB4cvmcWHu6iLqGRlyG2sndbFfFzeU1C+LvtbXzuEiGi RnqjPVT9E3hl2BwIDb+0gpaWndt9WD4RAXKJU7kGO6qBzzZUpmhsOZh6JZAxwZxiWybW CyI2N9NdEZIOaaZz7OFdtgo5+zC446J+fNqF0dRuFCAYv5pTUgKrAiid+M6ufW+LrZHf +uM2AFLWz0pQj5QPBGR6xYnF2uAgb5eilt6R3JgBVUyx5YgtePWNijQc24D2OHnmhGs5 2A0w== 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=Lj89aSQV7OCOrepNKn8koFUUrCNiOnfBqunvMMwzNw8=; b=rlaJr3r48Kq23DI9sOYh0oZeYFsLT9TrZMdPiS3upokl+frz7Qv4EHWC7Y3juzCZZk VP0o6b1nqGw9rcIEtAuX273QsQz/lh25CKhZ37IOq5dvA9Z4yRn36OJIB984v6UAFOL0 jnzmloeAq78wxmiuDT9DQ+jbRlAfQInAwm2dlbpbePhwkMHgG+rp/YPyYYP/5vlSOPeV MQlAVj2q5ttvpl5uOIDQnGMA8Z2LPy+wz7CxilZl3gSVoUF0nyWancMAnYoM1d+QJZ3H vW/kxJVLVtzacjCLcf8vYDnIAzrD8iQAz1C63ceCpmZnGFAy0T32WB88+3vl70SWTE6x FZIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oh7DQA5G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gy19si12110017ejb.244.2021.08.07.15.39.24; Sat, 07 Aug 2021 15:39:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oh7DQA5G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229743AbhHGWi3 (ORCPT + 99 others); Sat, 7 Aug 2021 18:38:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbhHGWi2 (ORCPT ); Sat, 7 Aug 2021 18:38:28 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ECD4C061760 for ; Sat, 7 Aug 2021 15:38:10 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id x8so25867676lfe.3 for ; Sat, 07 Aug 2021 15:38:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Lj89aSQV7OCOrepNKn8koFUUrCNiOnfBqunvMMwzNw8=; b=oh7DQA5GxYuqxO4BZrykAhKNgaCAYME7OWjMo/uOvn1pw1az/pLIOa4YTbr7jJ5i3+ M0TrPWjgVIhRP6ayY8ABnAQaVoiNCM9EN7vSxgmlLZoFyGVjvy9JuatUzFmp8fd1I3lp j9YxntVjVbdq5tqJknAbwvBpm5zGCvgDQDV9BnMVDgUhHt9DQ3aCVZkKfcftoVhtC0W2 sEHvusMNS5VrWqpFdPclhyfB8sZZVFNZyd0iaFsG2ceAoG62pOKMryAV6d6kMvOf67OG 5agI0NJnowmzqbfOFOsm1a25FcwYvz1VDfMT2op3NBtkM6mgWhxuRMW+Gx1xTHu/ZSQl VzqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Lj89aSQV7OCOrepNKn8koFUUrCNiOnfBqunvMMwzNw8=; b=MsdWSTdlhmtghISAgL2Spgej3V5kvHIXTCaCyuIB4vobJN3Vtt4Jo64gfFkgVZ+kn/ h2swj9RJ5xSLL+vjs0ya4Ti4qg9jgC4CdDG0u9Z0aZRw735CPsEhDkgqAh7B9vxitmMp v7aDJBK+J5yAe787REgSgoRLx8BByAGxmFFvphWTm0k1ZZGWntIszW0CRmiR2X1iBbB9 +OlZoNsc5ZvisDLl+sdZMDhtU5Jf0RWRu5Km7zqsAimSnBGXJENIgyH1bjaHbiFE985f 59e0xvLyq0lAnfb71pdfx9aB14sSoAgMFRxeW6dbBrOxBg65twjql6MKU+rJO0qOZU7h eHvw== X-Gm-Message-State: AOAM531FLX0zGwsZZqBtBaBv9M/YsRFkNVaMrefD9hIdEIqsVsrkHtF5 HmO9M4Bc2y/uNoeGyg5qcFj/cooQCiFD2h9sU6wulw== X-Received: by 2002:a05:6512:1084:: with SMTP id j4mr12499776lfg.586.1628375888754; Sat, 07 Aug 2021 15:38:08 -0700 (PDT) MIME-Version: 1.0 References: <20210807133111.5935-1-markuss.broks@gmail.com> <20210807133111.5935-3-markuss.broks@gmail.com> In-Reply-To: <20210807133111.5935-3-markuss.broks@gmail.com> From: Linus Walleij Date: Sun, 8 Aug 2021 00:37:57 +0200 Message-ID: Subject: Re: [PATCH v2 2/2] drm/panel: s6d27a1: Add driver for Samsung S6D27A1 display panel To: Markuss Broks Cc: linux-kernel , "thierry.reding@gmail.com" , Dave Airlie , Daniel Vetter , Rob Herring , "open list:DRM PANEL DRIVERS" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , phone-devel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Markuss, this is looking really good, the following is just nitty gritty details I could fix while applying, we're mostly waiting for DT review now. On Sat, Aug 7, 2021 at 3:31 PM Markuss Broks wrote: > + /* > + * Exit sleep mode and initialize display - some hammering is > + * necessary. > + */ > + mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); > + mipi_dbi_command(dbi, MIPI_DCS_EXIT_SLEEP_MODE); Check if this hammering is really necessary on s6d27a1, on Widechips this is just a bug, what happens if you put just one of them? > + msleep(50); This should be msleep(120) on s6d27a1 (according to board-codina-mcde.c) Yours, Linus Walleij