Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1316638rwi; Wed, 26 Oct 2022 13:43:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6sWeO83wvap+QKmjx5QrcL5wCfPEp/D2+xOMGNzNL6vyQ79WnbQBS+3Ifv/YEYeYtja7M+ X-Received: by 2002:a63:2f82:0:b0:460:8786:5b91 with SMTP id v124-20020a632f82000000b0046087865b91mr38358528pgv.422.1666817006437; Wed, 26 Oct 2022 13:43:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666817006; cv=none; d=google.com; s=arc-20160816; b=w0jgUf+3BxYCaOuux5lR/PISHiq8T0s3qNx0tbCC1tuqPCf3sptFVF1DqjlaS6C12q M17Vfj7oSQe3Nx6IPJW/I+JYRrOBivukG1ulaOHcig5O5jFtMwROxAr23Iw7Aj+rkuby R5/GPilnH6OFg7v5UnHDKwwmSWaoo5dHVDpr3P66g9ICDblhRwK0qX9JNfh0ddvI3nCb dgOt8rlchMYk7YFv0i5z/gKolyoybEm/5iNwSU2K4K33AeHpTvL11faLBMyEZqpBN4zb PeS95WE2FyXwLVvnr+k7WxFv5et6XZtJEwROI2ZZzOtD7qdUudb9CrgJYjvUmSdbcXTZ dUpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=jwFPxGxPfVVpNpjuRcsPri9IbxTzSGaVNATnsuh89zE=; b=sgrb+F8RenVsIrJ5pXlkRpk/sslxYFs6plrQLhhbuiaEt2vX9BPcI6GyXGO6qPNYqR j0kI1OF3oqYVBQFutsXAHmz51Q0kvo2HYy6eORK8VuN65djodahUDyqFFeJNThi6/AjR 7+I7Nihg6U9N428JXohLrzZRbzeIVXY7IVXKDTHsEZy0P4oSz2bjnlBioU9nKQ88dP1M rcKVaMNKkkCm1p+ccDyQMU5TCHNPGFDSyvldhxycXIpNjVi0XMh35p+aoGMpc+Tfyrrl gcdEltuHq6y8UjTu6u7CK555DTbpf6KMZ56S7flnjM5GK0sfeUqT2PTHscXQ3gg5nqS7 DSRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="E/BwIPo6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g33-20020a632021000000b004386a1ebe70si8047110pgg.43.2022.10.26.13.43.14; Wed, 26 Oct 2022 13:43:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="E/BwIPo6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235225AbiJZURq (ORCPT + 99 others); Wed, 26 Oct 2022 16:17:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235067AbiJZURo (ORCPT ); Wed, 26 Oct 2022 16:17:44 -0400 Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB35412790E for ; Wed, 26 Oct 2022 13:17:43 -0700 (PDT) Received: by mail-qt1-x82c.google.com with SMTP id w29so3769143qtv.9 for ; Wed, 26 Oct 2022 13:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=jwFPxGxPfVVpNpjuRcsPri9IbxTzSGaVNATnsuh89zE=; b=E/BwIPo6nQhc+q+igGJ2p3j48Siqll4xzQwvYXktwnme/8uNEuKpx0qEP6YsvVIDTF lcR76/wync2XxNHLTQQ67yEJ3Lizgtfv9ud3YsQuTvOlaCnPJt78eNM9laZYlniNgM5f xJhoJzaQ4lQoZkQdOXr38Lag4775HXVLOydkopV4r67/pt4MzU+kbbe6IbG05rTgAG5T 1jaO6M0fIoppLroyQtei94jBHl/L+QCY9GLdLT92e8Ulnoh3FIP6bEmm+GKiUB90aOum nhXsl79usbGTPYYKu3Mg/x1Y7iJG7yGLX+CL7JlHMBAsM3C6nlg296MlJvYRbgcY4mIV 0bWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jwFPxGxPfVVpNpjuRcsPri9IbxTzSGaVNATnsuh89zE=; b=sXA3dEmBIMoYVdnBbi+JM0FKT+wpe23+/aX+wl/lLaRZEmMxjp1q7btDtvS10kNm/G YSblmUA7X2448EG3tVaw6D0NKj1VLn4KwEx/hx6iBvpJ7490D63Lc5WxYqJDrzLJ42p5 NK+D+goGx9x0+o/FLg0As1ONp9Lk0B2u42adyCYwFF9qWLBOQz4hPOLJMwnInwbzyLR9 xgmNAgTwLJlDnuKslyGIf+W9ZHIL7am1XXKbaL27mAm6Oehyiel3vlafT5ly+XCgkbL0 9sSo/AMnCJtOykyIjNHKMNvuQZEa6EnHpoBLhREPzM3V0AUK6FToYW4Cr6zZq0RZOiDy 7rmA== X-Gm-Message-State: ACrzQf1RKTubLAmUp7C1DqzbkrHUNWCKglGj15wgHpJwTlO6eNNBhQLS hHsgTh6I/oaGcUMvYtM2XDnD/Q== X-Received: by 2002:a05:622a:cf:b0:39c:f2a5:7374 with SMTP id p15-20020a05622a00cf00b0039cf2a57374mr37262969qtw.600.1666815462933; Wed, 26 Oct 2022 13:17:42 -0700 (PDT) Received: from [192.168.1.11] ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id m8-20020a05620a290800b006ce40fbb8f6sm4603413qkp.21.2022.10.26.13.17.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Oct 2022 13:17:42 -0700 (PDT) Message-ID: <9314a458-0fd9-c645-bb55-5f28b961ea5f@linaro.org> Date: Wed, 26 Oct 2022 16:17:40 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v2 1/2] ARM: nspire: Use syscon-reboot to handle restart Content-Language: en-US To: Andrew Davis , Arnd Bergmann , Linus Walleij , Geert Uytterhoeven , Daniel Tang , Fabian Vogt , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20221026161302.5319-1-afd@ti.com> <20221026161302.5319-2-afd@ti.com> From: Krzysztof Kozlowski In-Reply-To: <20221026161302.5319-2-afd@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Reviewed-by: Linus Walleij > --- > 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@90090000 { > }; > > misc: misc@900a0000 { > + 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