Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2152014rwn; Fri, 16 Sep 2022 06:29:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5KNceEpbqpzZLumfQ4Yv41r6LU3S1zq24J8n9Wppx5t6Q/adoYymnaiaUQ13HPBdRDkJeW X-Received: by 2002:a17:907:72c7:b0:780:43d1:e9d7 with SMTP id du7-20020a17090772c700b0078043d1e9d7mr3567811ejc.571.1663334957143; Fri, 16 Sep 2022 06:29:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663334957; cv=none; d=google.com; s=arc-20160816; b=kIyUGT/KLCW+e8226LfpdX9Wzo/V77G8WhaJ6Vejh2M2c8u8QEkUhabZLBVocJtvF+ mIDeLw/bXgkTAqD0EEgUPBcHqEf9vV2yiw0azBrbif8+i4okFGrHwRErqLYZj+lepmVh YXHV3ERwiGJa0c7t6/CU4rRJLz3oKfk/34fglnKSGmDFnEHjeMbdLxJj1BnBu9XMeyuu Bgnlok4af5UmFU0SkTl4LSsUOsa43+4McL0RrYNBC9/NbPFrtcNH3m1dw9/OVh+NPHgL cEgeQBf2sjJ6IMyIjhB110lpfchFN03FIuCdkVOCAYpduo95H3zGM1gctk3bbLUk9Qsd vF4Q== 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=3jErXpZmn2N6mgsVfkwQqr3XmZwaGr9W2eUR2s6Rv7k=; b=AxNeZOhNtXSVxF0+hcEKxO45HfuOrzSGY/FMCixFkt/jVa+ozma7pAkgETFzPiClg0 rm5pTC7ZluDWCSvb2mjANYwVg02QO9WftvIqLtqMG44eCQvjZUxKHcLqDMlEi37d4dXJ PqFpsyEsc9Qt+GKEU/qWCDHXV88VZq8Mw57xeqkqO6VE9ac1TKoIoZKXVIpoc9B/Ct3r IIMMNIdaITC2lEsSIOHnQEpEtUCk9o/4n9fagd/yP1wia8xCnFDZvdEkDoLpl0+l/QFj 6y5+firFCEGzG059ma4dwok+g+s5lRsadOHFQmYVUmMI27KZGZULUGrOn8v0xOougrs2 UTAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HwBbWSmt; 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 ww12-20020a170907084c00b0073306ff26besi20467078ejb.969.2022.09.16.06.28.50; Fri, 16 Sep 2022 06:29:17 -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=HwBbWSmt; 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 S231516AbiIPNYq (ORCPT + 99 others); Fri, 16 Sep 2022 09:24:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbiIPNYl (ORCPT ); Fri, 16 Sep 2022 09:24:41 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57748186DA for ; Fri, 16 Sep 2022 06:24:40 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id n40-20020a05600c3ba800b003b49aefc35fso6599142wms.5 for ; Fri, 16 Sep 2022 06:24:40 -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=3jErXpZmn2N6mgsVfkwQqr3XmZwaGr9W2eUR2s6Rv7k=; b=HwBbWSmt3GXvafXwR7pCNFr0HqraLlcS0XmTtDtLz+70EXcCn72WtK/x540wb8FBqt cOJVl/qw5CoAVbAHOG/D0+4rYF6mhnurrtR55hTi53//PDTvoqCOy1xlucfJTnfpn5cU ZdetRcsQfw9xWd8MBy9iNzP2JF3ZJnEmX0H4hfeF7Hwx4Qd+khqzMWWxBlCrBhiKP9mo CMRQgmVnu70C0Di5zDGxyhDg8XXU3twmnHsfZZuDqQuI/j2L+d3izFin5X/N+QSp7dzU irlJsC0p3O0rFiLRcJg4Dc1iC7iwVfNuu0Q7p3IxOah2f1aNrHLR6C4Gb0MvF9upRwoS 8N1A== 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=3jErXpZmn2N6mgsVfkwQqr3XmZwaGr9W2eUR2s6Rv7k=; b=GIcP3J3XkiZfzcsfUaDXFKiR4mMiX2QC++UqCKOlUo5p968vUfwOKFmoQVRWJfNg6W iRhwj3ZNEvJK9dy503eq2vAD1tqEf1DoqODzFJhUFImZ6P/GlJ8fHyfVC1BuDpPrDfzs Hr5S8NpxTRqDbWms5G+CxrX3/3FEQ3xw2PfqXHdwIVVP0NToLAvJEvxohITOI8witfHY ifsJ2xA/kpCD8qXAZQyI8mHkz+KrDNuZ1OOgWMPjY2O1EvkPbPeYdl5cSBPhG+jCTvVN iY2qVQItt5BeBE6CnFWAJUqNnFTcpGRe5HGCKo6YuOrRwkrIqddgez2dPrvupSgTsIUV jEgQ== X-Gm-Message-State: ACrzQf2yfnmvS/X/93azPeXbcfJrpqJI5+ztfA4o+KWFz4PHni6xUef8 CKFFF29bTqyz1jbuvQbpb8dJyA== X-Received: by 2002:a05:600c:34d2:b0:3b4:a617:f3b9 with SMTP id d18-20020a05600c34d200b003b4a617f3b9mr3258246wmq.204.1663334678887; Fri, 16 Sep 2022 06:24:38 -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 p5-20020a05600c358500b003a608d69a64sm2387061wmq.21.2022.09.16.06.24.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Sep 2022 06:24:38 -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 v5 0/5] ASoC: qcom: add support for sc8280xp machine Date: Fri, 16 Sep 2022 14:24:22 +0100 Message-Id: <20220916132427.1845-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 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 v4: - fixed typo in commit log - sorted compatible strings before adding new ones. Srinivas Kandagatla (5): ASoC: qcom: common: use EXPORT_SYMBOL_GPL instead of EXPORT_SYMBOL ASoC: dt-bindings: qcom: sort compatible strings 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 | 4 +- sound/soc/qcom/Kconfig | 12 ++ sound/soc/qcom/Makefile | 2 + sound/soc/qcom/common.c | 173 +++++++++++++++++- sound/soc/qcom/common.h | 35 ++++ sound/soc/qcom/sc8280xp.c | 157 ++++++++++++++++ sound/soc/qcom/sm8250.c | 152 +-------------- 7 files changed, 388 insertions(+), 147 deletions(-) create mode 100644 sound/soc/qcom/sc8280xp.c -- 2.21.0