From patchwork Tue Feb 21 18:32:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 655414 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D840EC61DA3 for ; Tue, 21 Feb 2023 18:38:28 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C3FD3EA2; Tue, 21 Feb 2023 19:37:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C3FD3EA2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1677004706; bh=8QOFPWz4jHeE2H2vjihyNGg18wOuet4foK4GbFqA148=; h=From:To:Subject:Date:In-Reply-To:References:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=U3RAEPz8GIAHV1mIbcDe5aw8dM25SF2IpP5PRP6KdHNZFCCSLiIPrh8Ca01g5cw/N NTr8tlEnmW5N3+OthjKvPV/VYTvr3ps6zpFKeCIgnudJ0zSECIJR35kX43GC8AleAZ /o9pidbOcy3Tb2TBaWj2dmzLXpFXr4MR/KtOrLsk= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id BB013F80526; Tue, 21 Feb 2023 19:36:40 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 45B45F804FC; Tue, 21 Feb 2023 19:32:36 +0100 (CET) Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 13604F80125 for ; Tue, 21 Feb 2023 19:32:25 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 13604F80125 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=XthLSfsJ Received: by mail-ed1-x536.google.com with SMTP id x10so20184928edd.13 for ; Tue, 21 Feb 2023 10:32:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wVgROdQULqVTm5cZsK90w6/mn8hCbHN5YbVIzDSMgeI=; b=XthLSfsJ3sDWeedA3vMFgH+nYyTWffN3ykvdKMIgZCII5Lp0jEbv1STD7zYnHiAXsu HbvRZ0JONBH3SVuVB+D0CU+OjLkg8WrvZOXAe8YXc7Xs3p4civ1HOb80g6Tv3mnRfP95 9sDvNh3FXGQz+/yu7FB5/GsOZLhL+JO0XCqNK3uF8VLDnB+TJ8TX/6mn2YAqLu0HIxIX vr7d7tzQV75/NlCycYQmnXfYXZPj+dE/8KeQcg69mWpegtRdxTHv4Pr/act1AhAqOqY7 cgGIryvz4WE5E7Q5hzUSNbz7aYTdhQBOuwDn4qbY+NnweeqjJBM0oFLTCbhT/5SFR52S VNBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wVgROdQULqVTm5cZsK90w6/mn8hCbHN5YbVIzDSMgeI=; b=O4csalB5oga6VNVEijmLCQHAgaAR2i0femnLTzxImTIQejhpUn4fYps1OMgxqyZY0b Bpqpg9b5zKsbKGIsuOwKzjAvMjyKRLrPzRnHwe1VwiUPTPUoVOVysM5TlvrtjvAdQLo8 ncfbg8MFjhhTXghOxRmqvk0d64vcsmc9gSvAKhr008dbRwMBHD+XPU2bN1wCheHbxi8C /S+nu7rO/dXXg62T+zJYlbuwi7wVk6yx+R0K2bIeJKOvACUiRqJ9hQ1Slcn1DO0VnYFE GYBM8hT4BFmL7vfUrK9v1A+DgZMaGOvxw+tk2nmNqorYJp64+ZMvmlsiSSnNY+y8FR2T QWuQ== X-Gm-Message-State: AO0yUKW1zIRPYj1/se4x2XI4ZEmAfWjZgrvVotYNWjh6/XmEDmTEC1Ig TLlciN25Dl0FkP/1oPmpTpg= X-Google-Smtp-Source: AK7set+jQ+9BvsQ5gp+9b4ZiiTcgH/+mt6qbyEDN5u7cOiJ5nhFbV8IA7F8K4+TrBiJSTmaG8DqX7Q== X-Received: by 2002:a05:6402:406:b0:4ac:b8eb:e398 with SMTP id q6-20020a056402040600b004acb8ebe398mr4582455edv.6.1677004343982; Tue, 21 Feb 2023 10:32:23 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id i3-20020a50c3c3000000b004af5aa16fcasm169102edf.66.2023.02.21.10.32.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 10:32:23 -0800 (PST) From: Svyatoslav Ryhel To: Rob Herring , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Thierry Reding , Jonathan Hunter , Greg Kroah-Hartman , Jaroslav Kysela , Takashi Iwai , Svyatoslav Ryhel , Maxim Schwalm , Dmitry Osipenko Subject: [PATCH v1 01/10] dt-bindings: sound: nvidia,tegra-audio-common: add new property Date: Tue, 21 Feb 2023 20:32:02 +0200 Message-Id: <20230221183211.21964-2-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230221183211.21964-1-clamor95@gmail.com> References: <20230221183211.21964-1-clamor95@gmail.com> MIME-Version: 1.0 X-MailFrom: clamor95@gmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: XVI2EZXW5FHYTUIPBJ5F3USVI5ADQLLI X-Message-ID-Hash: XVI2EZXW5FHYTUIPBJ5F3USVI5ADQLLI X-Mailman-Approved-At: Tue, 21 Feb 2023 18:36:36 +0000 CC: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-tegra@vger.kernel.org, linux-staging@lists.linux.dev X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add nvidia,coupled-mic-hp-det property to use Mic detect GPIO only if HP GPIO is in active state. Signed-off-by: Svyatoslav Ryhel Acked-by: Rob Herring --- .../devicetree/bindings/sound/nvidia,tegra-audio-common.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-common.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-common.yaml index 82801b4f46dd..7c1e9895ce85 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-common.yaml +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-common.yaml @@ -80,4 +80,8 @@ properties: type: boolean description: The Mic Jack represents state of the headset microphone pin + nvidia,coupled-mic-hp-det: + type: boolean + description: The Mic detect GPIO is viable only if HP detect GPIO is active + additionalProperties: true