Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2941396lqt; Tue, 23 Apr 2024 06:27:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWTiHZqfbzzqD8bQt+mW1VDpgrwWu+UWtcL5PZNXC6qBYEcoEtR+WhQa367DFVFix0Naj6lUd0wvNi8bY32RBnGFlI3UUrR367J/pvUPA== X-Google-Smtp-Source: AGHT+IEzWtI2XOigEHXiQTg/WksGj48F5bgfr0RwYdyRxghJwBSPsh4Z/VpZsmDOFLcMevojil6J X-Received: by 2002:a17:902:d4c7:b0:1e2:76ad:cb2 with SMTP id o7-20020a170902d4c700b001e276ad0cb2mr13686397plg.15.1713878838035; Tue, 23 Apr 2024 06:27:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713878838; cv=pass; d=google.com; s=arc-20160816; b=SGsGoxOfybzPf6U6zftxFIab1Hnf1PeJVvLC3SE3YZD3XqNh7CCOOL/ZTCVc/PF6qH m+dwTc5IcxwsfNc1I6AekRPBMzuI1iYrOKs6zGrNwTH/LSrt6OTybHdJULpMIEE9ho1U nzo7yXqmf48X+I2mehfWthCizqfWi4C6m4lmOPrIi/AsR7Mu2lTdLW/tnodUW2aVDrUY BhsVLh26ZWiHbTdG00YkerhO++hCwnJzkev0V10gSOsHCZ+fucirO5J/Ol5SqmNluZiT aNqbLfNQPjQFLBzWgkgpY2vwPvC7GgUXMAUMHCX5TQK4qXQhwv7AwqRFaXN1/uzfSYo7 UWLA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=2ehJp8IGQP8Qz6G2XT2Fya++YL6jKhQgUh1xIVBOWrI=; fh=ndolBOtTJmQBrGPrfy6CZSskmItgXYI1xe1PMAigutk=; b=QiEw4LgPOIoA/McjUvhoZRKlLXBDrIgqMpC4f08N/gQQC54y43oLQ7uytrBhTDpcGP dpkgdZlAybUruH8tXlT54Im9u+qsoAd/tDKwlfJaENJwhQts2ACWpfqKruhzar02Iyu2 3R3oXtAG8BgqRkFsBniWVXdeMdnjd08Vw+kCsXLnrEpo8uSmL9VcZY1FRQxL9ip+wih3 qgbsCNq0rcI7mcdJT6JpuNsOqIv1fuGGpGf/5tI6HjRsYdtzyX99oFJLaLtNosyaV0Cf FDtyBishbajzU3ooA94oHna44GtqNAnnF6vb7i4mloqcAfkGK1+Gk8ZT8PLeAu7pxc5P Lupg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gmwV2cAI; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-155247-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155247-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id c9-20020a170902f30900b001ea0296ff87si1680186ple.468.2024.04.23.06.27.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 06:27:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155247-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gmwV2cAI; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-155247-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155247-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 25741B25B7F for ; Tue, 23 Apr 2024 13:06:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5438D1350C8; Tue, 23 Apr 2024 13:05:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gmwV2cAI" Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2C25134427 for ; Tue, 23 Apr 2024 13:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713877556; cv=none; b=bv0MZsV3D2pLg9QKsSRAsnuJPGX1hQ6McpF4Wt6QUnwhVf25eps35kPZAC6KySGfehg5sOXN8jCpSUwU/gkTAKZkuWTjq069zSCA3eeIFyeqw1rkiDfc0RFtxWnMYQv8q6FyYiLF7I1rcfk8yOGdVbyetdnf894IO98HJHSD9YY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713877556; c=relaxed/simple; bh=5A2UR8bAkghWUWUfYypbaxzizbaVYfwCvDQzO4rNSP0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=S6Vbhf24EUrIXcjsJ9oA0Vk8tEkd35LgvIb+gm0qz1M5a94BPwaPE3WwP5mFOPj1ni3hUtn33FwHmpbcSRtE62Nd9LtLSbSAc7UXUsl6Zx/+KW5ZOjnoAUKa31GkRESKPOiKH0AW1q0zEqH5U9fM1aX93Umx1Ft/fXwKb6lSH5c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=gmwV2cAI; arc=none smtp.client-ip=209.85.208.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2dcbcfe11f8so43029721fa.2 for ; Tue, 23 Apr 2024 06:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713877553; x=1714482353; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=2ehJp8IGQP8Qz6G2XT2Fya++YL6jKhQgUh1xIVBOWrI=; b=gmwV2cAI0ANBK8V2A7Z6NfGtNzNhdoLKcI+/txt7g7M9Jrcof+wo0f0chHaXUZyZPR epGusd5h5V1hVkPpPaWD5N7/jc6lEMTSjzz4pATgneDXPCJnhDMDH5t8oka5fRA2L3Ei fM/EdSMVtbiZ/ckO+1c3NBB53Au/Ws6I1D+PDWdthjBnliqJQgT5QGVEr0XBBcaDKYDg 5XuXxFLzh+s8jmh4ZONw0dgeAM6CfcmtEQNwnE4D7nz5du/aAd9Td32e/XuSfRXlDOTw vMy7CJO1mMucMgfp1tTfurPhjDyquQqlrv+/FKr6CkmFoqTOU4Dr1qtJZ5YjdptDGD5b vCJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713877553; x=1714482353; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2ehJp8IGQP8Qz6G2XT2Fya++YL6jKhQgUh1xIVBOWrI=; b=WvXu5Zx257Km5BHMAhEO9HmbMEoO+himwYFpVD5Ul+z/hxZKCuHXYRmfuiYJzhzieE kvR/iKK5zEGLQsWKLxeHD4Vuy9GK8kgQPGmZOKQlQ8AwOhS2UYireGAgG1FF9Ic4cg4J yHQVr7Pkys+j2icpBtfrZ/EjJSjm+JohCE9LPW0KGjM1E8XCmGq/ywBTtlZrNHC8U3En D1osLMzfvLjfMg7fbv/llg1tn0JP5lHkpbQbl2KVGzeuXeURSmhQUx1d9T5IFgaCENbc unthH1u//2H80JbpVm9ie+d4vwgJIUCCOn+5qxKn7OxJ9UfYJO063JWnWoR1Za6atZ9l zkyQ== X-Forwarded-Encrypted: i=1; AJvYcCVurwGwcVdm5AQQ6V6wF2QH00ubeAaGfjYDIFqOwv3WZjOK5d4sgCuepToB6DVFb8DSc0N8el9nGagE1awTmTvkXJGUCtv/SUlTgbkP X-Gm-Message-State: AOJu0Yw2r0t9ZhZj4ejQMJXZZgpKFllB2xtJ7E11tqvxXseKPLCt3uJ9 TSdzqvaDyf0W92N3XOCkj7sgaPP+qm3eubeSMr8AmYzWGAO4gmRlNMhMdnhuh+A= X-Received: by 2002:a05:6512:74b:b0:518:be31:9c33 with SMTP id c11-20020a056512074b00b00518be319c33mr8152823lfs.55.1713877553046; Tue, 23 Apr 2024 06:05:53 -0700 (PDT) Received: from [172.30.205.0] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id ep6-20020a056512484600b00519609524b4sm2008216lfb.69.2024.04.23.06.05.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Apr 2024 06:05:52 -0700 (PDT) Message-ID: <330dd13e-3ed3-4582-abce-b3bd99898bc3@linaro.org> Date: Tue, 23 Apr 2024 15:05:50 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 2/2] ASoC: qcom: qcm6490: Add machine driver for qcm6490 To: Mohammad Rafi Shaik , Dmitry Baryshkov Cc: srinivas.kandagatla@linaro.org, bgoswami@quicinc.com, broonie@kernel.org, krzysztof.kozlowski+dt@linaro.org, andersson@kernel.org, lgirdwood@gmail.com, tiwai@suse.com, quic_rohkumar@quicinc.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20240327113228.1706975-1-quic_mohs@quicinc.com> <20240327113228.1706975-3-quic_mohs@quicinc.com> <92b449da-1569-40f9-d8c9-48949c986853@quicinc.com> <7cd89939-e0d0-c43b-fa2a-224bf60f4166@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <7cd89939-e0d0-c43b-fa2a-224bf60f4166@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/2/24 11:20, Mohammad Rafi Shaik wrote: > On 3/30/2024 12:09 AM, Dmitry Baryshkov wrote: >> Hi, >> >> On Fri, 29 Mar 2024 at 17:20, Mohammad Rafi Shaik wrote: >>> >>> >>> On 3/27/2024 6:39 PM, Dmitry Baryshkov wrote: >>> >>> On Wed, 27 Mar 2024 at 13:34, Mohammad Rafi Shaik wrote: >> >> Please turn off HTML mail composition and never ever send HTML email >> to OSS mailing lists. >> Now quotation levels are broken... >> >>> >>> Add machine driver for qcm6490 SoC. >>> >>> This initial supports which includes WSA883x Speakers with onboard DMIC >>> connected to internal LPASS codec via VA macros respectively and also >>> WCD937x based headset. >>> >>> Add compatible for sound card on Qualcomm qcs6490 boards. >>> >>> Granted that qcm6490 is similar to sc7280, is there any reason why you >>> can not use one of the existing sound card drivers? Like sc7280.c or >>> sc8280xp.c? >>> >>> The qcs6490/qcm6490 has additional interfaces like MI2S, which requires additional machine driver modification. >>> >>> Example : Required new DAPM widget change in machine driver for MI2S interface which is specific to qcs6490/qcm6490. >>> >>> So, using new qcm6490 machine driver. >>> >>> Will try to use existing sc8280xp.c machine driver. >> >> What about sc7280? In the end, qcm6490 is sc7280 with different firmware / spin. >> >> > > The sc7280 is tightly linked with realtek codec. which will only support for chrome. Perhaps we should rename it and stop suggesting it's for all 7280-like platforms then.. > The sc8280xp.c machine driver is more suitable for qcm6490, will use same sc8280xp. This in turn, should it become something like snd-qcom-audioreach? Konrad