Received: by 2002:a05:6830:16d2:b0:61c:ac69:ca1b with SMTP id l18csp152463otr; Tue, 26 Jul 2022 19:54:49 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sJD9vN2p7H6BMXu8lMH8bltFI2AGQbB3M1Y3IdsFOB/xKajuOU1MlyZzfUp/pL/NXAEAG8 X-Received: by 2002:a17:90b:4b82:b0:1f2:92dd:4e02 with SMTP id lr2-20020a17090b4b8200b001f292dd4e02mr2144633pjb.121.1658890489340; Tue, 26 Jul 2022 19:54:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658890489; cv=none; d=google.com; s=arc-20160816; b=BmAoaaGu1LbRmNFOpgUbdCAkeji5dyN2rPJKahGogRAd8Y82jdHUEf+AtIlym3nW+f P//8nh5jxzDYR24HUDbxJJN8JAQT+Y1tR2lA94Zkihbwfj+3fKI6hrGeWwpjI+q5wonY lHzbkKiPWgkz7C8OJneZe6F3iohpyhQnjn6cBX9LqK03zXiz5NMsdaidiwyAQN0X6tqR lFyZKOLRxqAx9wofgYX1+VNCuFM5qh7VDAwGE+ebGbsc7LCspJJHAvbQUVJ3lbhYbyCA 3dH2U+os+0AVf92xPHp8ZPObP7kGBJdvfmiuNxjGrlT78HUuwgmB9pvbD93LicKEf/8n MFCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=dVN886NSrhQs8UWcwxaCPHANRVdx/m1bEPjAIN2GoxU=; b=BIBIiMA6Itf/hXvvVX0K0LIthrYTIN3AsyG+/MPV7ufciQI/QYOqTlZirprhVtI+Ox qF6Skqo7pfbREU/El+blkl9r8VKbKt27dxxXm4eC2MiExaWIjkwS8QUCqgm+L67eia1s g+omlgpaMwlWYmstUOUPsO22KOc8QP8Y+fvrH7W+CbbvXL1mIh7L7WQO3xql8kkjJd4+ w4RFj2NDyEr84tcCvtl0nLw++CEaHKtWVFOjcwYt5M79fVsSyaPN5au9rtLPXZJwD26m PmuHzZZh7iBQNq2mOPik7J2INgDMEiklbVBtOT+P9p4oI35117hzVHi0pe8JDo+My9sI sExQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=GjkAHE5q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h2-20020a056a00230200b0052adcbf2d12si20473796pfh.161.2022.07.26.19.54.33; Tue, 26 Jul 2022 19:54:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=GjkAHE5q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233929AbiG0CQi (ORCPT + 99 others); Tue, 26 Jul 2022 22:16:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233448AbiG0CQg (ORCPT ); Tue, 26 Jul 2022 22:16:36 -0400 Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB7DC3C172 for ; Tue, 26 Jul 2022 19:16:33 -0700 (PDT) Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-31d85f82f0bso160971617b3.7 for ; Tue, 26 Jul 2022 19:16:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dVN886NSrhQs8UWcwxaCPHANRVdx/m1bEPjAIN2GoxU=; b=GjkAHE5qR37LBJVes25IDRzw02yBl1adJiKjgbAj6FShHvOdjwfz78fltGk1xlzovC uwLhYx4fFuZp3QWHsGSvAXWaoq8EFp7PeFaXSMnvG7yxhZdKDDFlJereIUDZQns8h5I+ V58kR3heJaQqGz0rMaQQ/zKGX45W3r720h1gluPDtnn9qaAkxBni08RmBRPsB8w/CdEp QxIr787KZucoU6ES4FEW/8dt27JadkSsdISlSG1WodhxdWG6F1DQJvYxBcWabL5ysU1D pzmk7hhNkcyUIN3ATMp1FSYkXJias/sOiSvv7vKwpc4DkvA5MrRGJxjrzCgYkldrAFlt 8Dkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dVN886NSrhQs8UWcwxaCPHANRVdx/m1bEPjAIN2GoxU=; b=ldi6WiPa1bI7fKZ7kxSKC3k1H6rfEviNEMiCS2vTXLaLRomt6tSxDV3OM4zi45aQxe VdSLAuJ7M4iCkNWHRmRlWFZAx1vZEGu9OpfUbyNkvOERg6+uqKh23GV4PLrvoKU5gA5x GxUYIPsKTsnL3o54gHoh/Pb6X0kKEJ+9kmIoXnY0aOPJ87CgOYT5KPrR+NRS/+2fzGKf LDD4F2L+biHysYhaNbvYbrR5IhzO6OA/OVsAhSjVBuBXMYtDefePISz/Q4GBoGXeqAMb SKscLnTtZVpWwPEcZLyN5tQLAfxf7rcrZeOGZQrwW1A0SzEI6V1YH88s3AzSopZ1o3Ls ovtA== X-Gm-Message-State: AJIora/gXUKAmi9MBmq/9NTDt7C3awM2Kpva6rthePlzfW/G1EdMlTuu TvlgBnV8aSjrJ6TsWimgv6pqP1E6ipC+rF/biFr1sA== X-Received: by 2002:a81:4807:0:b0:31e:7002:46cc with SMTP id v7-20020a814807000000b0031e700246ccmr17615235ywa.83.1658888192913; Tue, 26 Jul 2022 19:16:32 -0700 (PDT) MIME-Version: 1.0 References: <20220727013349.3056826-1-saravanak@google.com> <000001d8a15c$da89d980$8f9d8c80$@samsung.com> In-Reply-To: <000001d8a15c$da89d980$8f9d8c80$@samsung.com> From: Saravana Kannan Date: Tue, 26 Jul 2022 19:15:56 -0700 Message-ID: Subject: Re: [PATCH v1] pinctrl: samsung: Finish initializing the gpios before registering them To: Chanho Park Cc: Tomasz Figa , Krzysztof Kozlowski , Sylwester Nawrocki , Alim Akhtar , Linus Walleij , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 26, 2022 at 7:02 PM Chanho Park wrote: > > > Subject: [PATCH v1] pinctrl: samsung: Finish initializing the gpios before > > registering them > > > > As soon as a gpio is registered, it should be usable by a consumer. So, do > > all the initialization before registering the gpios. Without this change, > > a consumer can request a GPIO IRQ and have the gpio to IRQ mapping fail. > > > > Signed-off-by: Saravana Kannan > > Make sense for me and I tested this on my Exynos Auto v9 SADK board. > > Reviewed-by: Chanho Park > Tested-by: Chanho Park Thank you! -Saravana