Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp808978lqo; Fri, 17 May 2024 02:06:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXroSoZFgTgx9JEPvhPsHhC4p+eD8Wuf0xXLwmf8Kwyyzo/SQLXY1yADaxHY2QJhCw4J2wr5vlon/Yc0J496LNCI3+UVTAovyKDzmkBww== X-Google-Smtp-Source: AGHT+IGwvu4iFR4/k5d045EUVWQHfhYJZU/jekSzdwZEqtF76FaJx+pYSytBOGLkc/PVOU4+BEN2 X-Received: by 2002:ac8:5f14:0:b0:43a:f80e:152d with SMTP id d75a77b69052e-43e39de4d06mr52258211cf.3.1715936784639; Fri, 17 May 2024 02:06:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715936784; cv=pass; d=google.com; s=arc-20160816; b=YEHZDsDUcTvWrELTsf4doMnif1zC0gTfuHtvQHfznVJSG8kblEq7qYn6dVFlni/OFn y0ocR0QqQ9/gLchoRdFl/wIJxvt3eFhPfCMqnY8miMxRVAjanASKWO64lSTcKyEf3U0X Cxxc9lnalNCxGNXROwo0uEha+l4nhHIb4EqEYQhpfn6ExTL66fRSSMYwElY+EHCisOur R14RvCiv6ROL2r6YgBWPBH8/wrP3PPMGeckF4cJ1ZqkRNDSLn+YuFppvR1yoPa9LhHln S4jE4/7j+g/jC8718foTi40ds49NirtQ0nyYJzw4dQQ8J12Jq0UsA6sSlDU50lXTWKr9 PURw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=thread-index:thread-topic:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject :references:in-reply-to:message-id:cc:to:from:date:dkim-signature :dkim-filter; bh=cx6CQV5YfxghVjmPjejucL2olCe90bCSbFqa4g71+0M=; fh=VXt/LUKEEDJ8djAr3t5+Le8CaT+r2l2/AEkIeZg16NU=; b=oXA9y1+c+lAN1l/bbHcosqaJleeYhCOr9JAeLGAyA7huRmqGRNbXNrPHEs3BJGeuzL w/050duE7Y3wTXWKjlsdpPMVEM7RfhelrblKDhXAWzZxMMmoaN0gZMnGduKEy5lYnMzB XGjuP8cPRQ+kBjJlf8N6rlMM7WooQ6p9ex3rL+GtsG6FuUpzejzlN0sN98YviJYN7TNp Nmzx9qpn205Bmj0LjjbVnD7wGf3V6WzTWYYsWbKQncOP0L5bQ4dfFwlXzF9Gm1rRHYwd uPT86ovdXWhrrhwDPUiRpEWXCdcj6m2zMTZ8Z6fXiu4sP1NOQY4NDk+lyppYjDI46grI l6iA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@savoirfairelinux.com header.s=DFC430D2-D198-11EC-948E-34200CB392D2 header.b=oG1T2vdH; arc=pass (i=1 spf=pass spfdomain=savoirfairelinux.com dkim=pass dkdomain=savoirfairelinux.com); spf=pass (google.com: domain of linux-kernel+bounces-181895-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181895-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43df56d4a5asi49950031cf.683.2024.05.17.02.06.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 02:06:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181895-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@savoirfairelinux.com header.s=DFC430D2-D198-11EC-948E-34200CB392D2 header.b=oG1T2vdH; arc=pass (i=1 spf=pass spfdomain=savoirfairelinux.com dkim=pass dkdomain=savoirfairelinux.com); spf=pass (google.com: domain of linux-kernel+bounces-181895-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181895-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 617ED1C20FEC for ; Fri, 17 May 2024 09:06:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C9BC29421; Fri, 17 May 2024 09:05:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=savoirfairelinux.com header.i=@savoirfairelinux.com header.b="oG1T2vdH" Received: from mail.savoirfairelinux.com (mail.savoirfairelinux.com [208.88.110.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE14E1EB25; Fri, 17 May 2024 09:05:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=208.88.110.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715936750; cv=none; b=iWCCiWXmp8kluvH86n/61Atio3LE4Rx1jQ4XtXDXm7WC/Zldqv2FePwng75CKG3a06XaPHcvV6aZ/pfwyqKUfjaXmj0v8JfQTzyD0hz1J9YUc4WqBhuZmJdeNBIzzgGUDlzk8DhKa9shKuZyySKXzOXDLJbXp2T1i1bExrWCTr8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715936750; c=relaxed/simple; bh=TlQMwSG+/gBY7QDcpZ58FdFlwzxX6d2C5yctN9arRp4=; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject: MIME-Version:Content-Type; b=fg5/gAEYt85ydWXJAjdLqdBeG5qu0d6m9wUprTL3pFr14hWDJcFFqcAOLWqILyw3/uzHwKVJ3hX692I6sC0PZYmT4RNJAsqCnXMacGmzjsik9k0kaQ8UHO/ozyjJshens2ztRTgOLZ1QxT+qsLenEoJR150jFqtz/F7R7hp2xlY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=savoirfairelinux.com; spf=pass smtp.mailfrom=savoirfairelinux.com; dkim=pass (2048-bit key) header.d=savoirfairelinux.com header.i=@savoirfairelinux.com header.b=oG1T2vdH; arc=none smtp.client-ip=208.88.110.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=savoirfairelinux.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=savoirfairelinux.com Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 8B8DB9C58EA; Fri, 17 May 2024 05:05:42 -0400 (EDT) Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavis, port 10032) with ESMTP id ycSku0e4je0q; Fri, 17 May 2024 05:05:41 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id E1D8D9C591F; Fri, 17 May 2024 05:05:41 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.savoirfairelinux.com E1D8D9C591F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=savoirfairelinux.com; s=DFC430D2-D198-11EC-948E-34200CB392D2; t=1715936741; bh=cx6CQV5YfxghVjmPjejucL2olCe90bCSbFqa4g71+0M=; h=Date:From:To:Message-ID:MIME-Version; b=oG1T2vdHJ7olkf/IEQ4rw1h56wPiTy9nafFlLPsGCZwsqEJt/hBQwoXKYfPbmqn2h qZu2NlE4sQ8A4gbFeK5DUxGaN4+8TNLmbIKDfM5+i/QQN7IS+ya2Uh+JmKsmsSkqf5 MBGTtuIp7xLTlE+3yW/sFKWA4LY7drC0AoeY8TdAT7jSKPSGqa4jIqgy8pHLsrqkyh yAcrOiTjeSJLLtXbpZhHcSON6ooFo3JQVIidV1+HLSXl00uXRf6t6r0H3XspC0vWKO wEcQ2mrCYmQ0xuC6DEzFord8S+Lfc/I7cQ++SWegOi5kEYBQ0bQ2PDnlLdkJZIuoH9 7VWRve/a3Uxng== X-Virus-Scanned: amavis at mail.savoirfairelinux.com Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavis, port 10026) with ESMTP id UkPCSXxrdA7W; Fri, 17 May 2024 05:05:41 -0400 (EDT) Received: from mail.savoirfairelinux.com (mail.savoirfairelinux.com [192.168.48.237]) by mail.savoirfairelinux.com (Postfix) with ESMTP id ABB829C58EA; Fri, 17 May 2024 05:05:41 -0400 (EDT) Date: Fri, 17 May 2024 05:05:41 -0400 (EDT) From: Elinor Montmasson To: Mark Brown Cc: Liam Girdwood , Rob Herring , Krzysztof Kozlowski , Conor Dooley , shengjiu wang , Xiubo Lee , Fabio Estevam , Nicolin Chen , Jaroslav Kysela , Takashi Iwai , linux-sound , devicetree , linux-kernel , alsa-devel , linuxppc-dev Message-ID: <599489232.349333.1715936741672.JavaMail.zimbra@savoirfairelinux.com> In-Reply-To: References: <20240515135411.343333-1-elinor.montmasson@savoirfairelinux.com> <20240515135411.343333-10-elinor.montmasson@savoirfairelinux.com> Subject: Re: [PATCHv4 9/9] ASoC: dt-bindings: fsl-asoc-card: add compatible for generic codec Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.8.15_GA_4581 (ZimbraWebClient - GC112 (Linux)/8.8.15_GA_4581) Thread-Topic: ASoC: dt-bindings: fsl-asoc-card: add compatible for generic codec Thread-Index: 5nXwooIVrjUMUfEG3TeQl8yJKNJb9Q== From: "Mark Brown" Sent: Thursday, 16 May, 2024 14:11:11 > On Wed, May 15, 2024 at 03:54:11PM +0200, Elinor Montmasson wrote: > >> Add documentation about new dts bindings following new support >> for compatible "fsl,imx-audio-generic". > >> audio-codec: >> - $ref: /schemas/types.yaml#/definitions/phandle >> - description: The phandle of an audio codec >> + $ref: /schemas/types.yaml#/definitions/phandle-array >> + description: | >> + The phandle of an audio codec. >> + If using the "fsl,imx-audio-generic" compatible, give instead a pair of >> + phandles with the spdif_transmitter first (driver SPDIF DIT) and the >> + spdif_receiver second (driver SPDIF DIR). >> + items: >> + maxItems: 1 > > This description (and the code) don't feel like they're actually generic > - they're clearly specific to the bidrectional S/PDIF case. I'd expect > something called -generic to cope with single CODECs as well as double, > and not to have any constraints on what those are. I proposed, in an reply of the v3 patch series to Krzysztof Kozlowski, the compatible "fsl,imx-audio-no-codec" instead of "generic". Krzysztof thought it was too generic, but it would convey more clearly that it is for cases without codec driver. Would this other compatible string be more appropriate ? Best regards, Elinor Montmasson