From patchwork Thu Feb 20 15:41:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13984154 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 EF58061FCE for ; Thu, 20 Feb 2025 15:41:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740066099; cv=none; b=b+rNnTk8ZHIvyFUUTY7R0xjNImICdS6Ufz+wo0Qm1hQEhLKYHKzYSnvvEArAkhtPBIyShNBsiuzFxHJAb3d1/mJ4EHC0OruRBXzPR1JpPeYMOxuNfyoFeCbgG6RM/4PqZAv7eFG8/nowGYplzHZqHvEQIyXHTSdHTHpSFg0P2Y4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740066099; c=relaxed/simple; bh=g7tyuwR9gUJihZXDPyoe71VF4DyU1ICECDXXEFnbpOA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CW6Oifja87t/37TWETZrjKoCsVsjFDJo/ZoeTXZEr4dB05LL2tRzak7DGlN2mc5pyko3lHQTHaCDZFKX2UyYqWazop0jyS7Bmc9h81MBzD/NSps/xfisSbZIFWSrtHG0LhdjNrgQgMcoRjZXu09W9p9vx8a5PIeOWRY75CiOnPA= 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=g2cUMLWd; arc=none smtp.client-ip=209.85.208.42 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="g2cUMLWd" Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5dc050e6a9dso204375a12.2 for ; Thu, 20 Feb 2025 07:41:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1740066096; x=1740670896; 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=nEYeQ6GtRcKGrYsaEJZjfB2MCXvU3nNrB1n4nbL63sM=; b=g2cUMLWd4Y3PGRoCatNDfFZ4c0o9WNW5466k1P5MSqA5mvgrRPktrGEwAWc8lVQRrp Szk2TI2hRwPp5xGs4c6U3DXJU7Goh7SVUUz+PoxKa3eMbc1KB9H4vKXj94aVHBIXMAP/ GftQ4Let+em4FB/C70VTNrGwfj3Yv8intocmthWrPhvtO6IwOpSWAqk06UdzOc2r3nqJ xUuaRZNjJDwi1+cevDubw0tSTC+6pOI8IyHMfxVWtlR8NRgjVTfjRigGMcd4i6WxVCzE 7SexP5aFcPqZspPfhAwv4i3QPp4fxK6JhE2ap5F3ZSApP6IlvPXHeOrN5PGxGoKPejov +8cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740066096; x=1740670896; 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=nEYeQ6GtRcKGrYsaEJZjfB2MCXvU3nNrB1n4nbL63sM=; b=RZAlXYGczRx/t+iWAykNSv42BfE1zyCNPaFfF/hcbqk2L9xTXKPCA6+jQRa4JBmJNH nhkQ3nM+U9kjiPMQikGLW8EuJI4OcMLDRnvnj8VCxJW9wRBWVxMUlH8/OUjteXhZVUSF ZAgk1HyA7A17iA+bY4JQLogPSF6BkAlIjC7vWFNsexe2DOv+fXYtFmt4QwnF5pCqpVH6 OAVjE/ttpFic3tFUXFDfdmpYgadg91Um9I0TZXpKuzmragif8onVxcUOLOb1W4cm0T7Z CCNxRhfnXOflG8JlEpCTJJSaC9RiwpGmIoAJ6rfcMAq338B3llddjU7/POyRXnlK0/Kn YnAg== X-Forwarded-Encrypted: i=1; AJvYcCVP2n+5z+gFNBMUfN7pF94heEzqFZ6H7Dirc68tY/UJtvU4xpPphQ2AAoxvft81Fo/AXTspq3KfgI/ZJu5N@vger.kernel.org X-Gm-Message-State: AOJu0YyJZkAeXCTJq/GrGtEpCwQLdrtkTERuKdvfnRUhpbm4dpRKRu8Z h+Mlf7YiNyQCoUA0PTBJfJVMJe3xzKEAKS8XJx1EwqcZScRtnp40Tr4C9u/43/M= X-Gm-Gg: ASbGncuihdcmkqcCnVZmPIgADecK1Pn5gBdDz2DvszGVWM5DHT1HkOMwFhqEtU0oDBN dGSUSIXGqIEQBlUb+2fCkh9D1JUsXK34OnMuOcW+fh1davMe76Ki+bv7vzKdVeYu/1fv1fWufhd qWhyd3q4yLJojledQvsmR9i8TKNuVUkjLxZCYMVQv55v1qiGOyMTGXbhr6SOCJ6ZasbmxpJCU+7 6/A/C0VNGMMHkY0j4+QVwRBj2qZjMHG5paJJwnCY7b4xOAMrW/S5tZTpEhXnDPbWdDzYrrkFJcg mg2JoF4M0up72nkxAp8z4rKleYlZgVYwoAta1oAKAmeG9b4p2/BCNdF4cf/kGPNS X-Google-Smtp-Source: AGHT+IExwKWWZGa3QQuOIsvL9AuraePZZp67jekYfmLrqefoxYMI+vPNlwgRQmppVbQJY0ggaquYhQ== X-Received: by 2002:a05:6402:5246:b0:5d0:d183:cc11 with SMTP id 4fb4d7f45d1cf-5e035ff8110mr7633794a12.2.1740066096180; Thu, 20 Feb 2025 07:41:36 -0800 (PST) Received: from krzk-bin.. (78-11-220-99.static.ip.netia.com.pl. [78.11.220.99]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5dece287c7fsm12097608a12.70.2025.02.20.07.41.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Feb 2025 07:41:35 -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 , Conor Dooley Subject: [RESEND PATCH 1/2] dt-bindings: remoteproc: Add SM8750 MPSS and CDSP Date: Thu, 20 Feb 2025 16:41:31 +0100 Message-ID: <20250220154132.199358-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. Acked-by: Conor Dooley Signed-off-by: Krzysztof Kozlowski --- Resend after some time. --- .../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: