Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp389383lqp; Wed, 22 May 2024 07:35:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVxrkmXoXBozZAxl8SQoqDwfBjjuNlYogVJEccfyF2JrHpiicayGiYYVeb7EalKLUCIe4RB63zuURfkl9PZS5K87I2mthvq18xpKBvTfQ== X-Google-Smtp-Source: AGHT+IG8heA9KHn4Nl/cD6Q2CrTtiJWCekAe4gS03+QdMOABshHLIyZWkrm4ONVvL584vGr0WMk9 X-Received: by 2002:a17:90b:2c8c:b0:2bd:7135:21a3 with SMTP id 98e67ed59e1d1-2bd9f5c401emr2087932a91.42.1716388542410; Wed, 22 May 2024 07:35:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716388542; cv=pass; d=google.com; s=arc-20160816; b=0cWLqeoipPpTrSYGqVyvq2B+aef2ZL4xCrFQOEHMZ8x//UA1SIP/H7dRfVF2BEkEtd ssw92LHr9P4WZnBvZSIvBvbHuw0CwtGuymCgukt+/Bff20oPUlnaW95k8hNA5HPmXMdn bMjuhbaBQkBlhBiPoqvzrzOykZp6C6IdJbjCWvLWvq+QheZ9UjCmjLWt22IZr7CUAwpu egnf1h2WkWiW/gyt+K1Oq5WoJG7Zu0VJuNOSRMMY39ckBzoX1qoW5GGc2Qcgb67zvPtY cvVAuekV0W0CdpqAFt5mo8UJdhJbtWDKeB/1XhlddAv3Km2y7KqoBSUbJGJgMxHtRdXB Ytkw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=JXj2BSgpva3/F7b4nOWmVs0PJFehoW3SoYyrbVL0fnk=; fh=f6wyz+Ng6v26Rc8fEciSdbCZr9A9wRq6gyjl/kFYTFY=; b=xhutNlJArel51XobOLu7VaYP/dehw2hOEjcuPcOzva7Z6Xsr92iHWhNu2JH+nazxAR paO11X1fHs0VIgJRJlrxRpz4gcWsiUxy0pcTXOkDxWkXfxOmKUoq0CG5BkHn+4rJUqTg 5vt8GlLM6f9+RymBqIC6YQCbXjxPAkApX1AQrtO+XPf/9V3jUNCRCosAVr8PjwcBpqcS Ut6GdpSojWwZrBG4B02Q0RQFIt0jao2brY08bqF1Uce2MIsxW7HAn6rg2kyTuZ/VQEE/ hJpU9lK2/2/6DAqNpoqFnM2u0IS39OUuE7TYHljJHKgk5NNVzT1G/4bPK1vD9qiSOwxh CxrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=t1pQcaNT; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-186193-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186193-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b628fb9ac4si3192680a91.131.2024.05.22.07.35.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 07:35:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186193-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=t1pQcaNT; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-186193-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186193-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E8930284843 for ; Wed, 22 May 2024 12:09:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EFF3213D60F; Wed, 22 May 2024 12:08:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="t1pQcaNT" Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (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 34EE613D610 for ; Wed, 22 May 2024 12:08:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716379734; cv=none; b=DUdYAI+LRNT5FyMYRAbJUDdCjjqKyXZeV5C0a7LAETUnI8IPqdqWq8rU+oS16YCAPl3LeSb6BT7StuTnvS/cgceWDlgXWzrWii3+rarYNgRsFf2/honWN73bXd9PEyb08VTYCORL7ztL4RYk4cYNnvXJXHA/gbAUtRDoNlenC8Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716379734; c=relaxed/simple; bh=RPjCHjrXJL7z9RK693TKKJl4YfjsMkhgHOh11xamnQ4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nBofvDfleW1UIbNjLCxTaoHz9wXYqdqyGixQskt8K9nOhudi2FkogWw6Ng0RgFurK1jyRJlD3IDGjfCqWqvS0DIkMDYwOTvBIvDMXxjB5C7suveh8v1L9Bga0/tJDwG1ED5dYko1rNS9xBu7liert0CEGHwl8+KIPGRQvzff3pw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=t1pQcaNT; arc=none smtp.client-ip=209.85.221.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-34d7d04808bso636441f8f.0 for ; Wed, 22 May 2024 05:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1716379731; x=1716984531; darn=vger.kernel.org; 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=JXj2BSgpva3/F7b4nOWmVs0PJFehoW3SoYyrbVL0fnk=; b=t1pQcaNT4wOuD0mHQJDodRSTXdxmFFN+ftTkQQhsNXcem1+7TJUGdkF09AyQgGHP+t K2k1G6XbkCxWR4Ac7tSbGApySAKCqdB5LhfIh9KBJdeRhRmBxzLlApSiHuNT8iOcQZLR Rs+ln6Fh/+97LbnpTyi1drdXceZoBd+wjNHBM1ST3WK/S9ve0fYU1oPXFX6UAd646o4r Im3Y1Ld/2hsni7LJ6npBEId23ISOq+aG7KIX7hAh9YlyC34BivT6YELquyjVh3nOyUcf vVWaPhf1UhFsg7kHDr+sIEewR3v2We4HPIy1+dKur51emfiOPXsuuMluIQtKG5hbckMR 1INQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716379731; x=1716984531; 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=JXj2BSgpva3/F7b4nOWmVs0PJFehoW3SoYyrbVL0fnk=; b=tmXFMllDjeCxjOk4bx1wFQclrg+H20BcGbZJFBRDrBaKJDhB+KMMRJXxgy4chdeOrA rAB7JmrtPrBJl6wR1nIenf+V40m4UVqgxosu944NDxdq41gGPrfF3nBrQv5i7H8BzfSs qWYqEZFsrk2AebcEO/DaOnGuXOIb7TUyDEl7iEPJjjjysemt4gJv6PjaZWupX13gf2Tp Dw0wAo+T13hMlHgEEyTL5uq6FFe8Fbr3IxUTUTu54NCG7AwCrXiHsZX1pCQcKjJnmL1K KYU8FLjjoz5Dp6VsNtQaRoKtY8JNUdr/u6RIYIu8jCdOw9NTabz06uhFSpVLulqTGBnY rCKA== X-Forwarded-Encrypted: i=1; AJvYcCVlb6GFMNuBAM9THUuru/511Af71kRq61kClgNzqVGFel73erxkk0Sx79mv9xd22/qf3DGP06qnSbcl0HaJf2nrJ3is1JPoJGAle/+X X-Gm-Message-State: AOJu0Yy2ozgsgoas82VIfoKADdgRtMEkH7w8NakD7UQxIdjbOk0Odnnt DIVEgzd9Q3fntKlPfMFsVtaMNQBgZ5OUVzhv9yC1grsNoNQB3t6K0HQtHoSw50g= X-Received: by 2002:a5d:5249:0:b0:34d:95f:c46 with SMTP id ffacd0b85a97d-354d8da3cecmr1433872f8f.59.1716379731429; Wed, 22 May 2024 05:08:51 -0700 (PDT) Received: from [127.0.1.1] ([2a01:cb1d:75a:e000:82c7:3445:3b33:6c0b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-354e720d9afsm999226f8f.113.2024.05.22.05.08.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 05:08:50 -0700 (PDT) From: Bartosz Golaszewski Date: Wed, 22 May 2024 14:08:15 +0200 Subject: [PATCH 1/5] dt-bindings: remoteproc: qcom,sm8550-pas: Document the SA8775p ADSP, CDSP and GPDSP Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240522-topic-lemans-iot-remoteproc-v1-1-af9fab7b27f0@linaro.org> References: <20240522-topic-lemans-iot-remoteproc-v1-0-af9fab7b27f0@linaro.org> In-Reply-To: <20240522-topic-lemans-iot-remoteproc-v1-0-af9fab7b27f0@linaro.org> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , Manivannan Sadhasivam , Jassi Brar Cc: Bartosz Golaszewski , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Tengfei Fan , Srini Kandagatla , Alex Elder X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3883; i=bartosz.golaszewski@linaro.org; h=from:subject:message-id; bh=Z+j1GDs8Yw7fzn43Xu6v4wRH97cvCyllNpW2hoVfktw=; b=owEBbQKS/ZANAwAKARGnLqAUcddyAcsmYgBmTeBQwB6W7aA756bvOzpktEuX/fD/nMvWaAX7H okUpsnGKlKJAjMEAAEKAB0WIQQWnetsC8PEYBPSx58Rpy6gFHHXcgUCZk3gUAAKCRARpy6gFHHX crVEEACvYDkSHNwWOoqw+diQBNsShZYLeKwkN++4vfyz0XV5FMAj2au4kCPzsX8CAFYi1mxWuwh S2p9Hva2rcFgKY25gp7MXopxxYO7VWFrY7MIiXw0gE8qy0n4VZAvJRoETzt/xOrd9BBsshWbw6O 883W09YeQBBNV5zifXM7TRz6k63V5EuDxH0vWgJa0BdAU/Tn3rmHvckj1RbsmhBQVHo9+AMi8xl XJllj7GZs5HU1LvvmlWF3bOhU0cTBg2yvSP7REg7B1LLUy+OZlGZnazQIdKjQLahh8noPl1oU3e nIJ3g3gBK4jloMqaouT1IIfaIEZW+sWTGe0oD6sqziwOhDHCGcqdKJpqkqq3uoRNV/WTcqTmpTT qcpnxpQ7nNVhHhHchAjTAE3N0+5Jck9hgX5Luj8YbvumUGJEzzpCpN3hb9k+Fx+EMmN80wS/rrt Dxv2wmt37rr10qaylwLDTMMXrw1Y65PJjz+0CCf1k26e6dPMtFAf/mHsq3eyWqoERZ6myX4CVq0 oqLVBiPTuMAR6MWLi/xeEuHshBsRU42oeZRDrXy4eC1ve7aMiCrBGRzN9e6a+D3EFaDRflujgKs ul+Ad0OPogXqqtZJJ8p2RWaxoSJjFNsghpFRRIbiEUQDNQvNCg3e88BjN2wrTeb+MxRJWAlo/ZS u05peSQ4vUm3Cbg== X-Developer-Key: i=bartosz.golaszewski@linaro.org; a=openpgp; fpr=169DEB6C0BC3C46013D2C79F11A72EA01471D772 From: Tengfei Fan Document the compatibles for the components used to boot the ADSP, CDSP0, CDSP1, GPDSP0 and GPDSP1 on the SA8775p SoC. Signed-off-by: Tengfei Fan Co-developed-by: Bartosz Golaszewski Signed-off-by: Bartosz Golaszewski --- .../bindings/remoteproc/qcom,sm8550-pas.yaml | 76 +++++++++++++++++++++- 1 file changed, 75 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml index 73fda7565cd1..9d3a862c39e1 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml @@ -16,6 +16,11 @@ description: properties: compatible: enum: + - qcom,sa8775p-adsp-pas + - qcom,sa8775p-cdsp0-pas + - qcom,sa8775p-cdsp1-pas + - qcom,sa8775p-gpdsp0-pas + - qcom,sa8775p-gpdsp1-pas - qcom,sm8550-adsp-pas - qcom,sm8550-cdsp-pas - qcom,sm8550-mpss-pas @@ -44,12 +49,13 @@ properties: firmware-name: $ref: /schemas/types.yaml#/definitions/string-array + minItems: 1 items: - description: Firmware name of the Hexagon core - description: Firmware name of the Hexagon Devicetree memory-region: - minItems: 2 + minItems: 1 items: - description: Memory region for main Firmware authentication - description: Memory region for Devicetree Firmware authentication @@ -81,6 +87,21 @@ allOf: maxItems: 5 memory-region: maxItems: 2 + - if: + properties: + compatible: + enum: + - qcom,sa8775p-adsp-pas + - qcom,sa8775p-cdsp0-pas + - qcom,sa8775p-cdsp1-pas + - qcom,sa8775p-gpdsp0-pas + - qcom,sa8775p-gpdsp1-pas + then: + properties: + interrupts: + maxItems: 5 + interrupt-names: + maxItems: 5 - if: properties: compatible: @@ -128,6 +149,7 @@ allOf: properties: compatible: enum: + - qcom,sa8775p-adsp-pas - qcom,sm8550-adsp-pas - qcom,sm8650-adsp-pas - qcom,x1e80100-adsp-pas @@ -177,6 +199,58 @@ allOf: - const: cx - const: mxc - const: nsp + - if: + properties: + compatible: + enum: + - qcom,sa8775p-cdsp-pas + then: + properties: + power-domains: + items: + - description: CX power domain + - description: MXC power domain + - description: NSP0 power domain + power-domain-names: + items: + - const: cx + - const: mxc + - const: nsp0 + + - if: + properties: + compatible: + enum: + - qcom,sa8775p-cdsp1-pas + then: + properties: + power-domains: + items: + - description: CX power domain + - description: MXC power domain + - description: NSP1 power domain + power-domain-names: + items: + - const: cx + - const: mxc + - const: nsp1 + + - if: + properties: + compatible: + enum: + - qcom,sa8775p-gpdsp0-pas + - qcom,sa8775p-gpdsp1-pas + then: + properties: + power-domains: + items: + - description: CX power domain + - description: MXC power domain + power-domain-names: + items: + - const: cx + - const: mxc unevaluatedProperties: false -- 2.43.0