Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2954612rwd; Mon, 29 May 2023 03:39:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Y6KVA2rlmiTIqolgOIw5v8ga5lueVVjPg2OvqhYqwKZ2LAcQ+cSe3kI1jaNwrZ/UOqMjZ X-Received: by 2002:a17:90a:aa94:b0:250:9aee:563c with SMTP id l20-20020a17090aaa9400b002509aee563cmr9770445pjq.41.1685356759974; Mon, 29 May 2023 03:39:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685356759; cv=none; d=google.com; s=arc-20160816; b=jKxv+T+EHmYkjPrToeKdUO4s9sTh2YD1y5rddHNoDlnf9jzjMtiqjdbNt5DMGmGwPR cEmfwNpWX+ahR/BDtgtgp1oftmDy4wPInUBFGLvYEtEH8PI9Iqqd1OA1p5MuZk6rcblZ x8E7LvpCrfwzHs9sH5ePWk4M8vgEkdHUF6FE31tSyJKfFTbW+hWJ1tXudE1p5k1qd1ip arbxSoQNFTXR4cxA49tV8xij+3bxro2rlJsj2XvJV9JcdvpK1g5rEQMDcQouYKqvdIlo iyfGu+oi1dt82hmUkZ1EkiV6G3DLU25rJhTGDcN4ie4E6jqyPkPuh8MFOcQZnzyaO43K M+HA== 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=Rs1mi9gWmQIfDbvGTLgd04OsxOpZ3oQ8tps4lRW1rrA=; b=WzseeIYIkt1oHs68wvSIkyFJDPb2MNsd86V+iHx67c80i/7igcmsxUx//s14LlTCip 6151KQKRlkAI4zJTPEe8DinHM/GdAv35xw5L140y5yndrQ3aMaqoUNhq2zCg4dmM2LKZ jG7mt9Mpp8NY5JKoCk7vfQZP8FwZ9+5xUif+YygTv0UDeVfTWvdKMYUMNx0+flqtSHmO PtyqzRbZnf2mnAS/+Vj/ZgrlmrY9ArjyTsIVomLigkHHqW46ZSdbX9Q+HbIjscJvIQG/ G+lnCynD8OXydkHM4AW5h9xvSCdUeRemNr01HolFM8xt5y/yoNx7eooBz04EQLtnV+rU eFgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oLTzApGh; 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 201-20020a6306d2000000b0053b8f80c656si7653142pgg.781.2023.05.29.03.39.07; Mon, 29 May 2023 03:39:19 -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=oLTzApGh; 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 S229961AbjE2K2n (ORCPT + 99 others); Mon, 29 May 2023 06:28:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229559AbjE2K2l (ORCPT ); Mon, 29 May 2023 06:28:41 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14F0CD2; Mon, 29 May 2023 03:28:39 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34T9rMiu022431; Mon, 29 May 2023 10:28:23 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=Rs1mi9gWmQIfDbvGTLgd04OsxOpZ3oQ8tps4lRW1rrA=; b=oLTzApGh8+OTmsWuT2EW/R6MgqEHEXxCV7zlFCTMFaKBMNJgxlrR7BszbkzD5cWNF879 1KHqJF6WqqsCGZi37YK98YA3ZufEkgQc/ixJikTTPLMluaFktOhMLx9equLR+BZPdyNY q4YbxSM9h8P3XXO4ZXX5c6mZuKkOIVQRM2XqQV9ls//+tQmK/6K3reUj89cX+7p36VDL BO5f6J1y4qh8TR7vH/uT8bkWKTvjiSuE8MHhxaLUMA1UaysrUbFVE+AxBKmmUlFsEzCl 0bFewi1UxTRdYNMqYVmVItbMGvk2bZ/faLp8JiNiAdmNdJR81b7i5zj1xQ5ZyI03r2qk Ig== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3quarb36mq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 May 2023 10:28:23 +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 34TASMDb005077 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 29 May 2023 10:28:22 GMT Received: from [10.201.203.60] (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; Mon, 29 May 2023 03:28:15 -0700 Message-ID: <1823419a-6bb4-03f7-d5ae-e32204c5e598@quicinc.com> Date: Mon, 29 May 2023 15:58:09 +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 V7 4/8] pinctrl: qcom: Add IPQ5018 pinctrl driver Content-Language: en-US To: Andy Shevchenko CC: , , , , , , , , , , , , , , , , , , References: <20230519125409.497439-1-quic_srichara@quicinc.com> <20230519125409.497439-5-quic_srichara@quicinc.com> From: Sricharan Ramabadhran In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-GUID: ltzP87ZWyRWccROl2ys61M-QiTsFO8-L X-Proofpoint-ORIG-GUID: ltzP87ZWyRWccROl2ys61M-QiTsFO8-L X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-29_07,2023-05-25_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 spamscore=0 impostorscore=0 clxscore=1015 malwarescore=0 adultscore=0 bulkscore=0 mlxlogscore=860 phishscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305290090 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, 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 Hi Andy, On 5/20/2023 12:17 AM, Andy Shevchenko wrote: > On Fri, May 19, 2023 at 3:55 PM Sricharan Ramabadhran > wrote: >> >> Add pinctrl definitions for the TLMM of IPQ5018. > > A couple of remarks either for the next version of the series or for > the follow ups. > > ... > >> +config PINCTRL_IPQ5018 >> + tristate "Qualcomm Technologies, Inc. IPQ5018 pin controller driver" > >> + depends on GPIOLIB && OF > > I'm wondering why OF. > If it's a functional dependency (I do not see compile-time one) the > compile test can be added, no? > > depends on GPIOLIB > depends on OF || COMPILE_TEST > Yeah sure. COMPILE_TEST could be standalone. Will fix it and repost. >> + select PINCTRL_MSM >> + help >> + This is the pinctrl, pinmux, pinconf and gpiolib driver for >> + the Qualcomm Technologies Inc. TLMM block found on the >> + Qualcomm Technologies Inc. IPQ5018 platform. Select this for >> + IPQ5018. > > ... > >> +#include > >> +#include > > There is a wrong header (the code doesn't use this one). > You meant mod_devicetable.h > ho ok, let me check this part. >> +#include > > Besides that kernel.h for ARRAY_SIZE() init.h for arch_initcall() and > others might be missing. > init.h is getting included from module.h. Will check for kernel.h and update accordingly. Regards, Sricharan