Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp1105718imn; Tue, 26 Jul 2022 19:04:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ulNMwOuJ+X1Tr0Z7/AX76TpkYjvnPiemyHe/+aCPpHZeOt7oVMVLxdD+6VV80EqnDKd2gy X-Received: by 2002:a63:d117:0:b0:41a:f0ee:f194 with SMTP id k23-20020a63d117000000b0041af0eef194mr10337259pgg.588.1658887472555; Tue, 26 Jul 2022 19:04:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658887472; cv=none; d=google.com; s=arc-20160816; b=wtYxSkUTVlcuBHXXt6C43Xht1t5Jq3L5ay7QECN/5OM7KEMunktzUjDwye8ZBO+3cQ 4sgbskRMoft+x71yTxiqckbgErxiXim3gKYc6+FUkQt4026QjRUBAV4YSbIst2XRDSKr n4fQDfOF+wzRJZhlHegpq1y4VnVQ6/n6YYUEqYO7a/IU4KaJvSOdfOZFdiG4BCAUnW/S b4snBautBYkIe50tOn4lwlEcxDgZt6xq6mDOiUU8yl8Epi+kwTEINV3cPtXfKRVWMQLF Qu6LoQ384O7IPzx1klvRoh0ZUB6avzH1E+vEesaSfknOFlk0Z33wBhxuUkmtDuCcZohm Kevg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:content-language :thread-index:content-transfer-encoding:mime-version:message-id:date :subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=6nt1G4G3WvranLna53VBA7SVbk0EDlra7toYUG7rBuA=; b=K1j0Kg6ppJwJ//iMWaajdbbZplB6xCAMV1ck+pjbEuYJMjBAL/y3FjnwPMQqIPMCoS SdWyyH7k60PsJtMQqRAVyfQ0YPBEoa64F331sGvADOT5pclg8S5XjCi0Yx5RKs3NbvNv zv+DwbtLPkuDBoxJIW5Rx7lGBsx6rggh86+QUt+y/AqDuI7K1rd/aSVbiZT+VJM120Br l3ba+YJmD3CuhdacC3JB7XD9nD6Bs5K54Xvap+JJEOLwHwxYk/tkiSBDWieSztc0qJSh WR782NS2KZPtg3FqhNG+AabP/wK4y0G/fdjAYJ6YM49HXmhijdmJjZdYRGnpkrDLodgw a9Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=oje3rUGn; 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=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12-20020a170903244c00b0016d28b3f3fesi20956208pls.301.2022.07.26.19.04.17; Tue, 26 Jul 2022 19:04:32 -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=@samsung.com header.s=mail20170921 header.b=oje3rUGn; 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=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240072AbiG0CCL (ORCPT + 99 others); Tue, 26 Jul 2022 22:02:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239991AbiG0CCJ (ORCPT ); Tue, 26 Jul 2022 22:02:09 -0400 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4A7A3C14E for ; Tue, 26 Jul 2022 19:02:05 -0700 (PDT) Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20220727020200epoutp01989d4e3bd81c77c0def74948e06c36b3~FjTqa2IoU2971729717epoutp01Q for ; Wed, 27 Jul 2022 02:02:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20220727020200epoutp01989d4e3bd81c77c0def74948e06c36b3~FjTqa2IoU2971729717epoutp01Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1658887320; bh=6nt1G4G3WvranLna53VBA7SVbk0EDlra7toYUG7rBuA=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=oje3rUGnqFx8uG4JC+QObpOcm24nv1brnyVXRqZ9pRmVsSyDxYriFSNPC9gmkqM6N 75U34M9l2nZHUvsxb4+3bosJh5Hm6nK9rDxOUrijsoGHRc5M+tVL6lKZVn9los3Z25 PDRMVmQH+pXsbXl8+XvPogemoAMXQ47ZCZA1z59s= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20220727020200epcas2p46ff1f76b46df6b58bcf384d4f88734b4~FjTp5R9A12513025130epcas2p4X; Wed, 27 Jul 2022 02:02:00 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.91]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4LsxqC3Wvxz4x9Q5; Wed, 27 Jul 2022 02:01:59 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id E5.F1.09642.69C90E26; Wed, 27 Jul 2022 11:01:58 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20220727020158epcas2p4c326f1a1342f939f1ee23ac573ba3f0e~FjTocwNfx3185031850epcas2p4D; Wed, 27 Jul 2022 02:01:58 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20220727020158epsmtrp2373cf60bdd96d0eaf64b600b1ecf7dd7~FjTobmWAx1302713027epsmtrp2L; Wed, 27 Jul 2022 02:01:58 +0000 (GMT) X-AuditID: b6c32a47-5f7ff700000025aa-5e-62e09c96cb2b Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 0F.16.08802.69C90E26; Wed, 27 Jul 2022 11:01:58 +0900 (KST) Received: from KORCO082417 (unknown [10.229.8.121]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20220727020158epsmtip1a95aa0e69c4d99f3cdc2513d3f837312~FjToOUIh21205012050epsmtip1k; Wed, 27 Jul 2022 02:01:58 +0000 (GMT) From: "Chanho Park" To: "'Saravana Kannan'" , "'Tomasz Figa'" , "'Krzysztof Kozlowski'" , "'Sylwester Nawrocki'" , "'Alim Akhtar'" , "'Linus Walleij'" Cc: , , , , In-Reply-To: <20220727013349.3056826-1-saravanak@google.com> Subject: RE: [PATCH v1] pinctrl: samsung: Finish initializing the gpios before registering them Date: Wed, 27 Jul 2022 11:01:58 +0900 Message-ID: <000001d8a15c$da89d980$8f9d8c80$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKDghdYfyUFZdNhjAU1XAi4XeJOwAIqlEK5rCpf/UA= Content-Language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMJsWRmVeSWpSXmKPExsWy7bCmhe60OQ+SDBZvNbV4MG8bm8WO7SIW e19vZbeY8mc5k8Wmx9dYLTbP/8NocXnXHDaLGef3MVkcftPOatF16C+bxapdfxgduD227d7G 6rFz1l12jwWbSj3uXNvD5rF5Sb1H35ZVjB6fN8kFsEdl22SkJqakFimk5iXnp2TmpdsqeQfH O8ebmhkY6hpaWpgrKeQl5qbaKrn4BOi6ZeYAXaikUJaYUwoUCkgsLlbSt7Mpyi8tSV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: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220727013403epcas2p452b5f66597b4298b7a573393927ac96e References: <20220727013349.3056826-1-saravanak@google.com> X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=ham 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 > 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 Best Regards, Chanho Park