Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1222216pxf; Fri, 12 Mar 2021 05:05:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJy17vrRZguOMcFgyTT1yxu4M9dp9R0NDwM4BJTX57X6YQf5IAj0oYx0LrYCKhnsB+J3S6uo X-Received: by 2002:a17:906:3388:: with SMTP id v8mr8529860eja.278.1615554358569; Fri, 12 Mar 2021 05:05:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615554358; cv=none; d=google.com; s=arc-20160816; b=sdwffLpW5FrCFEPGgloExUoQ1nlBJLtimo/llml7cPTIg9gg+toeFgV4pcCtuK0m0/ tL9wuoDJkkLjG9zcpOWiqxe9M8JWS68iho/prweuuRqbt5R2cGxCoKgQ++6NxRj+aVXi rFd5xOPoU43A8wQXKtbR3BKv8vOwfFJB7GisweBAMpF6ELsxOhpIWbGWIwTjaZW3QLoL mjSqpkES7iZoeaZlr4HLiNQGYq9+71z51uFwkUA3rKCw8sPkTuuLzvLnqrccV60ZEVLT DmrGJQKQEyhki3gPBLcn98p6jz1U4cq4VV5dluDFpV2vpgAgf1/MoGKQmA93lGqQQAAO J/vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dmarc-filter:sender:dkim-signature; bh=2DQdQ4OuyMLLVtN9I86/vm9sES/GqmJNArWanvnHFiI=; b=aQ29suvsjY5ySu3u1ddob/eisDujrytuLkEyxoQOlBIHIFjE6FQ/Wj9FALT9rKOuCN o+G0HXIuH0ZhEWpT/RaMX0PM+QgW9BNu9TP82wlLqP3QHe5nQ0xCaFajR80PYioh4KDs 9+Cp8nCFwjZaxMu6qouhF9h2WqOOrVbTIcsvFZkLg75+KYR7AoY7MGS+4dD5c61ZUsnH +1Wl36NnSWnJpFFY34Ux2LWEEQ8jgGax4MP54lfA7RwaDvGssUiRp+bjAINHXS7sZ1aB eZpw5gD97rGt5viA13P20WFzYcygf8MWJPwzrH/k6zjCgS99VBrcT2Odczp5S8RjoTsI gkRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=pe4Hwe6w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i23si3957273ejv.110.2021.03.12.05.05.23; Fri, 12 Mar 2021 05:05:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=pe4Hwe6w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231557AbhCLNEL (ORCPT + 99 others); Fri, 12 Mar 2021 08:04:11 -0500 Received: from m42-2.mailgun.net ([69.72.42.2]:44007 "EHLO m42-2.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231792AbhCLNDn (ORCPT ); Fri, 12 Mar 2021 08:03:43 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1615554223; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=2DQdQ4OuyMLLVtN9I86/vm9sES/GqmJNArWanvnHFiI=; b=pe4Hwe6wfVUQ7tqkOGkSHk/FI+CiLy4LlFFEZSXfZ/KhT56bN+eW/nFwF1dUH/06V5sNy/Vi soLuKvMM08mG4/aTh6MC5PBiqSIQTHe/HPK4riyJr0DrOqCOTZY4sORL9MndLwdv0eWkPKIt ZtaD3KepuuE4X2nfdUjQRAax4j0= X-Mailgun-Sending-Ip: 69.72.42.2 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-east-1.postgun.com with SMTP id 604b66646dc1045b7d8aebd6 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 12 Mar 2021 13:02:28 GMT Sender: srivasam=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 48B0BC433ED; Fri, 12 Mar 2021 13:02:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.29.24] (unknown [49.37.156.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: srivasam) by smtp.codeaurora.org (Postfix) with ESMTPSA id BA744C433C6; Fri, 12 Mar 2021 13:02:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org BA744C433C6 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=srivasam@codeaurora.org Subject: Re: [PATCH v4 1/2] arm64: dts: qcom: sc7180-trogdor: Add lpass dai link for I2S driver To: Doug Anderson Cc: gross@kernel.org, Bjorn Andersson , Rob Herring , linux-arm-msm , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , Rohit kumar , Srinivas Kandagatla , Stephen Boyd , Judy Hsiao , Ajit Pandey , V Sujith Kumar Reddy References: <20210311164815.14113-1-srivasam@codeaurora.org> <20210311164815.14113-2-srivasam@codeaurora.org> From: Srinivasa Rao Mandadapu Organization: Qualcomm India Private Limited. Message-ID: <7825f825-8b84-fda8-5884-e4f0ea4edf12@codeaurora.org> Date: Fri, 12 Mar 2021 18:32:20 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Doug, Thanks for your time!!! On 3/12/2021 1:26 AM, Doug Anderson wrote: > Hi, > > On Thu, Mar 11, 2021 at 8:49 AM Srinivasa Rao Mandadapu > wrote: >> From: Ajit Pandey >> >> Add dai link for supporting lpass I2S driver, which is used >> for audio capture and playback. >> Add lpass-cpu node with pin controls and i2s primary >> and secondary dai-links >> >> Signed-off-by: Ajit Pandey >> Signed-off-by: V Sujith Kumar Reddy >> Signed-off-by: Srinivasa Rao Mandadapu >> --- >> arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 58 ++++++++++++++++++++ >> 1 file changed, 58 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi >> index 436582279dad..501e3d4c9097 100644 >> --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi >> @@ -9,6 +9,7 @@ >> #include >> #include >> #include >> +#include > It seems marginally better to include "sc7180-lpass.h" to get this? I > don't really know the difference between the two but since unless > we're planning to delete the sc7180 version it seems like you might as > well include that one? Yes, I agree. Recently, all Quallcomm variant headers are combined and created "qcom,lpass.h". "sc7180-lpass.h" still includes "qcom,lpass.h". So I will change and repost the patch. Here is the reference commit: > > >> /* PMICs depend on spmi_bus label and so must come after SoC */ >> #include "pm6150.dtsi" >> @@ -283,6 +284,42 @@ keyboard_backlight: keyboard-backlight { >> max-brightness = <1023>; >> }; >> }; >> + >> + sound: sound { >> + compatible = "google,sc7180-trogdor"; >> + model = "sc7180-rt5682-max98357a-1mic"; >> + >> + audio-routing = >> + "Headphone Jack", "HPOL", >> + "Headphone Jack", "HPOR"; >> + >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + dai-link@0 { >> + link-name = "MultiMedia0"; >> + reg = ; >> + cpu { >> + sound-dai = <&lpass_cpu MI2S_PRIMARY>; >> + }; >> + >> + codec { >> + sound-dai = <&alc5682 MI2S_PRIMARY>; > I'm an audio noob but isn't "MI2S_PRIMARY" something to be used with > "lpass_cpu", not with "alc5682" ? > > I have no idea what the IDs correspond to on "alc5682". Are you sure > we even need an extra ID there? The "alc5682" bindings upstream don't > talk anything about dai-cells, but maybe they're just wrong... Yes. I will change and re-post. > > -Doug -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.