Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7383169rwr; Wed, 10 May 2023 07:36:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6dmgJdeSsXM80C2x7wmLJfmS9CxLGdgYgo7fOWUN0fIUOP2wcTaEKgE5woX/xCjxRXu0Ri X-Received: by 2002:a05:6a21:329c:b0:102:8f0a:5acf with SMTP id yt28-20020a056a21329c00b001028f0a5acfmr3091115pzb.62.1683729382636; Wed, 10 May 2023 07:36:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683729382; cv=none; d=google.com; s=arc-20160816; b=sIHZiD0LFoPvecmMtwdwnYThzj0rW0GBKnlkCDXt+K5+ri66yg1A05trHYN00YhkXM KhyZzrzj+f5gV1RtTh5qdQwv9NugOWsgku0qbIG/4D4LKARjU890eKnNFcVccU0y86BF CErsBihBcMA7iz2D4Hvaq+KEwBNlVS/88tLZ+pq+iPi9ZP6enviCJOln6O9l9VSP9DU8 pjwmNDorWeF27LEQO/BIuI1c2RVmjXJjAgtsj/UNqxCttXv+cCoHdmbBAUdqVYWbmr/y Ip9QcIhO6c07FcFK9g3n4vmkNT090pSJctvKdHXs1vfrOL2YvYDnrQEwk1kr1lPAvsVb J++g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:date:from; bh=3Jg42S0N55TLNOyfxK4bsvTCMY6AFBqYVDIdi724LKc=; b=BM1oOVs9dSS3dP1mYbia/Ny5IjvGQCX2cs13/+p3xn0lzNkfguJD942EzPS8gdZvB1 W41kg8UlP3vr5j0ZYA2iexOs65G7bg5YDh1nvd0RZgn/HCz1vcd9qpw4uc7ONAK1885g zgLwsxbmMBlub/cc1Gfxs6rCL2j+MMtCH0t0rMnBb7smpEoMNte7SuQ39Os4La6icZMK x7bcvObibiwrCfFD8EQXy6vGkAEepRPECznOqhiRnEGTD/j+7xEmg+dk9HuuQWeum29K 5uHQ8CWNeluJtTWD3iv0yoczBm2YpQ+qqVvdcmWVR98mkC1z+WoFaQCj4aDj1rmBElo8 U6hQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n127-20020a632785000000b0050fae6024f8si4088043pgn.792.2023.05.10.07.36.07; Wed, 10 May 2023 07:36:22 -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; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237460AbjEJOZv (ORCPT + 99 others); Wed, 10 May 2023 10:25:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237438AbjEJOZr (ORCPT ); Wed, 10 May 2023 10:25:47 -0400 Received: from fgw22-7.mail.saunalahti.fi (fgw22-7.mail.saunalahti.fi [62.142.5.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F62EDC68 for ; Wed, 10 May 2023 07:25:13 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw22.mail.saunalahti.fi (Halon) with ESMTP id 6ec4a200-ef3e-11ed-a9de-005056bdf889; Wed, 10 May 2023 17:24:54 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Wed, 10 May 2023 17:24:54 +0300 To: Sricharan Ramabadhran Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, ulf.hansson@linaro.org, linus.walleij@linaro.org, catalin.marinas@arm.com, will@kernel.org, p.zabel@pengutronix.de, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 4/8] pinctrl: qcom: Add IPQ5018 pinctrl driver Message-ID: References: <20230510134121.1232286-1-quic_srichara@quicinc.com> <20230510134121.1232286-5-quic_srichara@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230510134121.1232286-5-quic_srichara@quicinc.com> X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no 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 Wed, May 10, 2023 at 07:11:17PM +0530, Sricharan Ramabadhran kirjoitti: > Add pinctrl definitions for the TLMM of IPQ5018. ... > +#define FUNCTION(fname) \ > + [msm_mux_##fname] = { \ > + .name = #fname, \ > + .groups = fname##_groups, \ > + .ngroups = ARRAY_SIZE(fname##_groups), \ > + } Can you coordinate with Rohit Agarwal and use his work [1] which moves the QCom drivers to use struct pingroup and struct pinfunction? [1]: https://lore.kernel.org/r/1683718725-14869-1-git-send-email-quic_rohiagar@quicinc.com ... > +static const struct of_device_id ipq5018_pinctrl_of_match[] = { > + { .compatible = "qcom,ipq5018-tlmm", }, > + { }, No comma for the terminator entry. > +}; Move MODULE_DEVICE_TABLE() here. -- With Best Regards, Andy Shevchenko