Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp323755ybk; Wed, 13 May 2020 00:51:44 -0700 (PDT) X-Google-Smtp-Source: APiQypJtAbFMKeZ1sfaVvkpH0IpQHQOjkTmJOPcnPEXEcQ9K77ed7Bq29LkpMum3wQPrJszzCIyf X-Received: by 2002:a17:906:5f98:: with SMTP id a24mr17994335eju.214.1589356304185; Wed, 13 May 2020 00:51:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589356304; cv=none; d=google.com; s=arc-20160816; b=iQIpEhw3ARrPUi9pwCshUOsfSeB+BrT6cYxRU8J+R2lPrTMrRdmuh20WEZDXmsitRD +i568dhkS9yyIclEhjxLvRmzmptfLXJR5Bhh0ECvxzVHneYYQoa3fp+S4cl23W6SWpqG 1xayXi8dNfj8QMGfXXa7vBen/1zHKApWlK3DdYOjRvbIyeZag6E9aEi36hy81XH1UBFo ilEjsvc08Ur0mFkcNxhSdnJ1MfTUGygvwPaWD7ah8T30sV8Oc1nDsBASSPucue3QO4Bu m9XC7jpnZBDvgcA3ElfFbgpAct3ydPSBDBfn80BTnk+KsQ14FUKkdwXYzBkb/+1mChM6 PO+g== 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; bh=tQBKncGAceygAQVR48tADdwtIIB18GAq7ci7gmWLAQ8=; b=OfbL4kM4Yj56iiN0B0o5/l9hvcJQTTm83tYikRPHRZqv9rcnXd7nw9WD5U1cwxxZjE Apt1Az/SQlANPMePJn+Bkz/0c31hQuLPz+sWL7kIQWOhYjUbwyvTTRqV/lVTBoGqS+X7 Zwhw/PdSFM6NygSm/D3So7Gc/8I/IVoe44F75tjft2l3QTCqeERVnQf6IkHcar7THYdk REvjxTV3m6B1EUppqOQMwm4yq76pDPoHjZitqmJjBpjI3xH5R6m5DhnIa8x/J5YIFC+b pmSzmvIK6TIF50LbcBA2PfWFwA8f/LXrsbty4AJexoudOAOQIzUMtWjGrqJ5ecuep/UY r/xA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m7si1594160ejc.470.2020.05.13.00.51.21; Wed, 13 May 2020 00:51:44 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730549AbgEMHJg (ORCPT + 99 others); Wed, 13 May 2020 03:09:36 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:45672 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729189AbgEMHJg (ORCPT ); Wed, 13 May 2020 03:09:36 -0400 Received: by mail-ot1-f67.google.com with SMTP id e20so12625723otk.12; Wed, 13 May 2020 00:09:36 -0700 (PDT) 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=tQBKncGAceygAQVR48tADdwtIIB18GAq7ci7gmWLAQ8=; b=jGTF+Y1iulKZgUZ+ZlNV0v08VBm8XlHhfbD+YsZXTAmevDSThtBSiDZQHZG1pq0NHG BH+IpY/sXhr7OiuYgXcKLYpzWraMZ8d76UsoEqMLgkWYS/ESQEyhLF2HPtiLf34nwIqt P6zG6TQHMxP9hi0sbbH35CyMPHEwR36NGjtmYFTg/daGBGjV3Qc4+v23nlimVmYB/RDd 5GEQisJZv8Cbf0f5HyTV0jVFekswfn/mEzpGYfhod0nzklRILfRDrSvGJDHVq4bATIPZ GmTtMq1fGDxFPSToDc7xd3UaMrmx4zs5Qj2WyNFbzj6wfVyPEgAoBppw7zJ3r6Eo+gzE TGzg== X-Gm-Message-State: AGi0PuYQPxl+mck3NQ/nK80xylzw/yritxJsITcgNvfxOF2+ncdXNxFP SOI++aqodB5RTDUlA7FzXi11KnlnKXSbV2d4gy2/QA== X-Received: by 2002:a9d:63da:: with SMTP id e26mr18492173otl.107.1589353775974; Wed, 13 May 2020 00:09:35 -0700 (PDT) MIME-Version: 1.0 References: <1589316769-13277-1-git-send-email-alencar.fmce@imbel.gov.br> <1589316769-13277-2-git-send-email-alencar.fmce@imbel.gov.br> In-Reply-To: <1589316769-13277-2-git-send-email-alencar.fmce@imbel.gov.br> From: Geert Uytterhoeven Date: Wed, 13 May 2020 09:09:24 +0200 Message-ID: Subject: Re: [PATCH 2/3] video: fbdev: ssd1307fb: Support to pixel inversion To: Rodrigo Rolim Mendes de Alencar <455.rodrigo.alencar@gmail.com> Cc: Linux Fbdev development list , Linux Kernel Mailing List , Maxime Ripard , alencar.fmce@imbel.gov.br 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 Hi Rodrigo, On Tue, May 12, 2020 at 10:53 PM Rodrigo Rolim Mendes de Alencar <455.rodrigo.alencar@gmail.com> wrote: > Pixel inversion in hardware is performed by issuing the > command 0xa7. This patch adds a boolean property to control > color inversion. > > Signed-off-by: Rodrigo Alencar <455.rodrigo.alencar@gmail.com> Thanks for your patch! > --- a/Documentation/devicetree/bindings/display/ssd1307fb.txt > +++ b/Documentation/devicetree/bindings/display/ssd1307fb.txt > @@ -22,6 +22,7 @@ Optional properties: > - solomon,com-seq: Display uses sequential COM pin configuration > - solomon,com-lrremap: Display uses left-right COM pin remap > - solomon,com-invdir: Display uses inverted COM pin scan direction > + - solomon,color-inv: Set Inverse display mode (invert pixel color) Isn't that software configuration instead of hard description? DT describes the hardware, not software configuration, so this may not belong here? > - solomon,com-offset: Number of the COM pin wired to the first display line > - solomon,col-offset: Offset of columns (SEG) that the screen is mapped to. > - solomon,prechargep1: Length of deselect period (phase 1) in clock cycles. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds