From patchwork Fri Nov 18 07:18:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 13047772 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8C65BC4332F for ; Fri, 18 Nov 2022 07:19:54 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id D015C16B0; Fri, 18 Nov 2022 08:19:01 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D015C16B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1668755991; bh=7BpRXZkAMGKvMw8dnnKL90LNZenrW54YhCJ3+f+BMwU=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=e6+GT1IFTWNjOezn288VKmn8PlMy3pHIw1owUQVwDmmzz+jz9hmPl8mFN7HyUdFvd 9HuFKkZKHwOSXtcLeaE/YFQmycr3Kf2q9IjIpbhzHw1DyvJXuJKoUQs03n8wjHBk92 UMsd3GB8aEOkg/xXfQ2ILQaHGZ2JaI3UDsZij7vk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 2E458F8020D; Fri, 18 Nov 2022 08:19:00 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D41C4F800B8; Fri, 18 Nov 2022 08:18:58 +0100 (CET) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 345C7F800B8 for ; Fri, 18 Nov 2022 08:18:55 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 345C7F800B8 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="NhCBoaaF" Received: by mail-wr1-x434.google.com with SMTP id w14so7891206wru.8 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=Phxx4blm7iGqI3YByL/P934yM/K+qcyhsmhaEPyJFU6Fe06cgJeoxCAtMjoESy97O7 TV6STXh6FzgGPnQwDWaJkluzV99ZMiKfi/uQwZwS5bGSAZ2/R1RxV0hg2mrrEdCPL2Lw r30NUOSku/XywHmdUw8H63Ghw4PMtWX+J2badUAsg0TmyuKDo1ckDpD4vVAdGcX/ran5 k8alC/at750vbMxua8zuTkFs7Ddjw8w1cgMEahYW6ngLMnsyREN3sVKpMFPWfrfOmH21 99UAHlCoc7It590xWVgYdzj65SPlYiBDAeEU8ASCmPuxT9C9AieXTOcOxk3jEWEu/Jty Asaw== X-Gm-Message-State: ANoB5pkSHZW2us+UKgJHaAcYdyh8QM2XkYiwihWFkVPszyXcgMne2k22 8oZBbAkmfY/fOOhDpzKoBNJLEQ== X-Google-Smtp-Source: AA0mqf4tJJ/aCkkczRMd8JCBaBzvq8aqeQFCciORAez9qokL4gjxye7DEB5zL8xkfk/VUWMi1ygHTQ== 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 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 Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, tiwai@suse.com, robh+dt@kernel.org, Srinivas Kandagatla , krzysztof.kozlowski+dt@linaro.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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(-)