From patchwork Wed May 22 12:08:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13670818 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 2E64913D60F for ; Wed, 22 May 2024 12:08:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716379735; cv=none; b=Y5k/FdApMgSPWcbb+Xr4rPQmvHtxfcZgZ45wZI9YV/tZmvVeorIY4WI+KtUxkRtlwg77AZJNLa0sabJaray+0O9E2Vnqc/5LAauoFu97yJs+g5ZmIJGbIkIxdBefbm5d25/LCJbBUaUx4wuU+d7K0uSayfHURjlXwNh8PMO+rfI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716379735; c=relaxed/simple; bh=RPjCHjrXJL7z9RK693TKKJl4YfjsMkhgHOh11xamnQ4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XRkqfWG3fE1S9VnaMgKs/81VelbpMttWtsFT1rkIdjWwxDPJJuZwkfrwgiO+qq2/aA1iwKMDAMgTTuUJr2oh5/ofS0dG64RLgR6vxv6KjDsCP8bhQYk+U5k9Xl+PsF8RCtapZI5FU+aTDjiJhl3MDtlfho3o5BFOwhTZI+QLlm4= 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.45 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 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: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-34de61b7ca4so3181284f8f.2 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=NTAi4L2O3s4HFJbGq4O1kbIlaDMzkUg3a1b3C7tjClLIKwR/hbLNew4pXVD8fv+hII jPhQCytAfLvoW+Gb+bvSa952VuSG6yt3ZA37Priigm8hRBfLWkRgYd0kXEI526PPMLA0 TFXn7riIIWCT5cHX3IAvrPRsNIE1SLrTOq3jzGY4dZAgDC+0mbcY9U11SeLXSvUaLUm5 himMqQ/SNaYPD7KJ1oAcZSMW+mN4N941KrCSbg7NSXAE83jhtLYnNbt5fgyTPFrDRaYg vsy7KuMmltYo82otggeVJm9QoXknQCbHjvOQV3dIUjyCtFryfL7HTQ7NDs91xu8awZ1M fLmw== X-Forwarded-Encrypted: i=1; AJvYcCWfKPehax5a6iuQCyP+UygKQ/dnmuysG4c/JyvIpviQmHnKmIKug4GDqcI+eKf6g92tgrdIn7tKESOjIbkMVH8djAmG0LZu3o8/ZHu3JA== X-Gm-Message-State: AOJu0YxhbEZRehs0lerTorkep8ksI6kOwt8qUMe4WvS8hDVR8dWYBY6y O1vAC5wbjFiCKFHnWesvnOyu2GW3ZIW9wNnMS6xPUj/+3EfgSLpLfZBZP9CHksc= X-Google-Smtp-Source: AGHT+IHAnquNhGaAMrnrMFJ/fibxBPm1pi0lGI2sasIjjQzrn+HzClFh+wtG1T5bNTma7CqjMsHw7A== 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-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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