Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4653571rwb; Tue, 6 Sep 2022 10:26:56 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Hke0NesxxsMkxWqeLKldkbyjjN4AB9NQ0pgeV9QjWSn5kMS2NTYzT1zGvF1Ejop+DhYoo X-Received: by 2002:a05:6a00:b8b:b0:536:71f7:4ce3 with SMTP id g11-20020a056a000b8b00b0053671f74ce3mr55581545pfj.74.1662485216602; Tue, 06 Sep 2022 10:26:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662485216; cv=none; d=google.com; s=arc-20160816; b=Cdn+tWoelPwqX1YSuLhY6HT8t0kd927hTzo3mO5DF9GF2emZHjhr2dRq7P627r4c0S nA8uCh3HPitxE9RfXSmNuxR959tpbnN1iuvfHth5aacwkJgHj6IjE2YwwhS3cuummOaA t25NPwb2B9HqKrVi00CRndqG5dU7dHk36ooR80HweYd+aj9AF9jHQb70dYmsxbEuiJ7m 6XOQ68YE5Gu7ujWLKENIfiUCDjWaVUQyU4DbztDe5lSIau/2/synZ8ShfvtlOwlEkbyY SZw1YHGJ62tIrDj429+PcfDpUSomaBiyfcQFeBb3bluw5h5T20O9Ji5mXWyVFD+TC6vN VqoQ== 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=p6vQI2CwgE+q6ddXbTpyyYqLEbh2B3crUHEbmjFAgzQ=; b=c4MZ7a6aozA3OMFw6T/fNIdWQRMkFQ6+KK4TTk+LF/5M9pjhw9pcwvIAZnqEfEIgkL cR1T0Xkw2jEP+o9GQKlfg2Jwy9CfmLkf0faGMIF27zLukf+NE38N04v7DRGlokNotLuw S3HWEdVK9k2ridtQjGx7sWoDp61mwwYXAID8/XwE9i6v8CXnboqi7LQInOlbKh8rLVkF RYysBuqPFOnLgafaJd6CfnUBS/hl0T9cB2G5IT9EOrL93LdIlAfS0UcCrW9kWjx155Mm WRkSXu0Nr9p5TIc4oK10ZjOCZx8nHtYpy/jawmOae8GTSP1L7lBByPlyelHl9aLXIm0m X7fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yG4ac7Nd; 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 e63-20020a636942000000b0043125fe5415si12316662pgc.799.2022.09.06.10.26.43; Tue, 06 Sep 2022 10:26:56 -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=yG4ac7Nd; 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 S239042AbiIFRHx (ORCPT + 99 others); Tue, 6 Sep 2022 13:07:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232342AbiIFRHQ (ORCPT ); Tue, 6 Sep 2022 13:07:16 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 303CF72FDF for ; Tue, 6 Sep 2022 09:55:16 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id e13so16401317wrm.1 for ; Tue, 06 Sep 2022 09:55:16 -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:subject:date; bh=p6vQI2CwgE+q6ddXbTpyyYqLEbh2B3crUHEbmjFAgzQ=; b=yG4ac7NdpzOkvdjn0uedl98YkeL+kblRoBov5U2pz9lKAau5dkhf76ou+R23zJMsW8 UsQA31U0Wm+cgwAASCEdxKxiKBh3CwxlUFMeioUUIrW/yuL1IniHDy8lnVEw2Q5uB4Au Yah2UFo4zT+7qOYmqWrV3wlcLHNNiuxxaIiWStu1zjIF64lcr8eCY9Mlrm77no/u2act GNeGiRPet7hR7egf/7IvAnYzjlzMXZEXV7rO4cb/D924vO4/Zqj7v77XvDP+83kVF+mI mgXWDQ9JYm3UJxW4LfDCgOj/WeK+kqiGEqKcwEl+HlfZFcq/O6kNI3qInnTlPHNf6TC5 Jt+Q== 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:subject:date; bh=p6vQI2CwgE+q6ddXbTpyyYqLEbh2B3crUHEbmjFAgzQ=; b=2WqpoKGl2apTGL1olIwZy6oFbaDwrHJ4O2FV+TN8VSCnitvLlwxbvm3c7hp2A4ge2V G+K1JsaKgpvgnEGikE1WXORAZSs+1CUsGRhh/Ve3wSuc7l5EDvaNwVe/AWLLq3EP3p/9 7FZrQ44ZAQ1Q4SL+2t2WtPPH/y07OfDtp69RNc/gNOFD9Zmi2yWkYVS+lFJEmw1sC5+p RRTW2hNd62qPxhKIq4Ob5O0/Ue2c9XO4uPgRvTev72jjguvCCvs2bjrLcJBN5ZhMRTzX cFW5jgcA995LNDztclXYp4qEUTisyFH4vaRdNT+bUvpna/FgfJP7aqJheWOilRDxxW5Q rh5g== X-Gm-Message-State: ACgBeo2tMaj0ee0WQS42XZC8OubwtuxJtRyoPJsS0kVGL5+5HfyYayDB 1oWJv5keyH4KVWijOYIYZfRk0w== X-Received: by 2002:a05:6000:18ad:b0:226:f3b4:74f2 with SMTP id b13-20020a05600018ad00b00226f3b474f2mr16033776wri.537.1662483314772; Tue, 06 Sep 2022 09:55:14 -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 co4-20020a0560000a0400b0021eed2414c9sm13775906wrb.40.2022.09.06.09.55.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 09:55:14 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org Cc: lgirdwood@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, bgoswami@quicinc.com, perex@perex.cz, tiwai@suse.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 v2 0/4] ASoC: qcom: add support for sc8280xp machine Date: Tue, 6 Sep 2022 17:55:04 +0100 Message-Id: <20220906165508.30801-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 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 Changes since v1: - make all the exported symbol as EXPORT_SYMBOL_GPL Srinivas Kandagatla (4): ASoC: qcom: common: use EXPORT_SYMBOL_GPL instead of EXPORT_SYMBOL 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 | 171 +++++++++++++++++- sound/soc/qcom/common.h | 12 ++ sound/soc/qcom/sc8280xp.c | 157 ++++++++++++++++ sound/soc/qcom/sm8250.c | 152 +--------------- 7 files changed, 361 insertions(+), 146 deletions(-) create mode 100644 sound/soc/qcom/sc8280xp.c -- 2.21.0