From patchwork Tue Sep 21 15:21:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Gerhold X-Patchwork-Id: 12508031 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97FC4C433F5 for ; Tue, 21 Sep 2021 15:35:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 84C3661186 for ; Tue, 21 Sep 2021 15:35:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233981AbhIUPgi (ORCPT ); Tue, 21 Sep 2021 11:36:38 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.24]:30364 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234125AbhIUPgh (ORCPT ); Tue, 21 Sep 2021 11:36:37 -0400 X-Greylist: delayed 541 seconds by postgrey-1.27 at vger.kernel.org; Tue, 21 Sep 2021 11:36:37 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1632237786; s=strato-dkim-0002; d=gerhold.net; h=Message-Id:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=JqxV/QM2aORH0D35iRMcueybQwkHash0nrd4YqDUGUA=; b=GMvZJ7wnGvEIFPnHPYjkujtqrxLBqK8b4F1ghUNZRtGdb73d4Lf95TTl+ADt6cSM7F Wp1g2gVS0opHWYgt6s0jspwUg2xDg0qbkLGjSPyBNp47QXH8nqDDnQTAaonn0i/waz71 FoqIVpU0HnS2yuyjvhdMF2enMvRH6WvkVEV+rmvhqMfB20RdEzmcm/Pys5A+3coS/e3j NvGSqPlZUDhhgqEPt2TQoVFZgujlg7s4wmjs+BaZI9xIjspC7EFzi1nD7qJuytlLkrdw +n84pFZaLjfOzRLcRyYV8NwfxkOwuqvh2HnHfMQ7T+uLUzWZgEngIYTaxlnKVw99IzCD UnHA== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":P3gBZUipdd93FF5ZZvYFPugejmSTVR2nRPhVORvLd4SsytBXTbAOHjRHIhr2eFOATg==" X-RZG-CLASS-ID: mo00 Received: from droid.. by smtp.strato.de (RZmta 47.33.8 DYNA|AUTH) with ESMTPSA id 301038x8LFN3ARL (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 21 Sep 2021 17:23:03 +0200 (CEST) From: Stephan Gerhold To: Bjorn Andersson Cc: Andy Gross , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Stephan Gerhold Subject: [PATCH 1/3] arm64: dts: qcom: msm8916: Add unit name for /soc node Date: Tue, 21 Sep 2021 17:21:18 +0200 Message-Id: <20210921152120.6710-1-stephan@gerhold.net> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This fixes the following warning when building with W=1: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name Signed-off-by: Stephan Gerhold Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 008b98fe8c6b..5551dba2d5fd 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -414,7 +414,7 @@ wcnss_smsm: wcnss@6 { }; }; - soc: soc { + soc: soc@0 { #address-cells = <1>; #size-cells = <1>; ranges = <0 0 0 0xffffffff>; From patchwork Tue Sep 21 15:21:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Gerhold X-Patchwork-Id: 12508013 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8872FC433FE for ; Tue, 21 Sep 2021 15:23:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 65CAF611ED for ; Tue, 21 Sep 2021 15:23:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234009AbhIUPYj (ORCPT ); Tue, 21 Sep 2021 11:24:39 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.52]:12732 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233295AbhIUPYi (ORCPT ); Tue, 21 Sep 2021 11:24:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1632237787; s=strato-dkim-0002; d=gerhold.net; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=Td19UKq3T0glXNJuIuxRU4USqHAXzFvxdaOhOWmflRg=; b=jA1Mg9KanOKTmAGLq86s31pGXblWz8FO27KOiRsahzgPeRqMd3zs5KSjId/Fz4fdf2 H0/BYdeKxKNUsyPRmXE61RuPssV4qL/BvOT87Th5wAshorEvnc1Qz9la2wq2/mldmhV+ Sj0NaK+AA07XHvIW4nNUDcEJXB1CTzyvHo+SVHv3ERGg7NeMng35/hGP5LYE9f/ZdjkC OFBihgR7vNRak5l6fURhp054j+AC0TvpSujbZ/WhcfroENdjeaYvx3mHKumdKdLgJsKX kcbL/mXYe51mPqSx/H0hTQkhjBpPWJ6U5+2UmyFuTnKhauU2oXUmflIPqyPUzclsIeID rP5A== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":P3gBZUipdd93FF5ZZvYFPugejmSTVR2nRPhVORvLd4SsytBXTbAOHjRHIhr2eFOATg==" X-RZG-CLASS-ID: mo00 Received: from droid.. by smtp.strato.de (RZmta 47.33.8 DYNA|AUTH) with ESMTPSA id 301038x8LFN7ARM (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 21 Sep 2021 17:23:07 +0200 (CEST) From: Stephan Gerhold To: Bjorn Andersson Cc: Andy Gross , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Stephan Gerhold Subject: [PATCH 2/3] arm64: dts: qcom: msm8916: Drop underscore in node name Date: Tue, 21 Sep 2021 17:21:19 +0200 Message-Id: <20210921152120.6710-2-stephan@gerhold.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210921152120.6710-1-stephan@gerhold.net> References: <20210921152120.6710-1-stephan@gerhold.net> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Using underscores in device tree nodes is not very common. Additionally, the _region suffix in "smem_region@..." is not really useful since it's obvious that it describes a reserved memory region. Signed-off-by: Stephan Gerhold --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 5551dba2d5fd..95dea20cde75 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -41,7 +41,7 @@ tz-apps@86000000 { no-map; }; - smem_mem: smem_region@86300000 { + smem_mem: smem@86300000 { reg = <0x0 0x86300000 0x0 0x100000>; no-map; }; From patchwork Tue Sep 21 15:21:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Gerhold X-Patchwork-Id: 12508015 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EFBA3C433EF for ; Tue, 21 Sep 2021 15:23:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DA3BA611ED for ; Tue, 21 Sep 2021 15:23:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232909AbhIUPYj (ORCPT ); Tue, 21 Sep 2021 11:24:39 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.52]:23636 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233837AbhIUPYi (ORCPT ); Tue, 21 Sep 2021 11:24:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1632237787; s=strato-dkim-0002; d=gerhold.net; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=Mn6STB2mKFNw5lkE3KQV6CgCSU0VfjctWesLRX+6DBE=; b=RE33oTpygs0xOUtNx4RhF7qHZs7gCpirkFNKgj4drZ96qExytbSbzU/hBpwiCfytI4 tzzyMFuzsOhUW2+EP1cBEHhffUAHEmBVUrHb8H8wCvxaBU97gIrEhRcHzKfGR4Bd5VPo tpGR1dmzUT0CwN3MTe2DEw6pDkgGOHpDhiC1/3K0488ulgo0F8vs4Gq8TaiQjym5oBMk 0DbH5XYEZPNxH7OF2zEsz0WH49lTOCbqDuB999WeThB65Caq/m6OrD3MZ8jsFKzsP6wJ KVChTpjyWISTMGYjEv7ujOOBnpqE07IU0gfMYM46zL9u51yS6uhk59CeKEjKfL+NbBlo 0hDA== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":P3gBZUipdd93FF5ZZvYFPugejmSTVR2nRPhVORvLd4SsytBXTbAOHjRHIhr2eFOATg==" X-RZG-CLASS-ID: mo00 Received: from droid.. by smtp.strato.de (RZmta 47.33.8 DYNA|AUTH) with ESMTPSA id 301038x8LFN7ARN (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 21 Sep 2021 17:23:07 +0200 (CEST) From: Stephan Gerhold To: Bjorn Andersson Cc: Andy Gross , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Stephan Gerhold Subject: [PATCH 3/3] arm64: dts: qcom: msm8916: Add "qcom,msm8916-sdhci" compatible Date: Tue, 21 Sep 2021 17:21:20 +0200 Message-Id: <20210921152120.6710-3-stephan@gerhold.net> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210921152120.6710-1-stephan@gerhold.net> References: <20210921152120.6710-1-stephan@gerhold.net> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org According to Documentation/devicetree/bindings/mmc/sdhci-msm.txt a SoC specific compatible should be used in addition to the IP version compatible, but for some reason it was never added for MSM8916. Add the "qcom,msm8916-sdhci" compatible additionally to make the device tree match the documented bindings. Signed-off-by: Stephan Gerhold Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 95dea20cde75..5879be0805b6 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -1420,7 +1420,7 @@ lpass_codec: audio-codec@771c000 { }; sdhc_1: sdhci@7824000 { - compatible = "qcom,sdhci-msm-v4"; + compatible = "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4"; reg = <0x07824900 0x11c>, <0x07824000 0x800>; reg-names = "hc_mem", "core_mem"; @@ -1438,7 +1438,7 @@ sdhc_1: sdhci@7824000 { }; sdhc_2: sdhci@7864000 { - compatible = "qcom,sdhci-msm-v4"; + compatible = "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4"; reg = <0x07864900 0x11c>, <0x07864000 0x800>; reg-names = "hc_mem", "core_mem";