From patchwork Fri Mar 3 21:58:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64096 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp666291wrd; Fri, 3 Mar 2023 14:56:50 -0800 (PST) X-Google-Smtp-Source: AK7set+U24iRInWDOPTfxUIaSGT6D9VyNqOkadarQQjx3AGsC2iLeYrvdlqHZpAM85+OIZly6Xnd X-Received: by 2002:a17:907:c24c:b0:8af:2b57:b80f with SMTP id tj12-20020a170907c24c00b008af2b57b80fmr3560644ejc.55.1677884210599; Fri, 03 Mar 2023 14:56:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677884210; cv=none; d=google.com; s=arc-20160816; b=XWAwwSQQNfoGfaPxvOdOaroGCoPsoMXSUshZG9oCODqKiOXwnw7sOSWdS03PSYmgnZ iE22aVpIov1vrJfy7QaMS52+jgB7bQW0WmRjBAEmVR+gJBMMSX4YuBGgttXAcJxlQuTP rDdmqQUYmPPGB5nC9CPMHVQgrsn+KY9tR1Qr8doyH3MieDrzLw8cQm+klTw3tof2wEse zDyWNevUXpCHmIE0UYaMf18riJ3FZwbXn1nMrI6+Oyd6kkgKcbeYUU8UMCrPSuDBTcd1 NtcQlerP36sVFSo6miRZeiRPJZu85FA545doSiLGlAxO8ijZblSfAb7tAS4B42kzHyW0 nmhA== 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=N802Fr0mvYVFoYKvgL4Iscqjub6mN4UuWcVLOyObAeQ=; b=BtCNkl5e7NPeVoNPfrZvoya6iPdPlrI/QFdC6BWh7xPy/UObC6UVI69alX0vXbwg4W SaJaHxYo+tegmw/7cp3g2maOQ88kmGjFKkPuxyohYSGO6znvGIWWzLCtBPasOuKSAOTD z00Ab3arQsBCORejfv07SSZmVR5uv3r3AHo3Ily6NnRXasV0rY+wzMUWKHRRAPTqhF7l NxNMrm+zWzBwYPe2ZaDzah5lLHCFNUv0eFV7PDqyh3F/+o95okZMGixb+0aJGlZeGt1N 7IuWEBAyDdM00BTP6CEo9TsjRcVQlnTVmflcHB301TGLva3MVOtSCE4bgqJFQWzJPssV tGnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=znAGlO4M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xh2-20020a170906da8200b008b1785971e2si844395ejb.33.2023.03.03.14.56.24; Fri, 03 Mar 2023 14:56:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=znAGlO4M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232851AbjCCWjk (ORCPT + 99 others); Fri, 3 Mar 2023 17:39:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233660AbjCCWjS (ORCPT ); Fri, 3 Mar 2023 17:39:18 -0500 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0817A5FCB for ; Fri, 3 Mar 2023 14:38:04 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id g3so16266128eda.1 for ; Fri, 03 Mar 2023 14:38:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677883022; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=N802Fr0mvYVFoYKvgL4Iscqjub6mN4UuWcVLOyObAeQ=; b=znAGlO4MxPeMGfb8PAHbhbaUbiyoJMuhDNRIB8xYV3yiFdEXG3QSN2ewwBj0yGdQzq 1bemQmBzoOAUmH7W+WydtH7k+aPfDX8TGN/3qcARvsTDv4QzjLdIXQtVpgBhd07sXDo0 IJ43RuEwk5SVqSSZzfZqkLwPsgmglLbT5Ry/BRZ5eyDqSIxvRmuKY3UgTt5V5/OOAFRI IydmbCiYTEFr9MYGpd75xDRty5jRADOiH4orKPo1n7lJj5K4wVpKcMCn1x7j47ZHZPBy UomariLa70tbpWKCbJ/15M3qrr6/30SesP8kFazRDT4E9JeKcRbuJZOqTvKXQ3fEtRhi v6Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677883022; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=N802Fr0mvYVFoYKvgL4Iscqjub6mN4UuWcVLOyObAeQ=; b=GidSNXnHx2CjZ/tJPk5i2uj7fWfezhaK4BTXdKSE5J5sqle9+7sc5OYoK1roWxjEAO bNjE5V3dKJIAQBSjq7YoCJqx5k8ZZvZyRndmqyWM+XODzKAK8TWvzotZBkPmRrP58bOD BmAdrr4hkgJEXIUQcDFXj+baZHjmbGmlg2rRhwSbJscUqVqKhfZiAVCv63jRO4d5cFnp m91LZ0Te6hLDszvyjcdGyM/ocd4U3hC5056mgDmW3LujGBWnd2nI2mKSQVmUIhBwVmg5 czvsaklllNMuFZceqGtuz0dcH/2W+Tv6+SkYcB66XV4D1ij9/3RSyfFE/pgwfaCVPmaM EcVQ== X-Gm-Message-State: AO0yUKXNyvXN6EVIr+/9oZ+WqqojEctJK6BPENdqC9wX8hV7HzPAj+PK MYywHr7Q2JEn7Xv5JPmEbvqTo19A6iG1OWF0Vj4= X-Received: by 2002:ac2:4462:0:b0:4b5:8f03:a2bc with SMTP id y2-20020ac24462000000b004b58f03a2bcmr921031lfl.9.1677880698708; Fri, 03 Mar 2023 13:58:18 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004cafa01ebbfsm552670lfn.101.2023.03.03.13.58.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 13:58:18 -0800 (PST) From: Konrad Dybcio Date: Fri, 03 Mar 2023 22:58:05 +0100 Subject: [PATCH 05/15] arm64: dts: qcom: sm6375: Add IMEM MIME-Version: 1.0 Message-Id: <20230303-topic-sm6375_features0_dts-v1-5-8c8d94fba6f0@linaro.org> References: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> In-Reply-To: <20230303-topic-sm6375_features0_dts-v1-0-8c8d94fba6f0@linaro.org> To: Amit Kucheria , Thara Gopinath , Andy Gross , Bjorn Andersson , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Rob Herring , Krzysztof Kozlowski , Georgi Djakov , Sibi Sankar Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677880689; l=952; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=XeByskUh4IJy5GUSRGVEOURhAeiNtSqMfR5ebBA6Oes=; b=4BGCWuRt4pHZDEFG5NnlENa82CtqJNl0M7IwD7B0smCe7QLF2yvSlwkP01BJ7lIgUrn6TL3n7+R7 Yqfs45A3AJM1sn6WX5CatJztLRKbi85YddngzJDzDLOMdYW9lsNU X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759389113878564189?= X-GMAIL-MSGID: =?utf-8?q?1759389113878564189?= Add a node for the IMEM block on SM6375. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index de5882c0ff81..5a0abb7f7124 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -1233,6 +1233,20 @@ IPCC_MPROC_SIGNAL_GLINK_QMP }; }; + sram@c125000 { + compatible = "qcom,sm6375-imem", "syscon", "simple-mfd"; + reg = <0 0x0c125000 0 0x1000>; + ranges = <0 0 0x0c125000 0x1000>; + + #address-cells = <1>; + #size-cells = <1>; + + pil-reloc@94c { + compatible = "qcom,pil-reloc-info"; + reg = <0x94c 0xc8>; + }; + }; + apps_smmu: iommu@c600000 { compatible = "qcom,sm6375-smmu-500", "arm,mmu-500"; reg = <0 0x0c600000 0 0x100000>;