From: sashiko-bot@kernel.org
To: "Aiden Isik" <aidenisik@member.fsf.org>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 5/5] arm64: dts: exynos: Add initial support for Samsung Galaxy Watch FE
Date: Mon, 19 Oct 2026 10:32:00 +0000 [thread overview]
Message-ID: <sashiko-outbox-176992@kernel.org> (raw)
In-Reply-To: <20261019-for-next-lucky7-v2-5-c4ecab4b1c4c@member.fsf.org>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] arm64: dts: exynos: missing Makefile entry for exynos5515-lucky7.dtb
- [Medium] arm64: dts: exynos: undocumented and unsupported samsung,exynos5515-wdt enabled
--
commit 0d8def366a8d338fb8397be7ac629d0ddc3e5c1d
Author: Aiden Isik <aidenisik@member.fsf.org>
arm64: dts: exynos: Add initial support for Samsung Galaxy Watch FE
This commit adds the initial device tree source for the Samsung Galaxy
Watch FE (SM-R861/SM-R866, codenamed lucky7) based on the Exynos5515 SoC,
with support for memory, reserved memory regions, and the bootloader
framebuffer.
> diff --git a/arch/arm64/boot/dts/exynos/exynos5515-lucky7.dts b/arch/arm64/boot/dts/exynos/exynos5515-lucky7.dts
> new file mode 100644
> index 0000000000000..e80a0f0948cb7
> --- /dev/null
> +++ b/arch/arm64/boot/dts/exynos/exynos5515-lucky7.dts
> @@ -0,0 +1,219 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +/*
> + * Samsung Galaxy Watch FE (lucky7/SM-R861/SM-R866) device tree source
> + *
> + * Copyright (c) 2026 Aiden Isik <aidenisik+git@member.fsf.org>
> + */
> +
> +/dts-v1/;
> +#include "exynos5515.dtsi"
> +
> +/ {
> + compatible = "samsung,lucky7", "samsung,exynos5515";
> + chassis-type = "watch";
> + model = "Samsung Galaxy Watch FE (SM-R861/SM-R866)";
[Severity: Medium]
Should arch/arm64/boot/dts/exynos/Makefile also be updated to include
exynos5515-lucky7.dtb under dtb-$(CONFIG_ARCH_EXYNOS):
arch/arm64/boot/dts/exynos/Makefile:
dtb-$(CONFIG_ARCH_EXYNOS) += \
exynos2200-g0s.dtb \
exynos5433-tm2.dtb \
exynos5433-tm2e.dtb \
exynos7-espresso.dtb \
Without an entry in arch/arm64/boot/dts/exynos/Makefile,
exynos5515-lucky7.dts will not be compiled into exynos5515-lucky7.dtb during
make dtbs, and both exynos5515-lucky7.dts and exynos5515.dtsi will be
skipped during make dtbs_check schema validation.
[ ... ]
> +&oscclk {
> + clock-frequency = <26000000>;
> +};
> +
> +&watchdog {
> + status = "okay";
> +};
[Severity: Medium]
Will enabling the watchdog node here pass dtbs_check or bind to a driver at
runtime?
In arch/arm64/boot/dts/exynos/exynos5515.dtsi, the watchdog node is defined
with no fallback compatible string:
watchdog: watchdog@10050000 {
compatible = "samsung,exynos5515-wdt";
reg = <0x10050000 0x100>;
clocks = <&cmu_peri CLK_GOUT_PERI_WDT0_PCLK>,
<&oscclk>;
clock-names = "watchdog",
"watchdog_src";
interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
samsung,syscon-phandle = <&pmu_system_controller>;
status = "disabled";
};
However, "samsung,exynos5515-wdt" is not documented in
Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml, nor is it
present in s3c2410_wdt_match[] in drivers/watchdog/s3c2410_wdt.c:
static const struct of_device_id s3c2410_wdt_match[] = {
{ .compatible = "google,gs101-wdt",
.data = &drv_data_gs101_cl0 },
{ .compatible = "samsung,s3c6410-wdt",
.data = &drv_data_s3c6410 },
{ .compatible = "samsung,exynos5250-wdt",
.data = &drv_data_exynos5250 },
{ .compatible = "samsung,exynos5420-wdt",
.data = &drv_data_exynos5420 },
{ .compatible = "samsung,exynos7-wdt",
.data = &drv_data_exynos7 },
{ .compatible = "samsung,exynos850-wdt",
.data = &drv_data_exynos850_cl0 },
Additionally, if the hardware is compatible with an existing two-clock
variant such as "samsung,exynos850-wdt", both
Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml and
s3c2410_get_wdt_drv_data() in drivers/watchdog/s3c2410_wdt.c require the
samsung,cluster-index property, which is not present in watchdog@10050000.
Should the binding and driver support (or an appropriate fallback compatible
and samsung,cluster-index property) be in place before enabling &watchdog?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261019-for-next-lucky7-v2-0-c4ecab4b1c4c@member.fsf.org?part=5
next prev parent reply other threads:[~2026-10-19 10:32 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-19 10:23 [PATCH v2 0/5] arm64: dts: exynos: add initial support for Samsung Galaxy Watch FE Aiden Isik via B4 Relay
2026-10-19 10:23 ` [PATCH v2 1/5] dt-bindings: soc: samsung: exynos-sysreg: Add compatibles for Exynos5515 Aiden Isik via B4 Relay
2026-10-19 10:34 ` sashiko-bot
2026-10-19 11:09 ` Aiden Isik
2026-10-19 10:23 ` [PATCH v2 2/5] dt-bindings: soc: samsung: exynos-pmu: Add Exynos5515 compatible Aiden Isik via B4 Relay
2026-10-19 10:23 ` [PATCH v2 3/5] dt-bindings: arm: samsung: Add lucky7 board binding Aiden Isik via B4 Relay
2026-10-19 10:23 ` [PATCH v2 4/5] arm64: dts: exynos: Add initial support for Exynos5515 SoC Aiden Isik via B4 Relay
2026-10-19 10:40 ` sashiko-bot
2026-10-19 11:16 ` Aiden Isik
2026-10-19 10:23 ` [PATCH v2 5/5] arm64: dts: exynos: Add initial support for Samsung Galaxy Watch FE Aiden Isik via B4 Relay
2026-10-19 10:32 ` sashiko-bot [this message]
2026-10-19 11:03 ` Aiden Isik
2026-10-20 7:53 ` [PATCH v2 0/5] arm64: dts: exynos: add " Krzysztof Kozlowski
2026-10-20 10:27 ` Aiden Isik
2026-10-20 10:42 ` Aiden Isik
2026-10-20 11:20 ` Krzysztof Kozlowski
2026-10-20 12:56 ` Aiden Isik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-176992@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=aidenisik@member.fsf.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox