From patchwork Mon Mar 28 14:30:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12793689 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 560AEC433EF for ; Mon, 28 Mar 2022 14:30:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243864AbiC1Ocb (ORCPT ); Mon, 28 Mar 2022 10:32:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243861AbiC1Oca (ORCPT ); Mon, 28 Mar 2022 10:32:30 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20870434B8; Mon, 28 Mar 2022 07:30:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C1FC6B80E72; Mon, 28 Mar 2022 14:30:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16AA8C3410F; Mon, 28 Mar 2022 14:30:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648477847; bh=SRl95RjWY1dF6XaJGOl9tSAZZMHAcJr32gLMJM8D2Qs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KuYcpv4K0ESi2O7521ZxfZY0sKrHBynbr6lRyV8vpazrAo5utgoAXId+VjPFckE1y OsUDQK4Re3r6oi5BJQWX7JEE4PHM/KSRUmlNoydx0pnWn76dsWW7EM/uCa9fnbgF8T EmYGoIbpEf2CTZV793N1MIukMENdP0px/6ahE02o5Lqipp01huFAHKfD4HSuzHdC6J rr+HBJ9rCl02vdr7+irxQ13VaHrmNTOnGRJSgKZs8UFM6LTVHTWsF6AlvutkwqgSRE 8IjUtGARI/Ose9uPAoAWcKuZ841HKpVuYXckYAmVXOPJd2fvlgn5sRIYE6Fxt+Fl80 cbGyn51729Vyw== From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Rob Herring , Andy Gross , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] arm64: dts: qcom: sm8450: rename interconnect nodes Date: Mon, 28 Mar 2022 20:00:30 +0530 Message-Id: <20220328143035.519909-2-vkoul@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220328143035.519909-1-vkoul@kernel.org> References: <20220328143035.519909-1-vkoul@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org clk-virt and mc-virt interconnect nodes were named interconnect@0 and interconnect@1. That is incorrect as we don't have unit addresses 0/1 for these node. This causes warning: arch/arm64/boot/dts/qcom/sm8450.dtsi:255.27-259.4: Warning (unit_address_vs_reg): /interconnect@0: node has a unit name, but no reg or ranges property arch/arm64/boot/dts/qcom/sm8450.dtsi:261.26-265.4: Warning (unit_address_vs_reg): /interconnect@1: node has a unit name, but no reg or ranges property arch/arm64/boot/dts/qcom/sm8450.dtsi:255.27-259.4: Warning (unique_unit_address_if_enabled): /interconnect@0: duplicate unit-address (also used in node /soc@0) Rename the nodes to interconnect-0 and interconnect-1 to fix the warning. Signed-off-by: Vinod Koul Suggested-by: Krzysztof Kozlowski Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 934e29b9e153..b0128d115e7a 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -252,13 +252,13 @@ scm: scm { }; }; - clk_virt: interconnect@0 { + clk_virt: interconnect-0 { compatible = "qcom,sm8450-clk-virt"; #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; }; - mc_virt: interconnect@1 { + mc_virt: interconnect-1 { compatible = "qcom,sm8450-mc-virt"; #interconnect-cells = <2>; qcom,bcm-voters = <&apps_bcm_voter>; From patchwork Mon Mar 28 14:30:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12793690 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DE1BC433FE for ; Mon, 28 Mar 2022 14:30:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243863AbiC1Ocf (ORCPT ); Mon, 28 Mar 2022 10:32:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243869AbiC1Oce (ORCPT ); Mon, 28 Mar 2022 10:32:34 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 725FC43AF5; Mon, 28 Mar 2022 07:30:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id EBA8CB81128; Mon, 28 Mar 2022 14:30:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 283F2C34100; Mon, 28 Mar 2022 14:30:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648477850; bh=iY0oBcbrfcx72dXSODFvNoT62YnyauRm64dbK+nhK+g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NcsvghI1p32YDnBaCUpgR1mA7h3rKOxVfFq6Hbe5hPhPB1CZrFaJc5k3WUMpFodJo mZOf07DjjCSjXBdxT8vQjQlWIOgj5SpwHzTNC7TcpMZxmc/mvU/SVaO4JaCRH1vJr0 I0Jr+8tLKzH+fXWlmDOKrs5NAvpayGWKHQ3CoX2vvNSa2dGylv5quvH3R8I3dvuiWD qEssqmevEGqZjhB7heRr6VB0OFyCEAEw60fSHRv2D4mDrbQNk7iBdV5jSFQufJE/SN WdGSoy0mYvCQlwCQy90ysfGuqFek2eY+HZnsIo4SukLdBbjVfeXIGI8simU0VF1Bv+ TmcE969wzy9ow== From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Rob Herring , Andy Gross , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/6] arm64: dts: qcom: sm8350: move qup-opp-tables out of soc node Date: Mon, 28 Mar 2022 20:00:31 +0530 Message-Id: <20220328143035.519909-3-vkoul@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220328143035.519909-1-vkoul@kernel.org> References: <20220328143035.519909-1-vkoul@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The soc node expects all the nodes to have unit addresses. The qup-opp-tables do not have that which causes warnings: arch/arm64/boot/dts/qcom/sm8350.dtsi:640.46-657.5: Warning (simple_bus_reg): /soc@0/qup-100mhz-opp-table: missing or empty reg/ranges property arch/arm64/boot/dts/qcom/sm8350.dtsi:659.46-676.5: Warning (simple_bus_reg): /soc@0/qup-120mhz-opp-table: missing or empty reg/ranges property Move the qup-opp-tables out of soc node to fix these warnings Signed-off-by: Vinod Koul Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 76 ++++++++++++++-------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index d242bab69c2e..846ddd290d08 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -340,6 +340,44 @@ CLUSTER_PD: cpu-cluster0 { }; }; + qup_opp_table_100mhz: qup-100mhz-opp-table { + compatible = "operating-points-v2"; + + opp-50000000 { + opp-hz = /bits/ 64 <50000000>; + required-opps = <&rpmhpd_opp_min_svs>; + }; + + opp-75000000 { + opp-hz = /bits/ 64 <75000000>; + required-opps = <&rpmhpd_opp_low_svs>; + }; + + opp-100000000 { + opp-hz = /bits/ 64 <100000000>; + required-opps = <&rpmhpd_opp_svs>; + }; + }; + + qup_opp_table_120mhz: qup-120mhz-opp-table { + compatible = "operating-points-v2"; + + opp-50000000 { + opp-hz = /bits/ 64 <50000000>; + required-opps = <&rpmhpd_opp_min_svs>; + }; + + opp-75000000 { + opp-hz = /bits/ 64 <75000000>; + required-opps = <&rpmhpd_opp_low_svs>; + }; + + opp-120000000 { + opp-hz = /bits/ 64 <120000000>; + required-opps = <&rpmhpd_opp_svs>; + }; + }; + reserved_memory: reserved-memory { #address-cells = <2>; #size-cells = <2>; @@ -637,44 +675,6 @@ ipcc: mailbox@408000 { #mbox-cells = <2>; }; - qup_opp_table_100mhz: qup-100mhz-opp-table { - compatible = "operating-points-v2"; - - opp-50000000 { - opp-hz = /bits/ 64 <50000000>; - required-opps = <&rpmhpd_opp_min_svs>; - }; - - opp-75000000 { - opp-hz = /bits/ 64 <75000000>; - required-opps = <&rpmhpd_opp_low_svs>; - }; - - opp-100000000 { - opp-hz = /bits/ 64 <100000000>; - required-opps = <&rpmhpd_opp_svs>; - }; - }; - - qup_opp_table_120mhz: qup-120mhz-opp-table { - compatible = "operating-points-v2"; - - opp-50000000 { - opp-hz = /bits/ 64 <50000000>; - required-opps = <&rpmhpd_opp_min_svs>; - }; - - opp-75000000 { - opp-hz = /bits/ 64 <75000000>; - required-opps = <&rpmhpd_opp_low_svs>; - }; - - opp-120000000 { - opp-hz = /bits/ 64 <120000000>; - required-opps = <&rpmhpd_opp_svs>; - }; - }; - qupv3_id_2: geniqup@8c0000 { compatible = "qcom,geni-se-qup"; reg = <0x0 0x008c0000 0x0 0x6000>; From patchwork Mon Mar 28 14:30:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12793691 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB761C433F5 for ; Mon, 28 Mar 2022 14:31:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243880AbiC1Ocm (ORCPT ); Mon, 28 Mar 2022 10:32:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243895AbiC1Oci (ORCPT ); Mon, 28 Mar 2022 10:32:38 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D87343AD1; Mon, 28 Mar 2022 07:30:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 13C84B80E72; Mon, 28 Mar 2022 14:30:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3AEA3C34111; Mon, 28 Mar 2022 14:30:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648477853; bh=jU5fTmunGGnC6lg6eTG9ET0TEidj2lyYESe/UhhpeyU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZdPwqDwlNXVOu/9uy/RIqXntzFR4QKlmbqhil5aUICYe7E7K9vlrqr0JHiWsLZNxP gA5iQylzDBLQ1IjtKcOb55x8drpLI43obqORFFmiW8FfdlCKIbEyBWoTXv43vJVK9C BhjNy3CL2NFldi05016nHu3bI9OTJHNQ+lKKR/5k9ew5H54SNxH5vRFsoGeMUQPiEo 0zvSh/VFSBVP9UIA7uJ71F6DqnGYRTIUOR3rNB3SUfEPcG7wZLNHtg9EOKVBAo0ynl /JR3lAGjHB1CLApw4st+rhqAXH7QUJ9iy7ZtDg6iy45wR1NVVJniP/XhDxGGuO0sIw rFFyY7PejW51A== From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Rob Herring , Andy Gross , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/6] arm64: dts: qcom: sm8250: move qup-opp-table out of soc node Date: Mon, 28 Mar 2022 20:00:32 +0530 Message-Id: <20220328143035.519909-4-vkoul@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220328143035.519909-1-vkoul@kernel.org> References: <20220328143035.519909-1-vkoul@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The soc node expects all the nodes to have unit addresses. The qup-opp-table does not have that which causes warnings: arch/arm64/boot/dts/qcom/sm8250.dtsi:916.32-933.5: Warning (simple_bus_reg): /soc@0/qup-opp-table: missing or empty reg/ranges property Move the qup-opp-table out of soc node to fix these warnings Signed-off-by: Vinod Koul Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 38 ++++++++++++++-------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index fdaf303ba047..b120babdb26c 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -701,6 +701,25 @@ CLUSTER_PD: cpu-cluster0 { }; }; + qup_opp_table: qup-opp-table { + compatible = "operating-points-v2"; + + opp-50000000 { + opp-hz = /bits/ 64 <50000000>; + required-opps = <&rpmhpd_opp_min_svs>; + }; + + opp-75000000 { + opp-hz = /bits/ 64 <75000000>; + required-opps = <&rpmhpd_opp_low_svs>; + }; + + opp-120000000 { + opp-hz = /bits/ 64 <120000000>; + required-opps = <&rpmhpd_opp_svs>; + }; + }; + reserved-memory { #address-cells = <2>; #size-cells = <2>; @@ -913,25 +932,6 @@ rng: rng@793000 { clock-names = "core"; }; - qup_opp_table: qup-opp-table { - compatible = "operating-points-v2"; - - opp-50000000 { - opp-hz = /bits/ 64 <50000000>; - required-opps = <&rpmhpd_opp_min_svs>; - }; - - opp-75000000 { - opp-hz = /bits/ 64 <75000000>; - required-opps = <&rpmhpd_opp_low_svs>; - }; - - opp-120000000 { - opp-hz = /bits/ 64 <120000000>; - required-opps = <&rpmhpd_opp_svs>; - }; - }; - gpi_dma2: dma-controller@800000 { compatible = "qcom,sm8250-gpi-dma"; reg = <0 0x00800000 0 0x70000>; From patchwork Mon Mar 28 14:30:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12793692 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87A40C433FE for ; Mon, 28 Mar 2022 14:31:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243891AbiC1Ocn (ORCPT ); Mon, 28 Mar 2022 10:32:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243888AbiC1Ocj (ORCPT ); Mon, 28 Mar 2022 10:32:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC3FC443E2; Mon, 28 Mar 2022 07:30:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 59B3361230; Mon, 28 Mar 2022 14:30:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DB96C36AE3; Mon, 28 Mar 2022 14:30:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648477856; bh=yubCrEGhqfaPu962MNGr2lv7IYl16DnylAUmKAceEAg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LrQ8s+zu/jPLL6c2+Q/zrtYmZ/zy2L6w1EAye+YYZ1iANKK1kGIoXnxKyOvycssBQ QFM1JHEDA1aDFoSkoUSxpamN+9BHJyuBZUX608J1rKS3H/bkzLZK5QZ5k1dvk9MN/M RPFJ31JmVci+tHknjvjdSIzUPd55FZclb1a3jPJElrf7RJ5LzIRGHmDs2gaktBYp1g d2qW5WmvZ00FHwwPQUJfNAFHwNzCWZzyuuYS2yWZCZEAOyFYE1vO+ZSzRja3crk1C7 ckivLg96sgEYnzhpt5SedUMCO7J4x5wOoY37mUUgiZHufZbJAMMJ5aCNUmy7HuAaEu Z49VrGlSt9sZA== From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Rob Herring , Andy Gross , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/6] arm64: dts: qcom: sm8250: move sound node out of soc Date: Mon, 28 Mar 2022 20:00:33 +0530 Message-Id: <20220328143035.519909-5-vkoul@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220328143035.519909-1-vkoul@kernel.org> References: <20220328143035.519909-1-vkoul@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index b120babdb26c..fb94b342f2d1 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2803,9 +2803,6 @@ compute-cb@8 { }; }; - sound: sound { - }; - usb_1_hsphy: phy@88e3000 { compatible = "qcom,sm8250-usb-hs-phy", "qcom,usb-snps-hs-7nm-phy"; @@ -4684,6 +4681,9 @@ cpufreq_hw: cpufreq@18591000 { }; }; + sound: sound { + }; + timer { compatible = "arm,armv8-timer"; interrupts = X-Patchwork-Id: 12793693 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDEB8C433F5 for ; Mon, 28 Mar 2022 14:31:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243869AbiC1OdL (ORCPT ); Mon, 28 Mar 2022 10:33:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243918AbiC1Ocn (ORCPT ); Mon, 28 Mar 2022 10:32:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6580444777; Mon, 28 Mar 2022 07:31:00 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6D77B61243; Mon, 28 Mar 2022 14:31:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E7B0C34111; Mon, 28 Mar 2022 14:30:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648477859; bh=OuRo2q+coWtb/ALyqpyfzlvv3DncSmX5J0Wv6DnCo6M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fdAnRGpsJ6xFyxaB/YI7OPLUwBkCWAtSSiNXB+HrQ+WkY68iJ3m/95U/3czpJKRc8 ZWm+wLa9q55CE55KiLrHfabf0UflBdQ36post17Rz0rZKGWYqwgnvnWzOXCEN0F/c1 exWVaYdel9ANnvERwEysnRHSCDaCUm3YUc6qpUk+qyp7kZY59BBvDGIQKgA22wlora jMxovM4jmcnhHxKSAuuZPka94WYAOk22TUBK74oLBI6YDLNtq8GvG56Rexoq29FSJI 68QWLr8Kyo7OZXCKDPiQ4CDIOl99RtYTY9wTiAPyLzVZSWBEFyvaFQiG2bBegbcyUP aRW9qDeuM3vVw== From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Rob Herring , Andy Gross , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/6] arm64: dts: qcom: sm8250: move wcd938x node out of soc node Date: Mon, 28 Mar 2022 20:00:34 +0530 Message-Id: <20220328143035.519909-6-vkoul@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220328143035.519909-1-vkoul@kernel.org> References: <20220328143035.519909-1-vkoul@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The soc node expects all the nodes to have unit addresses. The wcd codec node does not have that which causes warnings: arch/arm64/boot/dts/qcom/sm8250-mtp.dts:631.17-648.4: Warning (simple_bus_reg): /soc@0/codec: missing or empty reg/ranges property Move wcd node out of soc to fix this Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8250-mtp.dts | 40 ++++++++++++------------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts index fb99cc2827c7..3876a94b49a9 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts @@ -156,6 +156,25 @@ vreg_s6c_0p88: smpc6-regulator { regulator-always-on; vin-supply = <&vph_pwr>; }; + + wcd938x: codec { + compatible = "qcom,wcd9380-codec"; + #sound-dai-cells = <1>; + reset-gpios = <&tlmm 32 0>; + vdd-buck-supply = <&vreg_s4a_1p8>; + vdd-rxtx-supply = <&vreg_s4a_1p8>; + vdd-io-supply = <&vreg_s4a_1p8>; + vdd-mic-bias-supply = <&vreg_bob>; + qcom,micbias1-microvolt = <1800000>; + qcom,micbias2-microvolt = <1800000>; + qcom,micbias3-microvolt = <1800000>; + qcom,micbias4-microvolt = <1800000>; + qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; + qcom,mbhc-headset-vthreshold-microvolt = <1700000>; + qcom,mbhc-headphone-vthreshold-microvolt = <50000>; + qcom,rx-device = <&wcd_rx>; + qcom,tx-device = <&wcd_tx>; + }; }; &adsp { @@ -627,27 +646,6 @@ &slpi { firmware-name = "qcom/sm8250/slpi.mbn"; }; -&soc { - wcd938x: codec { - compatible = "qcom,wcd9380-codec"; - #sound-dai-cells = <1>; - reset-gpios = <&tlmm 32 0>; - vdd-buck-supply = <&vreg_s4a_1p8>; - vdd-rxtx-supply = <&vreg_s4a_1p8>; - vdd-io-supply = <&vreg_s4a_1p8>; - vdd-mic-bias-supply = <&vreg_bob>; - qcom,micbias1-microvolt = <1800000>; - qcom,micbias2-microvolt = <1800000>; - qcom,micbias3-microvolt = <1800000>; - qcom,micbias4-microvolt = <1800000>; - qcom,mbhc-buttons-vthreshold-microvolt = <75000 150000 237000 500000 500000 500000 500000 500000>; - qcom,mbhc-headset-vthreshold-microvolt = <1700000>; - qcom,mbhc-headphone-vthreshold-microvolt = <50000>; - qcom,rx-device = <&wcd_rx>; - qcom,tx-device = <&wcd_tx>; - }; -}; - &sound { compatible = "qcom,sm8250-sndcard"; model = "SM8250-MTP-WCD9380-WSA8810-VA-DMIC"; From patchwork Mon Mar 28 14:30:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12793694 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E0F2C43217 for ; Mon, 28 Mar 2022 14:31:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243887AbiC1OdL (ORCPT ); Mon, 28 Mar 2022 10:33:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243962AbiC1Ocw (ORCPT ); Mon, 28 Mar 2022 10:32:52 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 617264507E; Mon, 28 Mar 2022 07:31:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3B78AB81128; Mon, 28 Mar 2022 14:31:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FE9DC34100; Mon, 28 Mar 2022 14:31:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648477862; bh=//n+xEkhJPFZ3pDSmeYVZ+8oCvxqPp7Y/VAsuX6T7Uw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H1QnMx4ho6mODSnFYKL4rdh0Z9lLg2WPpQ+dXzqM+VPJss6yBBqxHwAGf0GQK74d4 gKj+uUO01acCOVk2+STqTKHbDY7bzzSwQuHiA93NwVuBDphlJCGXT/2nF+3umimHUU yMoVm8pyW621YGWBUo/1yPm14Zu+hJmii3UktotUfXUdbR+JMDnIjDTyfXf32ZYRSe tSm1VStef2FEWeYu6hkvlHhhel6g06em0+n2oOkjyAsu1oLoTdaH67wPpfSP2G4T3q fXPRpqlexzQhQDtZQgA1uezkya8F4g7p8MX4vtuXFf0sbDeECBj3NG7IudSKhcBi5T lR7PCJ+o5UNlw== From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Rob Herring , Andy Gross , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/6] arm64: dts: qcom: sm8250: remove address cells from dsi nodes Date: Mon, 28 Mar 2022 20:00:35 +0530 Message-Id: <20220328143035.519909-7-vkoul@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220328143035.519909-1-vkoul@kernel.org> References: <20220328143035.519909-1-vkoul@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The child of dsi nodes do not have unit address, this causes warnings: arch/arm64/boot/dts/qcom/sm8250.dtsi:3249.22-3301.6: Warning (avoid_unnecessary_addr_size): /soc@0/mdss@ae00000/dsi@ae94000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property arch/arm64/boot/dts/qcom/sm8250.dtsi:3322.22-3374.6: Warning (avoid_unnecessary_addr_size): /soc@0/mdss@ae00000/dsi@ae96000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property So remove #address-cells/#size-cells for dsi nodes. Signed-off-by: Vinod Koul Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index fb94b342f2d1..a76089ebf9ca 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -3275,9 +3275,6 @@ dsi0: dsi@ae94000 { status = "disabled"; - #address-cells = <1>; - #size-cells = <0>; - ports { #address-cells = <1>; #size-cells = <0>; @@ -3348,9 +3345,6 @@ dsi1: dsi@ae96000 { status = "disabled"; - #address-cells = <1>; - #size-cells = <0>; - ports { #address-cells = <1>; #size-cells = <0>;