Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1653576pxp; Thu, 17 Mar 2022 13:41:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzP/ZGKhw7ugoWEiyFRuqHNLHhkhQNYd8eAEEr/NpjAiqOW9LePEQ7i12S63OtVLRZ2UuWd X-Received: by 2002:a17:902:f686:b0:151:ca86:e1be with SMTP id l6-20020a170902f68600b00151ca86e1bemr7162053plg.16.1647549700434; Thu, 17 Mar 2022 13:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647549700; cv=none; d=google.com; s=arc-20160816; b=lYu+3xRG39jNu/QctcvAERrHxDaQBtoEn3pUwPYOmgyHKvrcoZajKnLibytg/vBt9i 8xs8PjQ18FfeAWog5xompmlscysf7VnLVJ3HxhaIHVC5jaOTeUOX81tqNDg1J75CpnYX X/iS/DhGuJXY21r0KSy2PZYHEo2gvMleJu4UjiL9BLVQCi2swdoBeuc0Ox0WX4DiVeIZ xpNQDZ62YWUsr+uK4rs9n898rK7ee97M6K9pLht/gZbfXpY3xRjVHr/FnswYQa9ctY7T c6DXm3iBi1W6ID43OZPaHu922E9YvZ2Kokyarlb9Xlvp3gYmw8iPDw50tKx/fI1GkTOS FPvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=qUb4deOYPMflpFhWcZdj9luUZfGBjqudGzoJ0kQ5uOY=; b=0A5KxoU2lHJFvC1NU/9Ptom5MU17kbJh5JWmVOSOIQ8v/oRO4A41+tNqBHBNtELek+ lD34xL7gCMNLRT9EyzAonhnBnLtj5xJLvGzauZlszi3oSY/2n3O5cOPmnLGRKhJ2fdF6 AalbaGpnxnVF0cosm3qkLsXs+2dhRBzor3gyDp281ZLKKJU9qMiYuku+nA+0hHv7L2W1 9dp+EpPE0UuETy+spKYhy6d464IVLfXVK4YEXz6ZwfOSIzcNkm2DV4W7WM/1stHryIzc 3OIqmkIq4w0IQk0LwnAo005hQX2hJ5Fw7eqlOLeXP7XQIq102r83tw2P00fzfvGkgRk2 i+BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=lz81ep8Q; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q90-20020a17090a756300b001bedf836c6csi8392956pjk.30.2022.03.17.13.41.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 13:41:40 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=lz81ep8Q; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9BF2C2993EA; Thu, 17 Mar 2022 13:09:59 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235141AbiCQOis (ORCPT + 99 others); Thu, 17 Mar 2022 10:38:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233923AbiCQOio (ORCPT ); Thu, 17 Mar 2022 10:38:44 -0400 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 986391D66DF; Thu, 17 Mar 2022 07:37:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1647527848; x=1679063848; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=qUb4deOYPMflpFhWcZdj9luUZfGBjqudGzoJ0kQ5uOY=; b=lz81ep8QEj3jyxU9YvCYAWY02nF4TJvqfqAXYruMPURl4SXt1OF88GOb bNRJZrPeslzCz+w52VPOjKfB6c2I5Nrpr5rZNBl+RmIG0gwg989i0gFuX MYS2tT+HVQ3K08Roh/G5dOFpCOD/MicVvjqeUMGNDkgOefzOq39JWyStZ U=; Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-01.qualcomm.com with ESMTP; 17 Mar 2022 07:37:28 -0700 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; 17 Mar 2022 07:37:27 -0700 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.22; Thu, 17 Mar 2022 07:37:27 -0700 Received: from hu-srivasam-hyd.qualcomm.com (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.22; Thu, 17 Mar 2022 07:37:22 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v4 1/3] arm64: dts: qcom: sc7280: Add pinctrl for wcd938x codec reset and CTIA/OMTP headset selection Date: Thu, 17 Mar 2022 20:07:03 +0530 Message-ID: <1647527825-7493-2-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1647527825-7493-1-git-send-email-quic_srivasam@quicinc.com> References: <1647527825-7493-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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 Add pinctrl nodes for wcd codec reset and CTIA/OMTP headset type selection. Signed-off-by: Srinivasa Rao Mandadapu Co-developed-by: Venkata Prasad Potturu Signed-off-by: Venkata Prasad Potturu --- arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi index ecbf2b8..688fa95 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi @@ -545,5 +545,27 @@ function = "gpio"; bias-pull-down; }; + + us_euro_select: us-euro-select { + pins = "gpio81"; + function = "gpio"; + bias-pull-down; + drive-strength = <2>; + }; + + wcd938x_reset_active: wcd938x-reset-active { + pins = "gpio83"; + function = "gpio"; + drive-strength = <16>; + output-high; + }; + + wcd938x_reset_sleep: wcd938x-reset-sleep { + pins = "gpio83"; + function = "gpio"; + drive-strength = <16>; + bias-disable; + output-low; + }; }; -- 2.7.4