From patchwork Wed Mar 31 23:01:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1460775 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=foundries.io header.i=@foundries.io header.a=rsa-sha256 header.s=google header.b=QVl6lS4h; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4F9hgD4yRkz9sCD for ; Thu, 1 Apr 2021 10:03:04 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C5F8D82935; Thu, 1 Apr 2021 01:02:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=foundries.io Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=foundries.io header.i=@foundries.io header.b="QVl6lS4h"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1F0BA828FB; Thu, 1 Apr 2021 01:02:21 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B40F9828FB for ; Thu, 1 Apr 2021 01:02:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=foundries.io Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=igor.opaniuk@foundries.io Received: by mail-lf1-x12a.google.com with SMTP id v15so12807lfq.5 for ; Wed, 31 Mar 2021 16:02:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundries.io; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5LOWOQIqDy4Qo6atYdKVvopQJ510cDVsTzR1nvJE0CI=; b=QVl6lS4hQor5Aw4b7ftj3/SffcNR1rVRYWANohT19ZnXCeczJH1em18upl1Bj+5hdJ XUj7rdyq0eLCnkK9kVaQ/PJQ4/FFZpu6se6iybi20CT7argUTWpzw6Cl0tyDh2LPVJet R3LkP3PbOLFSap3akKlA2HUq7RPFsPXKbx41tHIQjYxAyi+R2xtR3vAlY8P6Yih9Jg6H 7Vcm8FpXFJMk+jsLYrSIy0ewo+i6YNa2sC83gwLr4MD5+0DC6NQhe5kDqrz6+45NvVEU W+jtZJwu7a2EVAeEZTDOZ/EKRPizIIgiAWqR1iAktdLvLAl+pzC9mplwaiVagKkkiUTA /OyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5LOWOQIqDy4Qo6atYdKVvopQJ510cDVsTzR1nvJE0CI=; b=XRv5aSiKpiiMMx9KlWFo637sf4kTDTNqVQTbrhtMfSeKIELGGBBEWblZnUPoALcQ7r 2It9RAwrlkJy343T7w1ltnIAXudUTrZguSDRl72MhCqeM1rR5sPGfLchDa0m+71ZSFlK xkuIkLTmjnZrtIKAb6aWQyPKsjUdM8weuKxmUSgf/ST/JBt2/boM+CK8Nxfp3uca43X6 w1v8rMcYACPUn+OtV63gdULC65E2dc4d5GiJIDTB3MYHQAFfhwZyEQi8FXzpUxrJ3xgZ KmIX31+Z/Bmejt49ImdN/+hKUJMQH74WfiAMjpktO/p+P/40eaOOgOjFW3MYrdlmnFo3 LadQ== X-Gm-Message-State: AOAM533f5Kt7dODEYU1ZkdoA0FsxFaorGls6Vyd6KCqU04CsyQn7eQux 9LcTpa4E6De+wqw/UhO+ePrJ1Gf2o58ZRkPF X-Google-Smtp-Source: ABdhPJzxQ0d2o0f7+M8ZC+BFWHcoT10jG3ErEMtbBFslzcaZo9hnJNaLw9aEnzar4vpzMHzhboWVIA== X-Received: by 2002:ac2:5937:: with SMTP id v23mr3615175lfi.82.1617231728684; Wed, 31 Mar 2021 16:02:08 -0700 (PDT) Received: from localhost ([109.108.76.111]) by smtp.gmail.com with ESMTPSA id f13sm397399ljm.25.2021.03.31.16.02.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Mar 2021 16:02:07 -0700 (PDT) From: Igor Opaniuk X-Google-Original-From: Igor Opaniuk To: u-boot@lists.denx.de Cc: ricardo@foundries.io, patrick.delaunay@foss.st.com, daiane.angolini@foundries.io, mike@foundries.io, vanessa.maegima@foundries.io, tim.anderson@foundries.io, xypron.glpk@gmx.de, jorge@foundries.io, Igor Opaniuk , Simon Glass Subject: [PATCH v4 5/5] doc: usage: add usage details for reset cmd Date: Thu, 1 Apr 2021 02:01:56 +0300 Message-Id: <20210331230156.1850191-6-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210331230156.1850191-1-igor.opaniuk@gmail.com> References: <20210331230156.1850191-1-igor.opaniuk@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean From: Igor Opaniuk Add usage details for reset command. Signed-off-by: Igor Opaniuk --- doc/usage/index.rst | 1 + doc/usage/reset.rst | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 doc/usage/reset.rst diff --git a/doc/usage/index.rst b/doc/usage/index.rst index 6c59bbadab..b1181011ae 100644 --- a/doc/usage/index.rst +++ b/doc/usage/index.rst @@ -34,3 +34,4 @@ Shell commands qfw sbi true + reset diff --git a/doc/usage/reset.rst b/doc/usage/reset.rst new file mode 100644 index 0000000000..384d5d60f8 --- /dev/null +++ b/doc/usage/reset.rst @@ -0,0 +1,26 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +reset command +============= + +Synopsis +-------- + +:: + + reset [-w] + +Description +----------- + +Perform reset of the CPU. By default does COLD reset, which resets CPU, +DDR and peripherals, on some boards also resets external PMIC. + +-w + Do warm WARM, reset CPU but keep peripheral/DDR/PMIC active. + + +Return value +------------ + +The return value $? is always set to 0 (true).