From patchwork Thu Dec 20 12:13:53 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: 10738793 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 6FC9D6C2 for ; Thu, 20 Dec 2018 12:14:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D34E62853E for ; Thu, 20 Dec 2018 12:14:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C32D0285A2; Thu, 20 Dec 2018 12:14:02 +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 557802853E for ; Thu, 20 Dec 2018 12:14:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731232AbeLTMOB (ORCPT ); Thu, 20 Dec 2018 07:14:01 -0500 Received: from mail-eopbgr80049.outbound.protection.outlook.com ([40.107.8.49]:17074 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729603AbeLTMOB (ORCPT ); Thu, 20 Dec 2018 07:14:01 -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=OsGRekB77J+vblLX02ojiXzXVQSi/nqFWm4Oh5ZW9ps=; b=IZyTKzM744Yi3/IfJqw5HCuagNhWXxHGEu6YiyFGmFpK3mqfczTvYUbSMZAhAaCfVACbDkzEB6ICyg/ik2zKiZm77Z/Kji+EWY8I4CYgLKg3Py+T9P3BUEada4YPvWkoxFMNUmndjI83GgPz2M4iQt0ShBOrK4N/vru7f+P7FV8= Received: from DB7PR04MB4667.eurprd04.prod.outlook.com (52.135.139.13) by DB7PR04MB4459.eurprd04.prod.outlook.com (52.135.137.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.19; Thu, 20 Dec 2018 12:13:53 +0000 Received: from DB7PR04MB4667.eurprd04.prod.outlook.com ([fe80::2561:ec02:4e5e:f490]) by DB7PR04MB4667.eurprd04.prod.outlook.com ([fe80::2561:ec02:4e5e:f490%3]) with mapi id 15.20.1446.020; Thu, 20 Dec 2018 12:13:53 +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 v2 0/4] Fix ssd1307fb OLED driver reset Thread-Topic: [PATCH v2 0/4] Fix ssd1307fb OLED driver reset Thread-Index: AQHUmF15WoGNRFWFWUuBaPqr02JEOg== Date: Thu, 20 Dec 2018 12:13:53 +0000 Message-ID: <1545308005-51559-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: AM5PR0701CA0015.eurprd07.prod.outlook.com (2603:10a6:203:51::25) 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;DB7PR04MB4459;6:t3W/iZxVHgc9U6lB6Uf/qyM8Ghrooip8RhRrAkvd3IuYCfRAS2uVNBI7W2rNytuIGr72GYtTr6TaQbHE85vizWlIPPHS0h35ru2syMDxD5Q46A2Bz6IqLImyREFyIgFxHPv7lRbDhnUKQKqHBIZcs6Dh+3S5sEIVPjBdOxNgKCfb8o+r2qr72Z3kNoDTWlBq2UC4cXDzC2aDf/liKwi8H8V+XCaTLM77WNnUnsyPyKgwzt2tCwre33DXyaVYQVgsMs5TgwEZ4hqOWuG97too/QBpqazYvoII9RRyU/N7FjAEpl90jBFIZBpQfL5sbFpxqVs7YgO2tEb/RZR+jS0aX6JDfFzPeUUQZDghVy0NIbkmdC4hFUuZR1t4X/cxlQ2A6VyayGXbj+acseEnAG6oNbpMEJTh6keXFRVY4AsyhURfk8m6+NX+x3w1McP3bkWYMjtFFUvxHF087WmiaWUo2Q==;5:lqTYI7Ig8pZW3I7VEQb6MDA3qEF3nbC+mVSfeqcMfUg0iWFXhZFgoljAVmH0Ehkm62p5Mtv4A+HlIxwiQaM81xEt5w7+ER9ZZ/YyQY38WAVQpyoyH2/5XAHgogn/eUGhhHC5JNC0ilfDLUL4SVLLzk2EkLsYvUiAjU/h/id0IyQ=;7:vulUJiRk7hQKTWbXunLx2aWHY85TP+tRwZV+J/vEdIrDQY6Z9/hFcZIZfyOYjBmuU/ITdYgH1VDy2o8gtJCGvjWhamGjWe5Ui+CrY0IC3+Wnw6FjGEEuoolLLsMdtHKBdDTTkwCojMIiSwlpX9VwZQ== x-ms-office365-filtering-correlation-id: 0ca12943-a25e-4032-72da-08d666749b7f x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(4534185)(4627221)(201703031133081)(201702281549075)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:DB7PR04MB4459; x-ms-traffictypediagnostic: DB7PR04MB4459: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(3230021)(999002)(5005026)(6040522)(2401047)(8121501046)(93006095)(93001095)(3231475)(944501520)(52105112)(10201501046)(3002001)(149066)(150057)(6041310)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095);SRVR:DB7PR04MB4459;BCL:0;PCL:0;RULEID:;SRVR:DB7PR04MB4459; x-forefront-prvs: 0892FA9A88 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(396003)(346002)(366004)(39850400004)(376002)(53754006)(189003)(199004)(86362001)(71190400001)(6436002)(5660300001)(53936002)(6512007)(186003)(102836004)(26005)(386003)(6506007)(85182001)(66066001)(478600001)(105586002)(6306002)(71200400001)(36756003)(7736002)(4326008)(97736004)(6486002)(2616005)(486006)(476003)(68736007)(52116002)(305945005)(8676002)(8936002)(99286004)(106356001)(6116002)(3846002)(110136005)(107886003)(2906002)(256004)(316002)(81166006)(81156014)(54906003)(25786009)(14454004)(72206003)(966005);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR04MB4459;H:DB7PR04MB4667.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: ysoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 5KW2URrHugDDoO9njMMHkDMLvMr2q2N75oRI9DaAPrswc8op5ODSChWDjxDUPAq0hvsu2U+Uh8rZQip+frTkFUDQsuTrm5ty5VziG/zsnDP1DuX/w8DeVKVYdZOiuSyGmPQPFWIn/w6htY0qq90WVHQzXDJ9SPFcEjbtpWUMHZn7lgxmpn8P/36nTNsQ7K/MsiRIRaPjslfWT656TdGHaA1+gsiWMarnj+w5f5r2j1Z5GJ11aa16quuNs1zMIIihLBCVkMBP58fgRLSTZvVFJSj7rYazeJAyRf1pALqCJBQFLwGWsajTGX++7+Bi7P0Bfh69LmjsRYxWs48P49lRGE5YWeReQ7WwO5lHcg8dQ8M= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-ID: MIME-Version: 1.0 X-OriginatorOrg: ysoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0ca12943-a25e-4032-72da-08d666749b7f X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2018 12:13:53.3706 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b5839965-430f-4be2-b282-d7a3149f2b37 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4459 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 | 44 ++++++++++++++++++++++ drivers/video/fbdev/ssd1307fb.c | 4 +- 4 files changed, 48 insertions(+), 5 deletions(-)