From patchwork Tue May 23 08:21:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Rau X-Patchwork-Id: 685049 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 AFFE0C7EE23 for ; Tue, 23 May 2023 08:23:36 +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 C2F88826; Tue, 23 May 2023 10:22:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C2F88826 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1684830213; bh=CxoM14/2K0Qrrl0Q1Ei05D7LMP6+jfa+isXPMJgaxdg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=Gvd90zR7h5oxo5XKB8YyAOKnzypgsPg91HuRiTAjI+QhvAELHWk9PLxW5mXZLlYM3 xuhRisli9nmWtbBJHDR1SopJ+gemlk/REhdCyjZxk/NqMbzIyYixOgR756xUWSZzg3 p6q0nSx1aoqoDPy+fmVCItNWkiMG7A2Rh5HrFxDM= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 12323F80563; Tue, 23 May 2023 10:21:54 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 48A97F8024E; Tue, 23 May 2023 10:21:53 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 78510F8024E; Tue, 23 May 2023 10:21:48 +0200 (CEST) Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2071b.outbound.protection.outlook.com [IPv6:2a01:111:f403:700c::71b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 75783F80086 for ; Tue, 23 May 2023 10:21:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 75783F80086 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=dm.renesas.com header.i=@dm.renesas.com header.a=rsa-sha256 header.s=selector1 header.b=QwcXTx0A ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gvu7LCK/Sz/UZh7J+n+fnfFmSzFJklPJ1UZLyOTPr8qHbeNUbScLIAa1Nn+x9yadqHWI6gNLLQ+UTGk/ggKyPuLt4pTBVMPlOUPH6ctuLSQe4685iVlO3E8KdaUNRU0GbVtbSAP7mDGfiL15SvTgv30dSzmI26zD75uTG751in1aGnIBaFO4QKBehmyfmNqpR/sUBkg4Del12yG3G+2qNBwbtfQgkqo52p0ABd/C9sAtp3KILGwuEWQNOhOTbRUluoQOoZkItch9BCSrqc6AciAE4hkp9kZC+i6Rhzf9iRSgM0/HOBLecmEm+H9iRAkzYTftuHZTh4IHVKfmHYt49A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tyl0ERCDU/+Tn1KkfWVKp0nmoTdIQGLAKV6LcUxqOYE=; b=eaDFHf3faYIAgoLoxOyqC9cnBfv9Yo/EyrzL1iSFd+13WAdfdIIUU8a9IB4jUpqByZdy6h6YrduPU36PGrqKbKrbQ2wozDgnn0tmNyoKCJeDpSS5BBd9JDpcX2UpoLJhnTY1NoIBcuZDqhNTwa8JIQ474ayjdw3HpIUy3xVhxP6SnbXyxiPXiCMsQ4FPa6/D6wxQu1+CjSWfviQw1M8fSJjfh6ppcqzPNshvN4r1EBmH9ERGUXGaMAcETR75HkRxcfwai1YIndHzU9IfK2itwHuHzW+ktrXi3oyaWI7wgFPd7xdzqYK13wfU76JH7b+vCZbBcWw+qhIZgubs0SLswQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=dm.renesas.com; dmarc=pass action=none header.from=dm.renesas.com; dkim=pass header.d=dm.renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dm.renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tyl0ERCDU/+Tn1KkfWVKp0nmoTdIQGLAKV6LcUxqOYE=; b=QwcXTx0ADJ8bC8H+nl7DR8MnNnKWRefTcYtYks0p9ahvlwwF5xIhtBqIxmndLIIiYrsFp+q5YCT/qmBKa5esLAtGwg059qxLuKo8JGQvgXU5w7+jI8F1236qbhRkx0otkYVMP8ypuP3zzLNq+gmuOZiooK0QCm6GbLv+jv4bwbs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=dm.renesas.com; Received: from OS3PR01MB6641.jpnprd01.prod.outlook.com (2603:1096:604:10b::11) by TY3PR01MB11797.jpnprd01.prod.outlook.com (2603:1096:400:373::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.28; Tue, 23 May 2023 08:21:37 +0000 Received: from OS3PR01MB6641.jpnprd01.prod.outlook.com ([fe80::2de2:b2ee:d931:157]) by OS3PR01MB6641.jpnprd01.prod.outlook.com ([fe80::2de2:b2ee:d931:157%6]) with mapi id 15.20.6411.029; Tue, 23 May 2023 08:21:36 +0000 From: David Rau To: conor+dt@kernel.org Cc: support.opensource@diasemi.com, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, David Rau Subject: [ASoC: da7219: Add Jack insertion detection polarity selection 2/2] ASoC: dt-bindings: da7219: Add jack-ins-det-pty property Date: Tue, 23 May 2023 08:21:01 +0000 Message-Id: <20230523082101.380-2-David.Rau.opensource@dm.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230523082101.380-1-David.Rau.opensource@dm.renesas.com> References: <20230523082101.380-1-David.Rau.opensource@dm.renesas.com> X-ClientProxiedBy: OS3P301CA0007.JPNP301.PROD.OUTLOOK.COM (2603:1096:604:21d::14) To OS3PR01MB6641.jpnprd01.prod.outlook.com (2603:1096:604:10b::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB6641:EE_|TY3PR01MB11797:EE_ X-MS-Office365-Filtering-Correlation-Id: d24c3dd0-e830-420b-257d-08db5b66b9e5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /OUb7z6FWh6cORLxEFEkmovgP1WoJ6BiOD5NCLXfFzj7CA7bTs79jO/cc6QRRe0ZGQoMFrnvXLH5vdTErWXRaXvU/Yo1fN87ICZwoNUBd7JvXZinLEsj5ZjqcA7Rghvn/koU46bLgObzH/PGCBGzjXINKsbR2pKJg5awM+S7vFzuqjygUnjP/k/KnJJSx63cJoTJeKX1XdW/7xOBgW9xZZKOuNbwD9wJqOrHrGIlfUcQf0aNMZ2LrzmJ51AsZ1EiVH4UrrgN0poDyTF/2vTJob47o4JaMnfu2bh65pkOSwBlxKJqYjGnaYU+UvdemsjBlwOmb4W+1/PbUnmHG2k8ZkAPA35UiV9xr1FTdoLTw7wEuKFjpdy4LA5jAKtFiphCI+qw9WdcWG5Vnz3fUYZCMII/q7/vwMDeNCyZpHeq5hLQXaafQrOW1jW0f8rZmxqWhEMbM3mqZCI/Att9ZC90HeDhigyfVeTTqFz9yT7tqnAZZp0zBY2klOO67qrda85/q/UYfOdXjyRRE9R+PSG9CZ3S2La62huW2WmU0Vxd+Fb+bKNeR5lfNCjnMwscV0oNoz8/Iy6bcs4Z4VBsxoRLHDkMzy+nrx2OwO2zrrgaVPA76Hz47wp3tZstsFZdURSv X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:OS3PR01MB6641.jpnprd01.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(346002)(366004)(136003)(396003)(376002)(39860400002)(451199021)(107886003)(6512007)(8676002)(8936002)(83380400001)(103116003)(38350700002)(38100700002)(86362001)(6506007)(2616005)(2906002)(41300700001)(52116002)(66946007)(66556008)(66476007)(4326008)(316002)(6666004)(6486002)(5660300002)(26005)(186003)(1076003)(478600001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 69l7xOLyJfplMESNRJMD+muoJUvTgxDaICVK7DiBDOtyq7ujXmfUXBsz1PrZKGAten+oBeJv4yehExde69gkrcFqhf8QE69N6j1/SH+w8eD2p25DZs3sAty7jfjj9TdfaOPssVOYFkTIAJXrfb5vpDbJvOctD14Gb5TzogjmtUGjxAQkou20ywfohHAgxXrBtV8Gs70t7ovfszdGz+QlGxLQ7/HSMc6WfUaIhKWhuzXa8UJ5+d5FyNCP9gwTwdBIMIoHqCSkGB3E6gwvsaigIhr3U/PkJrveMsL0r197XjGYdtHvjkv6wWmB5sR1692cXFwPfCKzm3UriqJFvzBWoN+aI1IXMBEu0DNMdB2tWKGvJjtHA3b910+uHT1hTBxcRR4JU5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jeWnuaRlgNqnX6ppQppwWGwuSYUOugf7F131bIk0cL/85sHzfWSDk23SqsGhWC4JDUb6bzHkA/ytfKR2oRgdPf0jfpMtD3/rZfVbTaJzUZXhQ/PLNRdc1AGKdsT1DemBvO4fUoo69zY9192D7wXn3WonDrAR5gb0UuA== X-OriginatorOrg: dm.renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: d24c3dd0-e830-420b-257d-08db5b66b9e5 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB6641.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2023 08:21:36.8958 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Pz+koEk3D3wq4Hi80vuhD7xrre3SaFMbmi5WRcddSYNHT7IvJBccGvEX4T7FZEQgwWg6U6PKPsh0rduWWC5b0MwAA21k98pSaBtak7lhWCM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB11797 Message-ID-Hash: E364G3OOX56SYBL4ZD6ELEHFOTZY3JVR X-Message-ID-Hash: E364G3OOX56SYBL4ZD6ELEHFOTZY3JVR X-MailFrom: David.Rau.opensource@dm.renesas.com 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; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header 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 `dlg,jack-ins-det-pty` property for Jack insertion detection polarity selection. Signed-off-by: David Rau Signed-off-by: David Rau --- Documentation/devicetree/bindings/sound/dialog,da7219.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/dialog,da7219.yaml b/Documentation/devicetree/bindings/sound/dialog,da7219.yaml index 9160f68696dd..bb5af48ab1e1 100644 --- a/Documentation/devicetree/bindings/sound/dialog,da7219.yaml +++ b/Documentation/devicetree/bindings/sound/dialog,da7219.yaml @@ -122,6 +122,12 @@ properties: Debounce time for jack insertion (ms). $ref: /schemas/types.yaml#/definitions/uint32 + dlg,jack-ins-det-pty: + enum: ["low", "high"] + description: + Polarity for jack insertion detection. + $ref: /schemas/types.yaml#/definitions/string + dlg,jack-det-rate: enum: ["32_64", "64_128", "128_256", "256_512"] description: @@ -215,6 +221,7 @@ examples: dlg,btn-cfg = <50>; dlg,mic-det-thr = <500>; dlg,jack-ins-deb = <20>; + dlg,jack-ins-det-pty = "low"; dlg,jack-det-rate = "32_64"; dlg,jack-rem-deb = <1>;