Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8358769rwr; Wed, 10 May 2023 23:27:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6WL+3oh51ZKg5w76FtFbZqPJMyui7Twz7cItRzZLDRuH3+yWYwRtNSf57fwpmYwGCYHi+R X-Received: by 2002:a05:6a00:ad5:b0:643:849a:dd06 with SMTP id c21-20020a056a000ad500b00643849add06mr28432702pfl.34.1683786469786; Wed, 10 May 2023 23:27:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683786469; cv=none; d=google.com; s=arc-20160816; b=AtrtVe74Ecan41RCWvNJur4FMlkvjWNpF6EDQ59mWfkhFhVVRDTcQAYv/wltx1FCGU BCogqzX7NUWZBWwOePKkPtM6SdtjHDm9kfYnXXbXjxmh1lhEAn55LsdTh7akTUEKRCsI YE1dckGtyJfZRJUySYvSrhC/U8nvkIv4xX0v+gWTqGp5Qcjp1VwvIHLofM9cVatX3Rpx KKPVssgcpdYSWrOlqAD3Yg/zoypaL03kQ3Mox6SInqOzi3Z4yAMrb9nXXEQhB2K/Cf8z 7HWf5Lfzgm39NXltO+2/JgRibiSXldH4qqBm5So6J8om2ZuzVYE+QsdATSfU3vaf5GDs rpBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=MFmlOXzWKlh6xmSzF7dgNVpK+OIYZ+my/PD5cZRH0Tk=; b=m2KUWkFk8bjDnYGVf4WX94nN3adTi2oVWp6Ai84xrJkcEEJuYM1CVRF/NBrMf3lfbo TY9OiFTfewQwuZlStZ9urEZpJFNAXd3V7ordpE+JrXUPxZwWRMp+rCQVo+rDPvbaL4Ug 9LJ6YzuUKsAHiZ9vdpwjFdtJbw5XsbpK/oPYjpAq2/V2x1rDULFLlSQ5kjR+Q4Sm629z NmUG7DipINhKUhrvd9ATDSwCYpH+9DQCiQnpje6mBl7+yCunJ/o16qsFqCLbDobhhe/I q9q2Kw/H3KTtHWOibM723eewHdmZKqqodZ+kL+AdLN+OXCzxJzaI8H34Ej/ullgQi7+M C32A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=at7kA05j; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x7-20020aa79ac7000000b006414f28725bsi6783746pfp.195.2023.05.10.23.27.35; Wed, 10 May 2023 23:27: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=@quicinc.com header.s=qcppdkim1 header.b=at7kA05j; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237002AbjEKGTh (ORCPT + 99 others); Thu, 11 May 2023 02:19:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236163AbjEKGTf (ORCPT ); Thu, 11 May 2023 02:19:35 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 938243A89; Wed, 10 May 2023 23:19:34 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34B6JKtS022130; Thu, 11 May 2023 06:19:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=MFmlOXzWKlh6xmSzF7dgNVpK+OIYZ+my/PD5cZRH0Tk=; b=at7kA05jLfwkpUtE+uP0nW2kx43EWJMeQyT8Qpo96asw/C8HlLDHePVoi73bkTVTZ4ir QTt4VcbsoD5A7Oeme82hPHWU9/yxmPgpC6XN8Ge7gLtFJxRxXCZgn8nFyYneIBumjkat 7jhHv23jkvzeaW3IHczKg3p7NpqdMF1xxbzjRBqlJ9kaue5s8zLG63LrG8d2dCCxLFXQ bcOsHT+SCVWQeuODzetRp73SVHWIeW7UXzMbctutoxM35VVy8d+appt3lhoSh0R8G/os ayQGVVTAgIDuanu2FeMkk26y+MJiifHUlRdN0Zght5pj7Y0qhTaDnty32vn6ZSsffU2G uw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qggen92k3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 May 2023 06:19:19 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 34B6JI98010116 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 May 2023 06:19:18 GMT Received: from [10.201.3.182] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Wed, 10 May 2023 23:19:12 -0700 Message-ID: Date: Thu, 11 May 2023 11:49:10 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH v4 4/8] pinctrl: qcom: Add IPQ5018 pinctrl driver Content-Language: en-US To: CC: , , , , , , , , , , , , , , , , , References: <20230510134121.1232286-1-quic_srichara@quicinc.com> <20230510134121.1232286-5-quic_srichara@quicinc.com> From: Sricharan Ramabadhran In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 8Er7DcdvxmzTkegwCefZsH92-86EqJDQ X-Proofpoint-GUID: 8Er7DcdvxmzTkegwCefZsH92-86EqJDQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-10_04,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 phishscore=0 clxscore=1011 lowpriorityscore=0 malwarescore=0 spamscore=0 adultscore=0 suspectscore=0 mlxlogscore=999 impostorscore=0 priorityscore=1501 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305110053 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 5/10/2023 7:54 PM, andy.shevchenko@gmail.com wrote: > 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 > ok, will do. > ... > >> +static const struct of_device_id ipq5018_pinctrl_of_match[] = { >> + { .compatible = "qcom,ipq5018-tlmm", }, > >> + { }, > > No comma for the terminator entry. > ok. >> +}; > > Move MODULE_DEVICE_TABLE() here. > ok Regards, Sricharan