Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp179039lqo; Tue, 7 May 2024 16:55:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXb+oHG2uc4xw79KGEIYLX3xC2/xLzviww/n0Xc9om1l6gE0934KOUd1Vq0mh0MBq52tPOVAm3K/Pa6bpog126YbZZT+AnKwbIRmEBRVQ== X-Google-Smtp-Source: AGHT+IFZX3naRvPibgifkwXW7cKBFvCu0DESB1CyH2HauVNUqs5VTFJS2Z43WTIn3r6sokW8UTSI X-Received: by 2002:a05:6a21:999e:b0:1aa:96e9:31c7 with SMTP id adf61e73a8af0-1afbdca828emr5698877637.10.1715126123941; Tue, 07 May 2024 16:55:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715126123; cv=pass; d=google.com; s=arc-20160816; b=yfDUFwXyl2ZnpcJwDaB1rRl3SgQaE0F58kvNBQ/RjQeyCwybHzcaWpIghbxoHoI1cu WiguVK33ouOyLoEvgiOVTg27PCmMAauIezZ7Oyvm9VPUllz8/i9Z9b/A/RzStJfVoaw3 4ztMKL66U1Z0xvHb3Qs0Ra2qoELm9wBBRjlc/CW/8MGP/CSplGwfOjPRXuxlSWGYFUs2 BbXaFHH2O099/s7hvRIxxTB24ecIpnPHpM0WncIgyIuYhCUZ6s39OfNofhzw5rcRCxRx G6s4D2z/VAnfDuBC2sjKLVOSYbY2t9BYMGxkpE5Be2TckUukc5ALD/4Sy26ddrzZXbyt CkZg== 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=QfpxCeH1rpiop2lClOMrjRdfIsUt8wkPR6Tvl89aPDYkeEfD2LKivzgw32RN4QnDwo qdJgeufPQnoXVZlM8RRjSIUWVuaqM2pPg3ivDfOmj7Dz27fbOw6Qlj5LyOBFJjzGtGkP iZQ3IIg0ZiFQHAPbbWdyE+38i4X/uCmJwFuRQNkIJnaRFGI5dGQ5BhqdhMxdVl9+ZXFk LbI/W0918iLf4yeN96nSMxYthGnR6+RhFUIbj1Dv//px6jhdzPZSYMdQSReNZ92BHLxl vwYH5gXpV6IPRr/8TkwVS1QI7dOQ+qlsu97nqQfh0yeLs7XY63Yi8bgzsZxqInqehCvX Ntww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=azqvRIWk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172481-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172481-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e1-20020a63f541000000b005d8bef48a86si10134447pgk.876.2024.05.07.16.55.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 16:55:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172481-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=azqvRIWk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172481-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172481-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 B4FEB2837BB for ; Tue, 7 May 2024 23:53:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2BFFE182A9D; Tue, 7 May 2024 23:14:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="azqvRIWk" 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 34EDF183C36; Tue, 7 May 2024 23:14:10 +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=1715123651; cv=none; b=bscUW59jiQojCvuLMbdfp4ngrXqg2N4YHMcs9yzbpME20q8cUmdqrlZRqSA7fxCdWun1OfDVfdRM0zWipuza6far8Q50bYsLk+dWgEjW6nGE8wUa3b1C5d36hreuDjMNEueUeKcYdAJSFgFp5VqMTgNiP6vgrhqBj5afcPw55hg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715123651; c=relaxed/simple; bh=V9xwPCi2BbHqvXbn+HBOTFHYtgRml7I7/V1s2BHN2qA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=BXoE0+ajgYjZ/gYpFZXbEfGzB4mXvFXyfmZAqgG9z8B7fM92WY2Q09BirM7lAjjt5Uc8coPh1HPZkdnL7pZUtiVdnCv/uCi7jz9erawlpwo1/Kc/ee9DQS/ja1IM6hy1aW0Q9CmhDP9LQ/bjg8pK0zYRfMz8qbY1nMbVCBpjpic= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=azqvRIWk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0519C4AF17; Tue, 7 May 2024 23:14:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715123650; bh=V9xwPCi2BbHqvXbn+HBOTFHYtgRml7I7/V1s2BHN2qA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=azqvRIWkc5tqT0c/wqFAjTgdSdORR/eK7POTT4E+BEPhGqhh2hwMewDBIedkniqLm TZO744hL/nWT3vPfq6Nf+lXWwM/TpmZ5MPLJSLbQCXe0sF2UwYpSfkTfnOmRmHrX7C rR3hHKdo58fajHToULx9MbgLSFSt7ReU9rh1uvY7j39KfhyxITHVGd456xKpvHvacS y6n9hAjWFYpJWxv+dAGvDJGNNPjBM81bULDu/NctXvrSTLmFtsYQxlCiUFci8HbvQ8 IaPvEFR6BoTbkHQ8ExW3WxMxTN1Y6w1/0SvdhpKc7M/1DTUTu7z10fROuSuEchM9OQ m9GUUDp1Omikw== 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 5.10 2/9] ASoC: dt-bindings: rt5645: add cbj sleeve gpio property Date: Tue, 7 May 2024 19:13:57 -0400 Message-ID: <20240507231406.395123-2-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240507231406.395123-1-sashal@kernel.org> References: <20240507231406.395123-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 5.10.216 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