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: 153070 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3087925vqb; Sun, 15 Oct 2023 13:26:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGwTKygZUGxCgwt1Hpuv+UsQfTgcmrn4ilg2B095NtY4NoLUMGEnAnJdHSIm0peHi/mSkwW X-Received: by 2002:a05:6a20:3d04:b0:13d:d5bd:758f with SMTP id y4-20020a056a203d0400b0013dd5bd758fmr40245604pzi.6.1697401595752; Sun, 15 Oct 2023 13:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697401595; cv=none; d=google.com; s=arc-20160816; b=LTUq+NWoKc/yymzn7A8/PRBHFfnVHgmBxMOfEqxJ/5fFccO4KFfDSkyLwY6yWp7LWC kzY3mzYLaJ9YM/w7NylBbMXQCYGbF6Cs6V4u1CiUkBuXQFPXHTHq1RnOD3SxwSSkU79j LEj8YY+2Nju5OnjHb1o592WcUJzh5Nr8L806rXhDq9vLPiDzXCBcC4AgOHB8if//wSkd w8ycLYHlpG0s8gUCButnvcNrZPhAzt8DIo40eoYk6SXdu2yfT07HOSgcGI+jCENZhxN4 n/NSdgLqJWoPIiEsGReUSZqUkLdiAFLR9U2IB3f+sEYwVKffuGbPlUe/kvMQpqM/I6nO DWpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=YF/unxQM/wtuU7caKLeZaFWNoiyWF8Jv+zh1NPileuk=; fh=rSFdVjeHOpLchEnZwQw2X9nJEgNS/Y9JNZLx42s16JY=; b=XaDJxphUXNcDrXwUJ46qwTTeXGFFTOer17CD9EfGkQJ9k+/FelWMOn3wLZqw0OOfdW 8IXCNGI9d/1w3kZKEjo2hsbs26Kx92jiBHlfuIBgP4ICNLjtE1a4JS6ZDI9W4RkLVJ7Y yvewnY7uKhAJQsxvRtA3X5N3mtw/F/f4pVX+Iqeydj+TXcr1ewHiknloYVB5+Ho0mlTW T3Batgkx939abbfQIVXIFXC4SNTy8TBfn8DKeb7SoCKsoEFBzFRdKd9V6ASrBuWc3/pB GvM9eVuC5aGt2vSktmyNaJX19Ui0aA9JJYBi8bu4QYaRHS3lXE8atYpSB8vmjAP2LPJZ nw9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=avpSesLl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id bg26-20020a056a02011a00b005b065bb6822si4245725pgb.286.2023.10.15.13.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 13:26:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=avpSesLl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 9F79480BE7CB; Sun, 15 Oct 2023 13:26:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230460AbjJOU0U (ORCPT + 19 others); Sun, 15 Oct 2023 16:26:20 -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 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sun, 15 Oct 2023 13:26:33 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779854575337885850 X-GMAIL-MSGID: 1779854575337885850 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: 153071 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3087956vqb; Sun, 15 Oct 2023 13:26:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF2GMRDGHwtdqFwpHbCX8mVyhwyI9LHmSUGceSkw2Hrt/i96yaEN6bcLlfzqajWmyrCTLVx X-Received: by 2002:a05:6a20:a123:b0:13f:65ca:52a2 with SMTP id q35-20020a056a20a12300b0013f65ca52a2mr36318920pzk.5.1697401601140; Sun, 15 Oct 2023 13:26:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697401601; cv=none; d=google.com; s=arc-20160816; b=p6iKXlouZSNHqu9Q8PZ0cQrPh8ts/08vd7ETqLiUk74JSDLf6x/kk1nGzpSDT+IcZH ZOz4qhfMrYKbzLCfz2LM5oUvcHNpRvRynWUwxCYjiAfiwwzzNWeFAISg75FThxGpx2Y0 NLrFtLtM6c6ige7Ch3Hgj2bVd8thBBr0eR9wle9r0iR54MRlsDSXpuVbjodBkVZ7/wuW nzxWyodIR+c+8ePN/KETzD/sjTAShz0+nkKjFS1Aq5U+jFvk0y5qLyceN9iyh4G2H6Uu H3Kt2XOQY5CrIGXIXX7zaDujeH+p/lJ+rP7GjYoIP/Tztyz3nQiOEF5TR340g1BCGO+T zRNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=2tvMMCQescJ2j/FCVvz96Thf0lK/jBjor/DeNI1uUTY=; fh=rSFdVjeHOpLchEnZwQw2X9nJEgNS/Y9JNZLx42s16JY=; b=ft5IK1QX9ZdYZYr9nroWvH6B7N8wAX4B9LBa4RUvpRrztyWLbA8UxSv9sOoJtSbJ9w EcLZcYmhECuGeR/eaJVxTYicGSGsHKzqIl+uphnNEAaY/bdqCUsGzMz2qYbqTQ/VpQYl K4Hbzkfl3+ltVrDBOixGi1X07rTX8p9q4XytUnk7TcqDfrHN7q3is1GMMwUBlW7Ll8UW f45oPRxgg4z+BUMGDYm8yxRCw9PaD7/Ttu93iVlN2ilTt8oNq7NkwcbsyeDz1AD/8b9/ Fy/Io32DlAN2doJ6VSbruOHFzuQ4xnYaj1V7SLv7Q6XPQpi/NMRLBxy/wj1Qrvv+q/iH jW1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b="Yt/tecon"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id my18-20020a17090b4c9200b0027cff4f35cbsi5149284pjb.73.2023.10.15.13.26.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 13:26:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b="Yt/tecon"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 3F9438043058; Sun, 15 Oct 2023 13:26:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230410AbjJOU0R (ORCPT + 19 others); Sun, 15 Oct 2023 16:26:17 -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 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sun, 15 Oct 2023 13:26:39 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779854581511039457 X-GMAIL-MSGID: 1779854581511039457 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>;