[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9314a458-0fd9-c645-bb55-5f28b961ea5f@linaro.org>
Date: Wed, 26 Oct 2022 16:17:40 -0400
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Andrew Davis <afd@...com>, Arnd Bergmann <arnd@...db.de>,
Linus Walleij <linus.walleij@...aro.org>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Daniel Tang <dt.tangr@...il.com>,
Fabian Vogt <fabian@...ter-vogt.de>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] ARM: nspire: Use syscon-reboot to handle restart
On 26/10/2022 12:13, Andrew Davis wrote:
> Writing this bit can be handled by the syscon-reboot driver. Add the
> info to DT and remove the machine_desc version.
>
> Signed-off-by: Andrew Davis <afd@...com>
> Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
> ---
> arch/arm/boot/dts/nspire.dtsi | 7 +++++++
DTS cannot go with code.
Additionally, this breaks people's filtering as there is no "dts" prefix
in the subject.
> arch/arm/mach-nspire/Kconfig | 2 ++
> arch/arm/mach-nspire/mmio.h | 3 ---
> arch/arm/mach-nspire/nspire.c | 10 ----------
> 4 files changed, 9 insertions(+), 13 deletions(-)
>
> diff --git a/arch/arm/boot/dts/nspire.dtsi b/arch/arm/boot/dts/nspire.dtsi
> index bb240e6a3a6f..6357b803521e 100644
> --- a/arch/arm/boot/dts/nspire.dtsi
> +++ b/arch/arm/boot/dts/nspire.dtsi
> @@ -172,7 +172,14 @@ rtc: rtc@...90000 {
> };
>
> misc: misc@...a0000 {
> + compatible = "syscon", "simple-mfd";
These are not allowed on their own (need specific compatible) and you
should have warnings when running dtbs_check.
Best regards,
Krzysztof
Powered by blists - more mailing lists