From patchwork Mon Mar 18 09:24:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13595104 Received: from ahti.lucaweiss.eu (ahti.lucaweiss.eu [128.199.32.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 744122C19E; Mon, 18 Mar 2024 09:25:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=128.199.32.197 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710753954; cv=none; b=sMg982V56rpVKEgXoOxIS9uVdZDo2RGygmy5gxd3BUYbII/bDmKCFwQl52wEtoNwDHrBOZl+JrIHHjnL1I5GEkq/NfBfGEvZCR+YML6QjVHHpDEDS9fi9wpkHvU4381GBSTVqvpHC3PrJKGluNJWgfsCZzPPXaiiTBMwVZJTSCU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710753954; c=relaxed/simple; bh=L1UpTSN7UXeC2nV0xnPO/HYkkugB3NgHeKuHDXy2qTY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mYboqvOD9cFA006eMcTsk5ZRUwCSFxoyhfrLuM+Ws5QA9s0di8MY8cChWUYUtOch/XuJFmRgGIa8XbV+scexO0GSasZCBnrPZFTaOUpf0NYS2E10ADz3RRpTEV8lIS011FE12itw5CzDOIHd/gMyeRpIJhmxAjcTsyTEuu9Su1s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz; spf=pass smtp.mailfrom=z3ntu.xyz; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b=F5R/vzhE; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=z3ntu.xyz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="F5R/vzhE" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1710753943; bh=L1UpTSN7UXeC2nV0xnPO/HYkkugB3NgHeKuHDXy2qTY=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=F5R/vzhEu7Gp6WsBWPWDLJRagnVPpcd1ud3t/hz3CzR9sSSIrZpcLaIhIfl8c2c1J WNqlu90/dQ2iaxSA3IR6nKEWLI8zx7iCpf9c05zcPsQQ/bAt6aGq0vuroJLuvIFZNC zmVZKsFKylakyF3RpQ2+g6y/oBZIdo3FDxRK0T9A= From: Luca Weiss Date: Mon, 18 Mar 2024 10:24:41 +0100 Subject: [PATCH 1/2] ARM: dts: qcom: msm8974: Add @0 to memory node name Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240318-msm8974-misc2-v1-1-f71668a2b8cd@z3ntu.xyz> References: <20240318-msm8974-misc2-v1-0-f71668a2b8cd@z3ntu.xyz> In-Reply-To: <20240318-msm8974-misc2-v1-0-f71668a2b8cd@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, 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.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1007; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=L1UpTSN7UXeC2nV0xnPO/HYkkugB3NgHeKuHDXy2qTY=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBl+AiTj8QN5MFTgHjuwUeQxDim5gVwoAn0Em6sH jNQPSdBRfaJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZfgIkwAKCRBy2EO4nU3X VlaYD/wNa6uxkbCok+eZOEKA3UFTsmdHqKiDR3jSgtXT8zZBuhKVRDMUAqEgEpKQlk9R5HfKJMl gKbOm+Fsx4GUzL4+aCPe7/P8OPVJpYosLRGD6pN3H0mtbyKgZo2HGBvhzWhV5NFFnkKhKp8pYPW zqkIkJXw/WTB865ldOzBH8JX7izDhjzUj7CjqcA0wNTHy1zA+2Qgm/rkDkYxBMQA8Lpyca8u3Xb mO7qlEBuHvzOWFHaOkaIyV2/AuBmPrgYYTwyUBcH4yJkANpqURn70uYbgtakX3mKntrB7vgbpZF rqfcEeh5/9tD5i7kolgvjkwfZPgU7rqvUlNwDfY6mnTRamxM3A0ww2nBqu2q1YIQUacmTK06Nwf jQ9v+AxJld8piVs8VWxNO71K+oYOGqOK1Yr0p73+PFAOqLaAbZlVSVv2mw4AP/Nz9+i8M3w4sXU cfr8O/wE4CWbW8Edg9+vyzrHb/UhqB5EbQOPgCdT++4rGmSzSfk1Vhn3fwfh7f+pRmbQIEM9ra+ lJnHqMmAr14hByZHkk50lzQImGj1dsns8cfzUl4/DSUkX+CG6vK/0eBDsSbdIDPDtnTxqFNJkXK Vp4BIg41DBivbDIDerlgjLgO4UyKGaQtlxZtVohhPgR6aherx7KerYw8ICFsSoqBt/JxcKZKg56 VLgzP9gtfWZ4uEg== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD Add the @0 from reg to the node name, so that both dtc warning and dt validation failure get resolved. arch/arm/boot/dts/qcom/qcom-msm8974.dtsi:106.9-109.4: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name [..]/arch/arm/boot/dts/qcom/qcom-msm8974pro-fairphone-fp2.dtb: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 0]]} from schema $id: http://devicetree.org/schemas/root-node.yaml# Signed-off-by: Luca Weiss Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom/qcom-msm8974.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi index 5efc38d712cc..00c6526a525d 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi @@ -103,7 +103,7 @@ scm { }; }; - memory { + memory@0 { device_type = "memory"; reg = <0x0 0x0>; }; From patchwork Mon Mar 18 09:24:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13595103 Received: from ahti.lucaweiss.eu (ahti.lucaweiss.eu [128.199.32.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 743DE2C198; Mon, 18 Mar 2024 09:25:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=128.199.32.197 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710753953; cv=none; b=UqJ2H/sMuUz0TSRLz7eAl4TEJ/sSnTpe7+2rM1DjaCgFQMKSoX1C9cgL/EK+2Q8yEGpWBj7kLisRuPEgOqQ6T39lx3klwgR0j4EWKjHCg9/raDyzfQZPkV1urUTRo5DSlRHfnGG/BPf6+r2TPCxSA22ciBqLgOmQ0HGuAm0GKhI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710753953; c=relaxed/simple; bh=v8NmZif2R7NfoK244LBSsq4XH52XXW2UnbBNF5FTHx8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PJPb6Mk9qJ4kvXHUtJpXDog6fbCyccxxOKM0vT6Kn5jupUrADUFBzcSvlr/paDWqcsGfFJkqGO35rVbas6Fjzr3cFHWThB3GlN8d1kQ4p3FRLT/FeINFWsXntL7NKtCqVX3zvj088baGCcZ08KtqpwoKIIVVU/r1do1Pdh6UX7U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz; spf=pass smtp.mailfrom=z3ntu.xyz; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b=mNVP9oTM; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=z3ntu.xyz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="mNVP9oTM" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1710753943; bh=v8NmZif2R7NfoK244LBSsq4XH52XXW2UnbBNF5FTHx8=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=mNVP9oTMJW0588rpFVwDMwewLQRvgkmCRYf2zhbiMmfOhz/CqgS7vhwKV+R0gIyPs cwhDmTdx9JhBH/8lc71dEGvj1SxhlIVTbWN2RYzh+bzo7jRsRlHmA4b/IRWhL69emF X7tHjrUf/A++FEmvV4DLnkhrcwGnVGQStZ6DzTfM= From: Luca Weiss Date: Mon, 18 Mar 2024 10:24:42 +0100 Subject: [PATCH 2/2] ARM: dts: qcom: msm8974: Add empty chosen node Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240318-msm8974-misc2-v1-2-f71668a2b8cd@z3ntu.xyz> References: <20240318-msm8974-misc2-v1-0-f71668a2b8cd@z3ntu.xyz> In-Reply-To: <20240318-msm8974-misc2-v1-0-f71668a2b8cd@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, 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.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=724; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=v8NmZif2R7NfoK244LBSsq4XH52XXW2UnbBNF5FTHx8=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBl+AiU6Rkw0NUtnd2ygfeKy5xsemyakGvlFHUEN /trnj3sjZqJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZfgIlAAKCRBy2EO4nU3X VvyTD/4wH3F8w414Kd8a/hJEpcrI6e3HWXExzCXSsE1Cftt1AS/qM4GgxwfY6OBaS0R7NYbEm39 phJ3vd1ScS6IzdzymPPvLiTkuliqFkfEcDKn/Bslhv+VqK9Z+bRVTTC+jqNnfTKq0sARNFOb8/O iXqUDL0FZKZ7OJPhVHmu46XF3D0EL3QsOA46YxVJ4cHsSyUJNFv4CNA7A4hn9uyteTceuaIa1pe KmcYlNq7LmjmD0OmUF04+wbiUAHBC3KhMzmZwlB98xU0u5KpsVy0vcY5X23rGc752JVNlVFwdUw 2uXrltT7Xb5KB1G+HYGZZXnP4IWauvuE9tcYB8Lwuejfqe3jNaB0812jqGTNJ7z4yUidUkKnaTr 8j4KTfWjbtV2Ln6yZiAsTxCThU70869JqFKryHyq3YBhduwyzToC3RXD/eNO3L05MqIFf6Up5AN /d+3s5qWHClwFj1ZJbqZIVgUJrNGSg6y+K2wz0zulFQH6o7zd63l+kplrmuT0CBGVExs/I6J2rm A9Ya4zo+keyV3AIJ/du4lGR7I6RS0bx+cQiFua0E4I6NkQpDbZwyQWr2d7HD4TxLUMzc+Su9l17 LFk/H+/qIEMU/Ktvbfycm5rMPxGuRhSa3JkKxAC8KHQ6/x3ao+ROkgOwUHPaL+4ezNTOE3TbDc2 mOY/yYY+plZ8Pvw== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD Add an empty /chosen node to the dtsi like is common on most other Qualcomm SoC files, so that various pieces of software expecting this node to exist don't complain. Signed-off-by: Luca Weiss Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom/qcom-msm8974.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi index 00c6526a525d..2ec4ec4e5d2a 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi @@ -14,6 +14,8 @@ / { #size-cells = <1>; interrupt-parent = <&intc>; + chosen { }; + clocks { xo_board: xo_board { compatible = "fixed-clock";