From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B2ECC77B7F for ; Fri, 19 May 2023 23:27:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229965AbjESX1L (ORCPT ); Fri, 19 May 2023 19:27:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229602AbjESX1K (ORCPT ); Fri, 19 May 2023 19:27:10 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0E821BD for ; Fri, 19 May 2023 16:27:08 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4f00d41df22so1722960e87.1 for ; Fri, 19 May 2023 16:27:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684538827; x=1687130827; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=5QsFRFDPv+w7LZXZOw0WA98ik9DN1mQO3qx3JO5B1H0=; b=uI81i88i4vLJSz57S9e4aavEnPgPe8LEhscoxsdJHS8rI14Kpk3cINhNwm5LNan95E KGil51GWfiZl8vHVIajj5QPGFH/D632STPHGU12u39WIdFD+P0HI+Ql/QCaMX52IfHpW +u1wLZu+cjmmp8OZoJj3ZVCpxRxIMCC7vxzmjUVqxVnBS2RChsmk1/ySmEtZ+ykRdcsi nJCuIxDB3HsHRY2YqWAX2sUI5VagVp7LfywKJSJWmdwf49zpadHNk0vhRgalgYg7O2ne oqc6Zz0A+ZoX9sPzccRWBKKdDw8pjqICsL0hFeYmE8PM3EfpTCrE6p1vt9uZmeJYKnmr bcsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684538827; x=1687130827; h=content-transfer-encoding:in-reply-to:from:references:cc: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=5QsFRFDPv+w7LZXZOw0WA98ik9DN1mQO3qx3JO5B1H0=; b=kf8fbHSfsYdlqj0G8JExSOdlfDZFSfpWWA7GZAmTz4Uk0yeq7pxXtAhBAdBOCRuO+M 0n4EDSwuFsYt7vFZ70cgNHuBzbWG478q5OIe607NEKj49OkA5pXVlTHD9YlwZfjmyYkA 89h4dPuTQvktPrzCZ7N11v6EnqKU62qUE1b0sxFZ+3C2iZDUXj4oh9lYeL3redylKq19 Pe7Y4Gu+X0kL0Wht6oOnvTn7YtkbXSOayRrA0fvPpOm1ut5cvstK5aDPmeefU594Ca8C Yu9fPuTJ/tqfXrWhGK12AYyUkGb7qsjSP73QO+kb/MJTuPnqvK+iX/nYOfpIqED+gqvH aSiQ== X-Gm-Message-State: AC+VfDyjNxBtXVuKc+mF+nC/fRaGZmPMamLGd7cpc8vzIcC+X6seNhRC 9WRKNP1iUxtmsmVkYrBAQ3xrLw== X-Google-Smtp-Source: ACHHUZ7VnkPD1ndqaR5abX1TbBBXiGwzOUrBy9MaQnF4clOVweenoPwAMoB73Q3jwaB6Er+KN7+O0g== X-Received: by 2002:a05:6512:90d:b0:4f1:4898:d183 with SMTP id e13-20020a056512090d00b004f14898d183mr1203512lft.25.1684538826864; Fri, 19 May 2023 16:27:06 -0700 (PDT) Received: from [192.168.1.101] (abxi58.neoplus.adsl.tpnet.pl. [83.9.2.58]) by smtp.gmail.com with ESMTPSA id g6-20020ac25386000000b004eb2ac90f36sm55315lfh.207.2023.05.19.16.27.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 May 2023 16:27:06 -0700 (PDT) Message-ID: <3cfacc54-6cc5-1a11-d7db-96409097f290@linaro.org> Date: Sat, 20 May 2023 01:27:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 5/5] ARM: dts: qcom: apq8026-samsung-matisse-wifi: Add reboot-mode node Content-Language: en-US To: =?UTF-8?Q?Matti_Lehtim=c3=a4ki?= , linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230519210903.117030-1-matti.lehtimaki@gmail.com> <20230519210903.117030-6-matti.lehtimaki@gmail.com> From: Konrad Dybcio In-Reply-To: <20230519210903.117030-6-matti.lehtimaki@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 19.05.2023 23:09, Matti Lehtimäki wrote: > This enables userspace to signal the bootloader to go into the > bootloader or recovery mode. > > The magic values can be found in both the downstream kernel and the LK > kernel (bootloader). > > Signed-off-by: Matti Lehtimäki > --- > .../arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts b/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts > index 91b860e24681..a05c41191efd 100644 > --- a/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts > +++ b/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts > @@ -279,6 +279,16 @@ touchscreen@4a { > }; > }; > > +&imem { > + status = "okay"; Drop, undisable in dtsi > + > + reboot-mode { You can add a label like imem_reboot_mode and refer to just this thing from the device dt. Though I'm fairly sure the modes should be common. Konrad > + mode-bootloader = <0x77665500>; > + mode-normal = <0x77665501>; > + mode-recovery = <0x77665502>; > + }; > +}; > + > &rpm_requests { > regulators { > compatible = "qcom,rpm-pm8226-regulators";