Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp672417imm; Wed, 19 Sep 2018 05:13:55 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZuG8NISZs9aAjnL4H+57QvM969FyDnk6/nd8QNPhIBD4pZHpTqaeSmb37Fy59+kaCyZStz X-Received: by 2002:a62:9f85:: with SMTP id v5-v6mr35785608pfk.27.1537359235908; Wed, 19 Sep 2018 05:13:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537359235; cv=none; d=google.com; s=arc-20160816; b=cqp+80BL1NsIDL94bgZIF6BMtcQ2UCWlrO0R62jJ4TK5/1LklKj3Qxg8uI4hiZiL4H XJDEhTUQJXjQkaxl5e6ytJheMN/h3Lyt6o1+dAS/y6HeklUFB+IeKXs99WL4NDyvP+WZ GqJRduqJvMe9ON2JOaSq+XjIwSr7I3qCFA7vCKLkMNxKigvScDqDVPNSt2mtAE+5A5En s9onbCs6hM55TDQ29DhImCPvURnPcAEsC60oyHKRUoPSw0kCbmQrG8hv2r2qSUSNydLz 2E4OFe+rxsi1+nyuYiBC+QUv2Wj23IqSceJCl/g1QhTfdnU2pHQUw1TszLunxTAESiqR 7oUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature; bh=EVoi1UsKAdKNzjeTS78mhZPGJrogNnJ4qlaZKHDInWw=; b=TvO5afCyHeNCh8/st2SmwLjB+t3L+OfdxTEjq4pid5L2G2K+geZwfDoaQXj+QdMWSN 8LNCkEtHyT27aZOoYXPVIVJZYiY9fcORtTR12ZnDeDVdYN9SO80OeJ+pixZYm20ncEvL UoYZfwZRltGVVjWPTXaMXETfeKJfEUaRUv/OBOYKKsG3Lxj8y0Y/cxmbcke7AHMBlS3v Y/Np+N2ufvGnkYOEQ/zDE38gaTHqzoYUDOJZUTEketvwBIsOxHvmmBdaDc705GmXPpgc yVIuVkp6sxcmOtOBFXLvAmZ1AnmzalUxZYCwwOU6Ib+d+aVCCsoLoztsKI0d70/p5NGC jcQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="df931/aJ"; 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 n190-v6si23524023pfn.358.2018.09.19.05.13.39; Wed, 19 Sep 2018 05:13:55 -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="df931/aJ"; 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 S1731443AbeISRuU (ORCPT + 99 others); Wed, 19 Sep 2018 13:50:20 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:47028 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727834AbeISRuU (ORCPT ); Wed, 19 Sep 2018 13:50:20 -0400 Received: by mail-ot1-f65.google.com with SMTP id v44-v6so5465091ote.13; Wed, 19 Sep 2018 05:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=EVoi1UsKAdKNzjeTS78mhZPGJrogNnJ4qlaZKHDInWw=; b=df931/aJeNkdc9hDPfz4CABk3K+L5Jinjqq9izt1wK3maguj8suafPZ5vRiD4X0TXp coGQ+EwCReFL6RB7e8SadnMieInShYdH+kFlsZye1IR8ua1+ZZwLnEcfoE5hTqekYmDo HphoEa/NKA43+873yWDTQ5M9g7VftwYeoX6LVtDMRf/asV9EQU2r9x5p7SXS7+vC4N56 io0pbb0AobrROgmRQIeW5DTfHi08c/dHMcxN/jm4AXeru49SI5oy+83TXB1EP8+LplzP 6qXa7pE/PzCwyPtKaZM2Df0yS0F99EV6Xrk9v5lvYpjQgonYGHJNHqzbCCD5Ucyh8q2T v3rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=EVoi1UsKAdKNzjeTS78mhZPGJrogNnJ4qlaZKHDInWw=; b=sPxQLBLFOI9sAooAFH9wAM3cJvF+LJBYEzqYxrueVVKJYZE4Rm3NR1ruTiuBYcV+cP WxqBIcCJFIp34IslHuKo6dTOzILKSIH8jaO4knscUvHYOeThEFI9JlOdr4I0b+AJWG8U 24JKCDEbd1OUN90ruE0l9OIbHvRkCSmxRTRd14YfV3NzqTK3PIAZSvCino3zjr/3SEyu yzCJM1MHP5moKCvgDLnUT1ImgSTE4xZ4i1gFWIqmsKfwQ6Il+EgXBzCc0oCwfoct6YQ2 k9XYREOfXZXy97jdVt3lAThMck+E2RLV0c6RbJbpsDPegV0mXwSgzYWnqM7C7Z4L/xZ8 qAUA== X-Gm-Message-State: APzg51AJdXZrDCpWFALxb7tfxB3fiKgn/JElea2MN8YL8h8jbFU0VDx/ oJTche999VttQDWftSGE236EMy3YFzbLwkUeJRQ= X-Received: by 2002:a9d:2879:: with SMTP id h54-v6mr19805213otd.1.1537359161003; Wed, 19 Sep 2018 05:12:41 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:cca:0:0:0:0:0 with HTTP; Wed, 19 Sep 2018 05:12:40 -0700 (PDT) In-Reply-To: <1537348724-22976-2-git-send-email-michal.vokac@ysoft.com> References: <1537348724-22976-1-git-send-email-michal.vokac@ysoft.com> <1537348724-22976-2-git-send-email-michal.vokac@ysoft.com> From: Fabio Estevam Date: Wed, 19 Sep 2018 09:12:40 -0300 Message-ID: Subject: Re: [PATCH 2/2] video: ssd1307fb: Do not hard code active-low reset sequence To: =?UTF-8?B?TWljaGFsIFZva8OhxI0=?= Cc: Bartlomiej Zolnierkiewicz , Shawn Guo , Fabio Estevam , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel , linux-fbdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michal, On Wed, Sep 19, 2018 at 6:18 AM, Michal Vok=C3=A1=C4=8D wrote: > The SSD130x OLED display reset signal is active low. Now the reset > sequence is implemented in such a way that users are forced to > define reset-gpios as GPIO_ACTIVE_HIGH in DT to make the reset work. > > Do not hard code the active-low sequence into the driver but instead > allow the user to specify the gpio as GPIO_ACTIVE_LOW to reflect > the real world. > > The only single in-tree user of the display is converted and builds > fine. > > Signed-off-by: Michal Vok=C3=A1=C4=8D > --- > I am not really sure wheater this should be in one commit or the DT > changes should be done in separate commit. Just tell me and I will > split/merge the changes as you want. Thanks. Please separate in two patches: one for the dts and another for the driver. Thanks