Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp168637lqo; Tue, 7 May 2024 16:24:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVUKFNTTq3RlLxxAXubbw17kQ8pkQrgrI41QXPQAevcGhXxE6IZx18gxhQOhMfk2x8ML5D8JBgnRe/OlaSp5v6U79fnGIHObyVgieZ7AQ== X-Google-Smtp-Source: AGHT+IG51OTK8B5/KAdQWoS0jZ1cLqOqugm/BsQdVG36AjOjSOru81KGu8IUrZahvUTbcHuwngJo X-Received: by 2002:a17:90b:1056:b0:2b0:5836:5837 with SMTP id 98e67ed59e1d1-2b616be9ae2mr941959a91.40.1715124292669; Tue, 07 May 2024 16:24:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715124292; cv=pass; d=google.com; s=arc-20160816; b=CEsYTjRMwwcBruiNMWkeX0L2c7OL9GgLeC8ra6m+updbv87u6ZJfmBhtXH0TvHGVoH gyhTDwwP15c7DCW7l+yg07WUWCh0x/ELd9deEnC6ZIgsulKW4FvZtuGrQwG++Pcta4iy dPayiZS339SYNj23PcyxAhRoUySeLp4zKDaIamCPsEfX7Rj9H4V6Os9fKjljRaUIUVmt d8ZQSUGtXowPjRRsYPTSfBE0wl4og5rw8nMMXnbyEtTUXYRfVmzer4q5+zfITMEe5glY DU43KFQb2i8F6133Dn7LoXJeSJQ8g8rvNhmAglrlpTh//XaXoh+wSP+RBh72SRRj+kt+ gAVg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=zlYl+7PLVWXqwQsTdbLaVYL+Gx9NHF29tZYHndKX5kI=; fh=TrFoTsgTnoQcIiKJxEKLZl2oeVQTFp9fWlc27Uf5Piw=; b=AJWmGsAPWuNC9hI6yFmuaDF3xyEz4/eL3602Lx6qxp4RLbigopBUVzQt7Zpu+IGICc CC20oxi0ZXvI6GaLqLsI8sxSNVv3qg7tG2rTyv3lptXI9mSeJMve8aX2VLST5w9OHOIg gwteVL3zX4YBtpENUiRpkp0G75lYatre8u4TXxZKBRDUj9029fEYtLejCMBoCyBBrUF2 TewMfsyVxvoLFELiIO28yUazazgrqQyUg2WY2ZXc0MnMZi3nryujzGKe91WYmidjideR sF5SJoM6Hn0kkgKjbQ6z/XFn1P65MO9CkTgAPY14TW6ZDQs0E1UfYnn3m8xwjg+IpP2u GfPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hEjavXHz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172352-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172352-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id v14-20020a17090a458e00b002add21e0c7bsi122158pjg.138.2024.05.07.16.24.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 16:24:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172352-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hEjavXHz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172352-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172352-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 58015286C68 for ; Tue, 7 May 2024 23:24:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2E0EC131740; Tue, 7 May 2024 23:08:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hEjavXHz" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C0D61311BA; Tue, 7 May 2024 23:08:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715123301; cv=none; b=NFKhU2OGQHiDp2NJKrE/UZKZIlYtay+tLr0paHf6VsMKeJaZ+n12wPO1+/2TMqnFJAKhgwl6gDjxC2IkRJllsfzgRdqP82oLV60bbIcx7Sg/nqef/SfbZfWZMwzAuPpPu1TqJMhY45xcaEeTlQXVNbyhtzSieCyYnYla6ypAv/4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715123301; c=relaxed/simple; bh=V9xwPCi2BbHqvXbn+HBOTFHYtgRml7I7/V1s2BHN2qA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=u6gx6hsHnRQOYsalPlv3lyiRixe9OQlu/qPuYzBIlgNBJ1/u08TH202QTlGtBhUQmecM4WniavZMuabdz7g8MYiWQ6VAK8c+bs+RtPLQM1TEtQfi9vvU0HjWzTq2LQISOwPWgz/8SEq8J5GtQ+M/5ul/mKvvJCep4mlHPPsO3Pw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hEjavXHz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5832C3277B; Tue, 7 May 2024 23:08:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715123301; bh=V9xwPCi2BbHqvXbn+HBOTFHYtgRml7I7/V1s2BHN2qA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hEjavXHz+8lHS0DmRyyrHOEcB19RMa1gH8wbacYO+OCwApKlczbXWva1qqQ4wnenI F56u6xWy9XnA9E0cyun/uhrFdQwfLnEcUeu48GUUbnMRz8w8axMKe+GNwLFx+2Wsw+ DY/NYh8UywrdJZBoehjQYNtNtEgy1A8JuMDQf443Qvllg+tv2CT9jQCFPAoC3g0S2c 8sTrLfkOtN8u/j/O9g/AdDMZN1yyk9u+IGGbQ9oRXJpo6jm4KCN5i/YOO7m6xaClMv hj41sO9QI9yupgA6WFWwHZknE+3gnd/DKyHnbccX5rXTTHPcpCOoV5XFwAhSiSuJ1F xAQdCjBrwSjNA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Derek Fang , Mark Brown , Sasha Levin , lgirdwood@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH AUTOSEL 6.8 10/52] ASoC: dt-bindings: rt5645: add cbj sleeve gpio property Date: Tue, 7 May 2024 19:06:36 -0400 Message-ID: <20240507230800.392128-10-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240507230800.392128-1-sashal@kernel.org> References: <20240507230800.392128-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.8.9 Content-Transfer-Encoding: 8bit From: Derek Fang [ Upstream commit 306b38e3fa727d22454a148a364123709e356600 ] Add an optional gpio property to control external CBJ circuits to avoid some electric noise caused by sleeve/ring2 contacts floating. Signed-off-by: Derek Fang Link: https://msgid.link/r/20240408091057.14165-2-derek.fang@realtek.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- Documentation/devicetree/bindings/sound/rt5645.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/rt5645.txt b/Documentation/devicetree/bindings/sound/rt5645.txt index 41a62fd2ae1ff..c1fa379f5f3ea 100644 --- a/Documentation/devicetree/bindings/sound/rt5645.txt +++ b/Documentation/devicetree/bindings/sound/rt5645.txt @@ -20,6 +20,11 @@ Optional properties: a GPIO spec for the external headphone detect pin. If jd-mode = 0, we will get the JD status by getting the value of hp-detect-gpios. +- cbj-sleeve-gpios: + a GPIO spec to control the external combo jack circuit to tie the sleeve/ring2 + contacts to the ground or floating. It could avoid some electric noise from the + active speaker jacks. + - realtek,in2-differential Boolean. Indicate MIC2 input are differential, rather than single-ended. @@ -68,6 +73,7 @@ codec: rt5650@1a { compatible = "realtek,rt5650"; reg = <0x1a>; hp-detect-gpios = <&gpio 19 0>; + cbj-sleeve-gpios = <&gpio 20 0>; interrupt-parent = <&gpio>; interrupts = <7 IRQ_TYPE_EDGE_FALLING>; realtek,dmic-en = "true"; -- 2.43.0