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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6630FC00142 for ; Tue, 31 Oct 2023 17:49:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4JXZLLic4fHfT9Ugb6loVaK2QwtMPYL7KG6hWMoJ0XU=; b=Ze+ffi1o7zrRmE RyoTRqM+kB6R+ZLAAr00EbwR1NlJbtlDzye56+iRMOed3Si3D+fmfzF8/aSr5myVrg7bx7ehGsHYc mHAID/9U+AVBkfP5Q2/hTw0qt5IyKdODWYv0UfB8wBtguOFRKBkmB3O/C8t4xchTwrTF4LVEe9JCK tXAttrQTZzHTWf5soV0tRjmXSOxhpOb/jiBuSWQKTtX8m4tG82EjcPpGGnlbKPhudqgS8N2ggbeXt Py8ywMMWofGbkJEW7myj2Nv4T/OHMu9qJ+I3+trKlqr4YwqzLNo42SewvPMKgR+554FybVowqPy2E SaBedhfTXjo5c9nkqEsg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qxsrM-005t6h-2l; Tue, 31 Oct 2023 17:49:00 +0000 Received: from mail-oa1-f50.google.com ([209.85.160.50]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qxsrK-005t6E-1C for linux-arm-kernel@lists.infradead.org; Tue, 31 Oct 2023 17:48:59 +0000 Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-1e59894d105so3881389fac.1 for ; Tue, 31 Oct 2023 10:48:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698774536; x=1699379336; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=gdaTPJsXqIHOucHzCdun/EqSJIRhPJOCqxmQb8M0g5Y=; b=AGuQZXLwXb0zdAs75Bw0wmS5KyfeDZY48EO8GIZWkhxtt3MbZBJyAU/YmAMMRNiyBD 0Z6qsQoH7PREGFDqttv7zT3Um1JYHOqX/ThE7cW1VPmrXAXriel0h4p4tDsjmTL28EOQ FdkmgD7I6YxVwvY4YyIk3gKVZnDboR94pFXwJjgkTfrFuF7JYnq8s2zT1gZHmHrgi+X2 ZT//UIVyMGzFTD91jZyWEVzOfLetO6A7Bgy6yHB+RNv7Rz56sVB9Aqxlsh+OtM+bBM2o E8EjhEcygIyqwfQ9hpXMbCop4KQGUUw+LYIc8UeyCiPuiXEY9jI8LIONhBlmYFTus2u+ XcBA== X-Gm-Message-State: AOJu0YxYPrWCEoj9ZRBjLnJge0tonzDfJSbcBje+FiErKgFvFSZ5HYQv rM5I7lAnqR4HCgV0u2k8pA== X-Google-Smtp-Source: AGHT+IH2YG550XxnQH8UOhD4J94+Qb8MgDxM/DPKTXhCyhyz+ngBxbaoqHgxFHttqbv746aMi53eLg== X-Received: by 2002:a05:6871:4e8a:b0:1ef:c637:2688 with SMTP id uk10-20020a0568714e8a00b001efc6372688mr9443433oab.8.1698774536460; Tue, 31 Oct 2023 10:48:56 -0700 (PDT) Received: from herring.priv ([4.31.143.193]) by smtp.gmail.com with ESMTPSA id 28-20020a056870135c00b001dd8c46ed49sm365802oac.8.2023.10.31.10.48.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 10:48:55 -0700 (PDT) Received: (nullmailer pid 1800907 invoked by uid 1000); Tue, 31 Oct 2023 17:48:55 -0000 Date: Tue, 31 Oct 2023 12:48:55 -0500 From: Rob Herring To: Elliot Berman Cc: Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Mark Rutland , Satya Durga Srinivasu Prabhala , Melody Olvera , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Florian Fainelli Subject: Re: [PATCH RFC 1/2] dt-bindings: arm: Document reboot mode magic Message-ID: <20231031174855.GA1797181-robh@kernel.org> References: <20231030-arm-psci-system_reset2-vendor-reboots-v1-0-dcdd63352ad1@quicinc.com> <20231030-arm-psci-system_reset2-vendor-reboots-v1-1-dcdd63352ad1@quicinc.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231030-arm-psci-system_reset2-vendor-reboots-v1-1-dcdd63352ad1@quicinc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231031_104858_412590_B6938F71 X-CRM114-Status: GOOD ( 18.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Oct 30, 2023 at 02:31:33PM -0700, Elliot Berman wrote: > Add bindings to describe vendor-specific reboot modes. Values here > correspond to valid parameters to vendor-specific reset types in PSCI > SYSTEM_RESET2 call. > > Signed-off-by: Elliot Berman > --- > Documentation/devicetree/bindings/arm/psci.yaml | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/psci.yaml b/Documentation/devicetree/bindings/arm/psci.yaml > index 0c5381e081bd..dc23e901bd0a 100644 > --- a/Documentation/devicetree/bindings/arm/psci.yaml > +++ b/Documentation/devicetree/bindings/arm/psci.yaml > @@ -122,6 +122,19 @@ patternProperties: > [3] Documentation/devicetree/bindings/power/power-domain.yaml > [4] Documentation/devicetree/bindings/power/domain-idle-state.yaml > > + "^reboot-mode-.*$": > + $ref: /schemas/types.yaml#/definitions/uint32-array > + minItems: 1 > + maxItems: 2 > + description: | > + Describes a vendor-specific reset type. The string after "reboot-mode-" > + maps a reboot mode to the parameters in the PSCI SYSTEM_RESET2 call. > + > + Parameters are named reboot-mode-xxx = , where xxx > + is the name of the magic reboot mode, type is the lower 31 bits > + of the reset_type, and, optionally, the cookie value. If the cookie > + is not provided, it is defaulted to zero. Please use and possibly extend the existing reboot-mode binding. > + > required: > - compatible > - method > > -- > 2.41.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DAB01208CF for ; Tue, 31 Oct 2023 17:49:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=none Received: from mail-oa1-f44.google.com (mail-oa1-f44.google.com [209.85.160.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54375A2; Tue, 31 Oct 2023 10:48:57 -0700 (PDT) Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-1e58a522e41so3875187fac.2; Tue, 31 Oct 2023 10:48:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698774536; x=1699379336; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=gdaTPJsXqIHOucHzCdun/EqSJIRhPJOCqxmQb8M0g5Y=; b=Ajxryd5R/twR3FQrnIkrMuFLz+U8mxHXyteK9oTa3qaotkbc/I1MzAwQLPqkOtZDxf CvBkDj7jarf1UDMwkyfTQVKZSWIkPhw4yUqn0YCZFmLodxkTNxk/iLRFTV7SfZJK10rm xQ33Fo6tTlia85OAUQKQx703c6LA/BplDiDx7eV3GoIqTI+U3/5nYJuNSLk7aPIV4mgS 0aj0Ni7IJyZrsYq6kC2nwmRGbjaDoM77Fb9R5ZbrYzge5UizkbcRCeLEQ4+1ENMtw/oC nUUz/4z1fYNd6e7wpLkMTt9ZTkJJGyKy1r6GcXm8o8kTKFcwXqSegbMLAcrv2SpGLky8 IytQ== X-Gm-Message-State: AOJu0YyK5LY/v71nPEPOETfDkO3x2bTbxIQjVGHFS0XXjZ0cq4Hg+5um IWNtjJTXqkZR4QqTrGLUFg== X-Google-Smtp-Source: AGHT+IH2YG550XxnQH8UOhD4J94+Qb8MgDxM/DPKTXhCyhyz+ngBxbaoqHgxFHttqbv746aMi53eLg== X-Received: by 2002:a05:6871:4e8a:b0:1ef:c637:2688 with SMTP id uk10-20020a0568714e8a00b001efc6372688mr9443433oab.8.1698774536460; Tue, 31 Oct 2023 10:48:56 -0700 (PDT) Received: from herring.priv ([4.31.143.193]) by smtp.gmail.com with ESMTPSA id 28-20020a056870135c00b001dd8c46ed49sm365802oac.8.2023.10.31.10.48.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 10:48:55 -0700 (PDT) Received: (nullmailer pid 1800907 invoked by uid 1000); Tue, 31 Oct 2023 17:48:55 -0000 Date: Tue, 31 Oct 2023 12:48:55 -0500 From: Rob Herring To: Elliot Berman Cc: Krzysztof Kozlowski , Conor Dooley , Lorenzo Pieralisi , Mark Rutland , Satya Durga Srinivasu Prabhala , Melody Olvera , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Florian Fainelli Subject: Re: [PATCH RFC 1/2] dt-bindings: arm: Document reboot mode magic Message-ID: <20231031174855.GA1797181-robh@kernel.org> References: <20231030-arm-psci-system_reset2-vendor-reboots-v1-0-dcdd63352ad1@quicinc.com> <20231030-arm-psci-system_reset2-vendor-reboots-v1-1-dcdd63352ad1@quicinc.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231030-arm-psci-system_reset2-vendor-reboots-v1-1-dcdd63352ad1@quicinc.com> On Mon, Oct 30, 2023 at 02:31:33PM -0700, Elliot Berman wrote: > Add bindings to describe vendor-specific reboot modes. Values here > correspond to valid parameters to vendor-specific reset types in PSCI > SYSTEM_RESET2 call. > > Signed-off-by: Elliot Berman > --- > Documentation/devicetree/bindings/arm/psci.yaml | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/psci.yaml b/Documentation/devicetree/bindings/arm/psci.yaml > index 0c5381e081bd..dc23e901bd0a 100644 > --- a/Documentation/devicetree/bindings/arm/psci.yaml > +++ b/Documentation/devicetree/bindings/arm/psci.yaml > @@ -122,6 +122,19 @@ patternProperties: > [3] Documentation/devicetree/bindings/power/power-domain.yaml > [4] Documentation/devicetree/bindings/power/domain-idle-state.yaml > > + "^reboot-mode-.*$": > + $ref: /schemas/types.yaml#/definitions/uint32-array > + minItems: 1 > + maxItems: 2 > + description: | > + Describes a vendor-specific reset type. The string after "reboot-mode-" > + maps a reboot mode to the parameters in the PSCI SYSTEM_RESET2 call. > + > + Parameters are named reboot-mode-xxx = , where xxx > + is the name of the magic reboot mode, type is the lower 31 bits > + of the reset_type, and, optionally, the cookie value. If the cookie > + is not provided, it is defaulted to zero. Please use and possibly extend the existing reboot-mode binding. > + > required: > - compatible > - method > > -- > 2.41.0 >