From patchwork Tue Jun 18 00:36:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 805303 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 89E6DC2BA18 for ; Tue, 18 Jun 2024 00:37:58 +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 4D103E64; Tue, 18 Jun 2024 02:37:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4D103E64 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1718671076; bh=7FNL+smGuDMmDrT0OhfUI5nj6EMkecxlcJOqCHZ8nkQ=; h=From:Subject:To:Cc:In-Reply-To:References:Date:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=KbDjwfMPUX6lfmkcqOP5lc7Nn/JUYuz9YA727R4aa+x6T+PTGsIQ8My00ErbrHYPM G/01EZHNZcIQ06oSudJO1Ppi7V94XRVmjQNlmd8cYel6pfZfs1rHLoDyjZxqYdvUNt asHk30Tp5iiOzaUhno7Wy/gIcDEyQ/sq1AjgiUxw= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5B81BF805F3; Tue, 18 Jun 2024 02:37:21 +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 B677BF805CB; Tue, 18 Jun 2024 02:37:21 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1B0DEF801EB; Tue, 18 Jun 2024 02:37:16 +0200 (CEST) Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on20600.outbound.protection.outlook.com [IPv6:2a01:111:f403:2019::600]) (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 EB795F800ED for ; Tue, 18 Jun 2024 02:37:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EB795F800ED Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=renesas.com header.i=@renesas.com header.a=rsa-sha256 header.s=selector1 header.b=XOTbPbFQ ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iYLEePDJpB2GdsAQFpqa5YF9Pa5yQ9ZCdSHrH6ag37gTo6YQ+KAx9aGMNq9E8ad7gTNbXvPqRK4tLRLsVy44kXcXFm46K6gcpbFXX1+7zKP3mzJFMNyRyCIj8p9bC3JcCaBwPIXqr/0YgnNI1aP5J+paYzj+gjr/0cwZfrtRnzSHULZ1WrMXsjgtScqnP+IyNXMsOQURJ2mizARi/yWNumpSrMjBo9R1bx4U7FEAdTLpB1V3OEc/ex13CtEw+sCF3p2O0YFXtEGpeajr64V971Mktujna1rOQnh1egYOkWHPxEpee8QcSL3tX+Tk/eg3Vo57EU7K02k988jlniM/lA== 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=ClLvlexKMccm9SFvJptq2tNJKQ0r+LcV6O1QfIECR/Y=; b=dnZceXzNfjxhM8sLgmbCsjpZoUe8l1ECkMgCH8tMfD/HERVi5cQGQqLD4gbRFGh6hl0zq6ktVbUCzu0mXqoHyo0DdCOr78jEMmsvkZaZZE1ytRubppDB596gtnqlw93HNXyossKl+EEpaDFucMuiOK2hfb/rcbZUlRvQhlSR13DZGMhWH0wYdty/jVF9e0aCEq5Wn48VnTeMlOXsAamyifU/naCl9nEyFFBFd4EwpEd8Vt8MOfkUef9FD88ls/EGupuVMKpirowWm5kkIQvkZUIpUp+5xDLzdxIxDIUMCf1Hn3tYC1op2UjCsh5aEP3IPCVZDxuc3P9SAZ3cO3t2nQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ClLvlexKMccm9SFvJptq2tNJKQ0r+LcV6O1QfIECR/Y=; b=XOTbPbFQMrlWR3Li+AYoyFwpN+xhu2+Rc9lm/sdnCWnOP+YOSzleiJojRZHS/TQOzAps0NllFgWoEvRc/G+dOLb04kg7eBGrz1GUBaA8Lzc43uO2O8Q3+YHWWdzuBc7ges3bsECjFGDtw1ZHCmFNZul7VLilMQboqIGuzmtiNqo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) by TY3PR01MB11574.jpnprd01.prod.outlook.com (2603:1096:400:374::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Tue, 18 Jun 2024 00:36:57 +0000 Received: from TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11]) by TYCPR01MB10914.jpnprd01.prod.outlook.com ([fe80::c568:1028:2fd1:6e11%4]) with mapi id 15.20.7677.030; Tue, 18 Jun 2024 00:36:57 +0000 Message-ID: <87cyof3x3q.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v2 2/2] ASoC: dt-bindings: ak4619: Add initial DT binding User-Agent: Wanderlust/2.15.9 Emacs/29.3 Mule/6.0 To: Mark Brown , Rob Herring , Krzysztof Kozlowski Cc: Linux-ALSA , devicetree@vger.kernel.org, Khanh Le In-Reply-To: <87frtb3x4k.wl-kuninori.morimoto.gx@renesas.com> References: <87frtb3x4k.wl-kuninori.morimoto.gx@renesas.com> Date: Tue, 18 Jun 2024 00:36:57 +0000 X-ClientProxiedBy: TYCP301CA0037.JPNP301.PROD.OUTLOOK.COM (2603:1096:400:380::9) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TY3PR01MB11574:EE_ X-MS-Office365-Filtering-Correlation-Id: 94641095-719a-4b5e-d1c6-08dc8f2ec28b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|1800799021|366013|52116011|376011|38350700011; X-Microsoft-Antispam-Message-Info: R1GhM+gkpRsIlVZxdX9YjvNLnqU40oLZo+VYui4msGWuTYCM2ers6Oa7z0rE+cIKO938om7AUgIXMDVL8vtkngK8Ys9Mh/HVOVLGIPe++mWWnbCiNS5hH756mHHWLkmdLNiCWZL1oTTxttK+LMl7cpzMbz8fjj6p0MgVWHkAlJDUU7v6wpb3gbISWtt4qQ46dnnxfG+RHALwnPgEfJOYR00gINQPRlC0nty6gkI3ao0anSt+9p9LSvgkG9+Sw2py1BoZaI99ntDookaTjOvfrhYkQW+la3uHWCd4j6hU8n07vS0iI/e+LCzrspRGbnw5ejR7uPOJLGhreB15i8uUhMqzlampycSOJtj91B4UpCwomre7OOyHLBY3GKwLO6/+v65kWJ8zEGE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1800799021)(366013)(52116011)(376011)(38350700011); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: B4x40rirs+z4C4k/tv2iLTg/NDW4v5qinJ7VbD5SaWKFauob3Usw56Qx/8H5JBvxY9494axVCkFVOUE8JnCO8khbYbq965FjQQxD9oXow14GvkZVjWdtZX+HShSM2Nz6oH1UXredTeKbXGb1kRC09otvZbhV+iA15MzgH3IDE4OzIXiqN9U9SKGXWHqzVFY6E7W+fNXGhxQoDDf2UcJeZeHsUUdej5rlajVipXOmXyOE1AGI+Y/trj/uHyjaoBD7Yg9uXLCBNQdAfY49ehQE1lFN6tGxWCUlONcjvkuRBmWL15ughRFn/UPuwf85b6cbv8159mNfjdQj8zYmrMNLYlV7C+gBAnmQa+aOgzQiC0JKN6MYDVgTtwrXfegFEJ9v37ao0OTZt6Is5nql+wI00jMT8tUla5xs4/lgSd+TVQGgrADpNxWdskQdr38mDX4JMJHSsp6a/LVJn0vjsNZhzWjXyjmNE5D2vsV7mQwshJEM9XXS0jlzBPrDYWI9BcTzpRy2hrY+QcnhP7lMQVmpbDF28NId2AuAzaANPnBB8Ydti9UTSZkKcsZNWn2mm0uH8U5QFEcqNWntUxLf0w+HH0rluTdE3lwqquNKxxUs3bkco9TJjobUZsGw1qrb8Sxjg6uQWz7vMNdbKfMHVbym/Soy+zs2IHGTa/MzfCceADxHsr8fpkq/APA+SKKmTM5ZTzIlGdCSNJjQae4LO41eIMa/uOVDZZNZELX89QRmamU8BadMY6G+8lRFvfrouSdaw/Va+ytCtDxYPMY8bnlV5vtVFWsuDaICeQT0fNqUkoytPL84S7n6lIqxczNtOUgAE+VU++/zOyLv64/ltn0FoeaJlgb0gro4tfoGL7/gV46g/fBFVZA23O1OJPydHhx1r9hvt+0hEBKD2o/sDtb6kulqNoFx6ReaLb10CzQjivUF9zCROWfX2hFqIrJeh2ENxOCEkkYZRe2K2caGjs3fwZ5GMmxmvaCbiCcZ2DGGNMQl+53t9DgRFYsKCZqUkveKu654PzpbgKC0AMXp+zpqlpmixMWfZhCMyuCOvU3zgaj381jm/n1h5k3xc/JyjY1aN1f2CNz2TCo8F0OujbnPN3Ct9DRU4+8AR69JlNGuH32fIJBdSBMrngjZmlvtUGvAHXvsD8ep6RThGoA0PaSgKWEujhGUKv+19L11pj/a7L0B2wYl+WCZuDyZoOP82pvqJWX0aUP0cR/Q3fJX9NsO9bVEGDF4b5OoY3XvTB6F8jFjbb3GvYPLKzPnLmKqFm52u8U3MwL44PH1gLX7zG5aRcgvfc0f5DEXWga66Yu1b1qbS3xUupfZzh3ys+8j8cL9F1dPPZX1jtzUH5iJIWNNTgI9EsUQSzVCC8gpmI1pY04ZWnlA4MFbqsgYp1T+CvmBwEkkTcokklpnHdHvIFx6zVdUr2Pvza7urhL/17GKYbarMVBF5iCfTftSx4o6fJcwKxJDVzabmwipbiV7jtKLTBnZ2zVyYA3nXEx6R5aEAnqJMVQGmO1u4hKw8XOA+F1HM1qURaoGjp0DrU88GVqSJY7/I8rKliuSOqfxSAXZOgs9/xnvwnqcFz2tUJjQwMgwV2shgyg2qFkfpwZrkQcWzP92lwSBCN2e3hgEDm4MPHc= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 94641095-719a-4b5e-d1c6-08dc8f2ec28b X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2024 00:36:57.6830 (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: vUhM0STFm5GfBlwrMmhAnyeKv0CVDM8ysVHlLDVVZAh0JDrveagUSsBr8nMFJN0/TQCPM0I+BaDkq8ygxC5k1BazZ/R9fAqfbDxiNEyHxfNvhxtBwd45TCGKOe+nqGPC X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY3PR01MB11574 Message-ID-Hash: CTHE24XA2GUFPJPNMTPFOA33R5BRVYN7 X-Message-ID-Hash: CTHE24XA2GUFPJPNMTPFOA33R5BRVYN7 X-MailFrom: kuninori.morimoto.gx@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.9 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 Asahi Kasei ak4619 audio codec bindings. Signed-off-by: Kuninori Morimoto Reviewed-by: Krzysztof Kozlowski --- .../bindings/sound/asahi-kasei,ak4619.yaml | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/asahi-kasei,ak4619.yaml diff --git a/Documentation/devicetree/bindings/sound/asahi-kasei,ak4619.yaml b/Documentation/devicetree/bindings/sound/asahi-kasei,ak4619.yaml new file mode 100644 index 000000000000..d412531ef9a2 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/asahi-kasei,ak4619.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/asahi-kasei,ak4619.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AK4619 I2C transmitter + +maintainers: + - Kuninori Morimoto + - Khanh Le + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: asahi-kasei,ak4619 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: mclk + + "#sound-dai-cells": + const: 0 + + port: + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + codec@10 { + compatible = "asahi-kasei,ak4619"; + reg = <0x10>; + + clocks = <&rcar_sound>; + clock-names = "mclk"; + + #sound-dai-cells = <0>; + port { + ak4619_endpoint: endpoint { + remote-endpoint = <&rsnd_endpoint>; + }; + }; + }; + };