From patchwork Sun Oct 15 20:26:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13422332 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 2113FCDB484 for ; Sun, 15 Oct 2023 20:26:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230401AbjJOU0R (ORCPT ); Sun, 15 Oct 2023 16:26:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230394AbjJOU0L (ORCPT ); Sun, 15 Oct 2023 16:26:11 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EAFBE3; Sun, 15 Oct 2023 13:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1697401566; bh=pdQHKOu9t+/50xiGW2M4xBTmedySUgBgfg2nCpLmelI=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=avpSesLluDv8IXS1K2V6/xdqPoVb73E/fHD2zkbf3pu60duvsd7G7I0mdSEdsHIkM edBBrV8bB9OuqQB7nDBJxSRggwPa4Svf5pQRWFUOmVBV/9mV4ESoTMpPiMtIyqqUAz /J3CB37CKPlyHw7wxgiJZu9nUgZ9nmO7m7fGkR4U= From: Luca Weiss Date: Sun, 15 Oct 2023 22:26:01 +0200 Subject: [PATCH 1/2] arm64: dts: qcom: msm8953: Set initial address for memory MIME-Version: 1.0 Message-Id: <20231015-msm8953-misc-fixes-v1-1-b800deca9e46@z3ntu.xyz> References: <20231015-msm8953-misc-fixes-v1-0-b800deca9e46@z3ntu.xyz> In-Reply-To: <20231015-msm8953-misc-fixes-v1-0-b800deca9e46@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=791; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=pdQHKOu9t+/50xiGW2M4xBTmedySUgBgfg2nCpLmelI=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlLErbT6cFv2lgpENb1CvpAMNGXkA0xOmpL3PwX AhKvnHbHheJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZSxK2wAKCRBy2EO4nU3X VkDIEACtyr7+cPw/ykT67wSsZ20DIKwyfwXBPisvzvp/cA3NsGRgqpsgTwegVeqgBp/tQ3RqLtl 2hpjWhtiF4XAIRtl8Zfwc7d0z4QIGg168w147C0KlJbCBaV+T1BQ9tFukp47z8D66AvVkzAHyLu lY+xasEAJ6s5Bi63JDAUgDKK3vbEk/89hOYQXp9oXHPmkTOodIKGFjOKeY4XQ6cE6PvITWfEKTV 9VGSFf8q3QFF4WRJreqF5L3MSPkP1J6HokhAuir6Qt4b/HloqVs2baCqXdX0LgaJ+rVkb5EBblA oVmJy+xwgQYXzIOOcU4tC+RaetQtDzalgu1klocs6v4uQBZaVmcbjKXnHIKQuILgGMNspaYMYVO MFIZElkRWxC8FKI4KqFzOFxkdd6/8yTcup7dKS1010r6VgkzUqma5ESCyHt9VTLREZxkwjtCRHu 7XfLj/n1hnFmaCEnTd11xFqp/9W5S8z4KqX3pgIcF8AEUZv7DA5I/5xmJRV4yOSVckpuLhXRVpb 5iHqoE8er2XClxPHrIUHNmJey8OuUMAkSdyNoOiUfF8baGwjJrdA3sUN3Bcw0mIhT8O4eSvsmkM uG0o7DihtZ71Qg3gadbTfSmrYGY8L8CX9CRHW/xGTKXQelKyV03fZ6SCkmWZ32fL7d51bCJGsKm OuqqHlsifg0wt6g== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The dtbs_check really doesn't like having memory without reg set. Address this by setting it to 0x10000000 which seems to be the value filled in by the bootloader. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi index e7de7632669a..a3ba24ca599b 100644 --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi @@ -174,10 +174,10 @@ scm: scm { }; }; - memory { + memory@10000000 { device_type = "memory"; /* We expect the bootloader to fill in the reg */ - reg = <0 0 0 0>; + reg = <0 0x10000000 0 0>; }; pmu { From patchwork Sun Oct 15 20:26:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13422331 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 AE218CDB482 for ; Sun, 15 Oct 2023 20:26:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230261AbjJOU0Q (ORCPT ); Sun, 15 Oct 2023 16:26:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230254AbjJOU0L (ORCPT ); Sun, 15 Oct 2023 16:26:11 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEAC0E5; Sun, 15 Oct 2023 13:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1697401566; bh=CRuF/liPUhNN5c5DuAg2ZYTNkQ2T6KZbPNHUyMEfqNY=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=Yt/teconabEkOeHd+bDc4D60MsiL75ISlJ9BYz7poEM9pe9qw44pKEiwo+KklCaq2 sdWYgwzeUedoe5GBIq/u/lXykQTh41/ZEPyMRhuKPj8OqZ0xvH1dVbaeMYDVtmQxe4 CSPHb/7ZNcy2wAOoEDCtzKPHS9Cc1o8dHNrdCTZs= From: Luca Weiss Date: Sun, 15 Oct 2023 22:26:02 +0200 Subject: [PATCH 2/2] arm64: dts: qcom: msm8953: Use non-deprecated qcom,domain in LPASS MIME-Version: 1.0 Message-Id: <20231015-msm8953-misc-fixes-v1-2-b800deca9e46@z3ntu.xyz> References: <20231015-msm8953-misc-fixes-v1-0-b800deca9e46@z3ntu.xyz> In-Reply-To: <20231015-msm8953-misc-fixes-v1-0-b800deca9e46@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=785; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=CRuF/liPUhNN5c5DuAg2ZYTNkQ2T6KZbPNHUyMEfqNY=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlLErcZNnGQ3cULk1wyRP00UnGnFyYR/G1qKmDW c2vbm2K23mJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZSxK3AAKCRBy2EO4nU3X Vo+sEACNhUz/14Pa00iSt33hmZzCXyHRnTgbYeMXkruc7oovQ6qPExI2XPM7zXAaFS+VPWG1hWy T7SWA8629CTNh1wLW9sHPt0k+drDENYzO1Dwhv2gE3CbosprkqIo3ZPZHKaDbUGW1P+YC+iFGtZ qN3C+FUc5XlIJh4NHBIExEp8lLsb58AGrNbSkX3PQiuQ4DEbweiiWphcdZap5HLchlnpcuMNC12 RH7xY8/HDMrTk4TrVC+2fyqKvQJw75vdSOD+XdGo68Og/x5NApDzwLSp6y54plhqIsTt4ToBT94 4L+OPI2ZNPLqH7m6Lm7qsTyfGfzooBRNDr2kjUfLjBzxuJFcwQusVGd6FfjbeEAvGoQxXgK2d/q ZV03XCCj/yybchX+hY8UZ9YLA6knZAYlP2uvAgzsawihitsFlWb3CovcUyzdeAcFihgraMa2DM2 hHo9qcwIKQXDay60DFmzN1AShwFtWWpenRmT/hUqA/1G1TLxpwZ/qlWN46k4sklM3XDw/TX6hFD OGp10RQQWfY0gj7bl/EaGnTkwjGN8DOKQ8JHb7O01R7r3YU1t6sOD+eXr4giNhz8UAwkK/6Ayva fp2pKrpWIH6IpaOdNPRxAaoMB7oo2rgerLKhDvYr+uH9cQNtTXG3V/mrvE5uNjmW0i/fiV7m5Cr tbd0tBb8FwUOziw== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Use the qcom,domain property instead of the deprecated qcom,apr-domain, which in turn also fixes a bunch of dtbs_checks warnings. Signed-off-by: Luca Weiss Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi index a3ba24ca599b..8374f9af8273 100644 --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi @@ -1645,7 +1645,7 @@ smd-edge { apr { compatible = "qcom,apr-v2"; qcom,smd-channels = "apr_audio_svc"; - qcom,apr-domain = ; + qcom,domain = ; #address-cells = <1>; #size-cells = <0>;