From patchwork Fri Nov 22 08:56:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13882889 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 4457B1BD519 for ; Fri, 22 Nov 2024 08:56:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732265792; cv=none; b=JWuvlb2Q9tah2Fcrp0bQuOEI2bVgmDZYQoE+ZiNWC85hjXpQSedZZ6m1CT0dYuPs8sIf+Yuk5lmlHyFmt2v2FqODohY9j4nPFu5ga9Sn35mdUvKhPLe2wRKUhgDo8NzKG9ne/nGGf3jwgszeHd6Y/WCH04xqiuzNQBp7DBFSERw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732265792; c=relaxed/simple; bh=F2koBmdyZubej7GEO1XyX3Sem/GjeTvvmVNiCWXNQWM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=p3L2ZZqOxqTTwYAbAkNFbwEpk9/NWeUSET81zbspkkx2fMq0xXbgPSOaYG5IYuEoR8mybZ6H1eF30S9nHvy74EHYmEGHzY2MpNHnP9n+TOLheuCDJ0zmR8wxxPqBe22LiXn/oZLw6IshjKbjGLDV9vOSWuu3LHx5VuRluVU763g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=X3cWRFAX; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="X3cWRFAX" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4315855ec58so2763225e9.2 for ; Fri, 22 Nov 2024 00:56:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732265788; x=1732870588; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0q24aZj5UoB/3iOB1xFJKIgPYCub+iJrpgUz3sRy/lk=; b=X3cWRFAX4s2kf17Eb+7UlG9hryuG1h92NW9AOlFhHMdXc19Hrc4iJCxF5AOvgbfDh2 qo8fzR1pm/4YVgEkKCyjwzev9x5iEL0H1cSrFihtKfaBDMo2S9vq96ussZhwp9Qsq1i6 oxovcppug+BS0zt0M1Qg01X1qhMHRUqwSYWG89zeAwpntisdFG184ukV71Am6ZkWY4bR LT5MxHZQptv3br9y5INXYfFW2WI8RaHPtApU5IrEYKLVqHatCVLcuKAXa3MIUMD5D85j lRz7uGK7bIa8yWTHL4tdkgoA1Z9Urezkj8l13jzdkK7oqSUZ3tGKDwgsO2qsAJlUHa/a z6+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732265788; x=1732870588; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0q24aZj5UoB/3iOB1xFJKIgPYCub+iJrpgUz3sRy/lk=; b=THNWU5cAGacEd6+q73HqYuUC3yKH44RmWFKlFiMBnSqQ3GOD/7KS0ZQjKa/Ak7GuRj sGcr99RpIfR6sXgHeV7aZx6rYi7jRjgDeilbqyMJPcwuh2F9zHnlDxdbqSh/CrPQ6VdK YUoHaO0VQTa9iGxXEiWmZ1rY6QiedNhl3WmjZ2b93kEmEoawXNVWbUwW2TWKtUrBm49k m4jpAoHot0EMDix1EjxtVOuDMi45x4TQn76AyX6Bc0xtDQ1+cVyd5IFCgU9eUTeBtEo0 tueNOFJFrkpWVYt/WmsRyeNvYZupqA7KMpsHiOV3rKEi03GWsRgXi/svpMc2dFEGilmZ OMSQ== X-Forwarded-Encrypted: i=1; AJvYcCUzCJoCTCqsGD8MGG/bO/vJfCHnNpBYVu7mbwugnojpSZZbyNzBKEUObJ2hCP8hUAP4YT7PgvufURE3alBg@vger.kernel.org X-Gm-Message-State: AOJu0YwfJTdrH6SIANZDPDB07A38IvNVdSaOMprU6CR73LNXYJ9FFdY4 bIoaP6ocB6hTEpq5gB1kCy93zV3JhKV6r2q4MuulV0eeuI+x3UKiLQ3/u/9iA7s= X-Gm-Gg: ASbGncu9QgqPaxU9AsHmXGIZopmU4SNASOy/s5uFwlwKujhkVlMQ4WdboZzSHt491St PW8NqyBKmFhhuE+T26g578ROWg4HwVXs1E+24LxfMKSLOt3shppW2XL10Q24pvHd1RRSNA3wgbI Nd11zcmmVmdSjFB73rmBkxT72h9OjFtyR7D+wo28QDHBRJRflT6fcI9JIBpq4TNEnaf2FTFBTMq KdpgUNoKiYN5rCQmJ33BCsvPaieLAL5x2jgilwEdOOTxWNJJ6t7OMahSK4bW5u7 X-Google-Smtp-Source: AGHT+IHm+ygSxetYz9qzxk45T5z++2uQxDgWuaTPnpb+Sqx9dh7f/s+TWZ+u8q1SsFdpQxAP7j9xVA== X-Received: by 2002:a05:600c:4f84:b0:431:5632:4480 with SMTP id 5b1f17b1804b1-433ce4e76dfmr6350545e9.6.1732265788560; Fri, 22 Nov 2024 00:56:28 -0800 (PST) Received: from krzk-bin.. ([178.197.211.167]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433cde97c68sm20320695e9.36.2024.11.22.00.56.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2024 00:56:27 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] dt-bindings: remoteproc: Add SM8750 MPSS and CDSP Date: Fri, 22 Nov 2024 09:56:22 +0100 Message-ID: <20241122085623.19988-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add remote processor PAS loaders for SM8750 MPSS (modem) and CDSP processors. Both are compatible with earlier SM8650 with minor differences: 1. SM8750 CDSP has one more sixth shutdown interrupt. 2. SM8750 MPSS lacks fifth memory region for Qlink Logging, according to downstream sources. There might be other differences, because the modem currently crashes after starting. Signed-off-by: Krzysztof Kozlowski Acked-by: Conor Dooley --- DTS for both of these will follow up after merge window. Work in progress is available at: https://github.com/krzk/linux/tree/b4/sm8750-audio-part-2 --- .../bindings/remoteproc/qcom,sm8550-pas.yaml | 46 +++++++++++++++++-- 1 file changed, 42 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml index a24cbb61bda7..2dd479cf4821 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml @@ -24,11 +24,15 @@ properties: - qcom,sm8650-adsp-pas - qcom,sm8650-cdsp-pas - qcom,sm8650-mpss-pas + - qcom,sm8750-mpss-pas - qcom,x1e80100-adsp-pas - qcom,x1e80100-cdsp-pas - items: - const: qcom,sm8750-adsp-pas - const: qcom,sm8550-adsp-pas + - items: + - const: qcom,sm8750-cdsp-pas + - const: qcom,sm8650-cdsp-pas reg: maxItems: 1 @@ -114,6 +118,23 @@ allOf: memory-region: minItems: 3 maxItems: 3 + + - if: + properties: + compatible: + contains: + enum: + - qcom,sm8750-cdsp-pas + then: + properties: + interrupts: + maxItems: 6 + interrupt-names: + maxItems: 6 + memory-region: + minItems: 3 + maxItems: 3 + - if: properties: compatible: @@ -144,6 +165,21 @@ allOf: minItems: 5 maxItems: 5 + - if: + properties: + compatible: + enum: + - qcom,sm8750-mpss-pas + then: + properties: + interrupts: + minItems: 6 + interrupt-names: + minItems: 6 + memory-region: + minItems: 4 + maxItems: 4 + - if: properties: compatible: @@ -171,6 +207,7 @@ allOf: - qcom,sdx75-mpss-pas - qcom,sm8550-mpss-pas - qcom,sm8650-mpss-pas + - qcom,sm8750-mpss-pas then: properties: power-domains: @@ -184,10 +221,11 @@ allOf: - if: properties: compatible: - enum: - - qcom,sm8550-cdsp-pas - - qcom,sm8650-cdsp-pas - - qcom,x1e80100-cdsp-pas + contains: + enum: + - qcom,sm8550-cdsp-pas + - qcom,sm8650-cdsp-pas + - qcom,x1e80100-cdsp-pas then: properties: power-domains: