[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240628223506.1237523-2-peter.griffin@linaro.org>
Date: Fri, 28 Jun 2024 23:35:03 +0100
From: Peter Griffin <peter.griffin@...aro.org>
To: robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
alim.akhtar@...sung.com,
s.nawrocki@...sung.com,
cw00.choi@...sung.com,
mturquette@...libre.com,
sboyd@...nel.org
Cc: linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org,
linux-kernel@...r.kernel.org,
tudor.ambarus@...aro.org,
andre.draszik@...aro.org,
kernel-team@...roid.com,
willmcvicker@...gle.com,
devicetree@...r.kernel.org,
linux-clk@...r.kernel.org,
Peter Griffin <peter.griffin@...aro.org>
Subject: [PATCH v2 0/3] Add syscon-reboot and syscon-poweroff support for gs101/Pixel 6
Hi Krzysztof,
This series adds support for syscon-reboot and syscon-poweroff to gs101/Oriole.
It has been tested with reboot and poweroff commands respectively.
Note the syscon-reboot/poweroff has *runtime* dependencies on the exynos-pmu
and clk-gs101 patches in this series, as well as [1] which was just queued by
Lee. Those runtime dependencies are described in more detail here [2].
As you are the maintainer for exynos-pmu and samsung clock drivers I've
included those patches in this series.
For the moment I have left out syscon-reboot-mode dt node as whilst it uses the
same SYSIP_DAT0 register as exynosautov9, and setting this the reboot mode is
correctly reported in the Pixel bootloader. The bootloader is also checking a
scratch register in max77779 chip that isn't currently enabled upstream, and
thus the bootloader doesn't actually enter fastboot.
Kind regards,
Peter
[1] https://lore.kernel.org/linux-arm-kernel/20240621115544.1655458-1-peter.griffin@linaro.org/
[2] https://lore.kernel.org/lkml/ZnymlHiCCIDt2dCJ@google.com/T/#m8b3a5e10ad44ae83a9afed4e4f5cd409493d951e
Changes in v2:
- Move PMUALIVE_MASK check into tensor_is_atomic() (William)
- Collect up tags
- rebase onto next-20240628
Peter Griffin (3):
arm64: dts: exynos: gs101: add syscon-poweroff and syscon-reboot nodes
soc: samsung: exynos-pmu: add support for PMU_ALIVE non atomic
registers
clk: samsung: gs101: mark gout_hsi2_ufs_embd_i_clk_unipro as critical
arch/arm64/boot/dts/exynos/google/gs101.dtsi | 15 +++++++++++++
drivers/clk/samsung/clk-gs101.c | 2 +-
drivers/soc/samsung/exynos-pmu.c | 22 +++++++++++++++++---
include/linux/soc/samsung/exynos-regs-pmu.h | 4 ++++
4 files changed, 39 insertions(+), 4 deletions(-)
--
2.45.2.803.g4e1b14247a-goog
Powered by blists - more mailing lists