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 BFED6168C4; Mon, 27 May 2024 19:19:57 +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=1716837597; cv=none; b=VK/+zYmBtUL7+Io8qMltXspocG8JJQciW2eT6j0GFisjAF0goqeAf/S9xJ41H5JqAuWXtsR1yrxE60zGVYIj+zqapMMnY9APYUv/+0zZJ6X06thUqfDlgQiAuaphCeWol4jmWRBl4HvJACcXWV4D1n9O1IqZVNtwJeVHyIyxmOA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716837597; c=relaxed/simple; bh=PcEnB6XPElmC02zqkkcClYMs2ZeIXTUwXSm09gRVrpA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DrNknaY3xHGosPJ2TxgZeNNA/KaL8nd7X0UXWf2iIKJtw3glh6D4Boh6FKgW6qqmfoyf8pTgYdHhi/Xc9lGJ7FSJyFc1Fhjep6CqZXTGOpp4eb0TzRbwfJvdhJKX3BAXy1EDYEqCLPZMUVV4snCrwxQ/T7rgxeX6IRmL0vvD6HM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qX6Hgha4; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qX6Hgha4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53E20C2BBFC; Mon, 27 May 2024 19:19:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716837597; bh=PcEnB6XPElmC02zqkkcClYMs2ZeIXTUwXSm09gRVrpA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qX6Hgha4FxOhdSBdxVRJEo3cUNN7uafdl8GnP3PM7aeNbZFAzD8PUmmhzQIj93yQr 1Uy1338iAV55N0hMXmWVuVfzedOQXgrs4EbbLPzEgB4lq4YNhPJT7rzMV6JNdSUjaF FBb/7cUn0BkQol4JenBKgsqbPNKFHoB5e4hol1wg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Derek Fang , Mark Brown , Sasha Levin Subject: [PATCH 6.8 071/493] ASoC: dt-bindings: rt5645: add cbj sleeve gpio property Date: Mon, 27 May 2024 20:51:13 +0200 Message-ID: <20240527185632.165309993@linuxfoundation.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240527185626.546110716@linuxfoundation.org> References: <20240527185626.546110716@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.8-stable review patch. If anyone has any objections, please let me know. ------------------ 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