Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp475397rwb; Thu, 18 Aug 2022 07:07:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR4aoA3LbDuJGyOUDRN39o0YxxxjpRHshbOb++pSzqF9NXXtBTTzcBjiaQsimyf6qzWEKYfk X-Received: by 2002:a62:62c6:0:b0:52f:b0c0:cf28 with SMTP id w189-20020a6262c6000000b0052fb0c0cf28mr3148108pfb.58.1660831645178; Thu, 18 Aug 2022 07:07:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660831645; cv=none; d=google.com; s=arc-20160816; b=mRYAKEenFbuDX5rNgnAGW4ku2qsfebPcF74D2kfDcrrsLwNJHoN2tzJzqjACtvegfc b6eVWQEpZ65debSgIAWseTBysEAxGgKYVjxCdmN8HCBh2kv1h4hgGTNNBYHaAjyr+ePe 3ylgaVq2MLXSulDlI+FUjG5mcMvbMVpaoMruaW8Lp5uzIuxaO64vxIWHwMQPWhUZk+Xr SNL2m67rQ0tqGZppvuP0ETJWvWg7F2BOGGRtv83ASk8A5TxNxMfds4W/SyV9NPtceng8 UAeXYTq4DrzCjQ6qjFM1rh7N46+SV3vNAGC8FL0HtCUzOZHJ1SXW84tkCozQfKMUTrf8 tbzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=o9Ay2vEp02yCz7wtoapfe+JbYqIRcJhSEcb1z+0LYVA=; b=Yava+vokjxwr49fu/fDjVmw40KHyB0GkBEvKIVE7jJc6zjOss6t5esGs/VyqvSBka7 yu26aA/l4NFHzjvBzVmvhzcQNcKNpVHK+PO1y6QQ3mxyw1CB63ycyDOP10+xlSpWS0vC 79zCszpW0OTu0uPnh75ZqIP6IS9sLAKaDe0wywCRgdzQfMWieGYsVY260OPj8QBXArwj MKnSQgPrl3X5sGNH7U4Q/ZU/djcUhe5FyG3tsDRYbmgEV7y1CWsFnM4hunvQT87R8zdd vDrD8p+MDU1uTbMeh+hjdPw8+ar4UhbNQYNcSzG0DTA213zRD3pauTTk6Ui6PTz1eaxb k+hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n7fh4Wb0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k5-20020a170902d58500b0016d6bf567e1si1350316plh.45.2022.08.18.07.07.13; Thu, 18 Aug 2022 07:07:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n7fh4Wb0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S245566AbiHRN7D (ORCPT + 99 others); Thu, 18 Aug 2022 09:59:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245530AbiHRN6i (ORCPT ); Thu, 18 Aug 2022 09:58:38 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D89E1015 for ; Thu, 18 Aug 2022 06:58:31 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id c187-20020a1c35c4000000b003a30d88fe8eso2635077wma.2 for ; Thu, 18 Aug 2022 06:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=o9Ay2vEp02yCz7wtoapfe+JbYqIRcJhSEcb1z+0LYVA=; b=n7fh4Wb0yRW3KJURFLMocGfucbu0vFwY1MdMv/WAVHNRMs+YiFSTYRkDe5EZ3nBuci 797g12ZiwLhBQ4R5nKrv2WpDF8fPENnhXu+Ep7L7VPXRLhM12k7CoHj26V12dWPkSH5Z fnQqYTf/+LpQLUuQnb++12zB02auXV/sI8jojV54zb8q0aK5pAW9fVo1fq3e2pIY7Cj6 tYWpnjFjE72aELypeq92ItC5N4y695ce3Ylk0T3qioaM6g7DTihaGxVqnqdNDLLYm9SG QcjrGtrWlo7eReWvgAz1NH5XPRm8CsookvJ/gWwaOzfBQcJIM6+SU6vkB6NiDEu8oEWF AufQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=o9Ay2vEp02yCz7wtoapfe+JbYqIRcJhSEcb1z+0LYVA=; b=lPTsHgjuV1d0NxIhm3nVNUeVrPPajrez4WhxlKZwi6W5erfnPxH+vnruj549UN7PKn dcdED15WaTbEFkDvDzM7VaereQxizW0WEys6IOKrWEoxFOFpYMp0e50ps/6xabyB2Sbf J3rAiZuv64mrjhvn9bF9odcYhRdbaozdXa0CLvSlBW9rX9eWkkyR/CqmvTREMb1tlKeo wtwYG/4cigx6SuGBS8L+n6MPrGQ/Bldy1cgH6OC0l45TCJD6MJP02XzXGUd83+cmdZtq T0cOoohwq0E2P79iD28V9gLTzjk+iIVlSiDguv7Cpw5b10Luegtqgf1L/F5KpXyZHwlT m7vA== X-Gm-Message-State: ACgBeo2bUIToxWBYASSpVbwIAPa/a7mWdVJHwMt51XAr9Y3ZxMEY/K3u 33RTucpxg/ZPuFpNG/taUjcB2A== X-Received: by 2002:a05:600c:4e8d:b0:3a5:f7ed:873 with SMTP id f13-20020a05600c4e8d00b003a5f7ed0873mr5343453wmq.170.1660831109242; Thu, 18 Aug 2022 06:58:29 -0700 (PDT) Received: from srini-hackbox.lan (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.gmail.com with ESMTPSA id l24-20020a1c7918000000b003a5ca627333sm5335937wme.8.2022.08.18.06.58.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Aug 2022 06:58:28 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, perex@perex.cz, tiwai@suse.com, pierre-louis.bossart@linux.intel.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 0/6] ASoC: qcom: add support for sc8280xp machine Date: Thu, 18 Aug 2022 14:58:14 +0100 Message-Id: <20220818135817.10142-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org THis patchset adds support for SC8280XP SoC machine driver. First patch moves some of the commonly used code to common from sm8250 machine driver and the follow on code adds minimal support for sc8280xp. Currently this driver is only tested with SmartSpeakers and Headset on Lenovo Thinkpad X13s. Support for sm8450 is tested and I will post the patches soon. Thanks, Srini Srinivas Kandagatla (3): ASoC: dt-bindings: qcom,sm8250: add compatibles for sm8450 and sm8250 ASoC: qcom: sm8250: move some code to common ASoC: qcom: add machine driver for sc8280xp .../bindings/sound/qcom,sm8250.yaml | 2 + sound/soc/qcom/Kconfig | 11 ++ sound/soc/qcom/Makefile | 2 + sound/soc/qcom/common.c | 169 ++++++++++++++++++ sound/soc/qcom/common.h | 12 ++ sound/soc/qcom/sc8280xp.c | 157 ++++++++++++++++ sound/soc/qcom/sm8250.c | 152 +--------------- 7 files changed, 360 insertions(+), 145 deletions(-) create mode 100644 sound/soc/qcom/sc8280xp.c -- 2.21.0