Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4973942pxu; Tue, 13 Oct 2020 11:26:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyheexMKxA69XdBy/R862YHOaiTxoP3M4L8+BdY5PsehubV8PtRg1Jr1NYb5GZxudC2nXGZ X-Received: by 2002:a05:6402:1c10:: with SMTP id ck16mr932252edb.7.1602613609146; Tue, 13 Oct 2020 11:26:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602613609; cv=none; d=google.com; s=arc-20160816; b=S0m1ZudWyd0jvsAzvPEGd6g5DGRvFFW0HGfSf3slxxAfffc+jhYnmK883O55yRxXLs fLf5EQab9E3d1s9olFuONYqep8E0XKgkha54iBOizfjSHNTifO4DO2PqGjrePG2pg7Tw AGx6XvFHpZ1h4N9WqQ1NK+EZR9Hv4gGwNIwfZQ/7Fo4Q+fr9NVHMg7siRRTQHuTvgoCQ ZfL+jtGjy+RgCzrErczpm23MZqx7jt3lzkcYDPkVVV6p1guMCvUwI8pvp9fWoTg6Gzn5 MHn3z6ROLvhWQ9+jsmw2vh6oUOiippIcfq7T+17qLojGdUhQ/VTdATBdlr5ZWF9JxzJ2 XcbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=CiWCv3BMnudQFt/Kh0EA1mCHFgkrHwPIFYjOeIiiAgM=; b=p9xZUbMRvBEpF9C2DreVML6i2YlRw/SuLm6vR6BgKA7Ix1VGEpdzAP0mxEKm+3uGK9 dwK0CDjY25piKvimMlMzOb0w2vc/YV5BZx5ecVAnkn3j9eWVIYz4Y+M+9qRAzYFlbn5K 686VzwoyYk4gUCTlkDcew7q0QuZFe2uz7KbU9RNsrRjxvUEWfuSak7qf6GpCrc5H0A6E GC94fVTiQD8qvqBda7NERlbnbMfwHG8/zWe2E6pLR4kQi6/kR5HgqKwi0bqBN+rOctB/ 6E5gCgYViTap3H07Q9rhvDfL+GAnwXDqCpB3IYfGNl/bPrdF95HeM/rgPzmKsh0wK08n ouYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rrHdIIkH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h18si376331eji.162.2020.10.13.11.26.26; Tue, 13 Oct 2020 11:26:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rrHdIIkH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731137AbgJMKgi (ORCPT + 99 others); Tue, 13 Oct 2020 06:36:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729241AbgJMKgi (ORCPT ); Tue, 13 Oct 2020 06:36:38 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8EEEC0613D2 for ; Tue, 13 Oct 2020 03:36:37 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id f21so20421559wml.3 for ; Tue, 13 Oct 2020 03:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=CiWCv3BMnudQFt/Kh0EA1mCHFgkrHwPIFYjOeIiiAgM=; b=rrHdIIkHJ4RWluKR74GDVBCXZ3fHa+2GckpSDJAnPQr3LIihHVRnyUP0B3Pyy3ZhiX 8rSJA7CHd4bBwm+paLicw3yVKCUd7p47cqxTVZOMI8KQTToQQIRbcEkKYaCAJv5rCfEc 1bgA/vc4KEWcOYZ4uNSULZ7vzptJAjV8I6Yt5FQdZdfVDCfUWFaaYLymlxMbvCLnuB5g k4Q1OxKAiRD5UMQFq/jNfia58Icqaqxjn9Zw637CxWxICuvMpdldIxOsG31VbTFTfcjx fcwjAwQt64YG5s9nbZkfQG7kDKS53uzrSfQJevNyaAgzQJP/OvC7fnfI1m0PztItBYpx 0bKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=CiWCv3BMnudQFt/Kh0EA1mCHFgkrHwPIFYjOeIiiAgM=; b=bvD/JeslN9nYVumDHUXbJTPdEh07fanIU0dvhcYdUDTKiws6pnKyl4K2coOViTYlaS WG90feXl3haM8lbetaFHQffmhBoaN/X4De0N+xXW745LTAWcxj0ANUfXlXDqcrKFaeou Y+RLmzrSm001glVAtuUXkRg4TrJAz9o/lAhbgVh8HAEIBBpA/y50WsPtnh+TQ8GG8YzX VFEYs1b6AJCtOwchYv2CajNRPpKHrpG81eDT9OSvzJa6CB0VsxUuUnq25JLI2dDj67Of wqHkgJPk5tm8Bb65hsFzyJXGLzp+0SkazOFW4LR0b7hfV8ZI7Z51BN+Pdkabayz3e2fE Rkmw== X-Gm-Message-State: AOAM533jF28LaWK5mPBKVSmLz9w9QG08lJp8M/j2ne1zRTfPt0anwO1Z N9th5TzSwJOVgw28H4HWkXSPcg== X-Received: by 2002:a1c:1905:: with SMTP id 5mr15466149wmz.32.1602585396171; Tue, 13 Oct 2020 03:36:36 -0700 (PDT) Received: from [192.168.86.34] (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.googlemail.com with ESMTPSA id t6sm31809439wre.30.2020.10.13.03.36.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Oct 2020 03:36:35 -0700 (PDT) Subject: Re: [PATCH v11 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings To: Cheng-Yi Chiang , linux-kernel@vger.kernel.org Cc: Mark Brown , Taniya Das , Rohit kumar , Banajit Goswami , Patrick Lai , Andy Gross , Bjorn Andersson , Liam Girdwood , Rob Herring , Jaroslav Kysela , Takashi Iwai , Stephan Gerhold , Matthias Brugger , Heiko Stuebner , Srinivasa Rao , dianders@chromium.org, dgreid@chromium.org, tzungbi@chromium.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org References: <20200914080619.4178587-1-cychiang@chromium.org> <20200914080619.4178587-3-cychiang@chromium.org> From: Srinivas Kandagatla Message-ID: <7bdc0d63-27b1-f99e-c5f8-65f880733d16@linaro.org> Date: Tue, 13 Oct 2020 11:36:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20200914080619.4178587-3-cychiang@chromium.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Cheng, Sorry for such late review w.r.t compatibles, On 14/09/2020 09:06, Cheng-Yi Chiang wrote: > +--- > +$id:http://devicetree.org/schemas/sound/qcom,sc7180.yaml# > +$schema:http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm Technologies Inc. SC7180 ASoC sound card driver > + > +maintainers: > + - Rohit kumar > + - Cheng-Yi Chiang > + > +description: > + This binding describes the SC7180 sound card which uses LPASS for audio. > + > +properties: > + compatible: > + const: qcom,sc7180-sndcard-rt5682-m98357-1mic This information can come from the dai link description itself, why should compatible string have this information? Can't we have better compatible string with actual board name or use the same compatible name as used by other boards? Can you give us some details on the advantages of doing this way? Or am I missing something? AFAIU, you should add proper board name / model name to the compatible string rather than describe how its connected. Connection is already part of dai link definition. On the other hand model property can include variant information. This can also be used to set card long name which will help in UCM2. The reason I had to bring this up is because the use-space (ucm in this case) will not be in a position to differentiate between different board variants to select correct mixer controls, so its going to be a pain! Thanks, srini