From patchwork Tue Dec 4 15:03:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TWljaGFsIFZva8OhxI0=?= X-Patchwork-Id: 10712051 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 046B616B1 for ; Tue, 4 Dec 2018 15:03:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E98002A556 for ; Tue, 4 Dec 2018 15:03:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E7BBA2BA0A; Tue, 4 Dec 2018 15:03:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FROM_EXCESS_BASE64,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18BA62A22A for ; Tue, 4 Dec 2018 15:03:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726622AbeLDPDi (ORCPT ); Tue, 4 Dec 2018 10:03:38 -0500 Received: from mail-eopbgr30059.outbound.protection.outlook.com ([40.107.3.59]:2400 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726309AbeLDPDi (ORCPT ); Tue, 4 Dec 2018 10:03:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3BuLt6+WvI1j1phTH3yjb4ixIaiF2MLKUTenTXgQPmY=; b=koa6y3I1BNGjL/Qh+uYgLQFb1fdGznbcKA46Iatv59QTYZjrD5BG+hXVk7ThHHUiP7UavU+4PDIdz1Qoh57W5p9hlKCtv1vP2htlkBhTmTKFWfybLQzb6KK7j2TO+1Lofbd7ZzMnFiLm6pK/oQKiCt0yPgAIocXFJbev6XsLjKs= Received: from DB7PR04MB4667.eurprd04.prod.outlook.com (52.135.139.13) by DB7PR04MB5963.eurprd04.prod.outlook.com (20.178.107.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1382.22; Tue, 4 Dec 2018 15:03:34 +0000 Received: from DB7PR04MB4667.eurprd04.prod.outlook.com ([fe80::2561:ec02:4e5e:f490]) by DB7PR04MB4667.eurprd04.prod.outlook.com ([fe80::2561:ec02:4e5e:f490%2]) with mapi id 15.20.1404.016; Tue, 4 Dec 2018 15:03:34 +0000 From: =?utf-8?b?Vm9rw6HEjSBNaWNoYWw=?= To: Rob Herring , Bartlomiej Zolnierkiewicz CC: Shawn Guo , Fabio Estevam , Alexandre Belloni , Maxime Ripard , "linux-fbdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , =?utf-8?b?Vm9r?= =?utf-8?b?w6HEjSBNaWNoYWw=?= Subject: [PATCH 0/4] Fix ssd1307fb OLED driver reset Thread-Topic: [PATCH 0/4] Fix ssd1307fb OLED driver reset Thread-Index: AQHUi+KGKqRks+x7p0e7WmlGe5nT4w== Date: Tue, 4 Dec 2018 15:03:34 +0000 Message-ID: <1543935806-94880-1-git-send-email-michal.vokac@ysoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM5PR0402CA0011.eurprd04.prod.outlook.com (2603:10a6:203:90::21) To DB7PR04MB4667.eurprd04.prod.outlook.com (2603:10a6:5:37::13) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michal.Vokac@ysoft.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [89.24.100.190] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB7PR04MB5963;6:o7PFu7hvtS/jh2eb84Xv1WbTpwo+ep8WQM99Lf2e7+uxg6d3MlTF/0x7G488/HbMI81xb5A2LPi9CrV/IH+8rkaOJfPlIAZVPiKaeeQLB1b8UpdI5twoeRfHhmBB49cUV5jHnrDi0rv0K0P1XbjKYEsDeUIsuHy4Hy9fGMgzOQjZbMdSur7q/ZX0LozXGyEyxEsfr5BuEGk09C5cRuGN1AeQqskGxav1q6a0ZaiarxXAa1nUYMeG/wE8cHqrEg47hoGNNFh5ACHk352qakEVutcHhfN+zL9dEfoKS5QFVfuv9i0C/M2k+PzsYES9BGvDfzt7zzTGTZFA0QH8/eKOuURkkQOOiyxD2jfhmHrgQY8mSjX3vix6IOdU0xpNDS527aQT1UaVl+In/I4ykhZ1Av453GOA2ERwEtESYfr0+Dh1PHyUnesO2aFpfg2AIGs48OOYTUyWU3uvp0Ok/Zp9Bw==;5:e/BUVMtRGF9H/pArmHo923C9ZDcw3OIyGMkzvzrjhAUgoSwBgiKFARBCXvoL12ZuMIZxB9DQ1DtOZxnHZrOKZ2jgToOzHkYMTbFx3Sy1aZhK7naVWZANTqRdL9F0Xqr6RyfQWIXB6xQGM+tsT6yOUHV/R4WJYZC5FMkR5noNajE=;7:QtzLCX1fyMeqxsgy718ztnkYJsnBEP7/EWvh++o7QcYcFMX1rsNeIm57C7yM7fYNTXnQhkg6ea42KR9ERwZstP1bsIH6z/Y52WaMyCs4MwuZfJlzyOr0B7eYvR62z50srek3wtDsk03gOaULsYkydg== x-ms-office365-filtering-correlation-id: a740d466-98cf-44de-436b-08d659f9a92d x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:DB7PR04MB5963; x-ms-traffictypediagnostic: DB7PR04MB5963: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231455)(999002)(944501493)(52105112)(93006095)(93001095)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699051)(76991095);SRVR:DB7PR04MB5963;BCL:0;PCL:0;RULEID:;SRVR:DB7PR04MB5963; x-forefront-prvs: 0876988AF0 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(39850400004)(136003)(396003)(346002)(376002)(199004)(189003)(53754006)(72206003)(53936002)(478600001)(966005)(6512007)(26005)(386003)(305945005)(186003)(4326008)(107886003)(7736002)(256004)(81156014)(66066001)(8936002)(71200400001)(14454004)(71190400001)(6306002)(6506007)(81166006)(6486002)(5660300001)(25786009)(99286004)(36756003)(2616005)(6436002)(316002)(68736007)(102836004)(105586002)(2906002)(110136005)(106356001)(54906003)(486006)(52116002)(6116002)(86362001)(3846002)(476003)(85182001)(8676002)(97736004);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR04MB5963;H:DB7PR04MB4667.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: ysoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: WKAoEJZWBIHUv4JgIzFBuh/CPgoPmQ0O0H9dwzy/ySa3bhjQW5rInY3vixbtVyeqL3Q/uZWnmTg8Sa10KxqsMs/tePQ7hfGmT8CEhwInHJ2xREc2jMrC+g4kP/sQartRUERw/4UAKqigi8gcuLbLJoyRHX4TE8eMjAfmmcg419f/JD0yxuthn/mBrrX2Vggun9zZc1ZiDd+UbnOrWLRPtXoGKWHUGK46QYVDeLrsi0f2E3WmTBebxQabG8zryXIxRFzGyc7Wc6JKhFYo70pGwpL3LoG8NOSyrBUYB9PhL/mxRWsL7B/xAAynNCEOQ+4Pp9KEyX5P3EgE4e1YYFKhJIp0lrxJwiJETdvkX5JWAmo= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-ID: <1E53DEEA3565284E837E4EA2D450AA48@eurprd04.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: ysoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: a740d466-98cf-44de-436b-08d659f9a92d X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Dec 2018 15:03:34.5329 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b5839965-430f-4be2-b282-d7a3149f2b37 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB5963 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi all, this is my third attempt to fix the ssd1307fb OLED driver reset. In the second attempt [1] Rob suggested to take different aproach. That is to apply what was originaly part of the first round and eventually merged but reverted later on [2][3]. Next step is to apply a fixup for the single user (in-tree) that uses this OLED. As Rob suggested, the fixup may be applied only after someone complains their display broke. I am not really sure what is the propper way to handle this so the series contains the original patches + a minor fix in the docs and the fixup as the last patch. Adding Alexandre and Maxime from Bootlin to the Cc list as you seem to be the last ones who touched the Crystalfontz platform. Your coment regarding the status of the platform and whether the fixup should be applied straight away or not at all will be appreciated. Thank you, Michal [1] https://patchwork.kernel.org/patch/10665597/#22327227 [2] https://patchwork.kernel.org/patch/10617729/ [3] https://patchwork.kernel.org/patch/10617731/#22257175 Michal Vokáč (4): dt-bindings: display: ssd1307fb: Remove reset-active-low from examples video: ssd1307fb: Do not hard code active-low reset sequence ARM: dts: imx28-cfa10036: Fix the reset gpio signal polarity ARM: mxs: cfa10036: Fixup OLED display reset polarity .../devicetree/bindings/display/ssd1307fb.txt | 2 - arch/arm/boot/dts/imx28-cfa10036.dts | 3 +- arch/arm/mach-mxs/mach-mxs.c | 45 ++++++++++++++++++++++ drivers/video/fbdev/ssd1307fb.c | 4 +- 4 files changed, 49 insertions(+), 5 deletions(-)