Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp213684rwb; Thu, 17 Nov 2022 23:49:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf589hGYdxlXeAtbM1uoSEjCrUreVwxllFsRkzVX+XRtiOiTGo4/KiNFi1BQs4TZJhU3luWd X-Received: by 2002:a05:6402:504:b0:461:5542:6884 with SMTP id m4-20020a056402050400b0046155426884mr4958270edv.390.1668757758532; Thu, 17 Nov 2022 23:49:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668757758; cv=none; d=google.com; s=arc-20160816; b=jW0Cd0WUocoousi+v6Ly1hCGocgqloEqad9YZd5Y4OenCmYRGcjOrL6YGBCu2vk0dz /dKcUo64N8MgFYHSMLKMErs39xzaXphLuABRRssbGSOCcmbs2s76Nb0kus7NpP45VL3q uVk6/Ynv88yEeKWlgdmoh9FSz49hybFF75qqomLs8t0EKHznYFw0pzmv/LwaZiHiEjYB GXKZoQHSUBeTmFtO2CKWmfWU3nPyDutc6jPnaBhiyfnW7aq6+YKlYyT5x/T55iuRCkxW l8HjlSquBxDBr5XSSkwREnZOv2qq2vdpBI9A7RRMPdyUBiuDDd4fLB53ZmEFWEw4rspA 18rQ== 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=KUOY4nIS+EPdm5b8Vs0He3SW90+YwQyay5PCgjl6fNQ=; b=CFxdhzZo2ucYwGR4CPtbW8LuKeGSGEykXuredf3gjejuTcgbOB64hDc7SKT1uC4hsx QvCjO/4XrrB5/o3Y+TOx19LfavF6qQoyexQgnymdUi6wl8hJcSXx8Thh3dgAN0nU1nP+ T9oxiF/ac4tQ6iuXV8MwQJzYShSUwo6E85HUuWRfuqyGXtBhCraucDcE3r8xDnBeHPnC eDY6xl7JvG2DNOjNK6IwDRc/CLE/rMwWAU7e2zBJrTXLfCpMLBAbUuKbJQzhzlWgveKv CPeRzQHp5tUP2PSLofXRrM8AiPRVtF7J6Ym8B6eHC9LOCoIp3VdYMUoINnRbYNyw3Wzh rXkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NhCBoaaF; 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 qw25-20020a1709066a1900b0078c0c866a18si2750204ejc.19.2022.11.17.23.48.55; Thu, 17 Nov 2022 23:49:18 -0800 (PST) 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=NhCBoaaF; 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 S241047AbiKRHS6 (ORCPT + 91 others); Fri, 18 Nov 2022 02:18:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbiKRHS4 (ORCPT ); Fri, 18 Nov 2022 02:18:56 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD84172098 for ; Thu, 17 Nov 2022 23:18:55 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id j15so7225310wrq.3 for ; Thu, 17 Nov 2022 23:18:55 -0800 (PST) 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:message-id:reply-to; bh=KUOY4nIS+EPdm5b8Vs0He3SW90+YwQyay5PCgjl6fNQ=; b=NhCBoaaFAGjIcjypiwHh6dFfOC00sazPIPE9Yb+GqeKx4XxPy4uBkiyRW84HLKh/HM 1LQSOKyCbYHASM1zpustxdMf3xTQ+mW6ToVAs6kRbKcXlUOAJJHqYi+pwu2jchJeUeVY AndnsUFUkecvCUjCOCgap0keY70racw/SUXYHzjBO3BidmK7xtyJsGeuCQs0XW0IBkTa cDJXwj1kqgjnXbhkNK0u+546hXejgAcoJIwm+w0G3D2yQBxPP5IP/KTJ7fweDlDW+b73 vXn03Bsvfj24kVsDeKurPTEuf5e8ldvG2xKjAdZM+mZwzO+KwZa39DMlrGoee+S3s0tI 43qg== 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:message-id :reply-to; bh=KUOY4nIS+EPdm5b8Vs0He3SW90+YwQyay5PCgjl6fNQ=; b=IbroZI78R2ZwgJwNeh2glSF6Y71gU332kpBD8oVpdrbGQRMS6N1pPGOAxvoS/iBuwv n7m1Q9ifwVMTBRIFs7/3YBMRou4iXZg+Wjzd4ThdKApt0JRQNvXJ6omRRaXJEp3rUH4m DhaGZO8yDIGoOqBsO9azuVeLzakc7KxdTgo/F3+PEZwUvKV6xeYrBIzsIsNjtWGDqKsx L2KDAgf+4ooDroUu9Jk7rIG5XEcqX/Jsj/jhkkJBDa644GGFIBxJ1PTrUEQzsb8PCnn/ k9VFFAq84uy3nSpXmuDP5/N47svdO4zxdh20LSsFYw6sADfvb2iO/MvWq9luB/oJa2L8 tfVg== X-Gm-Message-State: ANoB5pkLmq82d0UxFIvlSthpmpHs6h2xZ6b/0wokqpO7JQ4hAo4EI/JE 7UVnUSM3NLAEqYnwuu8pj9nKNA== X-Received: by 2002:a5d:4538:0:b0:236:5270:8f17 with SMTP id j24-20020a5d4538000000b0023652708f17mr3700494wra.358.1668755934296; Thu, 17 Nov 2022 23:18:54 -0800 (PST) Received: from localhost.localdomain ([167.98.215.174]) by smtp.gmail.com with ESMTPSA id j16-20020adff010000000b002302dc43d77sm2754349wro.115.2022.11.17.23.18.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Nov 2022 23:18:53 -0800 (PST) From: Srinivas Kandagatla To: broonie@kernel.org Cc: alsa-devel@alsa-project.org, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v2 0/2] ASoC: codec: lpass-va: add npl clock support Date: Fri, 18 Nov 2022 07:18:47 +0000 Message-Id: <20221118071849.25506-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 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=ham 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 New versions of VA Macro has soundwire integrated, so handle the soundwire npl clock correctly in the codec driver and add related bindings. Changes since v1: - updated bindings as per Kryz comments. - added error handling during npl and mclk enable. Srinivas Kandagatla (2): ASoC: dt-bindings: lpass-va: add npl clock for new VA macro ASoC: codecs: va-macro: add npl clk .../bindings/sound/qcom,lpass-va-macro.yaml | 63 ++++++++++++++++--- sound/soc/codecs/lpass-va-macro.c | 46 ++++++++++++++ 2 files changed, 101 insertions(+), 8 deletions(-) -- 2.25.1