From patchwork Wed Jun 19 01:00:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 13703295 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 DB13FC27C4F for ; Wed, 19 Jun 2024 01:01:08 +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 CA2DB847; Wed, 19 Jun 2024 03:00:56 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz CA2DB847 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1718758866; bh=wPZJ7FVG9ShAMHs3IuE5g+iJeWZ1nGNz8dSATNavqJg=; 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=FyHwETmbaBR6eAEzBykspRvhfw5Fpco1cMT/uLhwSe2gD+SqqYECF8TZF25gJSwtK r5W3HQgrQ+LU5Zrzgmc7J+qAjxjmcznrn9mNzZ+IjpMV5SIG0NrY3AGRL1ekVTEcO2 qhGZzRLpFccOjcj6ei059XrxcGkBgU+hC2U80piY= Received: by alsa1.perex.cz (Postfix, from userid 50401) id B112AF805DA; Wed, 19 Jun 2024 03:00:38 +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 56B6AF805D9; Wed, 19 Jun 2024 03:00:38 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 77E68F804D6; Wed, 19 Jun 2024 03:00:33 +0200 (CEST) Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2061b.outbound.protection.outlook.com [IPv6:2a01:111:f403:201a::61b]) (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 047BFF800ED for ; Wed, 19 Jun 2024 03:00:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 047BFF800ED 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=hnB7HATA ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YmDo5CFT+k33gKdBWMJXeqNf/+xwPxh34XY1MufVC4Ppm4tLNDlPCoOHMAv6jswmRohG1TKmaG5vtmiAqr0Gob6YRxvcqIvC89fCje1kWnVrIZW4NJ+fIJ4R+HwS5ZOrMzf4O2lSpXM7gb0UoDHx/UZF/qmpTxd6j4RZTV1O2UTNfDkh1QqsWccvpm5EEdKvh+FFXv0qk/IZGnAFz9lJPRoZQHXPp8OkpTyCa52WOJTIBzUj7prFKoTR941bJYpPWK4sbdz9G3Y2BMZFstMCDzdVV57mBVNqsoKZDnuAluyVrwQ+S+39fw2iI/3KJfYF0XbxU91BGwqP+4cOyux15Q== 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=92zGtLGdDV20C9USpgWhqXF1Ykh4YW2ib7BXqLkd4gg=; b=i3wyCKN517bHi70/CT+J5QJwzwSFdetvYHrTtYXl8W2bNHwLxH1DSTFjJiJ9J9+Czs/i8C/3ROTJeZ4n65SMXgA2BZ0kJl8FudhG5Jq6/1WEIQp1yE7/qn7azVwjGHYavGkxDQCjvXp0TegPVFSL0tiAQpL6pJX0BIKh0k68jcNCM0AYP1mXu4xg1jK824thCcj3tFGIZkP2Cl4OirNkhiabyYgLfckLcz237DdyEm5pXQs9JMq2zJ+yd2LGCekXymzqTsU4wBvFmGe+ajYeoL46OmFSLADPrzY80UgSTesUnFPox69XUnXUivr3Vvhx+8no8c9S7f3sNBNIYrAjpA== 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=92zGtLGdDV20C9USpgWhqXF1Ykh4YW2ib7BXqLkd4gg=; b=hnB7HATA89ry6G9swIuVy83aCcHzhgtITlnWUm7GEtZhaUBfu4EZwS9MDoKdc6H2CT1JZSNDxBTQoSOYZPq22ti0aYCgCz7IRnnvWQOZrWs+sFTwk+ynTeEEffNaMuLGzJgzIF4nwtVm9xXAKq6IWN45lWfoTS0xlL1LynQAeqs= 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 TYCPR01MB11207.jpnprd01.prod.outlook.com (2603:1096:400:3bf::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.19; Wed, 19 Jun 2024 01:00:23 +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; Wed, 19 Jun 2024 01:00:23 +0000 Message-ID: <87h6dpwxug.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH v3 2/2] ASoC: dt-bindings: ak4619: Add initial DT binding To: Mark Brown , Rob Herring , Krzysztof Kozlowski Cc: Linux-ALSA , devicetree@vger.kernel.org, Khanh Le In-Reply-To: <87jzilwxxd.wl-kuninori.morimoto.gx@renesas.com> References: <87jzilwxxd.wl-kuninori.morimoto.gx@renesas.com> Date: Wed, 19 Jun 2024 01:00:23 +0000 X-ClientProxiedBy: TYWPR01CA0036.jpnprd01.prod.outlook.com (2603:1096:400:aa::23) To TYCPR01MB10914.jpnprd01.prod.outlook.com (2603:1096:400:3a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYCPR01MB10914:EE_|TYCPR01MB11207:EE_ X-MS-Office365-Filtering-Correlation-Id: 90c36ee1-95df-4833-7aaf-08dc8ffb3324 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|52116011|376011|366013|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: ACpTfYPjZldbN08zOGdbdcxNhBMjUGXoVJgPM8VgHzd9WfPnLwid2Lk4lGyh/YP0w+uIL2usB8iH2tCafVKECQfyNbjSi/YBg/HTIYMorfnnb5k53Q56eLRg/QYMITzx9d7OP/j6xy5BR3VTI+dPMrfaoOlkNTBPNyjki0jS6zfvCvwfUBytkWWCwZqdcXvKFnYLe8/WNDC6tBY9IDUFE5LYZ3ktjI3MNUP9/FxI0mCjZeIOuEQckvsAi4PUqoXPbyf2HQlpq3yWQGSl30od8mXYcIkYHJOj92g/4MQueBCgbeKTQncF9Tk5k4VghLpuyjX3dIkP0jKG/9WEef212ccFhxAMNKQyMdCc8w94fJP1n/yTcEEtRuO3J7QRGvttKqCd/39B3A/AKoq43Ob1XcPz/tLwWooypYMW7v4T4TMdRFXWwNhDfe0HdtjzdVqLARmC8NuvfxICC+IX3GGnVDTLdYmh91lqkMI7067FaspGD32KDTCfjnNPtM9DhhgSNUOqmmn34/8ruSL0BxvrIjbdW6GMLtdxC+M7u4VJQhSk8cRIWOEjDLtkAvrq/9ufi/lR7Ssp95qdHJNOw+IGhb4BAZiBuGfVZ/RSZaWdwB94rWvsRNSx5O/eyAElrHqyXznuLkfiHjMXsY++OS5yjmKIoFws2V+gWhyk+1J2oXX/b7is8KYGmdwhB6LxMdCSh99jjtmXL5uJmRNp1HhBuq2CZUah/JYuVC4+MR5D/wPtmesNAPk0DDoz0yr2rDMEki82mYDXpZwecPsmYQISMv1R19PBCHimYHFGwaCWaZAGPUqW/NrcgPzh7ATZ62M/UVwnsj1VVBed6evrvD41hMbD6QZYydLqBNuM+CGNjoZte7L+I8KqBr1l7uW+dCqdkAfdE30wtRDyYV+IfWw+aQsc9vr7yqiF1GqtLIuLP18PGlArBwyWMo17juXTnBS2C92pNkEkDfyWaWJzuplv91inQjqYpI2aswUX4asQtK3naafTuhc15gIBmQSi0QDiEEZVqwr9J29UWfU8v9c1+3pVKT+8iM599Zp75VKCy0yMqG46v4obJPNpGsiUucWbjsC0+svaviATjh2n3d6Y8D4JgoqZXYyHiCiSaRZ431wld7joJVLZ1R8vU4QIujaMbF5gG4hsiWaQ4x7LyC+9ViAeXhEsoYQeHeA3EXepZe4vgUQkLXR+398RtiJjeS0fs/WKkIdxCcjlQ1K9SZETegPrxCceDck9doseKmTE1feYL8S3yxIHDbMDAF4YtSm2qGMwZeCuvMtpspvZs84+KBxAuWz+JjYc788Y9B7GTqB6aG4fdzp3ejVLSh2zlTem X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB10914.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(52116011)(376011)(366013)(1800799021)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiS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9GBgLPTHyeM5jsbaubg997Z+4hT16n7t2ip6VWLWE3XKF9x/o2JaG+wVZiNUGHNiZd38NGjXavGQ2S1qOBrHTuU65gSl0j99RSRmlPU9/1kehuqjV7PdlqFBWmR8LSFPJyXd7B0CMrBSrXiUsN+v/PRjdXlgDpmePO219Sentbpn7rofW9V/jtEHdudIZbXtk/xcoP/Jiqcn8QzaKTlzCppZpu6dyJLUerz5zQcIL6I048SvgarLC7Q9fWiEcdFISjqQzD0drz4mO0hxJK3P9H6ZzZIcvj6Tou10d2r8ZuJoJaYhCCm0xoXwKVWY+V7sMj7qWli8d3u75O1b107Y7v/zS9xI8anZb56jjndmQNNnEvatWmOR2zMRbFQZCrOhIlpD034fwmEcJxH1zEgf3fd4RDJd0cs2CidiEZdCPk1mIqbafUchwgtFgTaw8hRu7Xe9I2zzXXSbLMQof1HDVMm7EhHS+eMl6J6Aw9a70uCV7WhD8u3bxW2MYnD+KgWSUOhBleZf67p43Is23h7FSc3OXGSzgFhjICXp8SelwLjjJ1Ji3N8Rm7tbCmVLTNN8zXHnmETdIVm957vWUADRlvwTDt5687COVjuTgyCfyJ4= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90c36ee1-95df-4833-7aaf-08dc8ffb3324 X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB10914.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2024 01:00:23.8414 (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: McwGp0gvuNhRUJnrnflOHHA38alJsEAwCuN76s4Kq7x+kiyhv2m5KvEpCHn2/Oo7R8SsA9aef7dr8ZsQRv9hVGHiLWlRRJq9pGlRrwtG+KLxXRGDjzF0Dw1eDHpAbLA3 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB11207 Message-ID-Hash: IP555OFWBK6JYWABREZRPYYU4PS4JYBZ X-Message-ID-Hash: IP555OFWBK6JYWABREZRPYYU4PS4JYBZ 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>; + }; + }; + }; + };