Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp981178ybi; Fri, 14 Jun 2019 06:41:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxCd8donFxers9VMDw30c/H44aRRkAetkYKEr2r7sj9n/Ksfb2SqgRVVAtTImPc47pxbcI9 X-Received: by 2002:a17:902:b94a:: with SMTP id h10mr93527553pls.265.1560519667049; Fri, 14 Jun 2019 06:41:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560519667; cv=none; d=google.com; s=arc-20160816; b=ETuNDFJf5TZlDgwzHou/UgJRM5+OIH+gUVmVd/qDteYEvpD+PBNXD13cxxkqjq94OP 8eScN/zQEmBvQZcFXh3tPrgYQAlfDbjwROkDDnDxHF7T93yDPze7zju7yO9KBEw9qF8m vOIv/5dLbDiYc0sVaTyoPEhq2zmKSu/pYW03l993zrOWCZgA0P3AYyE5uimimjlms6Uk zNNkl3kl8ZjJ9q81hysBn9hkm43yPM5AfxodmelilXeVyUaMTZ2ICkaU2CEwqOBe5e5m M9NAtHRgK1K3i98eyu/G4NMkIH/v2akjjByGsv1bE01xXPppTRpG+gzbTRPNQ411bd1g LIxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=AjTMOzs837XNR62T4NquNPdEGLL6y8lxVErfJyNIXO0=; b=UcYRKjmFIHeEQI1pCPigpBMsY0iv5eCjXPKogTmaruIPdhLmDEViCn3zgli0af5II3 f2cjiEwonXzCvyRuphdmnfms2yo7sV7iLt4cO/L9WOgnk9+tGq658CJPRsZV7vTyMUJR BeNR+41R15CQD7jdlPWqe2l6sD8wJi29tihltX4eChuR3LutMamLN/Sq8Uyd1pQ+HExn GXlVNCAiUomnyaOppnLbVLjNOzXLQ/a1tXKkGyR4sEzq+JlbES3X3pH5blWeG535v840 nahXOT+dkS9bh4mtrvuOfgeRFAHx5MwR+bpGhElGVZYySRBwv0a1Su+igdLEqmpWb/8Q X1Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pGLDjzc7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k137si2646020pga.59.2019.06.14.06.40.51; Fri, 14 Jun 2019 06:41:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pGLDjzc7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728398AbfFNNjx (ORCPT + 99 others); Fri, 14 Jun 2019 09:39:53 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:46100 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728033AbfFNNjw (ORCPT ); Fri, 14 Jun 2019 09:39:52 -0400 Received: by mail-lj1-f195.google.com with SMTP id v24so2414210ljg.13; Fri, 14 Jun 2019 06:39:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AjTMOzs837XNR62T4NquNPdEGLL6y8lxVErfJyNIXO0=; b=pGLDjzc7PXeMDfAMruzk4ufkIzQ6Zvx4sSdb74pyHKqFYVimr7mzjX5QXMhpswfmHO fno0X2AWiFKZDRCmwfie8KF2Qq+c6FNPyFVtgQTzmJ4QD1ia5Y4NVnckG+xZ28CStngL LpLxNaYtFos4O+m/dFcYsfNPXFxjF3tL/MKMVxKnz5BDRGiq8luzWp0gK4URXWT0yPo7 9Df741RyrovRWdYFnxviUdnT2TT6czcO2R6Tr2IXBaD3X/ypzxMUAsVfJRaYEHdHcQvd OYtex2qyA1rpGYBuC3CsK+VoH6sQqpmsAFWP/v/tVFMzqHZ0voqhndt/dOX7YoygV4Lv 4siQ== 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=AjTMOzs837XNR62T4NquNPdEGLL6y8lxVErfJyNIXO0=; b=WWZQ8spcbvyxTopVpQ/YGLSV+6AFExhkKflEE4a44sqnTwcQqd7dsISY1RLa3MOKIf 9v/djxocfns240JHLQ/PwshyfE72uUpew+WNNE+DlQ+FwdqlUxGKyceW9EmbDliJ4e3q KBXb/DHup4qRPMlWGFVilMjkGm75tQotuffby76GZk7JCunRXjXpSzBv3jteULydxiB2 SV/YA0byB5GnRQVrGsvPGqUZEk7Gx9Y0FZsWBbb12RxTCy0eW2zyFSYb8GvHnbledBfJ ecLmleNnnCOoUbqtTOMTYWWghV6+D/R/bRhjyD3HmNzHUhpq5Wmzx22CUKdK62ck6JuK H02g== X-Gm-Message-State: APjAAAUbH/XpbVfGgSsiiDFVtundyZEDJVdAiiYKFS8E7QAwKjhRShAC +YGc7/xjRfPWcejO6m7PpNfZvwwjxv8a4Mrcc/I= X-Received: by 2002:a2e:970a:: with SMTP id r10mr31289953lji.115.1560519590606; Fri, 14 Jun 2019 06:39:50 -0700 (PDT) MIME-Version: 1.0 References: <1560513063-24995-1-git-send-email-robert.chiras@nxp.com> <1560513063-24995-3-git-send-email-robert.chiras@nxp.com> <1560518953.9328.31.camel@nxp.com> In-Reply-To: <1560518953.9328.31.camel@nxp.com> From: Fabio Estevam Date: Fri, 14 Jun 2019 10:39:53 -0300 Message-ID: Subject: Re: [EXT] Re: [PATCH 2/2] drm/panel: Add support for Raydium RM67191 panel driver To: Robert Chiras Cc: dl-linux-imx , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , "devicetree@vger.kernel.org" , "sam@ravnborg.org" , "daniel@ffwll.ch" , "mark.rutland@arm.com" , "thierry.reding@gmail.com" , "dri-devel@lists.freedesktop.org" , "airlied@linux.ie" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 14, 2019 at 10:29 AM Robert Chiras wrote: > The GPIO is active high, and the above sequence was received from the > panel vendor in the following form: > SET_RESET_PIN(1); > MDELAY(10); > SET_RESET_PIN(0); > MDELAY(5); > SET_RESET_PIN(1); > MDELAY(20); > I got rid of the first transition to high since seemed redundant. > Also, according to the manual reference, the RSTB pin needs to be > active high while operating the display. That's exactly my point :-) In normal operation the GPIO reset needs to be high. During reset the GPIO reset needs to be low., which means that the GPIO reset is "active low". So you should invert both the dts and the driver to behave correctly.