Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp11778pxv; Wed, 21 Jul 2021 14:04:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyObkXjjMwxq/OA594MjGwVJGu5ePiYfDxUxoiJaY0IVeSDMG0G0/6GSy4c+Ix1AqAj0Dzb X-Received: by 2002:a05:6e02:1e02:: with SMTP id g2mr25938732ila.6.1626901406024; Wed, 21 Jul 2021 14:03:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626901406; cv=none; d=google.com; s=arc-20160816; b=ZuRSyKsWiBqJcPok1vB+1Bd4OXIaGU1ZBVyu6zwaUDtU5Q3Xd2919zL5NIqFzSwgNw eZnsCGdGh6OxYe+8/9onX9bD63X2DQwxigmDXU+BmRLAr1yeD+/In2cL2sJQZ3exhgl2 KrI30axMpwXjlJr/W5ztVMbr3FpCQevFYFuRw9BtWoL1LGgaDNtM6URehMSEFcmzoNXY ON4YKXJoK2sP3ZMUzcah+N9U47FSMrNV96niA6VOxH+K482GZkK+WgMaj0z7yJ6LExrs H2/PtD9EbvjmfeT9k6oBD0ynZYMq2PKrmR/MUrBx673VsT3xgLDxex1BoPFKkYPP4G1c Q31Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=051mTyyqTLe5bNxs3xMEB9dCJVVcLYp1lomu2/ziKcg=; b=aOKWTtd4bxoUUNY7ayhE3Gfov/DPBeLmjTUpMIX/V44WlxK1NTWWicuUdmA7t+/EDd d+xp6nHgP4P92LSBBWotWSw3tzMr7Us66dbXgOKeRYHmwAbXrQenDShJdXuEjGX7dhuN /1RSaNAMDFbC3ET7AWun0T5rrvACA2uiQoBkWVLJGcLD3Dt+4UgdGZlXpJbZamZihYBz M9Psc2+ND7L6gvv7CdEAnL3vpDcWdKuA2hnAfUeRh7+Y//Ore3bz9D+lSA6Kmg036NEh zoGTWIuVkxyWQ7kvSer0gPq/EmZxr87hvcVQJ9Rv9UB6z+RxUDcuo2HZAuBPXLhbT9c6 tGrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mBZuY8y7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i19si30732794jab.103.2021.07.21.14.03.14; Wed, 21 Jul 2021 14:03:26 -0700 (PDT) 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=@chromium.org header.s=google header.b=mBZuY8y7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233369AbhGUPkB (ORCPT + 99 others); Wed, 21 Jul 2021 11:40:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235743AbhGUPkA (ORCPT ); Wed, 21 Jul 2021 11:40:00 -0400 Received: from mail-vs1-xe35.google.com (mail-vs1-xe35.google.com [IPv6:2607:f8b0:4864:20::e35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33F1AC061575 for ; Wed, 21 Jul 2021 09:20:37 -0700 (PDT) Received: by mail-vs1-xe35.google.com with SMTP id r25so1741978vsk.2 for ; Wed, 21 Jul 2021 09:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=051mTyyqTLe5bNxs3xMEB9dCJVVcLYp1lomu2/ziKcg=; b=mBZuY8y7e8p9bUY1ojzWBevvvMvTeIrdLx4L5N2hrw76MKt+CQ8zR8aQd0r0l8+0Ri UCcpj15XA0v3mA5O0DkBjetFm+wvkqr4V/U1eKIkv6x4bTyJ9A2lF5WYQiOSi/1MmEkt ojmFv7HtVf14t2mJ8bjQNIEC+NcaNKyl8ybHo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=051mTyyqTLe5bNxs3xMEB9dCJVVcLYp1lomu2/ziKcg=; b=TBMSaMbkzB27I8SMYAkUkF+THt17W8F/gC26EUKPkFRbK8OR+b+T9ZQTbNSE+QJDZu WDeBiVzkt03Vq2vRwT8f2atZBgEStVWXclh+v6CbMOnDBBNkF2vq305NCXFUMvHQGJni DoSGNca0mCOBSAIvrKiSWXDzY+YpYHD8Z7s/kYadGJlMI6jA7ex48RJwGEiaxU+fWnJv 0x7NVngrsHFeXJiJWrjxzj+1/JJ+y0IE2a9dySkZkIMDIwsYY3MCoew8fM/JRBRDDZmO qJp5mTk553TIcbjHoaqaXJBNNFzs5m536Q0r4dYaMNBA2QdYUnHpRqSsd32b/874QwEG 9tJg== X-Gm-Message-State: AOAM5327EVjmQ4Gdp0GIr0GW7mTlNa6DPi3t2527fIDOi/XqEcItFgwA cfV6LG4iFJnX+wQY0r31ITA9bSnaEnp67g== X-Received: by 2002:a67:707:: with SMTP id 7mr36120569vsh.39.1626884435818; Wed, 21 Jul 2021 09:20:35 -0700 (PDT) Received: from mail-vs1-f42.google.com (mail-vs1-f42.google.com. [209.85.217.42]) by smtp.gmail.com with ESMTPSA id 34sm2423542vkl.4.2021.07.21.09.20.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Jul 2021 09:20:35 -0700 (PDT) Received: by mail-vs1-f42.google.com with SMTP id r18so1728544vsa.4 for ; Wed, 21 Jul 2021 09:20:35 -0700 (PDT) X-Received: by 2002:a05:6102:144:: with SMTP id a4mr34855801vsr.29.1626884434569; Wed, 21 Jul 2021 09:20:34 -0700 (PDT) MIME-Version: 1.0 References: <20210721084126.14035-1-srivasam@codeaurora.org> <20210721084126.14035-3-srivasam@codeaurora.org> In-Reply-To: <20210721084126.14035-3-srivasam@codeaurora.org> From: Doug Anderson Date: Wed, 21 Jul 2021 09:20:23 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 2/2] arm64: dts: qcom: sc7180-trogdor: Add lpass dai link for HDMI To: Srinivasa Rao Mandadapu Cc: Andy Gross , 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 , V Sujith Kumar Reddy Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Jul 21, 2021 at 1:42 AM Srinivasa Rao Mandadapu wrote: > > From: V Sujith Kumar Reddy > > Add dai link in sc7180-trogdor.dtsi for supporting audio over DP > > Signed-off-by: V Sujith Kumar Reddy > Signed-off-by: Srinivasa Rao Mandadapu > Reviewed-by: Srinivas Kandagatla > --- > arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > index 31bf7c698b8f..a4cb9ee567ff 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > @@ -288,6 +288,7 @@ sound: sound { > "Headphone Jack", "HPOL", > "Headphone Jack", "HPOR"; > > + #sound-dai-cells = <0>; The `#sound-dai-cells` is not in the bindings. The bindings also say `additionalProperties: false`. So either your patch is wrong for including this or the bindings are wrong for omitting it. Which is it? I notice that downstream we don't have this. > @@ -314,6 +315,18 @@ sound_multimedia1_codec: codec { > sound-dai = <&max98357a>; Ideally you'll want to rebase to make context clean since the above got changed from `max98357a` to `max98360a`. > }; > }; > + > + dai-link@2 { > + link-name = "MultiMedia2"; > + reg = <2>; I am certainly not an expert, but I notice that downstream we have reg as , which makes the node name dai-link@5 instead of @2. Does that matter? > @@ -768,6 +781,10 @@ secondary_mi2s: mi2s@1 { > reg = ; > qcom,playback-sd-lines = <0>; > }; > + > + hdmi-primary@0 { > + reg = ; Your node name and `reg` don't match. `LPASS_DP_RX` is 5 so the node name should include @5, not @0. I also notice that downstream the node name is called `hdmi`, not `hdmi-primary`. The downstream `hdmi` seems more parallel to the sibling nodes, like `mi2s@0` and `mi2s@1`.