From mboxrd@z Thu Jan 1 00:00:00 1970 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 3710F182C8A; Tue, 7 May 2024 23:12:39 +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=1715123559; cv=none; b=bglQxKro+BGdHc8rTANjpZKRlUiiphJZZ5fQ4xjY9qsFU4yqpwY4d7PMx1vst5/h6F0T6M5SK16kLJglNXu/8GAEJyQyFdD/tPwqgiLQt6mJ5CPbapaoGQQHPk3Z6E3ebbd/KUgzrtpRS1Ti7yfVAI7sAHylT+0EfFLc0f0BCwY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715123559; c=relaxed/simple; bh=V9xwPCi2BbHqvXbn+HBOTFHYtgRml7I7/V1s2BHN2qA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EKSovPfZ9oVTvQDHFGiR9ST0Mmm+/dlA7Zf45I5swRPi+RxEbrHx/Z/g9U1Qiv2lEiC8yBtDJalkGJTC2ECY469USpRrBWTKuJeBs38N7PjZg5WiPYtSQJmi19smCYL0zP8rwlMJXCZiwRTa2wMkHYHWXLx02foN9jxhnxB4dvw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FcPBlV9D; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FcPBlV9D" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC69CC3277B; Tue, 7 May 2024 23:12:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715123559; bh=V9xwPCi2BbHqvXbn+HBOTFHYtgRml7I7/V1s2BHN2qA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FcPBlV9Dy3qdxQaFQfGrklUYXBR4dFZaFoiHK5qA1QE1N+2BdEQDFfqwfxsXpGS7+ XaTQjpcpr0A5bEUhm5oReM4wPPQBVvJKC1yZFDPImvI6UQraWrq2OJyjgpVixwBuYm jnKIuzmd9Gq5KtyMGh3l6m7jyNaw0v+LCWE1I3Xr49QhMmLCdE9kgA7aLTE5QvmhmK MGzF/YOXMyIPqdi5OhA6uGcslHarsrqSyW7S5HQe4vSU9ZBP2931WXSXHmdVjnfEma mPd/5EcgaOzwjq9PsWV9QqNi5Ti/5x2SFDW0ktKiqo7233AyKykY+UjrnuxZmOX6CL Jz1AsmrPmMymw== 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.1 04/25] ASoC: dt-bindings: rt5645: add cbj sleeve gpio property Date: Tue, 7 May 2024 19:11:51 -0400 Message-ID: <20240507231231.394219-4-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240507231231.394219-1-sashal@kernel.org> References: <20240507231231.394219-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.1.90 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