Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2266390pxp; Mon, 21 Mar 2022 15:22:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYS47ZmrclGDVDETU9MWUqOON/Q5b1rjvMMMKjYbK/Hxvm2FYKTNl+qmhwERhp3OwdnH5E X-Received: by 2002:a17:903:32c2:b0:154:4175:a945 with SMTP id i2-20020a17090332c200b001544175a945mr10692280plr.130.1647901338572; Mon, 21 Mar 2022 15:22:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647901338; cv=none; d=google.com; s=arc-20160816; b=nRfUDIKvtKlShSBE3hUtlX4OeFz3AwvZhk7uSZ4D4gCtuLAUc4FFoiq0+VD2Xaa6FF mdRkH37DwoBIN6P7YxHgoLg3Oc0gC/hC5n2DAuHu6aSQbBwOZiApcEScbrUjl4l2k9NK k3eB3UVqi4WFGV0QQ8HbENCqtQ/JvbTGdp0cI3RU8lRC2veSxhCnan4Dmpu37uoEJBeu 6ngl7R/ZzMLz0+S438Cx3H8BOaMsasRyd/9dlYpKiql4Qqg0Bsw+saSFnAepZrQvQaMw cwqCLFpVF68XyGBfGKVmJR8uchS4OL3x/EawIKir4RBT5Oyu2P6fl7MTfyF4Qy1zqyeO SeoQ== 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=RvkCSglAvB3fLwHArZ2nI1pgluAaHw3iFZyuMXruHTO/arAqFQyeP/fPaBRY5cfNZu E7GD1TRXgcHQPnh5Nzp048EIfHRoJBnLeS8juaYn8HfQHvyo/qRU4E0RrS7Y/t/ae94B 7mF82+Vwk6Ntq57bwddz36CduEIm8TnjVp6TJriIBeHs5GrqiogYCDadQn8DUYy4+Ou5 QY8Y8AmJl2apVV8v5r+FCCVo98Pm0vifCRt2MG8BgEJieQ3NA120qoOFehkAqQwCg4PH qFKdcga8GzlHX+CXINNjguY4jFfPpglJ8pMa88Scl60euzrUUdnTJmEjQSblS9hN8rl6 4kiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=CwRIvB7n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q8-20020a17090a430800b001bd14e030adsi431161pjg.133.2022.03.21.15.22.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:22:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=CwRIvB7n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 6928138D763; Mon, 21 Mar 2022 14:38:40 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347117AbiCUMFA (ORCPT + 99 others); Mon, 21 Mar 2022 08:05:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347111AbiCUME6 (ORCPT ); Mon, 21 Mar 2022 08:04:58 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA38F13E15; Mon, 21 Mar 2022 05:03:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1647864213; x=1679400213; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=qUb4deOYPMflpFhWcZdj9luUZfGBjqudGzoJ0kQ5uOY=; b=CwRIvB7nDQcuJckXHhjpBY7H216lXHbCFjJuHjTFj+gs46xQBNgrQ+r7 VSWMe4gip4uHqlpPo/eBK0Qxmfk/ubRKbYLsWOw3NfGhZncAR42kRKOHq XSPbV2UPTHGLv4D+jpqOkh0LbAbE+Cw2BBd+2EK3++xWEc7A7oaM47AxM w=; Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 21 Mar 2022 05:03:32 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2022 05:03:32 -0700 Received: from nalasex01b.na.qualcomm.com (10.47.209.197) 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; Mon, 21 Mar 2022 05:03:31 -0700 Received: from hu-srivasam-hyd.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Mon, 21 Mar 2022 05:03:27 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v5 1/3] arm64: dts: qcom: sc7280: Add pinctrl for wcd938x codec reset and CTIA/OMTP headset selection Date: Mon, 21 Mar 2022 17:29:17 +0530 Message-ID: <1647863959-3289-2-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1647863959-3289-1-git-send-email-quic_srivasam@quicinc.com> References: <1647863959-3289-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: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) 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