From patchwork Wed Sep 19 13:17:27 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: 10605841 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 BE5EC5A4 for ; Wed, 19 Sep 2018 13:18:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ACA6E28EDD for ; Wed, 19 Sep 2018 13:18:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F7992AE9B; Wed, 19 Sep 2018 13:18:05 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 72FCD28EDD for ; Wed, 19 Sep 2018 13:18:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731819AbeISSz5 (ORCPT ); Wed, 19 Sep 2018 14:55:57 -0400 Received: from mail-eopbgr30076.outbound.protection.outlook.com ([40.107.3.76]:38944 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727820AbeISSz5 (ORCPT ); Wed, 19 Sep 2018 14:55:57 -0400 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=xzzP3s4zv9uo39viQvBHereT3Xa3zHL99HdEb0Z/qJ4=; b=E01MnV6CMgQrPv6xJnM6ekVfdjMY594Crn37/1QaUSBMUw06sXcbG8dlVxUewygiG55hEYBKhvuw5sJHe3+jNBSZjVCh+hvn0AcX6fqb7mAVFDVMdpaKh8q5HalrSXUatuz9HRqvmAsCE36xCJfTnF6SNEbKjgZsDUyuohM2rK4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Michal.Vokac@ysoft.com; Received: from iota-build.ysoft.local (89.24.100.190) by DB7PR04MB4666.eurprd04.prod.outlook.com (2603:10a6:5:37::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Wed, 19 Sep 2018 13:17:58 +0000 From: =?utf-8?b?TWljaGFsIFZva8OhxI0=?= To: Bartlomiej Zolnierkiewicz , Shawn Guo Cc: Fabio Estevam , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, =?utf-8?b?TWljaGFsIFZva8OhxI0=?= Subject: [PATCH v2 1/3] video: ssd1307fb: Use gpiod_set_value_cansleep() for reset Date: Wed, 19 Sep 2018 15:17:27 +0200 Message-Id: <1537363049-48399-1-git-send-email-michal.vokac@ysoft.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 X-Originating-IP: [89.24.100.190] X-ClientProxiedBy: AM5PR0602CA0003.eurprd06.prod.outlook.com (2603:10a6:203:a3::13) To DB7PR04MB4666.eurprd04.prod.outlook.com (2603:10a6:5:37::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cd29e52f-2663-44f8-dbfb-08d61e325216 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:DB7PR04MB4666; X-Microsoft-Exchange-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ltlL/uoamensUkr09bh4Hf70OznSISDZ6kbO16P/WwUHK9LRTv645Hn1S7wrew6hTLcL2r4vgXA0cHzuHaan/M/S1LhicqpCUoRO4+/oakq;4:PepMrHtlVimgt4UjqSSbmIW0a8Zysyc3saDU7rXp9eqlciuVzxafPiSMXgbc9msKF9oYKyxP+hZxckniBA1XLtf0NcfTimfeXDBDQb+eYG63XMO+bR+obRYvYSaVKO6ZgQxj5uSOTpYThthIizR/kSj2sLgAz+IBKnwa59QUPYJ1WZfknpnBWHjO2wCn2nkkozjNxVvofvWLQtxOtinCHfswUhj0FQwMNweIz/E7zIy2TrZ07vCAS4I80/GmYk5CjcOQ1jmCmAsCFcUntgrmXg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231355)(944501410)(52105095)(3002001)(149027)(150027)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123560045)(201708071742011)(7699050);SRVR:DB7PR04MB4666;BCL:0;PCL:0;RULEID:;SRVR:DB7PR04MB4666; X-Forefront-PRVS: 0800C0C167 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(346002)(376002)(396003)(136003)(366004)(39850400004)(199004)(189003)(3846002)(86362001)(81166006)(6116002)(47776003)(106356001)(7736002)(5660300001)(97736004)(316002)(486006)(26005)(186003)(105586002)(476003)(2616005)(956004)(107886003)(4326008)(110136005)(6666003)(23676004)(16526019)(25786009)(72206003)(478600001)(54906003)(2906002)(6506007)(386003)(52116002)(2870700001)(36756003)(53936002)(6512007)(8936002)(6486002)(81156014)(50226002)(305945005)(50466002)(66066001)(68736007)(8676002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR04MB4666;H:iota-build.ysoft.local;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-Exchange-Diagnostics: =?utf-8?q?1=3BDB7PR04MB4666=3B23=3AiWFao8q?= =?utf-8?q?gKpGNkjrbSElhdqbW4OmFFp5HG2O+c1IVwxbBcO3YcZhigtvPF47IHrgwBTW6Vhor?= =?utf-8?q?IheGGJcmnsZ1Mme6t7b4wohmULKM2RNvo/IpK5z5Wu3ywdDhL1EgNqENqDE7thtvU?= =?utf-8?q?K6JqGn8tGRbcXTuOKvQzKexbbksV3Nl2TCzhjLfaU16WChza2vvgYraOwVxIRGNMa?= =?utf-8?q?NgtbIlDgMdR6l7xWGQ6Szp+VLarX4OplIjmuQkV8h41Izjwq2SQsVVCYVf7K9ljuk?= =?utf-8?q?XPyYjcjUqtbkBYyGpY6udj+J1P0/5zmHceg2+4xn+4ILKSGSl1QUi7BCUN5DV4o7X?= =?utf-8?q?RpPF0qj493aQIrHg3TG5wNjY1JyXUWtjug9CkHFMvSWOH6L5XLaq6tm9KN6dMwbev?= =?utf-8?q?a7jyMaEW1yn2HxzOXkxhJ+8XtGGemtRE4Ot6fx9Phk4qT7EpkTpj/QxIAgVtRBaC1?= =?utf-8?q?kyti5VE7DKdQ70Jl1MqPCy0Zi3KS9+nM5LesANqSvZQ9C6kGn5JFQFSsLTKW59Y5t?= =?utf-8?q?JArOIXjXLMOS6z5Zk7gjkBO9G3fo7oDq6YrVsOSuUSz7zLwsPWCyo3y9vIcY2V1QA?= =?utf-8?q?zyFi37u/oBVT2c12376Ef9t9Km2M0nSKk9kxcdVEtaU41/3ErpYcS4SMjUudHy23w?= =?utf-8?q?vJDnU22+wO9tRdtoJ+UMtkPuGrRjkE6rfyzV/0ORqkosGwqyuZ4fVslWvgaLtfhkj?= =?utf-8?q?eEol0ufm/eYMfsFX2CMIKXmv+TfLYYZco/HGRWW5l5WCG7Qpp1RAfB3t1sxGQ93dh?= =?utf-8?q?3KA+bu1HX7zV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JQaPRmLZaTPbr9O/nZPaYyB57pwYMFlqp2VRiSekRObYq632QsEu/65WUeOQDiVLpdLI2YC0CoEcOSgnikrD4UQFhEfY/IRRd3RGfV1UKijTGR+kbQzKkq01f5aScQVyAbGtNTKn3zQDAhj7xSY6xx1tyBif/UkEhVK7N8zcxV8vJod4TuhCAUj9hnsMFlW1Mu97xQLfhZiZSkOmb8mwdr4LOoLGZ7i/RgFXwgP5b3Bj32UsQLYO9VV4geVY5XWDtRgzbXYzJlLA==;5:6x1ierYwCfbKTARDgX/plT4lXzCfzfOqWn53sYHWzbtXCFOEZ79tPXvXCGjuB0O/4+KkH9/JgInBVZuBmBV4Y+hHYoxfUfhnoxh2b68/6BJ4BIcNt43SLPoxn6gtpP6RA1zwabvmoWbwCDxbZ5mqhtBn/BD+opVDWeFIHzcyW/8=;7:rggWoRBreWDOn8XIj8n+tWaGOWkP+Dg4wUCfBznEwctHc6nF75kY3DGPFLHnmdEHo3CQw9f5ytWV13ZQ6Tsol+v0uJfwPafkINThiuSBWAAyZeV/yfeK8PXyxovdtBTpk5g44nx7c4tJGZWWTbm68Ei/cqjQQz5Wfl/mdniCudbPSXeDW1oEqT0+JsC9BWWZmHQoSJDXv2PFcBy6IkQXLif4Fx3OHJE6m40E2K+7XaIX4qfeVeaRxZLVHt0dIEQK SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: ysoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2018 13:17:58.9713 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cd29e52f-2663-44f8-dbfb-08d61e325216 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b5839965-430f-4be2-b282-d7a3149f2b37 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4666 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 The reset signal can be produced by GPIO expander that can sleep. In that case the probe function fails. Allow using GPIO expanders for the reset signal by using the non-atomic gpiod_set_value_cansleep() function. Signed-off-by: Michal Vokáč --- v2 changes: none drivers/video/fbdev/ssd1307fb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index ba66c02..e7ae135 100644 --- a/drivers/video/fbdev/ssd1307fb.c +++ b/drivers/video/fbdev/ssd1307fb.c @@ -728,9 +728,9 @@ static int ssd1307fb_probe(struct i2c_client *client, if (par->reset) { /* Reset the screen */ - gpiod_set_value(par->reset, 0); + gpiod_set_value_cansleep(par->reset, 0); udelay(4); - gpiod_set_value(par->reset, 1); + gpiod_set_value_cansleep(par->reset, 1); udelay(4); } From patchwork Wed Sep 19 13:17:28 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: 10605845 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 0027F1390 for ; Wed, 19 Sep 2018 13:18:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E297F2AE9B for ; Wed, 19 Sep 2018 13:18:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D6F932AEBF; Wed, 19 Sep 2018 13:18:17 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 7921C2AE9B for ; Wed, 19 Sep 2018 13:18:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731856AbeISS4A (ORCPT ); Wed, 19 Sep 2018 14:56:00 -0400 Received: from mail-eopbgr30076.outbound.protection.outlook.com ([40.107.3.76]:38944 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728096AbeISSz7 (ORCPT ); Wed, 19 Sep 2018 14:55:59 -0400 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=BBE2I6XPHis7MzMwKJVM3WJhq2bf27Khfe0LFubF2Rc=; b=TV2pbNKVjCexzl5LsgSPZgCLJ79k/ce6sTIEKkmY5kNyeL8AfNXxBiaSyQZd9DNdXQyda7tDhx+a6t65/XwKbPYxcSjBvSA6KDn/NAhDviGwwm5dQ5oRgx9lsJB4+WeOaUBm4TJNArZ8Ch8HVSem1k52oEq6jgwxWGjFn+HO3sg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Michal.Vokac@ysoft.com; Received: from iota-build.ysoft.local (89.24.100.190) by DB7PR04MB4666.eurprd04.prod.outlook.com (2603:10a6:5:37::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Wed, 19 Sep 2018 13:17:59 +0000 From: =?utf-8?b?TWljaGFsIFZva8OhxI0=?= To: Bartlomiej Zolnierkiewicz , Shawn Guo Cc: Fabio Estevam , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, =?utf-8?b?TWljaGFsIFZva8OhxI0=?= Subject: [PATCH v2 2/3] video: ssd1307fb: Do not hard code active-low reset sequence Date: Wed, 19 Sep 2018 15:17:28 +0200 Message-Id: <1537363049-48399-2-git-send-email-michal.vokac@ysoft.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1537363049-48399-1-git-send-email-michal.vokac@ysoft.com> References: <1537363049-48399-1-git-send-email-michal.vokac@ysoft.com> MIME-Version: 1.0 X-Originating-IP: [89.24.100.190] X-ClientProxiedBy: AM5PR0602CA0003.eurprd06.prod.outlook.com (2603:10a6:203:a3::13) To DB7PR04MB4666.eurprd04.prod.outlook.com (2603:10a6:5:37::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 18349e25-5449-4040-60fc-08d61e32527d X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:DB7PR04MB4666; X-Microsoft-Exchange-Diagnostics: 1;DB7PR04MB4666;3:SYRcS2SaLMcK2oCGYA6vx7oIsPqU7VfjanqChqT4f3X+X+XDyhPzz+fTBKTqexlHTkGzHAEzOgu7CFuitnpovVv9YRyEqRs9N9YjWEEXPfBJ4+Lb6x7N2sMc8ohIGZ6fOUXxbfelol6OuXrcqUCqzo9CpkdKu39ybnNgkUYkINpFrlCmf2ZPp0DGhCL50LUplmLAgqXMAzybK/3YwHdvBKQy8Gb6aj5a3MkdwvTLRL6OHBuGI+Tw26tZISYihnlq;25:Oc00Ex1/O9vJLjSkJOeFAEsaa9EJhbwOcfy/1DdLIOt9IH+fQulk16LGo1ZSqmf0oAhx45AmJjUTTj1toy33DYRwfDF0JqPdmap0SfdUTV2tR/Jtl0h+hNaovpQMzPfnq9dA27M9gIQupaTWqCM4U6prFvWR6WRjExzo59smBU8lGEk/UqAzC5BTa1DzrR6HkJl9jEqUMH35e81+JlGmeapx0BM8J3w4l/xzt4VJ+d0BZ+AkwsTWyIEc6QO7XGXI7WRTnvUdPU/yGU2roEdN3mt3kY/qk4I4WqGz+PIJAdGZFAJiPsEQf2Y+k4ZDXKmEkoLxRuqFN5s10s3/kyAiog==;31:Pbp9yQFa3T4KGjfOo2l3Bx7MEWyzBGvGZQE+nvQvgIZ8tY7xpUNzyu41jOqdtwvCo2d04DYrqfyKf6SXqSvv9uMxsdpQcYEeNDVwfAq4bi713Da8Pt09eayF1hnIE4LcBpX/xQvIlv+3Dzau4HMXtwe5eoPBqu6Z9S1XkzzALLFMz5Ga2oUjI8hB//WESPxW9aH3TNtSLEMs4v3mtPivMckwY/8OIb1Q2cWn5hyD8eY= X-MS-TrafficTypeDiagnostic: DB7PR04MB4666: X-Microsoft-Exchange-Diagnostics: 1;DB7PR04MB4666;20:x45gYORinD6U5HqsK5ZFpOQIgDxf0to3lU2Vfgsu0JdnNZTSxiPd/sgXqJjgDLvjnpPf7I5aHSsaK0HHhTPrdzz1O3YprN5laHRP9fcyTkH32ufATT29kOQD0bJeImTp5sgHgOphj7DbuhDjJHUsghHEB6xxxqpDpB3EgUmlagqfXh/UkRDMda1VvMNDL/Tu7TYq30oG/eh43muhmwZiHrI34D5h9GbbdrkbyspH0hlV2iAvbJQ07aLpBkvRxoHT;4:yuls9sb7XCWotCzLrjNZiZzZedkW5duio2aCux+sriDyDuOcX73QS8kMkBmj42wS8PCZpzeTuaNV3UdCwzbyB3wb7S3P5lWiE2SnWyhRt6cfh1Ig3cd4qpqORAJvkA6Ym4t3oWbLFA6G896OruIC7Irn+9T1CYyn5n4Z9FvN0rgPewUWZAag0Dza1mUcx+lAIK0EmZ3vB/DIbDnUiv6yei4GyYfDt+kt4TLkoJKoI04QEDcF57Rh8OuFdSxBLlO7cC6tUYqYpdPnZNfHVBDSbw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231355)(944501410)(52105095)(3002001)(149027)(150027)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123560045)(201708071742011)(7699050);SRVR:DB7PR04MB4666;BCL:0;PCL:0;RULEID:;SRVR:DB7PR04MB4666; X-Forefront-PRVS: 0800C0C167 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(346002)(376002)(396003)(136003)(366004)(39850400004)(199004)(189003)(3846002)(86362001)(81166006)(6116002)(47776003)(106356001)(7736002)(5660300001)(97736004)(316002)(486006)(26005)(186003)(105586002)(476003)(2616005)(446003)(956004)(107886003)(4326008)(110136005)(6666003)(23676004)(16526019)(25786009)(72206003)(478600001)(54906003)(11346002)(2906002)(6506007)(386003)(76176011)(52116002)(2870700001)(36756003)(53936002)(6512007)(8936002)(6486002)(81156014)(50226002)(305945005)(50466002)(66066001)(68736007)(8676002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR04MB4666;H:iota-build.ysoft.local;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-Exchange-Diagnostics: =?utf-8?q?1=3BDB7PR04MB4666=3B23=3A1uf8cU+?= =?utf-8?q?WUYgG8gSCFD4oRTeNptOwVfc5qMu0W2+hnum9SIKYIQAbL5FZ/4naay2uvO5u/HqY?= =?utf-8?q?1EXuLiM/cN1kpwO40roAq3HJl6llaNkdPILLjPaeJ5qIA5ObHOfRpumqoXvTGJdkW?= =?utf-8?q?c9amFc4ALH+zBjBrzN90VWzkSLe6X1qNieXujHOjosnD5/GA15IhYfzxIoFvnHOUK?= =?utf-8?q?mtNG1Jw+dW+sDR54PUn+UnJ/xCw6o6AXIQhJKaXS86H9l4EeHhitYw2XeCeaBZtWi?= =?utf-8?q?xRQF1C4cRXS2Kj8TWsBhYA+tXJBclr0BebZm9GmN2CQwIQ9l/JRDISfgLc+QwtStg?= =?utf-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ZpV6b0J6JRReTm6hXf0xBpomXRN9cH8ePV1FlUDDOSl58mAZIx8tzpzMw3zQjIuTXft7fBVSSdTP3xpwg2k+VezQSCssKV4ik+KBQ3r1NkCl3yPJR+URkwGikuDrkExaMTJS7n1rP9ylVvxwJZCEMEc9Elc1LJ47eoAmEfse8o/SEvUx43yNlXPRHb4e0YSWMkKhyk0f7gMEpvxgujn0Ln61O/OshnRlsbk81WBhyOeZIYlubq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: ysoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2018 13:17:59.6588 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 18349e25-5449-4040-60fc-08d61e32527d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b5839965-430f-4be2-b282-d7a3149f2b37 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4666 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 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. Signed-off-by: Michal Vokáč --- v2 changes: Split the DT changes into separate patch. drivers/video/fbdev/ssd1307fb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index e7ae135..7b5bc42 100644 --- a/drivers/video/fbdev/ssd1307fb.c +++ b/drivers/video/fbdev/ssd1307fb.c @@ -728,10 +728,10 @@ static int ssd1307fb_probe(struct i2c_client *client, if (par->reset) { /* Reset the screen */ - gpiod_set_value_cansleep(par->reset, 0); - udelay(4); gpiod_set_value_cansleep(par->reset, 1); udelay(4); + gpiod_set_value_cansleep(par->reset, 0); + udelay(4); } if (par->vbat_reg) { From patchwork Wed Sep 19 13:17:29 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: 10605843 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 5D3F01390 for ; Wed, 19 Sep 2018 13:18:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B8122AE9B for ; Wed, 19 Sep 2018 13:18:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3EAE92AEB8; Wed, 19 Sep 2018 13:18:12 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 C69432AE9B for ; Wed, 19 Sep 2018 13:18:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731895AbeISS4D (ORCPT ); Wed, 19 Sep 2018 14:56:03 -0400 Received: from mail-eopbgr30076.outbound.protection.outlook.com ([40.107.3.76]:38944 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727820AbeISS4C (ORCPT ); Wed, 19 Sep 2018 14:56:02 -0400 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=/zjeKlt89emubFnnQrKNJXflxP1xxwZj7WKs9T9TRCY=; b=eE88KAdHtL4+PoRyjV3maQOD0FlFNRH8fsPkglghpinlo4PP7t8dekhG/7WEJvnkRmjJ69D/aZIcSNOU26it+YJ/goZQZRkukloioeHkn5LDpUM6z7FcuFRXxsA81un6HEXZWternacV7WXJEOJ/f80aDeCLYLsJWhPU1Patah0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Michal.Vokac@ysoft.com; Received: from iota-build.ysoft.local (89.24.100.190) by DB7PR04MB4666.eurprd04.prod.outlook.com (2603:10a6:5:37::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Wed, 19 Sep 2018 13:18:00 +0000 From: =?utf-8?b?TWljaGFsIFZva8OhxI0=?= To: Bartlomiej Zolnierkiewicz , Shawn Guo Cc: Fabio Estevam , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, =?utf-8?b?TWljaGFsIFZva8OhxI0=?= Subject: [PATCH v2 3/3] ARM: dts: imx28-cfa10036: Fix the reset gpio signal polarity Date: Wed, 19 Sep 2018 15:17:29 +0200 Message-Id: <1537363049-48399-3-git-send-email-michal.vokac@ysoft.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1537363049-48399-1-git-send-email-michal.vokac@ysoft.com> References: <1537363049-48399-1-git-send-email-michal.vokac@ysoft.com> MIME-Version: 1.0 X-Originating-IP: [89.24.100.190] X-ClientProxiedBy: AM5PR0602CA0003.eurprd06.prod.outlook.com (2603:10a6:203:a3::13) To DB7PR04MB4666.eurprd04.prod.outlook.com (2603:10a6:5:37::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3cf9cb16-5fe3-4348-839d-08d61e3252e1 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:DB7PR04MB4666; X-Microsoft-Exchange-Diagnostics: 1;DB7PR04MB4666;3:YwhQ1OtnCkdx80C/YBd0aBEigePfBZfs8B1FrnxlmX/uwAV51qJVyMt1l5khY9dX6EBjk9bxToyNRhs8hHyxkn5d+i2W7hspnxxpyMFA95kViwTlKh7sFJfdgmTJwxZxW4EuER7oHG9WkEZLSumlgs9pX/jY655fMD0wBtWu6aiC8/KBXJXrcPU8nbZR1gkK3zDo1E/mhkGxh5979IambOnA9oVGI7vazF4jd+jPiWAbn5mwifiLqspS7qkdhUz1;25:nDef3rQJD7OMbyeyeWXzltFioeN2nP7d4L1WOIk5SZbJtYqqU7EV6Z3qJdyFzqA0veqWDCHJ1/14KVrp1rsJjaqXNUeSmUAcnaJsAWdDAD9AH+e9m80YgszdZVmAgjMELJib8cqF7dzq56Ju4tKYwaQr8BDwqrHBbcTlQ+/VtoN5Dpg8NT/fnr3bPBNoZC8S4k12QxXh6v0qOCDzOGEwXxhIyfJUegZBb9rOZUVqxhngz0fvOAvy1OTmaZHrtZAa/FsI3kT6mha5/STrWmRJq/sYq6ZyE1Ds23OZhvy7xAnppitBrqjUcPV7Cua1QsDl0bAM8vNHF7wRVCHWtuRsPQ==;31:FK4fO8bkUXrMxMXzP0goXh6IIQzBvXMIackm+pRoc5qh6wuEuIS/yeNIgCoUwVoaixiiuzQ3L0dtDT42jdWUGSS4c4pLHEbfaEpos887x1p0Y5HeL05SfFlPQ5COh7QnHQCRMnknZOkjIhSbsGGcwQIOF2SDwwAQYN2t5rcEt52lM+7QNg0NPLpexrTpFD8dCSPPW+hsWQg938PD4H955Unqs6AYPGZBmdEu/oHw28w= X-MS-TrafficTypeDiagnostic: DB7PR04MB4666: X-Microsoft-Exchange-Diagnostics: 1;DB7PR04MB4666;20:s0dxrQSpx9v+pAcfQ9Tj+LIMHOTM8Xv1C9wCVjOMFLnL8iGxrHlO5RvXTsToB2BRDmCNxiZCR6MlCSW0PKNWUdHyNvUtvfALXnDRToEZWX9h4tkEShfp7Hn28iAsmEQuQ0O99HPPpDp/CfPf9WaR4QgNz/aTchD46v2jFLnPid7kdx50t9LZS8Ssn7oUN+FPs0qPhiZL3m/wiVmf4jd+tYjzZTDjkecUGotE4wEepE9RWC2WNfDXkVvu/YJ/bnX5;4:TC7fupNOgvZofe0z0kiompomr6SR4tU2b/LSglNYLEkHi5bOIuSIhno3WIAEZYjGzZ+xnuaUBYyLzccGClCv5btrs9KDiOXBS2MJ2RItllm9b22Eduqjw89KvgQycYjSxlvchsNhf4SNFiIZas4NUDHwQZIZgwrDS80ug+qvKALr8Ny9SnZIkFPAFjKbWJGU70vk7GXbjSFXgitRbjKK4SJGHOVlwo550IO1ZOP+wyr+U4/CuaS2BhibrSnQTm/EfFhLwY7T4WeS8Sxd9l8WkQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231355)(944501410)(52105095)(3002001)(149027)(150027)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123560045)(201708071742011)(7699050);SRVR:DB7PR04MB4666;BCL:0;PCL:0;RULEID:;SRVR:DB7PR04MB4666; X-Forefront-PRVS: 0800C0C167 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(346002)(376002)(396003)(136003)(366004)(39850400004)(199004)(189003)(3846002)(86362001)(81166006)(6116002)(47776003)(106356001)(7736002)(5660300001)(97736004)(316002)(486006)(26005)(186003)(105586002)(476003)(2616005)(446003)(956004)(107886003)(4326008)(110136005)(6666003)(23676004)(16526019)(25786009)(72206003)(478600001)(14444005)(54906003)(11346002)(2906002)(6506007)(386003)(76176011)(52116002)(2870700001)(36756003)(53936002)(6512007)(8936002)(6486002)(81156014)(50226002)(305945005)(50466002)(66066001)(68736007)(8676002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR04MB4666;H:iota-build.ysoft.local;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-Exchange-Diagnostics: =?utf-8?q?1=3BDB7PR04MB4666=3B23=3AS3jIe4F?= =?utf-8?q?XupaFVCulTBgz7p8vvCM/xfxqlIlJhIQv0EYk6uH7zIR1nphRVwoojK/QAgKM0QrC?= =?utf-8?q?jVOYPgLVw3Yvwa1YX+WulocY4a0zHdgc/O739FXeye5kEG7XRxQMPj7TD2L9DWMzn?= =?utf-8?q?MFsFSelJLwoETd0ftYIR74uT0VEQ69rcWxaFnPpdAXVrM+XYub5AV2nWeP+TfdBrg?= =?utf-8?q?qFQkbsoTldvziAj1nMRkr/4bodnhX4dErjHsVhfYK7pd0VgiIUkqK1TKV8R5tmI+C?= =?utf-8?q?GVY57ROPyOCQxN4W9gO6Mfeyu5VgIaccsYg7QAGnYY+BYGItA9wf+QiXkciS07MNQ?= =?utf-8?q?7VeHyOB6xQXh3y1jypTWcWDTtk5yGgWMSItLxi7qFTnGLhRN7paeagbyigFFUKrwJ?= =?utf-8?q?jWc3CDnUt7kiCjUwGzBjcvPLodci1ntVctEqZqDDqGswf0q/qHmDrFu5f4nPTmMRh?= =?utf-8?q?7us9e4caMgLOcsGGYT67jgZy1jPbGH4ZGe9gIK8EyeE26G1pLQrEAdkQ6nRflPylb?= =?utf-8?q?V0B1ae7li7NB9IEX9UYwiFZEBJlK52+K1wOt4aQSeZbWrI4YWZFdD8HSOAIjf5RLm?= =?utf-8?q?c6RwwSNXd+6NIb93iA5dxcr91i/UWAFz/NJanuQf+gU/iBwXF+IQTymWJqG6CMMJE?= =?utf-8?q?X6gjRbKRN0uAjJDoxUsdsEf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R04MB4666;6:TsrUij6jo3f9djZkJSeBCmX4IMKy2aWNsuvkdCO09DmN/JpN2BB2FNO+lD/RZ5Y+Apx7OGHL8TVBgRuLWwx/69ED6efA+wfD2NqgOpc5IKoSogGs7tdOdzXwPKl2BRcfHdWWSjInLehVeBUOt8eT8IFdSL+uMxFE4poYnGtQjFiz9dBk0PPXEWGItBTKU5ma27n/BWkVuzflc2wWTndP28Vq4y10ojI2zfaXooNL/7SAD/3EAg5GoMY7dr8oP3uh9khu2RWFS6IhgWBxlQbFQkJYC+G270py+D+HZ7Gtj2x2LiFp5FQg/WWj9NPoHY6deGh+R4IbcD/NbQ2ckx511LIPzEB2myVXWCpaVFl51uLVUddOVZggKVEQe6bQiijTTaP6U+GQaX8Hcwn0pCnIfBbJE13aA8X93G4/LKrczojFBEoGyIAityd8u/kQaQXKImrPZv22/jT5oGoMH+aWLw==;5:D3Cmm7w8hOYQiFo8IiLC2MF0MlBIRCFfZk90a8q7hRhX0HpmdfR3W8WaduQrssUy9r9i16LEIKMrpen+r+WsowNXb+oQF3bVHfbPJKaLBIEyQcXQdo+ccfflY2OIBZbLDhJarYmwPnBBmazHtxsRarIlw2czlwvzV/xNRT12/7s=;7:FvJD8WFpHXxFf3h+4LDR7vkXAy+9IOGC2m0uhJnE2g88Z8jOhL0INL5N4U/5CrjVBUkB8d+Jr+0eWXwvyFsHF2HNLNpMxdfWW/0po/fyRufFgxeF2Pd0Wzj+5wZaaC1K7VWXagYZhuLDOQ/dZ2PQU4HJJH/41NsNjRbwOp0c85RMUYpE8a1BTbb3RBRtL/iUk5l7mITJ6Y125goeAAWe9E9H9w6PTtEDL6NSD1ft/6SAnl5fxsQTR47SLN3UvAvP SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: ysoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2018 13:18:00.2994 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3cf9cb16-5fe3-4348-839d-08d61e3252e1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b5839965-430f-4be2-b282-d7a3149f2b37 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4666 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 The reset signal of the SSD1306 OLED display is actually active-low. Adapt the DT to reflect the real world. Signed-off-by: Michal Vokáč --- v2 changes: New patch in the series arch/arm/boot/dts/imx28-cfa10036.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts b/arch/arm/boot/dts/imx28-cfa10036.dts index e54f5ab..be3406e 100644 --- a/arch/arm/boot/dts/imx28-cfa10036.dts +++ b/arch/arm/boot/dts/imx28-cfa10036.dts @@ -11,6 +11,7 @@ /dts-v1/; #include "imx28.dtsi" +#include / { model = "Crystalfontz CFA-10036 Board"; @@ -95,7 +96,7 @@ pinctrl-names = "default"; pinctrl-0 = <&ssd1306_cfa10036>; reg = <0x3c>; - reset-gpios = <&gpio2 7 0>; + reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>; solomon,height = <32>; solomon,width = <128>; solomon,page-offset = <0>;