Received: by 2002:a05:6a10:144:0:0:0:0 with SMTP id 4csp1457886pxw; Sun, 10 Apr 2022 03:00:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkXY5uTMJTPS5s8NCXz0YVdGvLMwqrZYD0gFcWhTtGxQGJyqxAxb/72rSHv+ta4oCQjmvb X-Received: by 2002:a17:902:a510:b0:156:6cf9:9a7c with SMTP id s16-20020a170902a51000b001566cf99a7cmr27950041plq.151.1649584820736; Sun, 10 Apr 2022 03:00:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649584820; cv=none; d=google.com; s=arc-20160816; b=rqjxYtlwJAWQGrFZlPLgWbmfX99Eol2Wdkm69GLvLgFRExzjC2ERAWPLCksoxgWZ/i +6n1Plxe822/2xa8E8DXxclsIXf05rzvFm0W/KUPvwXBbZ25cN9ablJYVGS+EfhqTJER gTsv3mFmeCm8qW4ehuWzBDS+NkaH+iFXdY1bFbUrF4LsVYAyK/I1YREOsFfYhqZ00jV1 +c+n/droQuqBNqQh66KGH8FU65pDNMoC8AB6TxzWaDy8d1DYTdS0qYBW1FwhNi+Fcsd2 BLZzPGvml/A66d/6nNUFOzM94ut5h/53O2F9HqsHsW+0bnydsJxldb/ubk3scHZqPKCg noCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CvlOdjB3+vMb6WfMdUSPA5S26ij9hqMmlmfhzTzVzxI=; b=LBG1xta59KH846w6ieXuNwZpSTk4sPcx7zofoY3QOgpwNqYmfm8GE2U7qJxWFHKhxA S4EBRgYE5aCgKeSu4oAE5QqmaNZgirv4e25eYE7MII5xfwgzP/U8Oz3phfp3sc+9jKT+ jdhx40j4wIFS+4H8pqy0LmpvFRFueXMzSD0/9u4m7jtt4g2XAl3+0he878+DGmOXCROk 7sqeu122aAbIRIwpebuK/gy5M8jHOXtiMyqRGK4nEyfcNzlOEkvCwUGaKFS3HCx8qqu5 Fzw6x6gF11RQoXeeI3hoUqetvYghUkCEbYfF7EI+/Bd7g+cSaaW0fuEQFLThUhkX4pyM 1I+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wZhHDtzh; 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 q10-20020a170902eb8a00b0015845abf8casi2530161plg.45.2022.04.10.02.59.59; Sun, 10 Apr 2022 03:00:20 -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=wZhHDtzh; 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 S237012AbiDIA1k (ORCPT + 99 others); Fri, 8 Apr 2022 20:27:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233513AbiDIA1j (ORCPT ); Fri, 8 Apr 2022 20:27:39 -0400 Received: from mail-oa1-x33.google.com (mail-oa1-x33.google.com [IPv6:2001:4860:4864:20::33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29E8DB28 for ; Fri, 8 Apr 2022 17:25:34 -0700 (PDT) Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-de3eda6b5dso11472690fac.0 for ; Fri, 08 Apr 2022 17:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=CvlOdjB3+vMb6WfMdUSPA5S26ij9hqMmlmfhzTzVzxI=; b=wZhHDtzhnnFaf/Z3RS31qNESt7qcuJ96Rnd3jTFaDL1H9hwO4HauDN+NBCDXbKvxbY PBMrtdLGVWur2kZ+wwhZhuU9mrOOTBI68t5QJcUenc+v6UUeKfIg/UWDsfLAA4Ux+Jy4 r8Zwk85YlaNSVA0LAcJfTI4ITooqyL0Rg7F2/He1XjFHlEDTlNMmg+m1olhpWeg9HWJ+ oQy9pweBwsXh/H3G9qfcS+I5gEj6ik2W1AoXsW5SbhZPhfVmPoLu7W6+GVT/Vg+14/NA 6HmlJ2Fk5EweDNg50moxn0BC6RSmKiTBBToM7DH3uG1Mq/b3yErXPR+gDGZp0pN3z2ii rQCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=CvlOdjB3+vMb6WfMdUSPA5S26ij9hqMmlmfhzTzVzxI=; b=2SnmNShAKBh6HwZyEH2COYOvob1W2GZOA6aBLxeTNFMK2M0mkzQEJ7g+VKPKqy6FKb HA6xoA12iWs7GwYppZxl+C8hhYhyMrIqBGyTBiS5jRPoW9lKadguxJMPXUgNRkhNOZ6U wt2/64vBTgj1+YiH6+xGjrbDow96uo7uJL/j8id5SL/B4Tjxk+aEHKiIJLO96Od+b6Ru g/Mt23D+PjY03MODiulN21B5RlgQTZhHTm1kUcXRhZRXIELVAz6dLGenrvxcj1pkp/QN uuuw+zaepiR3JTc6hPURdtGP0sRzYtMykXWvLI5LAQBM2GRPytDRvD7HbSjgfrfJKUIk yUFA== X-Gm-Message-State: AOAM5321IzgRbraGTfpLouFy5pbvEzoF/j4c8uaEOMmq52zl5fTpH/7J GKjIddIsYq0HLfsM5+M2+Go52g== X-Received: by 2002:a05:6870:51cd:b0:e2:6cd2:f21a with SMTP id b13-20020a05687051cd00b000e26cd2f21amr4621573oaj.7.1649463933469; Fri, 08 Apr 2022 17:25:33 -0700 (PDT) Received: from builder.lan ([2600:1700:a0:3dc8:3697:f6ff:fe85:aac9]) by smtp.gmail.com with ESMTPSA id m17-20020a0568301e7100b005b256697d7csm9587232otr.72.2022.04.08.17.25.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Apr 2022 17:25:32 -0700 (PDT) Date: Fri, 8 Apr 2022 19:25:30 -0500 From: Bjorn Andersson To: Vinod Koul Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, Rob Herring , Andy Gross , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/6] arm64: dts: qcom: sm8250: move sound node out of soc Message-ID: References: <20220328143035.519909-1-vkoul@kernel.org> <20220328143035.519909-5-vkoul@kernel.org> <3cc9c1a0-45f3-cb1b-1991-f51da4789afd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Mon 28 Mar 12:14 CDT 2022, Vinod Koul wrote: > On 28-03-22, 17:14, Krzysztof Kozlowski wrote: > > On 28/03/2022 16:30, Vinod Koul wrote: > > > The soc node expects all the nodes to have unit addresses. The sound > > > node does not have that which causes warnings: > > > > > > arch/arm64/boot/dts/qcom/sm8250.dtsi:2806.16-2807.5: > > > Warning (simple_bus_reg): /soc@0/sound: missing or empty reg/ranges property > > > > > > Move sound node out of soc to fix this > > > > > > Signed-off-by: Vinod Koul > > > --- > > > arch/arm64/boot/dts/qcom/sm8250.dtsi | 6 +++--- > > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > > > > I don't know the SM8250, but usually the sound node (e.g. containing > > audio-codec) is not part of SoC. I propose to remove it entirely from > > DTSI and define in same place in each DTS. It makes more sense logically > > in such case - one clearly see which board defines the sounds, which > > does not. > > Most of our boards have sound, should we duplicate it in all the > boards..? Bjorn..? > But is the sndcard platform or device specific? E.g. all the SDM845 boards seems to use either qcom,sdm845-sndcard or qcom,db845c-sndcard. Are there room for some common properties in this node? Otherwise it seems reasonable to skip it in the platform dtsi. Regards, Bjorn