From nobody Sun Dec 14 11:55:55 2025 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.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 6048E23F40C for ; Thu, 13 Feb 2025 13:05:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739451920; cv=none; b=i3R2p0JqWMybLAsMQQPKk5L/nJGTvYbkpFykazDPZIvUd3fzVg04P618o6/k+JT3CZIkdSYH3iA2lQEVBPYQGDyprj6HnCypdOguzwPT21ftbNdwKWNI5YC8YUkGIoJgiJNOejwwpTuFSXSM95Knr31EjgQ4YyYq/vK9jSroghE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739451920; c=relaxed/simple; bh=ygfKgwFm02MPjCPY1HixRGigRORpbX7fhEuE+FfQvu4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XmxS+CRB5BznOUmYkVPgyhojCwic7DOkGgIwEoM8UepvbInTXf+o1S71ctPrscyqqupRwBUZy5gxA8uE7Ebq06hKizjR9zr5cB2Kb6008vr97DR1yea+tquqfQ0RHxqEy7/WRZSpxLlb7D7IvOlUO8Ls8wBRskuVOiJit+H2iuI= 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=x9I52c7a; arc=none smtp.client-ip=209.85.128.45 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="x9I52c7a" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4395b367329so5412345e9.3 for ; Thu, 13 Feb 2025 05:05:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739451916; x=1740056716; 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=iDZLTKxxQDiElbpYU/xxls41XiMypbn1c9DwAMmHY20=; b=x9I52c7aXZhpVAfUTJB130E/cUxCl8VYVsarP/2SoMQLzqN4qIzjxKPhZm6JUjmzpv 6BoupP2jeBN9726dMQ85qexfHs7SgMEs3f2wMfUtcAeZmOy3wz1mLVz0jZsR4mcJ/kUP F7iQou6hT076RTlu+YPJjEuk6r8k6K78HtKdp5J8mx2jdq7K74HEcg7YntGVeQtHpE5M ZSLyJAWboSVakFIRC9VCY7Vb+5KQqIeiKP/NYxUP5YF6l+fV4NrGehW6XUOzDMnBKYir gkskuJuZXcUWhudm68RGIIW3geTE0UCdapmSEL6D5nZP1sDz5ix5J0vXJ5sR9DPI4rsw MAJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739451916; x=1740056716; 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=iDZLTKxxQDiElbpYU/xxls41XiMypbn1c9DwAMmHY20=; b=eEMJPSyO2uji3kNSIpaplnXed3Psz0hcj5bspW58L7Tedd0TZFtceh04IHYnS8V4Qe QqSGr7FLIWAIFj1LJjeX0VxaMM90sbmNWaYDS11ZGGwLOAmBvx+iDsHoJ5ChYqne2QFG W1znkrALsdXv1pp9S+7eaZxEHY4vnI47wi+6ts0+PGAH8DmfxcWtCSY3/Y8sJRdxUVzR yug8ppeML2CTo3NuSwt0K854aP9nKKwAkVycUjbazrjZL4GovfNXNwpoHa+uFZYBSaza jqPsOkeB3pTcFlIVf45TpxxPlNTNJw7RZghVgGEfnMug8YGvjT4COmXQ3o+lLTtlkF3f qrXQ== X-Gm-Message-State: AOJu0YzuL1/n8IDjD/XcMqTtcWUNaGl8644FAXxUhAgJgDTMzejdR1i6 c5sS4HMcnB4AvEHAtSrgyGIpyXN1C2zrqtKr72xIZPn4+/7oiWLEcC8tnu26kw8= X-Gm-Gg: ASbGncs2eHh3l5iIYnkZ8mz3YFwvIIipYLslKVCDLkdFIEt6mbPwntU585jfgh2NWXg kPv6SqEGrVhxgXc/LJoDipnOTGu90aR5fThVtVfWmz264il6iUZclKhv21YO1rlHfdtaUSE9HHH Xpa2ncxol6olJzH6HDD94cJ1atDF5Rv2bypUJAQ8FAuViDnreCD8OcQVNlbAQ55ZzjbWfSC3TuR KpNjIKFSntj1erDI75PDvDB/4LXIl17UJIl/xr+/33q1/G0l7srQtGKSDHmESczoj9GAGwBg2U2 M+vD7r4eogsTKx2LO4REfqJi6xQo30CRS7oqCyP8yo4y+5Rl8uF1xED+UMsWfrCGxgM+7ng= X-Google-Smtp-Source: AGHT+IE5WnMtblBw9bIRTim3qtt24a1KeYp9jziJc9822H6YJkG6wfJIr/g5tZ1Z/h2vjMhWRm4IyA== X-Received: by 2002:a05:600c:2309:b0:439:59cf:8e0a with SMTP id 5b1f17b1804b1-439601a11afmr36920925e9.24.1739451916481; Thu, 13 Feb 2025 05:05:16 -0800 (PST) Received: from ta2.c.googlers.com (169.178.77.34.bc.googleusercontent.com. [34.77.178.169]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43961884251sm17004025e9.31.2025.02.13.05.05.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Feb 2025 05:05:16 -0800 (PST) From: Tudor Ambarus Date: Thu, 13 Feb 2025 13:05:14 +0000 Subject: [PATCH v9 1/3] dt-bindings: firmware: add google,gs101-acpm-ipc 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: quoted-printable Message-Id: <20250213-gs101-acpm-v9-1-8b0281b93c8b@linaro.org> References: <20250213-gs101-acpm-v9-0-8b0281b93c8b@linaro.org> In-Reply-To: <20250213-gs101-acpm-v9-0-8b0281b93c8b@linaro.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Krzysztof Kozlowski , Alim Akhtar , Jassi Brar Cc: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, andre.draszik@linaro.org, kernel-team@android.com, willmcvicker@google.com, peter.griffin@linaro.org, daniel.lezcano@linaro.org, vincent.guittot@linaro.org, ulf.hansson@linaro.org, arnd@arndb.de, Tudor Ambarus , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1739451915; l=2127; i=tudor.ambarus@linaro.org; s=20241212; h=from:subject:message-id; bh=ygfKgwFm02MPjCPY1HixRGigRORpbX7fhEuE+FfQvu4=; b=p+BdejU3bp4Gn9o8URtHOIITqvqQBk9qAN4b77rnytls72rwCC5qbe+5PGAN7kGVTb6VHNFUE JOS9Y0RwVIRByzxT/6brrSn8HdcGJjC2twSMQD/8ol6iU9XphUUIK2d X-Developer-Key: i=tudor.ambarus@linaro.org; a=ed25519; pk=uQzE0NXo3dIjeowMTOPCpIiPHEz12IA/MbyzrZVh9WI= Add bindings for the Samsung Exynos ACPM mailbox protocol. Signed-off-by: Tudor Ambarus Reviewed-by: Krzysztof Kozlowski --- .../bindings/firmware/google,gs101-acpm-ipc.yaml | 50 ++++++++++++++++++= ++++ 1 file changed, 50 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/google,gs101-acpm-i= pc.yaml b/Documentation/devicetree/bindings/firmware/google,gs101-acpm-ipc.= yaml new file mode 100644 index 000000000000..2cdad1bbae73 --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/google,gs101-acpm-ipc.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2024 Linaro Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/firmware/google,gs101-acpm-ipc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung Exynos ACPM mailbox protocol + +maintainers: + - Tudor Ambarus + +description: | + ACPM (Alive Clock and Power Manager) is a firmware that operates on the + APM (Active Power Management) module that handles overall power manageme= nt + activities. ACPM and masters regard each other as independent hardware + component and communicate with each other using mailbox messages and + shared memory. + + This binding is intended to define the interface the firmware implementi= ng + ACPM provides for OSPM in the device tree. + +properties: + compatible: + const: google,gs101-acpm-ipc + + mboxes: + maxItems: 1 + + shmem: + description: + List of phandle pointing to the shared memory (SHM) area. The memory + contains channels configuration data and the TX/RX ring buffers that + are used for passing messages to/from the ACPM firmware. + maxItems: 1 + +required: + - compatible + - mboxes + - shmem + +additionalProperties: false + +examples: + - | + power-management { + compatible =3D "google,gs101-acpm-ipc"; + mboxes =3D <&ap2apm_mailbox>; + shmem =3D <&apm_sram>; + }; --=20 2.48.1.502.g6dc24dfdaf-goog