From patchwork Tue May 23 16:18:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Rau X-Patchwork-Id: 685177 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50BEFC77B75 for ; Tue, 23 May 2023 16:19:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237114AbjEWQTI (ORCPT ); Tue, 23 May 2023 12:19:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237412AbjEWQTG (ORCPT ); Tue, 23 May 2023 12:19:06 -0400 Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2135.outbound.protection.outlook.com [40.107.114.135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D496518D; Tue, 23 May 2023 09:18:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j7cMykCpe6d1U4ijR7wo+ZdbbsnIv4tBCKySorNu6vpLRGo315wXbRY2PpJe0EauFr9Ok0G9N3Rra964BY/WnWD/VoFWteSltmfTYhBcQ7d20i/4kAKK945EQcwGhrNiqIr2UdpYzzSwCQvJlME/m5t8QQUHwcX2JJGIJSimZvSSptnHuoQOPQOIbo1ZFCT3yjL7FhPDxJ8Mc38re0QmS2kn3Q4BHf1Y/zshLjIqg+oeO+wtLfsCBsddCuvIh5igseLfJc5BGVLBTgcTNxGYh926wu8ZjE1eaOyHTOE3QrBtRQ/XvyNvjYdZZUesjT3L6peuEeLFJn7+Xgjvpd30vg== 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=JM0lCEZP7RjVKTONLLEYh018S2ReXbhOYdMc+PEYPGh2onBuxSFpadq/YLHg0oeNr7IWcbQx5KGECMXyf+JTPzkTdk6c+SOo+aBSjb/it+/XOmNpJPoCYPhAktpuZWHtehHTlrtuAgtRWzhPsYOfROp1ZZyaG6T1tvUSGykzgg8etkXP9jhesQ4DPgzax29lCdVZm7hlWubQxM6kczszPVh1KXfRPKZfdbZsiHL6QGWI+a9tadCDs/uAgNk94R54ITI2QO9NvMOofiTHASj1MTpn728ty10kojSchrmEPIIn+vpTmKn/v3t/PhPgyMb9EG0SLcwQaz8jw+4lKF2LnQ== 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=ZqFfaYxIiita868FcIHORvyyOvU9cVTQsVkLkUDVRrUNbaH2raPUIW5lgk0NxzHmgd7s+FzrPZYIVcBqfyAjmsKrg9RqjaKAgeYe0JotUuFECvFcUASEyUfsdgM1MpDcv1+ofqUHqxpYy/gugfmgyFAlK3OQqGytEDayvfqD5xw= 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 OS3PR01MB6040.jpnprd01.prod.outlook.com (2603:1096:604:d8::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.29; Tue, 23 May 2023 16:18:54 +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 16:18:54 +0000 From: David Rau To: conor+dt@kernel.org, broonie@kernel.org Cc: support.opensource@diasemi.com, lgirdwood@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, David Rau Subject: [PATCH 2/3] ASoC: dt-bindings: da7219: Add jack-ins-det-pty property Date: Tue, 23 May 2023 16:18:20 +0000 Message-Id: <20230523161821.4260-3-David.Rau.opensource@dm.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230523161821.4260-1-David.Rau.opensource@dm.renesas.com> References: <20230523161821.4260-1-David.Rau.opensource@dm.renesas.com> X-ClientProxiedBy: TYCPR01CA0165.jpnprd01.prod.outlook.com (2603:1096:400:2b1::18) 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_|OS3PR01MB6040:EE_ X-MS-Office365-Filtering-Correlation-Id: 2fe9e3b6-d1dc-4836-7c62-08db5ba96787 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: p7JyvkuXU0KMV1wLSXMADQM8e0cW0t0U1udHeKLCpZAWiGb6r5eyBGX98KrutirrfXGpR7olHYbyO/vb/oQ2a45MzR8yBCqruapt2inTdaC6+vX/58vIMInoTBDKMhr1RBAn1rqc/Wp+igae/BsB4Nziz9cfzXNCz2ZJEqs+Yiwuaaq+nG9qDPWvZhC7T1BvU6R2WHG1yN+4Azr4CFCHgMjYY5fVVfQBbBI3g1LlyMI9fvL90JdWPL9+xSWJ0sIEe8CZR6FsxhrjHy1885QBPpkNvyGMZ/rrYrZOsR1rfIt/1PhH9rJLbUzL/lNL/G1rn2ytLvxvXA9WQLDe2geToYTLCyTVyYSaPQvrBMY8Abivn7c5Ody+H2SpiR2xBt3qdQyFIklT3L8ZqWUxunKnPSwII8S23LirCGo7bpdAqU//VYMCoX7Ci88DwtHJgu8nMZdNzRIMU/5Pd7DD6LV5lGKrGW1efmVbyJD0zVRfhttN8J9mGgRB2RN3r1TS+5iEs2gw2INLYnkdFmGP+vjcKdeHL6RFsKamcVoQ4gqyitTboZ6/6xaoKOT2RSvBFGKeHJ5UNXXKB121oM96oC+Qj28JDhfRD56Jp22kv0ucJvRch+fU1goU8ejGNBRhMq2y 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)(39860400002)(396003)(376002)(366004)(136003)(451199021)(107886003)(6512007)(8676002)(7416002)(8936002)(83380400001)(103116003)(38100700002)(38350700002)(86362001)(6506007)(2616005)(2906002)(52116002)(41300700001)(66476007)(66946007)(66556008)(4326008)(316002)(6666004)(6486002)(5660300002)(186003)(1076003)(26005)(478600001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: E5BBZD5qQ+rQxFy1+DaU4yUzmp9tD+xlCQv+aJBKQGaQr86jDOD2FsagqrVqSfnWo8jqfFrxyPWCUfZdMyr/5/zjq7tjdcoLn7Ry5KHhNsZtRhbRY///GZIN9m7ip3jLZz5Zf82NW8TIT+SU0gMQfKrRLiKTgMnA6YA8XQ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HJzIqjxbkluExTwaM5vmpip9pn4az7rco+YAgtW8dEb3HKC950X5xJKE5c6b2MCdGDYpdodEbjam05+f6opjKUBCou7v/+8ax20zUA1dFWq+2iT0SgaE5OJdqmPsCUzVAYFTxZT6Z/0KgNweVb4o2MpmG1RGLd3/OMGbApo1LqGzaRm4c6ypiag3nfL6VIr5dc+vW8V3RK6+aoQoToNLxHEPCDBTUYju4RRKS1TTVaEJHEnN0xl3R0m57mZTvJq6ZS3J94j8ViRFPPXBCtpZ1uGrC8I0p6crEODCrrpwpRfIl7//L777RoK+bczJ4jGFUduJvXywwoBPILNQqvWZurHBwQW0CG/sDBjSuEypbJYW13xaQLFCQXF1EA== X-OriginatorOrg: dm.renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2fe9e3b6-d1dc-4836-7c62-08db5ba96787 X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB6641.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2023 16:18:54.8979 (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: 2A4vhQYzJZ0pllYw8rECoc+813b25GFAHt+rqj2BZDFxNqT6uXTAQxW3MILFdpLKEtAzHPaWiF4c+YGSBzJ0M9zlmSudO0DNwXcVOdBP/Oo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3PR01MB6040 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add `dlg,jack-ins-det-pty` property for Jack insertion detection polarity selection. 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>;