From patchwork Mon Aug 20 18:13:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz Krzysztofik X-Patchwork-Id: 10570587 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 3112D14E1 for ; Mon, 20 Aug 2018 18:12:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2458D298EF for ; Mon, 20 Aug 2018 18:12:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 177DF298F7; Mon, 20 Aug 2018 18:12:41 +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,FREEMAIL_FROM,HK_RANDOM_FROM,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 095CC298EF for ; Mon, 20 Aug 2018 18:12:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726277AbeHTV3S (ORCPT ); Mon, 20 Aug 2018 17:29:18 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:39969 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726077AbeHTV3S (ORCPT ); Mon, 20 Aug 2018 17:29:18 -0400 Received: by mail-lj1-f194.google.com with SMTP id j19-v6so12322636ljc.7; Mon, 20 Aug 2018 11:12:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=AXj79Yh9rQ6PthwLMbJo48kaVbgxL4pmvxtjEHBIUcA=; b=aJxQW6gYHnP34Pz2WObxLrlK24ByCMr9F9fdfAo++kw4+PU9U0jK22WGHCLRVkOFhr SxeZYtHysH3xynQcyW+1NusMrrmpRKLhHFWMn3A8qNE+g8dy/4xRB2YUSwYH6/K5niIj liceTEhZNRrzva4iwxo3RoVcVUvDyLwZEibDBEfB7JMF9NLW34rFuLKQD00V8SgBC1Eo LE4tlndAlNoMgoOgVQvV0tmgZZMc8ntL5fuYQcJ16TqWuEdfRxDsq/dKVRvmMioD/NXB 0hWxljDHHt5pb3uL0SErIY48np/rhTRA72aP9qPasht8gTqOfX4qzvNXWGfjo5pcSgml IVjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=AXj79Yh9rQ6PthwLMbJo48kaVbgxL4pmvxtjEHBIUcA=; b=i563M0bKrA/NulckX5O9XcrUFmZgAkuk9mRE2yc8nkQK7R6noPfct+Qy/ECgeXxRak lPcEu4QSMCqnpRAIiOFtlQ9ENclhoz/LMSSrJLA6RknVJvMElaXKuD1WBcj5IGkBlmB2 46jLKaH74oHq3ScyrpjeHypHYknM0B6EkEDpmv0h3qjZ5xwrEltdM1EN61Nu61pLzgli nYDD3i/j2CqfgaZ8KtHTdQRvH9ls+WXbZvXicFrEtbq46eP/HjjyTnWZK7+pi8aclVwi UxmsnJBvf7nxHGhL7I2FboaNI1DcBv4sMruMqMUcNJTcUv1cdk96YrlgLMLl9zHQsjVJ MEXw== X-Gm-Message-State: AOUpUlFS1cAuSKVKTDgzbfOSSwqVU9OUABDCbN35MS4ko5UfHOj/i2gc 5KS/37kbCLhzk0T2o9PMi34= X-Google-Smtp-Source: ANB0VdY6pxhJ4j9NYNEbyjsoqxV4F9jKSLHN67jgwQwh0t7cNGCt0P6ejQThDZYWyDhMvo4CVmK9Og== X-Received: by 2002:a2e:105c:: with SMTP id j89-v6mr192234lje.152.1534788756206; Mon, 20 Aug 2018 11:12:36 -0700 (PDT) Received: from z50.lan (93-181-165-181.internetia.net.pl. [93.181.165.181]) by smtp.gmail.com with ESMTPSA id g16-v6sm379918lfb.5.2018.08.20.11.12.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Aug 2018 11:12:35 -0700 (PDT) From: Janusz Krzysztofik To: Tony Lindgren Cc: Aaro Koskinen , Linus Walleij , Greg Kroah-Hartman , Jiri Slaby , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-serial@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Janusz Krzysztofik Subject: [PATCH 0/3] ARM: OMAP1: ams-delta: Clean up GPIO setup for MODEM Date: Mon, 20 Aug 2018 20:13:30 +0200 Message-Id: <20180820181333.2527-1-jmkrzyszt@gmail.com> X-Mailer: git-send-email 2.16.4 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Convert modem related GPIO setup from integer space to GPIO descriptors. Also, restore original initialization order of the MODEM device and its related GPIO pins. Cleanup of MODEM relaated regulator setup is postponed while waiting for upcoming conversion of fixed regulator API to GPIO descriptors. Janusz Krzysztofik (3): ARM: OMAP1: ams-delta: assign MODEM IRQ from GPIO descriptor ARM: OMAP1: ams-delta: initialize latch2 pins to safe values ARM: OMAP1: ams-delta: register MODEM device earlier diffstat: board-ams-delta.c | 120 +++++++++++++++++++++++++++++++++++++++--------------- board-ams-delta.h | 7 --- 2 files changed, 88 insertions(+), 39 deletions(-)