Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp172920lqo; Tue, 7 May 2024 16:36:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVouHpqwgkVVR0GI07UK9gP/NPBlB3U+SSzFVRAm8vi0F5ayDE//UydQtvfFeWtQJxZY5CtkTY6RHqR903fX22n1h+QZkSRWD/lrAoRUw== X-Google-Smtp-Source: AGHT+IHaQ1oY9lpKeNHmttF/xg15MjizT3eNkvW+7B/lG9BS5k8OZWadCjKpyIEj/3Bq1n/QytS+ X-Received: by 2002:a05:6a21:3282:b0:1a3:1972:450e with SMTP id adf61e73a8af0-1afc8db5ba6mr1231588637.50.1715125000553; Tue, 07 May 2024 16:36:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715125000; cv=pass; d=google.com; s=arc-20160816; b=B/k253+WhNPjsIwqNioYBRaqr9ToqwcweS2DNKkqGDkfZo1uH9YdjgS6Rt27uX1aGi LwCGRpuvFHeupmUQH50QYaiYzCDaO2SmkJ+kxY2VyMWLUp6Alt0L2Ps+u75aIhu3tF5A 4l0BziaEHMyqduJCPUDC9heKLb95Mq3nx0HDQxF1UAqpZGR4s0VCwgyM6CXDPbBXIJ9a pBIwMtXzsJwxijVQFaTzSMEQl9rUmbrXml0P8AfW6pMLfRypwMSVjBSO+eJ6YE3zV/oY x8Sc9GBSSr492Kani8ZaoG3OnApHe8elqhO8t8BXQB4kt6HQVq3tao0MIPUDReQZIEjC gVLg== 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=Equf4UVI95EmM3sDNqYKu5rHyME2WajiMUR6+g46i6ZO4hYeWs6uKPSx4m1bBb69cO JjDeP/cXT/49PNgcxH+YvxGRwYn+xMUSnUklMAz3JXtR/GZ7zUtK281cLmjwbab/lsXw 6JW+rS3vZjDNwxa9W1W6cQlykMFOsc2bjNcaEmRpnfvneXyy2UQ60RPqVoCL7KSBVf2h x2GFJEhuWcDbAyvWv58WoN8ljkicKkjUKm7X/yVWcwxkZlEX0xkK3+wh+10vpaab2ltL ElMp/JgV74r7Q5Jjak5fJzicqYS8AyizTDyMN8mBMqkkkRKye4kvXvliXAUhkjYoPf2z B2UA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=s39wNl3j; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172402-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172402-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 ca30-20020a056a02069e00b005e42b5db0ffsi12180300pgb.40.2024.05.07.16.36.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 16:36:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172402-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=s39wNl3j; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172402-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172402-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 306DD28305A for ; Tue, 7 May 2024 23:36:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A28FF1494A2; Tue, 7 May 2024 23:10:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="s39wNl3j" 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 C1B96149007; Tue, 7 May 2024 23:10:47 +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=1715123447; cv=none; b=HSi4kbL09p2PVNfxMM9wYXy9Mn15vUsQOLb7pbNKybMsNP3R/kxE1L8/bFMko3DP9k6XrQQQD10sNkNiAUN8dIGcldAE+AZPOxHDTUXZgBh/iiR+oO5bf4yASMP4AeDXQms+8ZyfIkj7W5isXr6zL7U4kR5jAQSlnfG2SrTEZOo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715123447; c=relaxed/simple; bh=V9xwPCi2BbHqvXbn+HBOTFHYtgRml7I7/V1s2BHN2qA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=giWIlMY2eaE9SWpys6kstxgmTLiTADk7SsuaDNIto9rgwjJEyVNa4dxDsSQW7tvSEM2kwQOMX7byRc+ZVKg2Og5IBMv3ey3BjC6TwjU1CeDu6YexqfSCBOmbboL2z4e9y9j4NoQ4eSWQ/QulrnkZeFxD9YwuFRv11aUx8jkR84I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=s39wNl3j; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BEF7C4AF63; Tue, 7 May 2024 23:10:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715123447; bh=V9xwPCi2BbHqvXbn+HBOTFHYtgRml7I7/V1s2BHN2qA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s39wNl3jCaTEeSCkSGiFdpOcozs9i7mkaZPTrg9WarTCoYYaMlFGi178PG99ulbQt o7ayA8RVZP9mBi3BZ0M0Fyo5t1unvOYizPuMwYlk+Cs0bVi6g4wER6fbe4xDq0SklL xM0ft31AGQY3tQMBrfmRWELGi7RiGNx2FDqMnyadkMmWiDUhxygwUmlJgfAn/35gfa i539huroSQE5g6UPvXuzdZ7mml/mXsfd7LJndzDs+8NjLW8VufV0nYaYOhhWQL2hJM GQGZs8Ef+gJcOrqhaBMnxV3l912lWlQBZ2ZJE3hWP9EFgrlh1EvcfwZO4kKCaSsFCJ kK6L5UXdfU6rQ== 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.6 07/43] ASoC: dt-bindings: rt5645: add cbj sleeve gpio property Date: Tue, 7 May 2024 19:09:28 -0400 Message-ID: <20240507231033.393285-7-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240507231033.393285-1-sashal@kernel.org> References: <20240507231033.393285-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.6.30 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