From patchwork Sun Sep 9 23:44:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz Krzysztofik X-Patchwork-Id: 10593465 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 9152C921 for ; Sun, 9 Sep 2018 23:43:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76E3728FF3 for ; Sun, 9 Sep 2018 23:43:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6AD4429003; Sun, 9 Sep 2018 23:43:37 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6368628FF3 for ; Sun, 9 Sep 2018 23:43:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=oIfWHvJeqSZp9OM8mGL6PoHVjDPhkpqEl/45B+JvmTc=; b=RBTqUMbKjkg3vZ6Tdkmx1ckY04 IfA6DBndkNVYawvUrZGYnbkNcfpb/5nsG8jfIMnH5e5qIm16juWXMBoSDL7HLboOuUQSvmUdZIN1u Sz6L494mc58FLzZsslQO6Gcvx7HYCA+Fc8mvghlJCbgo0Qs3ynG0/ZZDhV/58DXBSMPdTXpMpK4fv 8k8fiWC9xmfTE9v+8Df2oSdTRi3sk9RtmT1ctOB5uAwjRsIgv7/C18MM7ndhlC4sdJlSdY8El7Tnq Iq5HBDORPc9qFX+OTQjwxZNVb04tX5h0p3qbR8jr0Oc8A/ZC2EKRJqhmxkOj00fvjzNqFTBUFfkYZ xoHRqc8Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fz9MW-0001n0-Qv; Sun, 09 Sep 2018 23:43:28 +0000 Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fz9MT-0001m5-Uw for linux-arm-kernel@lists.infradead.org; Sun, 09 Sep 2018 23:43:27 +0000 Received: by mail-lj1-x241.google.com with SMTP id p10-v6so16349214ljg.2 for ; Sun, 09 Sep 2018 16:43:15 -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:in-reply-to:references; bh=X1UvbEM0z44IGB5zlPX194NMdzWFdtVo+r6gSDjo95Q=; b=Ms5UEQCBf933d/usM/IuDhFJUznBN/zrKLIq2NOXCYILC69xzlxzeABIAYj2iVvqG1 yY1K9fsLSJOz87bk/zmTJNAcLNSpOCV+FwObeQrBEn7fapAr735F7r9B3FlWgAKFd3R9 Y3IIdipN6rT7Fju6cuoaWlXF+SKsK+LXnwJrGeuAm4NoV06PFq6/VJ7e4pkTS7VPsMUl t6VNCr8aPvtNJW70J6DFd+Edb27d3Wum5EO8tdzy3Kqb2i47tuuCfo5Xw+gUcwMXZ/jo lYlQJBJ917fq7Yvf5MR8zLQhkLh3Ti0pG1TPJ9qIJHjD97IXNYSugIziYZCvxhcYiXj9 sbIw== 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:in-reply-to :references; bh=X1UvbEM0z44IGB5zlPX194NMdzWFdtVo+r6gSDjo95Q=; b=KMpdx+M02J8CTNyD4NzkI79Z1lThYbOwkvUOnrhc4yyj/DkorXEoeCDIkNsO7RfbW2 VEhaw0taAvOljj9erFPBQ+Mc2yyttl+jCa3r/cnV3dlEianOhSDSrRM48mffMhNKwWaG utedCwcvKYFPw1VnBXTAKGjYOcuXNBR1oXGdAN3zrcUN9J3YghJu6K5jmX66NGKfzy6Z TAl7c9SqKlxbeNy0rIAfbrPHi0FalHrbAwSeVgTBAqxr1bG49BT3A9W5iKzLO9hS2iDS fPUwo+2nNx+U/BSKSPZ46Ti96cwAlS2AlLUy+mENZZxRjd1ath4wzDkLIMKwk6Y/nu2F hLjA== X-Gm-Message-State: APzg51Dvq2M74Tg3p3VztJG6qu/bTIZB8fYMZmNpOKbcv2YPkK7YQ0sq j93LfslGVj5ATtQdSpAqXVw= X-Google-Smtp-Source: ANB0VdY6Mex/+y74sOE61dbSSPswlB7ona4ClPFcvZ6Gpld40TOdI9iL60ZnCj7yO7p8L6y1ZD1QCw== X-Received: by 2002:a2e:752:: with SMTP id i18-v6mr10472648ljd.118.1536536593823; Sun, 09 Sep 2018 16:43:13 -0700 (PDT) Received: from z50.lan (93-181-165-181.internetia.net.pl. [93.181.165.181]) by smtp.gmail.com with ESMTPSA id h4-v6sm2355373lfj.69.2018.09.09.16.43.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Sep 2018 16:43:12 -0700 (PDT) From: Janusz Krzysztofik To: Tony Lindgren Subject: [PATCH v2 0/3] ARM: OMAP1: ams-delta: Clean up GPIO setup for MODEM Date: Mon, 10 Sep 2018 01:44:16 +0200 Message-Id: <20180909234419.31261-1-jmkrzyszt@gmail.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180820181333.2527-1-jmkrzyszt@gmail.com> References: <20180820181333.2527-1-jmkrzyszt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180909_164326_022705_60691928 X-CRM114-Status: UNSURE ( 9.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Aaro Koskinen , Linus Walleij , Janusz Krzysztofik , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 Changelog: v2: - rebased on v4.19-rc1 - added Reviewed-by: obtained from Linus Walleij Please ignore the patch "ARM: OMAP1: ams-delta: assign MODEM IRQ from GPIO" sent alone on 2018-07-17. Thanks, Janusz diffstat: board-ams-delta.c | 121 +++++++++++++++++++++++++++++++++++++++--------------- board-ams-delta.h | 7 --- 2 files changed, 88 insertions(+), 40 deletions(-)