Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp465192rwr; Thu, 27 Apr 2023 04:06:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ42dQOffx369ZmY3gT2tH2K2wj+E61taKfZLEbA0fIr+SblGwjHA+CYsWJZCpJ0fQduJrml X-Received: by 2002:a05:6a00:4009:b0:63b:4978:a50a with SMTP id by9-20020a056a00400900b0063b4978a50amr1723980pfb.1.1682593565915; Thu, 27 Apr 2023 04:06:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682593565; cv=none; d=google.com; s=arc-20160816; b=JVnrWYZELdlnOraDD3dIdPH5eW+FStkA1gvZyyzqgJlCkd2AhiFZCB/1RslAD8Jlxf 6y05VBjGag7FJD9PCEYRqYlTCRVZPi2spDqkYir+3eQreqw9AIKZbK8/1ZKzeSo+0seV 2zvLumW8k+5ZPqjWkE1hSIHL/8iPjCJ8TwgkZmrfV3PT+zd2O164jEdei1jLwLU9QPAg LOYjWPBHLycoWNEhuWWCwaU7omQOc3k/e/at8hrUXgSyADohbACYi6pkmAvnImSo1/x4 Mv+tXhldauh1OE+QSQKEwEnvxX8NvAg3Hkh1wj1eaeO5GUDTS5lm0DEksDjTb2BJrrMU pshQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Q4yxf1kUwqhXPiNIN9b61myjf5LzeWeVStu3Emj9sUI=; b=iPy/2ED9i2iN4vMcN1yWaQA5Q88UdIAcR2AlKp5sshI/QuqdiT9yDGQdiRH+MAMrVs ElwOVIl+146h7iMf3qWPEjf9ZymiCktAO4D07NnEaxTM+gAyu+EgfExMagSJBOmqQURD ve7uHL+E6VU8k7wBFf5chSVKQHZLFw6AZbcpNSi5tZgmqwz7ynXif2tJRvsOL7pCa5E3 Amz3j80CGiRRxTwLwK5Qa8MPxOwa069JJdCsQpIxbjfFfqbXz30JUak96+RMBLbp768p pQeN1zp+hgP7A9YwmfcrxWjr/VwgAopp5TS4puyPOYqU30w/hNdiycc8BQso+TD96twO 274w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=o3+whjcI; 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=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 j188-20020a6255c5000000b006262531b3cdsi18480182pfb.356.2023.04.27.04.05.39; Thu, 27 Apr 2023 04:06:05 -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=@gmail.com header.s=20221208 header.b=o3+whjcI; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243628AbjD0KzK (ORCPT + 99 others); Thu, 27 Apr 2023 06:55:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243283AbjD0KzH (ORCPT ); Thu, 27 Apr 2023 06:55:07 -0400 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A5D71733; Thu, 27 Apr 2023 03:55:06 -0700 (PDT) Received: by mail-qt1-x82b.google.com with SMTP id d75a77b69052e-3ef33a83ff1so38120351cf.1; Thu, 27 Apr 2023 03:55:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682592905; x=1685184905; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Q4yxf1kUwqhXPiNIN9b61myjf5LzeWeVStu3Emj9sUI=; b=o3+whjcITy9OD87HXnrfl5jdkVdRuMlIEPiCw2Fz7sT3DkKO+0WuStrjAMGaTqZnKS 0vKQ2NmqLPImPvOYxYepAY2qLdsqrgPFMrx3cMZXsxTLWybCRYynnl9oLGCCl0pXnrkz exM8eXA9J6WcsUUGOFMn9qjNDXzPkV1HNP/ppwEELH626gMtuzC8K5/wj0EjRzwA+F4m wAVKV+pp80Bpx+eYTxhbB0HLuLRc4ltLxtYFw+971lefKCJ5mNQA1KGO4EMu/Xqux1LM noyRZzlfntKFCwpKkWjlThOyDZqP1zCVJIdPI+k5CCxms6m20BwHg3sYPkwHjYjrr3XP 0EOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682592905; x=1685184905; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q4yxf1kUwqhXPiNIN9b61myjf5LzeWeVStu3Emj9sUI=; b=ay2HemcLGZiYRrH4lkfEZUh8DaEFCG3nKN2D+Km9uwPHtRnyVca7hL05//Dc6yUIGo AlMKv4u12grKZpNDP4SZufrP6JfUqOy2rQQnW9PabNMWDo+AFqZhoN8HhzUZiebzB/WO YciRJY+4LQgJbk/MTI/YYiV+2LJ5IXtq/JuTp2lJKvQ3qhUpnI9Ixlt88pjOgiWCq0rh EeP8w1XQuQVsMXIbw1BPZcg+pCLyA/jMFdenjLVEWSgLQ4tTfnFIPhEnSB5ByHyW/SVc MekTwyUUA5FVYeFln9n9jWygLeGlFy7/ASEbn7WM27liASjU0rGhTn4lg7Nlj+Xw1uP5 ckPw== X-Gm-Message-State: AC+VfDyVoTv27XxpcNWA4M6LDcVqAIMQoneDvDg8CQuaZOE+VdzlTa1M BlQMj8KG6XUVDroGjnBwzbBP+YrKS4zzPeyS4bo= X-Received: by 2002:ac8:7f8e:0:b0:3d8:2352:a661 with SMTP id z14-20020ac87f8e000000b003d82352a661mr1543069qtj.3.1682592905720; Thu, 27 Apr 2023 03:55:05 -0700 (PDT) MIME-Version: 1.0 References: <1682327030-25535-1-git-send-email-quic_rohiagar@quicinc.com> <1682327030-25535-3-git-send-email-quic_rohiagar@quicinc.com> <66158251-6934-a07f-4b82-4deaa76fa482@quicinc.com> <1ed28be7-7bb5-acc5-c955-f4cf238ffc49@quicinc.com> In-Reply-To: <1ed28be7-7bb5-acc5-c955-f4cf238ffc49@quicinc.com> From: Andy Shevchenko Date: Thu, 27 Apr 2023 13:54:29 +0300 Message-ID: Subject: Re: [PATCH v4 2/2] pinctrl: qcom: Add SDX75 pincontrol driver To: Rohit Agarwal Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linus.walleij@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, richardcochran@gmail.com, manivannan.sadhasivam@linaro.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Thu, Apr 27, 2023 at 11:53=E2=80=AFAM Rohit Agarwal wrote: > On 4/26/2023 10:12 PM, Andy Shevchenko wrote: > > On Wed, Apr 26, 2023 at 6:18=E2=80=AFPM Rohit Agarwal wrote: > >> On 4/26/2023 8:34 PM, andy.shevchenko@gmail.com wrote: ... > >> Ok, Will update this. Shall I also update "PINGROUP" to "PINCTRL_PINGR= OUP"? > > Yes, please. > PINCTRL_PINGROUP cannot be used as it is, since msm_pigroup has multiple > other fields that needs to be set > for each pingroup defined. > Would rename this to SDX75_PINGROUP, as seen on some other platforms. > Would that be ok? For this patch, yes. But can you create a separate followup that replaces three members of struct msm_pingroup by embedding struct pingroup into it? There are examples of such changes in the kernel already. https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/com= mit/drivers/pinctrl?id=3D39b707fa7aba7cbfd7d53be50b6098e620f7a6d4 --=20 With Best Regards, Andy Shevchenko