Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp421967lqh; Fri, 31 May 2024 05:48:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWM7QhizG2Q3kYl3ehsuB5uKY+l71k+jR8sl4P6Xhl2pDrEd2AVLkQXmWgIQKTIse9YSyiqXu5OccoPNPoLPBPGEtNIk3SoZgyzDAhfzw== X-Google-Smtp-Source: AGHT+IHbmCyYg9ES2fMddJaScS/EMJW+E5GUKroJvNcWrRk4MKEjo4C6eO77ky3SViZKoTbKhSrH X-Received: by 2002:a17:90b:52c3:b0:2bd:db8b:ca78 with SMTP id 98e67ed59e1d1-2c1dc5c96a5mr1597339a91.33.1717159695408; Fri, 31 May 2024 05:48:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717159695; cv=pass; d=google.com; s=arc-20160816; b=lpWZuoarnEShz+zWjqgnefrkvfBOBN/iOiKrhO59BSQchg7/tuFs9kGxbLr8dT68gP WLm7fA0w/RM+nwthAQaYKo4RD0zr/VRLIcHeU72/j4iyNkLYF++G+3Ye9BoLnU19M4ea uQ997l7ZphmXV4GoHK7x9ThCZo+EagKKsiqP5UY33lKBVA/VVWHdcH+bJveJgu/9r+jK JfQyTqb9ONGxJt11wi4KTnI7vsbks2+bvssB149C2rii5Xb/aXBzx380FkgBg7KCp4NW vwyDpr+NiSN3wQtfbD6fKEatquKPqaPdErH1RhTHRwXfpJqRTZq/ynLJwpU1Q3fQT1lP NymA== 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=h3D/uAawc+I8RbHTAiC8n84YabIXpASHjQyR/gpbrgE=; fh=VXt/LUKEEDJ8djAr3t5+Le8CaT+r2l2/AEkIeZg16NU=; b=VAAOreqF74qDbuxB4EKoD0wK+WRWAAzR0QwSP025iujiPdFWN9sh47PcBZvgpgUxtW rFto/S7kVKPzicX+C1bpvsqxj0EyTPc8eOFG0LQCMdk2DSwH+znOgPCXtjrVyaIdI8u6 B668u4gXYI7xhA8EQTemCccwRRcveJdhjthAKkJhaj7hFIhFajf/xTJpnlme58nw5dCv orsWRjAsRau7QZbZ1WG6+yst6wEciEHsz+1hE1HAr29CofCt0MQKMMocISSKMQAVsgj4 8bUVYBLgw2C5DYCJUtdw0kEVNEfr7qZJXLpI1UUw3TwThtlCdYCo6nvupCkv0u1IsuTG PiqQ==; 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=jAPZBpE5; arc=pass (i=1 spf=pass spfdomain=savoirfairelinux.com dkim=pass dkdomain=savoirfairelinux.com); spf=pass (google.com: domain of linux-kernel+bounces-196820-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196820-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1c27a954dsi1574386a91.37.2024.05.31.05.48.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 05:48:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196820-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@savoirfairelinux.com header.s=DFC430D2-D198-11EC-948E-34200CB392D2 header.b=jAPZBpE5; arc=pass (i=1 spf=pass spfdomain=savoirfairelinux.com dkim=pass dkdomain=savoirfairelinux.com); spf=pass (google.com: domain of linux-kernel+bounces-196820-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196820-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 029D8287CAA for ; Fri, 31 May 2024 12:48:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55B84158865; Fri, 31 May 2024 12:48:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=savoirfairelinux.com header.i=@savoirfairelinux.com header.b="jAPZBpE5" 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 0CF821586D7; Fri, 31 May 2024 12:48:05 +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=1717159687; cv=none; b=Ta7nCjIlVZzTzWl4b85EsXs0khb98mql5yhZaljRowpFjazSK59PaApqnl2g/GGHvyoGHbLjsDZoGSZ5rf7vou7xJXnUqTdqjt1cQ4X7mWEpGVwqvUBVTI0a/Tc1m2t0PiThST5nSxA0ZquKvGQ7HEhICIs25+SvRMQ5Azp7fpg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717159687; c=relaxed/simple; bh=m2xAOXligU3lprYVSulk/dW89+JgHc9BI2bSgA7HNtk=; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject: MIME-Version:Content-Type; b=EAwYkuJ/A/RcwFEmjCl1nfXYL4OcPNW24e7NxCv/QJx2jfFOXRxjcFEpfjmeVENsA43mxDvY5spPLSD8jVIA9gXsnbAQb9HTiC2a31Ck0lASvdIICkYvh8jlDLc+xcWR5o/OW8SFwEoCHZ9i8E+CSryu09wYVUfaMmwteQkZgVs= 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=jAPZBpE5; 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 098449C5848; Fri, 31 May 2024 08:48:05 -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 7N-5VYmiZOoY; Fri, 31 May 2024 08:48:04 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 5AD0E9C595F; Fri, 31 May 2024 08:48:04 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.savoirfairelinux.com 5AD0E9C595F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=savoirfairelinux.com; s=DFC430D2-D198-11EC-948E-34200CB392D2; t=1717159684; bh=h3D/uAawc+I8RbHTAiC8n84YabIXpASHjQyR/gpbrgE=; h=Date:From:To:Message-ID:MIME-Version; b=jAPZBpE5nA8mMRoFEtnR1W6Zxjja92p20x6h8UBQhn2VAhdjUCUIE99bWFtrG1SZ/ 2rgsowCsQ+qWOXBktjyvP8RHaKFXQcSvymNZ8xPQiwraAL7iv/ny7lk3Uw/65LmfMc MWyOEp9aGhNxCeSA8Mu8btlz266RwXJsZCEdehRlne92gwvkwt4HF6araHi24pt5wY hi8uxxjhd+7PJefByXIjys01r5vqtsBzJ8deyrqXfhIk/VcH8UJFnQWg/MlllBHreg hhBfmUo92dFl7h6dXXi6sWAx6e2mzSubC4yWqwWg4v5D/lu4UsnKjSX+zbBbjQ0jp0 7b2bKmYaz/3LQ== 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 14T-wh3CS_eR; Fri, 31 May 2024 08:48:04 -0400 (EDT) Received: from mail.savoirfairelinux.com (mail.savoirfairelinux.com [192.168.48.237]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 2249C9C58EA; Fri, 31 May 2024 08:48:04 -0400 (EDT) Date: Fri, 31 May 2024 08:48:04 -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: <1598202415.701258.1717159684103.JavaMail.zimbra@savoirfairelinux.com> In-Reply-To: <500db9de-6113-4e73-ba92-6e52ea292b32@sirena.org.uk> References: <20240515135411.343333-1-elinor.montmasson@savoirfairelinux.com> <20240515135411.343333-10-elinor.montmasson@savoirfairelinux.com> <599489232.349333.1715936741672.JavaMail.zimbra@savoirfairelinux.com> <500db9de-6113-4e73-ba92-6e52ea292b32@sirena.org.uk> 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: +Nt1Jr68s5Clyi+hmHO4sX8bYCaHcg== From: "Mark Brown" Sent: Friday, 17 May, 2024 13:11:43 > On Fri, May 17, 2024 at 05:05:41AM -0400, Elinor Montmasson wrote: >> From: "Mark Brown" > >> > 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 ? > > No. There is very clearly a CODEC here, it physically exists, we can > point at it on the board and it has a software representation. Your > code is also very specific to the two CODEC case. Then maybe it's not be a good idea to make this compatible generic for this contribution. The original intention is to bring support for the S/PDIF, so maybe the contribution should focus on this use case? In that case, would changing the compatible for "fsl,imx-audio-spdif-card" be acceptable? "fsl,imx-audio-spdif" is already used for the `imx-spdif.c` which does not use the ASRC.