Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4904649iog; Wed, 22 Jun 2022 08:03:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vVdmWOjgKwsdM8MPTFnrxjzdw9kKTG/pAGraBmLyWNgXjssqAyNGNo3igyycx2zuNnFVAY X-Received: by 2002:a05:6a00:124d:b0:51b:f2ac:ef8a with SMTP id u13-20020a056a00124d00b0051bf2acef8amr36080587pfi.72.1655910198397; Wed, 22 Jun 2022 08:03:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655910198; cv=none; d=google.com; s=arc-20160816; b=azvqb4O6oUYULmzq5kfU7eQam6eb6a5L3stw0Pdn1dn8xp2fN3+sAjYx4YFrFi67Oj 3dgxNVbDB67zwWFpWuz06Dsr+hFhgY64RovLtbMHQHnquxlBoKUdRc8Pj1KeQNBCdxWd RdN75mBCXUvSc5rpTKzhpSyh2zMRTRRVYd4CdkS6zIjUjCPQgpq6NmfcAa8UxtNk+QE1 zZVb7O09BHPsFV5gpCoBA4XtzVbDoKf3wiR5Dvtl7sAsDRC4+UFv+m0FeAcgq5+NJNvG 89dMQMWFKLm7glkdn1L9tLe2x0bgXTqRUq8V14sy4S35TiDZ56ctjiOZc+Hxb4n+QNtD qWmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=sVFftXXsJ84XlZCYREHvxrVknOai2VbLYQhFhTdEQV8=; b=hqhCco/j1IwXxCA7Z0DvxWkLKrQdSOIA22A4NBx68ZLQItzPC0CEa/g9gT3T3bWktV v2es0Ixam433WLNv6OSQ1cFX1zjzSGXEYE2HNLRtLGOqTkvDhWZK2HZySThz8s7TzpQE aTP8ekkI4pgGDEi8ZhHpqG8FrLiLrMH+xwElCMHEe9jSonh9mTwVlpiUsARhbGINS5CR OVNy8mEs98GC6JeUlRK9kdk5/6bqd2otQvyVntLw46GhM6h6YocdUh9q8XkP7vRRgyLO gd49TLulZQ4OZFSPHKzYXMuXdLXnzQYnVejS9HmQgyHQk6iJJukBQptN3JPFnr+LP9Kx 7IMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kCCLYtTs; 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 ch11-20020a056a00288b00b005253308b660si860212pfb.286.2022.06.22.08.02.59; Wed, 22 Jun 2022 08:03:18 -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=kCCLYtTs; 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 S236963AbiFVOg1 (ORCPT + 99 others); Wed, 22 Jun 2022 10:36:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357288AbiFVOg0 (ORCPT ); Wed, 22 Jun 2022 10:36:26 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DE323BA5A for ; Wed, 22 Jun 2022 07:36:25 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id mf9so14371232ejb.0 for ; Wed, 22 Jun 2022 07:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=sVFftXXsJ84XlZCYREHvxrVknOai2VbLYQhFhTdEQV8=; b=kCCLYtTs6BdRbsM5Q0vOu3Q+GqBQSSoCoxrkNY67vt5/v8Y+FLPyAPWL+60+TTrauL zh5iWxu+fyZUHdhWURnBLMd7LkBWf2KzQAcjeg0q1qq5bsV9ILBN2yrHkmml9aT9YybS 0eZbAGbasOOHwg4W6SglS3Zc4JF7FjvtuJoZ/DjKzytVWkUKPfalnmuL2QrF6xdJaJw1 laFmIKzsamSlwgXdme0Sjl9bURcXDVshCrAO7XuWFFCFrZbaumW4qassy2Up6uQrQejT p6FtvyA5Ql304V19AtHWsaJbdVL2KWqwKwkDtWPXdzDCGWQa9lXCDyz3zFm+l9RcE5dK 8Utw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=sVFftXXsJ84XlZCYREHvxrVknOai2VbLYQhFhTdEQV8=; b=hjZwzF4S4oa4e81tn+EN/mOVnVqvvLFLf2MADrNFV4fwhamsAK2S2xRG82mNm5RBbo PKnKgpQ/lDOzcgG6kE3OYp0hFIaMhL23+sAPboAfVc04nzAn5Uj9UisKgrdrcc2roSm5 WDC8wh9wCDnfSmO6sH7eCvoK+DFP2LdtFw7f+tcXDKFoegZGAHlMa3YBQ3+zEbqqrGne axZxWqiAesRQTR0eQRvDdz1263Pr6nY1906XhMj3q1M+1f2sVpwlHggrGfs6sNpBoVQz +fE0IKOGt5q9zDM0TaIbyO0GJAj3broHkW9aFjD+exoy2CDxjm+kVkevsbLJ2Slsjv/7 VriQ== X-Gm-Message-State: AJIora9MpZLgM9TcttmoTGpb0paEFWZWng5yulgZJIrbk5OxP4AHOFmT T8XuJIKOwFIarYJ5RyLWdpATIA== X-Received: by 2002:a17:906:1109:b0:711:da3b:bdcb with SMTP id h9-20020a170906110900b00711da3bbdcbmr3257318eja.210.1655908583962; Wed, 22 Jun 2022 07:36:23 -0700 (PDT) Received: from [192.168.0.226] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id c5-20020a056402158500b004356b8ad003sm11041051edv.60.2022.06.22.07.36.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Jun 2022 07:36:23 -0700 (PDT) Message-ID: <60b0074f-f29b-da1f-d6d0-0085e17e5dcb@linaro.org> Date: Wed, 22 Jun 2022 16:36:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 3/3] arm64: dts: qcom: Use WCD9335 DT bindings Content-Language: en-US To: Yassine Oudjana , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: Yassine Oudjana , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, phone-devel@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220622064758.40543-1-y.oudjana@protonmail.com> <20220622064758.40543-4-y.oudjana@protonmail.com> From: Krzysztof Kozlowski In-Reply-To: <20220622064758.40543-4-y.oudjana@protonmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 22/06/2022 08:47, Yassine Oudjana wrote: > From: Yassine Oudjana > > Replace DAI indices in codec nodes with definitions from the WCD9335 > DT bindings for devices that use WCD9335. > > Signed-off-by: Yassine Oudjana > --- > arch/arm64/boot/dts/qcom/apq8096-db820c.dts | 5 +++-- > arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts | 5 +++-- > arch/arm64/boot/dts/qcom/msm8996-xiaomi-scorpio.dts | 5 +++-- > 3 files changed, 9 insertions(+), 6 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts > index 49afbb1a066a..ff915cd8e5a6 100644 > --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts > +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts > @@ -13,6 +13,7 @@ > #include > #include > #include > +#include > > /* > * GPIO name legend: proper name = the GPIO line is used as GPIO > @@ -1009,7 +1010,7 @@ platform { > }; > > codec { > - sound-dai = <&wcd9335 6>; > + sound-dai = <&wcd9335 AIF4_PB>; > }; > }; > > @@ -1024,7 +1025,7 @@ platform { > }; > > codec { > - sound-dai = <&wcd9335 1>; > + sound-dai = <&wcd9335 AIF1_CAP>; > }; > }; > }; > diff --git a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts > index 22978d06f85b..261f2ea7def0 100644 > --- a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts > +++ b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts > @@ -9,6 +9,7 @@ > #include > #include > #include > +#include Keep the order, so this goes before input (even though it is not really alphabetical, but that's life...). > > / { > model = "Xiaomi Mi 5"; > @@ -193,7 +194,7 @@ platform { > }; > > codec { > - sound-dai = <&wcd9335 6>; > + sound-dai = <&wcd9335 AIF4_PB>; > }; > }; > > @@ -208,7 +209,7 @@ platform { > }; > > codec { > - sound-dai = <&wcd9335 1>; > + sound-dai = <&wcd9335 AIF1_CAP>; > }; > }; > }; > diff --git a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-scorpio.dts b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-scorpio.dts > index 1e2dd6763ad1..c9f935cfb587 100644 > --- a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-scorpio.dts > +++ b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-scorpio.dts > @@ -9,6 +9,7 @@ > #include "pmi8996.dtsi" > #include > #include > +#include > > / { > model = "Xiaomi Mi Note 2"; > @@ -171,7 +172,7 @@ platform { > }; > > codec { > - sound-dai = <&wcd9335 6>; > + sound-dai = <&wcd9335 AIF4_PB>; > }; > }; > > @@ -186,7 +187,7 @@ platform { > }; > > codec { > - sound-dai = <&wcd9335 1>; > + sound-dai = <&wcd9335 AIF1_CAP>; > }; > }; > }; Best regards, Krzysztof