From nobody Wed Dec 17 12:44:23 2025 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 A4B9722A7E0 for ; Thu, 12 Dec 2024 16:00:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734019254; cv=none; b=iwKWgxSw5l4ZpKPAFwRdUcONGyKrc9VjkacD3fUeHXmwlrqcvkOOfo/tjfHjBSPzQ4lT0YD0g7L8TDFVKr5S0zniv2lJY3SKDLiwD4RoyQevZzEHFTU31+VEatxI8oorm623LVGKK755SS1JPq/KxmRSYA1lOGSwbGqVFDK/clQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734019254; c=relaxed/simple; bh=g9Y6c/Lu4XdnwvVgrnVv9tKSFGDPtKMBC9QqU0RCKUw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gDzujXB0fjiLA8XAbz21yAsr6VYa77Jfb/WeNwPGh7o6bGk+bv/62KpK8NnIrKPvvsnWM9ykQo5SM9NCpn3qGlOPiIl1nv9nAMaljK6Ws7Ofg4qDY3UfbvDyTN044zW9WtcBFPtXZfE8/H3vUhY/lVBsh/juoojCm4yFRB9FjCo= 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=U7mg0IcI; arc=none smtp.client-ip=209.85.221.51 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="U7mg0IcI" Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-385de9f789cso603102f8f.2 for ; Thu, 12 Dec 2024 08:00:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734019251; x=1734624051; 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=oL8eR/tz3ZIpCfja0LO2ssPcqKhJCh2en92mW/OWpZE=; b=U7mg0IcIlNEQuvGd21pN2PvtcuyIqrA9uo8oWNG+/N6Kmm/pbOruqIQGLUIdvI/kXE uqrANBIzr5MoAOSJk9HzPn3uCJaC5bkkIXmVR+pjyB4C3oERamdbq8SdgJKa2214HI/p sSnre3MHwvJk3f6xS1FLjCyNZ4HI+uV1w6CGAS1mglImc245szJ5+lpYMUrTdl5ijsHj BO1X57cOUP2rPoGcOi5kwx1w41SHyjeXr9Blajn0J00IVcy6Zp5eaaBfP8ajpQoXwHfy T5CJTnSeSoYO/ivPNqI2t7R7lZbvaNYDi+bgilpdwXHhd2MaBxBID/EJG2JeeBno76AK k4FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734019251; x=1734624051; 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=oL8eR/tz3ZIpCfja0LO2ssPcqKhJCh2en92mW/OWpZE=; b=ExHde7JY6IaG9bYrc4zyjFXNTkvdxm0gMrO8CJW1LLocQpSryxlLUwR+1xFIRD7Rgz H+YG+n1jzyK/pTeo3HQSQsgVUh+N5vJMw+IGmVh4ZQNnMptNdOfnEArI7OtsQGUnIP1C 1GOWSBqY8o8cp5f0EbUdLb/7L+pX1r90ydA6BZs4UBNWYN0+7IE0GZwlsbTKbwwNQVcR 6EQiQmMB38Of8hOyvHnDdBKxe9kftBq1DB3LyZJGKRfk/vA1ga1/lJ2vsi3ilN9oT0kD r6CWRQOb/VTjdDfm5Pi5cMqTWeQKvFpDQKOGNt+0k3zNlpoyEBZRig2S2AZvc/mR/8sI YTlw== X-Forwarded-Encrypted: i=1; AJvYcCVWkgrov+mcDnf/1Uf966n50f6+78q93rp+Slv/8ZTaQejAiCacU26H1xvybomMVFg063ewjx48J7m1kTM=@vger.kernel.org X-Gm-Message-State: AOJu0YzX46f/p/pHYsSQess7z5nKuGCNlLv4AbmcsEwcgVLSseYOPyZf IBfb1cAlN2B58H5+uo0AGfRIl3dTRXzWw4rNs/XM+lKfe+VZSvj5eeHxtRoMBmU= X-Gm-Gg: ASbGncsP3i0i30DUrUhhzOpT98dIItfD9GfKGdOQLlGntulPyz1nuBzqi8iW0Zg52jC dpgDqRRRIOrDn5iwTCt6ETk+XCrvFyPRdRa+Z/mzXItULIoE53ZcZpyzJyIkrTjlehYXycGDfdz K2pPVtSgQn9hEc/H/SOgXn2bfoiyHVl65DRVkRAEbVnf3u2WJC1PFD4Cfs0Vd2kBZqw75e+BaVJ F0j0yzDX/UxTPVfcIKpKbFXf+ScI4LjfsquuHJYhHn/msuznD59l1poXHOUMXtGfyItzolXHgBi loYu3btRbAqVht+dX39/hd/wGGsJDOFPKA== X-Google-Smtp-Source: AGHT+IELIxGohPpZyWs+kDS3Jy7c+lDT9602oSXSeH7EbGUTFSeHBff+tDxvNYOauQEuqumTsB12pg== X-Received: by 2002:a05:6000:186b:b0:386:4a24:1916 with SMTP id ffacd0b85a97d-387877c2690mr3555724f8f.55.1734019248941; Thu, 12 Dec 2024 08:00:48 -0800 (PST) Received: from ta2.c.googlers.com (32.134.38.34.bc.googleusercontent.com. [34.38.134.32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38782514d35sm4462941f8f.74.2024.12.12.08.00.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 08:00:48 -0800 (PST) From: Tudor Ambarus Date: Thu, 12 Dec 2024 16:00:38 +0000 Subject: [PATCH v2 1/4] arm64: dts: exynos: gs101: add SRAM node 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: <20241212-b4-acpm-v4-upstream-dts-v2-1-91b7a6f6d0b0@linaro.org> References: <20241212-b4-acpm-v4-upstream-dts-v2-0-91b7a6f6d0b0@linaro.org> In-Reply-To: <20241212-b4-acpm-v4-upstream-dts-v2-0-91b7a6f6d0b0@linaro.org> To: Peter Griffin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.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 X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1734019247; l=979; i=tudor.ambarus@linaro.org; s=20241212; h=from:subject:message-id; bh=g9Y6c/Lu4XdnwvVgrnVv9tKSFGDPtKMBC9QqU0RCKUw=; b=pe7nkbrj20qSYnrPkOzt+GqPA7lDUyR+IOiNPFAd4WlYXzbH8ZVMKRBtJ2AJ6BEWj54kNiXY8 XhWrSTkps7uBOgZLxbruYT2X/DmIRHZ7qF4C+mnzBjagKE9cPO7q4Im X-Developer-Key: i=tudor.ambarus@linaro.org; a=ed25519; pk=uQzE0NXo3dIjeowMTOPCpIiPHEz12IA/MbyzrZVh9WI= SRAM is used by the ACPM protocol to retrieve the ACPM channels information, which includes the TX/RX rings among other channel configuration data. Add the SRAM node. Signed-off-by: Tudor Ambarus --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot= /dts/exynos/google/gs101.dtsi index 302c5beb224a..1441e9a252c2 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -269,6 +269,14 @@ bldr_log_hist_reserved: bldr-log-hist-reserved@fd90000= 0 { }; }; =20 + apm_sram: sram@2039000 { + compatible =3D "mmio-sram"; + reg =3D <0x0 0x2039000 0x40000>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0x0 0x0 0x2039000 0x40000>; + }; + soc: soc@0 { compatible =3D "simple-bus"; #address-cells =3D <1>; --=20 2.47.0.338.g60cca15819-goog From nobody Wed Dec 17 12:44:23 2025 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 8A77022968F for ; Thu, 12 Dec 2024 16:00:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734019254; cv=none; b=EaDTk0TeFUr/x8LD5zccqnPZMii3V8EWq7pMZ11lX+b2n1zBgUfE9MoMtOPbp8MPfdC/kRIDjWWlumWU22A3meV4/ZvOutJVvHkSywh522YgwuzS3+82U+LbIQn3T0XAf53mbYR3pOSN/hXN/8OEHaZrQSd8KsA1skdCpxQ4TdE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734019254; c=relaxed/simple; bh=ce1gfVKuhMWygYDqna0xFI3vmpwGiIISm4wS0eqE5Rg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PG/JxVl8q1uwtiLXvfIXtVF4MEr3wBRqh7NJo2tc/bB6OlwvSUv8vyiIc/PhruCY6joNcQSh+OoU+xtbFiwuKFizW/62BrS56bM98fj9T9bFVhjEmSsiCrjqAST807Bxbm6PcPnEpswQKPv9Tun0dkbJjjrMP0ekwgn3eb0EgRE= 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=EF2Lt0gc; arc=none smtp.client-ip=209.85.128.43 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="EF2Lt0gc" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-43622354a3eso5788735e9.1 for ; Thu, 12 Dec 2024 08:00:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734019250; x=1734624050; 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=EfTUgwKwfkr0vLqCx00ZTihimy0hbAjeLP+a0GkktMQ=; b=EF2Lt0gcuPETOwvfCnQp63GY0Hy4N6I8GMAwdPKSB5k4Lf9OgbZRd2kBNnwKF5MfpO ou9KCBhXJEWCiOPYOgtym+/KhdXHidjeojz1+/O1eRVon8zmvZysfOB1URQBgTBGaxVn 1KVmZbjMeB1erLHcLYpj+tJgaOpJ11PhWq5BA0eVNHdEqkDGQBc+yqy2skQNkl7L6Gu4 tjI5WN2iftW2QH3i69SeyEer5Q74BcYfkqZQNJwmLp8pFKdPrU2SIGRIOw/SLQDLDk6d NsXOsJoMwVpbkQnhlUANvxTwsXtWzvaicUDyQ2hXBo/GkxBQQfwA328XNzc60OhF3PxA jcug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734019250; x=1734624050; 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=EfTUgwKwfkr0vLqCx00ZTihimy0hbAjeLP+a0GkktMQ=; b=ggNI+QYbL/Mx9ZR1qteht/eLhVFI3sh5EzHU9mXtyBRUusi04IajCtjdS7SucFaL36 hv7vvVTPBv/R4Tu3uBxIaZ8/t76U21dJWQMh8obM//1dbBM8VPaJGGNK7W5NhzGNa1Gn 0DhZ3oLX76LxOi2BEF28Rdi1y4x9TyMsZX8jewZjZCz9kDXu7VrUxF1Q9mWkVQPIkxO5 oMTVtUCq5sZKFcXbbKukb4E8KyH/RP4kT/URpWUQV1d+LiyCIck+Na29WhWmHXsbExNn 28KPSPm0zxBi0HTXDfPsq23AXBiJRRthlgyEurQxFdEPIXIsuJdC3ANLJAaHGO5WHKO/ wUug== X-Forwarded-Encrypted: i=1; AJvYcCWvAOaV3/PpRxkB8mi3QwfnAM7wYbK1tN1lPor7YnzFXwtx6Mmu44ZCK1WAQUdqLfcGkirKila6J0A1GfY=@vger.kernel.org X-Gm-Message-State: AOJu0Yz5p7SartRFHoidbwbXRK1m8V6X1AB9bCkoSx+KerX8bWMqT5y4 5BLC+Ait3AtCex54GGhaDN8CK5Yi7cXEp0p4tKT4SGegp5FRGatbfX/b+BJzvbs= X-Gm-Gg: ASbGnctopYgkBev1Wrf1Edd5rEMk/7I0cg2RUNGQa4vq3O6ImtOklURlAbPwucRdXYU HMO0PdkJBS0F3ux/3+0fE4jw74sdH9214Qf27SKzoxsq/AUGsAY5NTAHxKNJtsN7B0MYCCXVWKl GiHKVJ/OmQOf2N7FXkx5GCibfe/nH1vO6pz0Djn5mU/pBDK6tn4v+YdCojuwYmaT3FOYMxhzUF5 vxw/4O8MrleCkI9TeXp8uxsHxcDONwK6gtXhy/6pFw19sRhG1319EWBXVpzF34FG2gTzOA+t9sB cZbNZFeWq4Gb88Hq544Q1nXd+/cl8CCMxQ== X-Google-Smtp-Source: AGHT+IHBwvhfsHZ7qtV6/yU6ZWxHrw8qGSfTmuFY7zgZ0URfdh6kuYfx9vjB//GYI02tJWakncUFew== X-Received: by 2002:a05:600c:5029:b0:431:44fe:fd9a with SMTP id 5b1f17b1804b1-4361c3e010amr59881015e9.19.1734019249618; Thu, 12 Dec 2024 08:00:49 -0800 (PST) Received: from ta2.c.googlers.com (32.134.38.34.bc.googleusercontent.com. [34.38.134.32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38782514d35sm4462941f8f.74.2024.12.12.08.00.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 08:00:49 -0800 (PST) From: Tudor Ambarus Date: Thu, 12 Dec 2024 16:00:39 +0000 Subject: [PATCH v2 2/4] arm64: dts: exynos: gs101: add AP to APM mailbox node 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: <20241212-b4-acpm-v4-upstream-dts-v2-2-91b7a6f6d0b0@linaro.org> References: <20241212-b4-acpm-v4-upstream-dts-v2-0-91b7a6f6d0b0@linaro.org> In-Reply-To: <20241212-b4-acpm-v4-upstream-dts-v2-0-91b7a6f6d0b0@linaro.org> To: Peter Griffin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.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 X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1734019247; l=1282; i=tudor.ambarus@linaro.org; s=20241212; h=from:subject:message-id; bh=ce1gfVKuhMWygYDqna0xFI3vmpwGiIISm4wS0eqE5Rg=; b=yKRS1dg8qQ9WdVmW4a6Zg6eAYV4MUjEMRK91aEUmMZbQw2ZHkn5kV9WpTw9VlRF1IDm6DHmUE SXlDqjTvmLxBx4qsFucA34eNpV9XbiYQVPyNFTyq1FYbsLz6NiLkKWg X-Developer-Key: i=tudor.ambarus@linaro.org; a=ed25519; pk=uQzE0NXo3dIjeowMTOPCpIiPHEz12IA/MbyzrZVh9WI= GS101 has 14 mailbox controllers. Add the AP to APM mailbox node. Mailbox controllers have a shared register that can be used for passing the mailbox messages. The AP to APM mailbox controller is used just as a doorbell mechanism. It raises interrupt to the firmware after the mailbox message has been written to SRAM where the TX/RX rings are defined. Signed-off-by: Tudor Ambarus --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot= /dts/exynos/google/gs101.dtsi index 1441e9a252c2..04561e15b96c 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -1445,6 +1445,15 @@ wakeup-interrupt-controller { }; }; =20 + ap2apm_mailbox: mailbox@17610000 { + compatible =3D "google,gs101-mbox"; + reg =3D <0x17610000 0x1000>; + clocks =3D <&cmu_apm CLK_GOUT_APM_MAILBOX_APM_AP_PCLK>; + clock-names =3D "pclk"; + interrupts =3D ; + #mbox-cells =3D <2>; + }; + pinctrl_gsactrl: pinctrl@17940000 { compatible =3D "google,gs101-pinctrl"; reg =3D <0x17940000 0x00001000>; --=20 2.47.0.338.g60cca15819-goog From nobody Wed Dec 17 12:44:23 2025 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 72CAE229694 for ; Thu, 12 Dec 2024 16:00:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734019254; cv=none; b=K4k4yeZyxDT6IVJFLc0wQACgfaXi+yHAtk77zUWTeUV38vOBcBDYOIg5tECIfnbjROBJiF/SEgiBtZB7FxND8Vyyv9I4rhYdUsGcQ8AfPDs4VVeaZHF2eFj2PAHVheMbXkJXafjM1VcAjNlerfUE/RDC1ymS23zw8zIwpXhtnpk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734019254; c=relaxed/simple; bh=XbnGi70yp2CGKe3dsPZc/woxkOlnLt94ojsF7pP5ut8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dPt0cvBlP2tJE+FpqxvsONtzayegDr+833BfzNiyUZprYfDPKOTaIR+cv329XooajeX0XIGwHNeAai2UgzBQC4lKETnTbZnhDraySFHQy+zuvOBlkQV299e/uYgfltnky01bU8iXijnSgFuUyZWmZ6BehQez1/nyJWEx8Hf2r5w= 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=AtUHQHDY; arc=none smtp.client-ip=209.85.128.51 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="AtUHQHDY" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-434ab114753so5646505e9.0 for ; Thu, 12 Dec 2024 08:00:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734019251; x=1734624051; 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=MHOVK7hLZe7Wh/344MswWZk1I6BpgHguWKa4xSWa9kM=; b=AtUHQHDYxAhsTS+M9GJx1PRQr/B4qDxDU+IUus3xXQebn77blZx0R3kMFfHB9IgrFt r1W7Gym+Gj3djWrrgxKKu7LbNGw3hU+BCOvxNMfkqfNdNe08YQSfDT7qp/55wkZzkTN+ k0DDahcn4Tdy+aRGHfQH9/dBlalqJy8+V4eNe/5HLr5fOHHva3BxWaJ3T8L1JBeX53At 75uMfsYeOrE6C2qRZbqZmhr2LpasOAVayvZJcKBWQZpXiJLM3yWLZ29gd3zmy3FOsbJk AcDz7+28BFFZvO+AqlY+coJgl4hwughobwtaa8gUbGK2705qcwxpudsmH9etmUgy1Tor gxbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734019251; x=1734624051; 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=MHOVK7hLZe7Wh/344MswWZk1I6BpgHguWKa4xSWa9kM=; b=HAz6c1IoxH95oeKXJsH+eFgheGrE9ZOBFc1v2L7MnuGx26iT00SZFvITAMeYadF4gK JMnB/QcXQTjo0GQG27GAzAW+Kv6Rnz6CTIZRBrgg2TVBb1IUuWW4NbPA9By/Djog7kb3 olsjSXOGwUEvBIL8EEdiee2XnZ3rG7zKIuUr8EwXE68fZaux8awFcN/1OFSatz/zNZmj NDs5Xd8ttli69W0o+mq1NQHNka4S+BU2mxUevKYP/rKmpcktJHPj0J3V8Ql5DuNOEkNc pz6hg3pWPhevS1hOpppnFJQR+syL3mjJ0gh29yVtJjuUSFHSq0DCTZLBE1emFtBClBin e9Cg== X-Forwarded-Encrypted: i=1; AJvYcCUpLdSFGeGOBBE0RATpFBlshfVKjbGPggu6HZf/v6GCOInWWYX03SYe6c8tyAfT3aMt6D1X09IHa6/bPpY=@vger.kernel.org X-Gm-Message-State: AOJu0YyYWkunUHQU5f/5EydxRW2sXTtZnWG9Qjb39htfKUMIfAeyCn/O 2x+K4LJXBjtFc84CuWMHzHdh1fIUqt51tDAqpCpjkdUgnHvmhhUkmMuVBpQjzhU= X-Gm-Gg: ASbGncuiOWyjYa78JGjkT7+J1rxEaviya2Kclfwg2e5grQI8w6dePyt4c41FQqq/bKY 83cPxrn6Zc8E7Yk7wZiMcQS4zs9xg835nR81vK4bbCAtEYdEWi9Oxrbt8riIbAcrhDs2WoIowl8 Fea+G9wwUPfj0UBe3r14zYObSIEMDAKSaz2EYMLvUGQPNIO5QxCII0mzezrWTwdHaGOwypOjhv2 qwnoc5VB3N9l+fGUZp7uKq4beYqEIQ/7xS201/MKLBs2HvGA2Eg/aRJX5pS1dj2TooWiebNfUlA eZpN/ftSPGJHSwj4Uu10NFE6uIMmxOQG+A== X-Google-Smtp-Source: AGHT+IFlK2IZ26AyokS8CKojybaVhLvxESDWWONU+RNmiG7Oe5YQFYwn5cnnv2vcSKdLM5Z3BlTwtQ== X-Received: by 2002:a05:6000:2ae:b0:386:4a16:dad7 with SMTP id ffacd0b85a97d-3864ce495c9mr7671034f8f.10.1734019250289; Thu, 12 Dec 2024 08:00:50 -0800 (PST) Received: from ta2.c.googlers.com (32.134.38.34.bc.googleusercontent.com. [34.38.134.32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38782514d35sm4462941f8f.74.2024.12.12.08.00.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 08:00:49 -0800 (PST) From: Tudor Ambarus Date: Thu, 12 Dec 2024 16:00:40 +0000 Subject: [PATCH v2 3/4] arm64: dts: exynos: gs101: add ACPM protocol node 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: <20241212-b4-acpm-v4-upstream-dts-v2-3-91b7a6f6d0b0@linaro.org> References: <20241212-b4-acpm-v4-upstream-dts-v2-0-91b7a6f6d0b0@linaro.org> In-Reply-To: <20241212-b4-acpm-v4-upstream-dts-v2-0-91b7a6f6d0b0@linaro.org> To: Peter Griffin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.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 X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1734019247; l=1371; i=tudor.ambarus@linaro.org; s=20241212; h=from:subject:message-id; bh=XbnGi70yp2CGKe3dsPZc/woxkOlnLt94ojsF7pP5ut8=; b=6Wl14vGUhIl14sU0fLxYuasLnwizMnpBV5iAByDdT3MnW5mXwH8MpxKGJEZzeAVdW7DCLd8pW 2kFiuaCUJuwCk2Ic62bVSRZuULxkx7xGKuE0/uFY1uEUXnBwY8i7iw5 X-Developer-Key: i=tudor.ambarus@linaro.org; a=ed25519; pk=uQzE0NXo3dIjeowMTOPCpIiPHEz12IA/MbyzrZVh9WI= Add the ACPM protocol node. ACPM protocol provides interface for all the client drivers making use of the features offered by the Active Power Management (APM) module. Signed-off-by: Tudor Ambarus --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot= /dts/exynos/google/gs101.dtsi index 04561e15b96c..8c3f07371912 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -277,6 +277,28 @@ apm_sram: sram@2039000 { ranges =3D <0x0 0x0 0x2039000 0x40000>; }; =20 + firmware { + acpm_ipc: power-management { + compatible =3D "google,gs101-acpm-ipc"; + mboxes =3D <&ap2apm_mailbox 0 0 + &ap2apm_mailbox 0 1 + &ap2apm_mailbox 0 2 + &ap2apm_mailbox 0 3 + &ap2apm_mailbox 0 4 + &ap2apm_mailbox 0 5 + &ap2apm_mailbox 0 6 + &ap2apm_mailbox 0 7 + &ap2apm_mailbox 0 8 + &ap2apm_mailbox 0 9 + &ap2apm_mailbox 0 10 + &ap2apm_mailbox 0 11 + &ap2apm_mailbox 0 12 + &ap2apm_mailbox 0 13 + &ap2apm_mailbox 0 14>; + shmem =3D <&apm_sram>; + }; + }; + soc: soc@0 { compatible =3D "simple-bus"; #address-cells =3D <1>; --=20 2.47.0.338.g60cca15819-goog From nobody Wed Dec 17 12:44:23 2025 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 82656243551 for ; Thu, 12 Dec 2024 16:00:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734019256; cv=none; b=qrUZLAn6xdEtqa6EUzCyNQ6697sds1TdsaUv/nOozDYi0sFFORVvksJQ3b2Ej/VXRq/QTOg2GliEqcwy/8UmkrQcsLhkBId5ObECUiKjmpAJvF0ovmYXppoCay2XVMESw2thoi5M5wdbSDOO08vq7Kru53j+djv+FkCAh6pYRtY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734019256; c=relaxed/simple; bh=/C7bHQrkgGdLprOLUDNL1QPrbsGLOKte0YUezSURupU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZHcx7bYCpXgcYKR3YTiyGPHCP+HfQTxCCkv+Ecpak2TDbSqYH7MczLP8UZr6V6ASdSKiXUNYhW7CSEsqhUGXrG4pcQpYmGDIAtONkW9qtAJ/attmfhVQrfX6WwkpfXaO/TGHoRU7+GWRBqdJXo6JUyLDf0gSYPWn0fsgMqkx0cI= 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=oc3pg1tG; arc=none smtp.client-ip=209.85.221.49 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="oc3pg1tG" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-3862a921123so547960f8f.3 for ; Thu, 12 Dec 2024 08:00:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734019253; x=1734624053; 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=mUJZKl6ex9Y6tnVneUNF04HScPdq/LgCtN2B23fl+ms=; b=oc3pg1tG5cZU3BVT9S1eH4v24orfEjakcbFRdzF40K32ojWsMRowUnw0RX9Mt1Vxdy O0EhVQ1o+YqWE0dgYZSiQKa5mSUbKNzfPKI8vX4dpUJYlRMbW2ATxV6+WJJMJ99zTP8A DZboSDqEWInTm5yYp3+Q8L13C4lawOFK/TI+0PoDXF6u6ElwWA2aciWqzndQjd0C1Opj YjqwV4pAHnM0jHV5e18l/NutkLlolc+MpHF8/XHaLwwieBe6VzVXb/wzlpD8iVaKnu3A GJGOQ8ZfYyLLGQCxfAvpQF71JfeDBwsDXQ7J0GzXrofn7boMgCtA66mECU/z0VwIHIUK YLoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734019253; x=1734624053; 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=mUJZKl6ex9Y6tnVneUNF04HScPdq/LgCtN2B23fl+ms=; b=NxP9p1az8mSKlEmcQ0shgf/cgEhql63aqHIgU9MEMKGOS8q/vsyefM/k1kS588iruG ktHUtcNWmt+LDdq6YTLZJzNDfB2Ow38epB3CGmknR9IHReZusoyiKw+17Ay+nQWmYc6w BvXkTw/4mptXuFhG3GdHbKaZuemXRaUzGx55XMLF+nVT9bUl4+1rpg8irhsP2wjvDEsV 6lpZpz/+L2CWxHKnVoyLSFMH6NEQGPGTxGxNsK/rwEoFzi6vs6m2UwsjX05zgJdlFnAo GX+EHIRM2aomqdWmUwu1sT86Ev5ADjdptviUao9oPXAB6OBBEpGJWfFKk5jJku9vYX0E UFLA== X-Forwarded-Encrypted: i=1; AJvYcCU9RPYj/4EXCQeFcdt9W63fQbt+q7FVT01ebwJxS4V6iyDzQlOCgH0ciL82z14lzUhHDLLcWbFB7JyDIQQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxWJLZ+SIjOCYJiqmJlQuSFnhbdFono649fzSa1OO3JJlBSPjin kn9aTE9IpPTA9OQ8Ab9SJpY4de3DsyCz1Px1o0mayQslrd/rGGBOU8wHZthcDKk= X-Gm-Gg: ASbGncsjcke67+xHyHXwv8zgnL31UC17R+gj3JnaKHTS+PfQwbmM1ttNK4cClJndtrY S4/jXj37fp3V3Vu95occbYVDFaeRqI1icQ8ghenhhWkVPWGaCOch/HVGQRkWtg7XKskQ20w59kW Dpu858L6+f20bHWpW0IJ1mEh/omozaJdjabSX9xGRP31ccPgVj0agr4+BCP+b5S+QQMmCYwiiAM 4Xt6wT0sAprzbwiB6ABIg/fxaabn8vXZif0bDJZDS2+ujSBAQT+43QFfflE32ij6Z0yv530WhUn i5qWyNi9cgRcMf8UNFq9209nPwANIjte9A== X-Google-Smtp-Source: AGHT+IEN5nwnyUkAQMvO2q9jKMCm5xWXv8+YOzw7jcftLoAsAmmzmAcKvyZSzw3KzqJ0H/b/wrjw7w== X-Received: by 2002:a05:6000:186b:b0:385:ec8d:8ca9 with SMTP id ffacd0b85a97d-387877c98ffmr3397430f8f.42.1734019251001; Thu, 12 Dec 2024 08:00:51 -0800 (PST) Received: from ta2.c.googlers.com (32.134.38.34.bc.googleusercontent.com. [34.38.134.32]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38782514d35sm4462941f8f.74.2024.12.12.08.00.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 08:00:50 -0800 (PST) From: Tudor Ambarus Date: Thu, 12 Dec 2024 16:00:41 +0000 Subject: [PATCH v2 4/4] arm64: defconfig: enable ACPM protocol and Exynos mailbox 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: <20241212-b4-acpm-v4-upstream-dts-v2-4-91b7a6f6d0b0@linaro.org> References: <20241212-b4-acpm-v4-upstream-dts-v2-0-91b7a6f6d0b0@linaro.org> In-Reply-To: <20241212-b4-acpm-v4-upstream-dts-v2-0-91b7a6f6d0b0@linaro.org> To: Peter Griffin , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.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 X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1734019247; l=1030; i=tudor.ambarus@linaro.org; s=20241212; h=from:subject:message-id; bh=/C7bHQrkgGdLprOLUDNL1QPrbsGLOKte0YUezSURupU=; b=q/qMWb3Eov9H0T2BHl7oTCrCuPXOj90JVrh0cjnd8k61RuCnu1AB8+Cevc0d3x4+b2BnG9tb0 ExoRQa94+dQA0btBlEStNmn/o64BWNR7SWxVKOt/i78pqHEKVU8gpwT X-Developer-Key: i=tudor.ambarus@linaro.org; a=ed25519; pk=uQzE0NXo3dIjeowMTOPCpIiPHEz12IA/MbyzrZVh9WI= Enable the Samsung Exynos ACPM protocol and its transport layer, the Exynos mailbox driver. Samsung Exynos platforms implement ACPM to provide support for PMIC, clock frequency scaling, clock configuration and temperature sensors. Signed-off-by: Tudor Ambarus --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index c62831e61586..91139b1cf813 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -262,6 +262,7 @@ CONFIG_IMX_SCU=3Dy CONFIG_QCOM_TZMEM_MODE_SHMBRIDGE=3Dy CONFIG_QCOM_QSEECOM=3Dy CONFIG_QCOM_QSEECOM_UEFISECAPP=3Dy +CONFIG_EXYNOS_ACPM_PROTOCOL=3Dm CONFIG_GNSS=3Dm CONFIG_GNSS_MTK_SERIAL=3Dm CONFIG_MTD=3Dy @@ -1378,6 +1379,7 @@ CONFIG_HWSPINLOCK_QCOM=3Dy CONFIG_TEGRA186_TIMER=3Dy CONFIG_RENESAS_OSTM=3Dy CONFIG_ARM_MHU=3Dy +CONFIG_EXYNOS_MBOX=3Dm CONFIG_IMX_MBOX=3Dy CONFIG_OMAP2PLUS_MBOX=3Dm CONFIG_PLATFORM_MHU=3Dy --=20 2.47.0.338.g60cca15819-goog