From nobody Wed Feb 5 21:51:53 2025 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 9FBF31DE4F9 for ; Thu, 16 Jan 2025 14:01:01 +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=1737036063; cv=none; b=f67utEagWTbk710cOZeWLL1drXXVmmJq+VZl0TQhksqHuCWLo+goj7Gx3wjesLXTHNTBz5shJYABeWi0Y39lTbzNJE5V3hXXCXNKJV/KdfYy0lAPjrHrBvFT1QN7q0aINlh+cFWFRyk24RYQ5Zk4bHRYTgwumiKipIDq3S/1XGA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737036063; c=relaxed/simple; bh=uQ6Bg5/6V5Dq9OSmE8te0C3SbDjnup2vFnjKFigEBUI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pkn18ZlyIs2lwB9TPmw6CfGUosxKX9dkYSf1X+8CTQVNQTO7SdlUP4iwkp7P4Qwnex5Xtz3DmoCzlXD5xljPYnY7Qi6qalN3SnQ0xHWYFTYi+VQpV8wKaHrgd44gkqPM/nXVtEFEuXE4DXzeRYwzHQnLgsoSjzjX3qW/D9nAtFI= 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=Tsw/gp0Q; arc=none smtp.client-ip=209.85.221.48 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="Tsw/gp0Q" Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-38633b5dbcfso1024611f8f.2 for ; Thu, 16 Jan 2025 06:01:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737036060; x=1737640860; 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=ZIm25PmeAZOAYMgQVdnUOumJT9enCa4+yPDMgOnkhGU=; b=Tsw/gp0Qxab3KqB7imCaJZ8N00bJ4gTrOLrMZ9ZVlmrSz5Uo+mnjONfA5xeSOjV41J uqR42XydkFcP7l+x0YCYaKgV3YuVyr9SU/ebVfoi9V3e52E9hgXquTs/9fwKbkf3eptK 3jXNDd/JdrFx+vUGxgO0bSYH/tjUcSRZajTSbfCQYvW9sytvxXM8XLsB0bk0fmrdUiK+ CyE9S3UcnvKWr1oQBx/tLY6cRVZbfT+XB86UMFQLtCP3ireDVbOntc5+OfF2p8FcQm2V g48+8qV6U+EqxTrM61byRuCcuIhegszS708MfPXbspG5C9A2dFNyssodPXVKJ/suU37q K0Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737036060; x=1737640860; 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=ZIm25PmeAZOAYMgQVdnUOumJT9enCa4+yPDMgOnkhGU=; b=WN/aHoh2jenRW8cD/hBpin58ofuyWpPpM7VdDwIuvqJPvTKrddFy21P4V7B8/hH9OP KP+JtPbzUkxVanei6S++BHuCUKRhNfx/YUm2PjS0Ex+uoSXLNYzy69gIG388UBHsjSd1 wge84gkD3DNFYFUGvQb/nFZNc4m+EHB/ryrVU7oqZTBEG64i0s+gZVOr2Tu620nLZJa8 41iU5pNdVWnLMvk4XHjyfBv9boIAWorQAgXC8W4sXBbfdCYFWcSHNm4CWl2Hbba1+dnK cjhwcimK2JVK0jFkCs5n5poQahjJ0zLbaORFj/iMrdCqiqtOnoQxD6hvFtKPYNiwKhGU johA== X-Gm-Message-State: AOJu0YxSSkVTKCKd1iB5srxH7xSFsNipcED5goRU0ExmyI2cyU6ovbaK MN9oVyD9YhBVZLYFeBkrlFvyqy6wiyjhsQPV0+dzYzgNX1EUvvyY5ufbP/V5NvI= X-Gm-Gg: ASbGncvjgPNhkzAMpMzy9aaQ6H96NoH8sXN3kt2DKmERBn4JxmSWqpLOewirkm2k64G sRn37DHSrdWJR2vSxuFjbntx1mGENc32DesdMoNrwUufulNhUaTgtKRrA36Sbhn5Z5EP5OEUHpi aj0RmGJDRT0jZ2hYave2QLhZu2NaNs9DNLGwgFdBThyD0EYFp7+SSNQvUH9vQEEDgZvmD39XHw/ XgSAUujdqq1YPQqkOCWT12GNIlOdQ4v29jrKOtGT/SBvbjnWCZXAuaNhqLGUcCYplyT8Bwn8N8s dnLQADez0+srMH6xeULOtnB7zFF9//m7PliF X-Google-Smtp-Source: AGHT+IEO3mG+Bm83EMpGNeFN/Ai638KiKI6Wq7PleUU2fAOUa9hDQU/99f71IsakTNgZI5RVY5hkFA== X-Received: by 2002:a05:6000:2a9:b0:386:43c9:3ac2 with SMTP id ffacd0b85a97d-38a87305311mr18559964f8f.15.1737036058578; Thu, 16 Jan 2025 06:00:58 -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 ffacd0b85a97d-38a8e4c1f2esm20608846f8f.98.2025.01.16.06.00.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2025 06:00:58 -0800 (PST) From: Tudor Ambarus Date: Thu, 16 Jan 2025 14:00:47 +0000 Subject: [PATCH v6 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: <20250116-gs101-acpm-v6-1-e3a2e1a3007c@linaro.org> References: <20250116-gs101-acpm-v6-0-e3a2e1a3007c@linaro.org> In-Reply-To: <20250116-gs101-acpm-v6-0-e3a2e1a3007c@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=1737036057; l=2126; i=tudor.ambarus@linaro.org; s=20241212; h=from:subject:message-id; bh=uQ6Bg5/6V5Dq9OSmE8te0C3SbDjnup2vFnjKFigEBUI=; b=KG6sUTyaRCehZTlKyZ7MYQQEeX/4uKyAT101iEiiV+mspjeG0iwJV4erWBMVMQCn4N+DybEF7 1b9hgLyK7UGDr/gH9I/c9e50PHvhzMtbRlCDfuilda7lqymPFRmG+S1 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..982cb8d62011 --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/google,gs101-acpm-ipc.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0 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.0.rc2.279.g1de40edade-goog