Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp2952860pxb; Sun, 20 Feb 2022 05:27:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJxW1hIL5ToStX6MbNfnLeUyuXKoRwqulYkk974gUGyduNdnh+BiBlX87AgGWuK4N4rMDeud X-Received: by 2002:a05:6a00:14ca:b0:4cf:1930:9d67 with SMTP id w10-20020a056a0014ca00b004cf19309d67mr15661619pfu.55.1645363643884; Sun, 20 Feb 2022 05:27:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645363643; cv=none; d=google.com; s=arc-20160816; b=aHKhcdoj2lMXvdoKISQ6feHt0qI8p1FZUXvRZnqGqlsr4XN0BTpvzQ+E4CC8jAU9sT BZGQsrgMPatVsZeft9sQ31pXLwl0H5ubzCbuDQmiMJ00wOTc/BRU4APNfMvwohVAMIgx +Rkl7fMx6SKa4CN9IIhmJDFULPmtzNHbnNGaeW/INNqfOM1B6bBVYoY27Q8Q9JML/O5B R/LxYafwbriUeYms+28ZABNoDL+qvtJfJ6jjZcrPwKOKRn1jmh3D6KdDPz1J5xPyOm9P JBV0Ka/ia1nVYw0cOLdkAumMom2thOZSvucw69gNp/gXc8IEI5Dbj2FiN2Ndh2A0Z6C9 3mIw== 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 :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=GeMNBE8jsuT8hCfZtDP782SEZp0RFcr71l9NpIOcAzA=; b=pc89VKu0pYFcOi6jmMkS4X0GzErls5jxEMrJBQGF6kV/5qZOsayoTHWDjUpx7URd3s ZUHyPc17yfYWrZYgjpbUExpqrwSQJ9tzC/nFemhOuHVAlYlt1qEb0edAKtgiyXl809bG GdwXht2oVTxy74jOIAG+XKtd14Wfz9UfLU2ely/D5IhsHDELnxJVZrEeVWNUPLkqJFin rOJ6QKMvtRj/ZBUtPLHVSqIg1LFmSSzZ5XAyCv7+Qgej50aNhT0l7LZwQrgrE1NhP1l/ 9tHXBrEavuLoD3YKddpy8ohLdQ62CMfu8qna/x26y0Hmi6DyHmA5/SQIKP0IvTA9QBU9 7siA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="NJ/1fytg"; 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 f16si3751289pjj.68.2022.02.20.05.27.08; Sun, 20 Feb 2022 05:27:23 -0800 (PST) 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=qcdkim header.b="NJ/1fytg"; 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 S242835AbiBSSf0 (ORCPT + 99 others); Sat, 19 Feb 2022 13:35:26 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229800AbiBSSfY (ORCPT ); Sat, 19 Feb 2022 13:35:24 -0500 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42BB7158DBC; Sat, 19 Feb 2022 10:35:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1645295705; x=1676831705; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=GeMNBE8jsuT8hCfZtDP782SEZp0RFcr71l9NpIOcAzA=; b=NJ/1fytgKa+rFeWx0KsQSwom78axRRAy05yN9HZIfDqpYJTVOFn+TaZ+ nan0pHwPmiLFYqk6TIi5yqU2cHtV6wOPwlPymzq9oisb5gYzXLYkZet8r oBzt9mvOvhgnPnwjiRjU7+oHmgMdusFbEbxuHIdAcevkXlLJDXZ+o12zo 0=; Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-01.qualcomm.com with ESMTP; 19 Feb 2022 10:35:04 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg05-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Feb 2022 10:35:04 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Sat, 19 Feb 2022 10:34:51 -0800 Received: from [10.216.20.52] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Sat, 19 Feb 2022 10:34:44 -0800 Message-ID: <619d38f4-9faa-e592-6a96-db23118afd25@quicinc.com> Date: Sun, 20 Feb 2022 00:04:41 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH v6 6/7] pinctrl: qcom: Add SC7280 lpass pin configuration Content-Language: en-US To: Stephen Boyd , Linus Walleij , , , , , , , , , , , , , , , , , CC: Venkata Prasad Potturu References: <1644851994-22732-1-git-send-email-quic_srivasam@quicinc.com> <1644851994-22732-7-git-send-email-quic_srivasam@quicinc.com> From: "Srinivasa Rao Mandadapu (Temp)" Organization: Qualcomm 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: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, 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 2/19/2022 8:13 AM, Stephen Boyd wrote: Thanks for Your time Stephen!!! > Quoting Srinivasa Rao Mandadapu (2022-02-14 07:19:53) >> diff --git a/drivers/pinctrl/qcom/pinctrl-sc7280-lpass-lpi.c b/drivers/pinctrl/qcom/pinctrl-sc7280-lpass-lpi.c >> new file mode 100644 >> index 0000000..5bf30d97 >> --- /dev/null >> +++ b/drivers/pinctrl/qcom/pinctrl-sc7280-lpass-lpi.c >> @@ -0,0 +1,169 @@ >> +// SPDX-License-Identifier: GPL-2.0-only >> +/* >> + * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. >> + * ALSA SoC platform-machine driver for QTi LPASS >> + */ >> + >> +#include > Drop unused include. Okay. will remove it. > >> +#include >> +#include >> +#include >> + >> +#include "pinctrl-lpass-lpi.h" > include ../core.h Okay. will add it. > >> + >> +enum lpass_lpi_functions { >> + LPI_MUX_dmic1_clk, >> + LPI_MUX_dmic1_data, >> + LPI_MUX_dmic2_clk, >> + LPI_MUX_dmic2_data, >> + LPI_MUX_dmic3_clk, >> + LPI_MUX_dmic3_data, >> + LPI_MUX_i2s1_clk, >> + LPI_MUX_i2s1_data, >> + LPI_MUX_i2s1_ws, >> + LPI_MUX_i2s2_clk, >> + LPI_MUX_i2s2_data, >> + LPI_MUX_i2s2_ws, >> + LPI_MUX_qua_mi2s_data, >> + LPI_MUX_qua_mi2s_sclk, >> + LPI_MUX_qua_mi2s_ws, >> + LPI_MUX_swr_rx_clk, >> + LPI_MUX_swr_rx_data, >> + LPI_MUX_swr_tx_clk, >> + LPI_MUX_swr_tx_data, >> + LPI_MUX_wsa_swr_clk, >> + LPI_MUX_wsa_swr_data, >> + LPI_MUX_gpio, >> + LPI_MUX__, >> +}; >> + >> +static int gpio0_pins[] = { 0 }; > const? const giving conflicts with group_desc params. > >> +static int gpio1_pins[] = { 1 }; >> +static int gpio2_pins[] = { 2 }; >> +static int gpio3_pins[] = { 3 }; >> +static int gpio4_pins[] = { 4 }; >> +static int gpio5_pins[] = { 5 }; >> +static int gpio6_pins[] = { 6 }; >> +static int gpio7_pins[] = { 7 };