Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2964538ybl; Thu, 29 Aug 2019 15:57:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqwguOJl/WI+ieQNIc1zoddJjb/mAdrAbGWmMchNcmfxBZGCYPkNzt8LmS143IWwqk60ntfW X-Received: by 2002:a17:902:76c7:: with SMTP id j7mr12231875plt.247.1567119444027; Thu, 29 Aug 2019 15:57:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567119444; cv=none; d=google.com; s=arc-20160816; b=xlSbdwRykSIucaj8NlRnv7yR23isQ64CyO4NW/JenVQMnByNBpzZtL8YQzZStM/nP8 2rMInmBxGGjDkYYpuLYHvpW9yXbvw/stqHgF3wiqdjWemPEdyOl6K/MX5iEA7/OAy4aG 4g/th93/zC3IRRuNwQkBtiT1KdmZEpJnVydB6ZIPxcmK2EK0kilLkFv0Tu5URFu/A/G7 eVdfmwOEhq7Mj3ErX6JsfISJN1/MH8otMthTS6n6vgqMWw+z2wHsTlySPlql3mH/dJK+ xfrsHFlZsuX0Y0O5SP2SKDIWp11wjVxougCuMmuHPiCP2TGmNajwnyNhnhnqJDl4L/7x ypqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=AcqAKzCkm/gS75dDEccyBh6Oz2jirMULmsO7hRuPRrg=; b=JUQNnhBcjBvESYOcJa7QH+tBOoFG5omTd4AkVJR7rH7ffl0njimy7TvXwV3u7fl/Lw 56HSGi1nDxOHS10k2LEU3Ht5pFe6F1iwOTZZTaDRnhTlkM7MsdjLaezjMouaJR8J1g24 BXjeZKHLJ/oDcdZqZW6UhZDsNgpkrfm1+9Kt0MkWBj1xVgwmgJYyDrZEEKMglKCBBNrU VT0duGLpEv8N4huvCCT2xIVFbGTtd8tdpRKl0CasPICGYsp7WH2YGKOrMdxhMixBafu+ kkXo2cyE2mlf2vQmDfTdd9RBBm0+NZRvACbt/+R7gpJBp2Wf99dXY6NAMohTZy7q0Mwr G27Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 90si3290755ple.168.2019.08.29.15.57.06; Thu, 29 Aug 2019 15:57:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728230AbfH2W4F (ORCPT + 99 others); Thu, 29 Aug 2019 18:56:05 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:46158 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727992AbfH2W4E (ORCPT ); Thu, 29 Aug 2019 18:56:04 -0400 Received: by mail-oi1-f195.google.com with SMTP id t24so3863730oij.13; Thu, 29 Aug 2019 15:56:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=AcqAKzCkm/gS75dDEccyBh6Oz2jirMULmsO7hRuPRrg=; b=T5Ma4Zd5bMuuEw+CVg0G0+KTxTlak/eE9IGR3c7wGom18bNtrFXK9C5fYpq0Y6fI1b c8m4q6+QNm0bgpDuSHujRv/h5m235x8IZpmGtlExxhzs1KyICXXGYK/6z/07Qz98RUjE 0a/tlnQ5l/YWnulfhx9QN6PIKHyzcVOsJuQjnt93Rivhn9vuqITRNJGKHPeiYoCidoBY DeOxp4DALlsTgH0ZcjmaPO5CVdD9Idr0+Vge32MnBnesTYYMbZGa3wWc0+m1AwSpgBpr RcpS2/w56WBGtFltQTyE+ygJpVygVXRSmGqbQJME+5gtiNBKNOQDh+wMDTo70avPx5IN RgnQ== X-Gm-Message-State: APjAAAVIb6FbGr6pVRwpYQxijh3bolRCZbBWmAJAphFu2QyPX9t8j0Wp 91k3yjKgTkA7R/FPGE/suA== X-Received: by 2002:aca:f5c8:: with SMTP id t191mr8247459oih.61.1567119363695; Thu, 29 Aug 2019 15:56:03 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id i22sm1253218oto.80.2019.08.29.15.56.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2019 15:56:02 -0700 (PDT) Date: Thu, 29 Aug 2019 17:56:02 -0500 From: Rob Herring To: Ivan Mikhaylov Cc: Guenter Roeck , Wim Van Sebroeck , Joel Stanley , Andrew Jeffery , linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Alexander Amelkin , openbmc@lists.ozlabs.org, Mark Rutland , devicetree@vger.kernel.org Subject: Re: [PATCH v2 4/4] dt-bindings/watchdog: Add access_cs0 option for alt-boot Message-ID: <20190829225602.GA15783@bogus> References: <20190826104636.19324-1-i.mikhaylov@yadro.com> <20190826104636.19324-5-i.mikhaylov@yadro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190826104636.19324-5-i.mikhaylov@yadro.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 26, 2019 at 01:46:36PM +0300, Ivan Mikhaylov wrote: > The option for the ast2400/2500 to get access to CS0 at runtime. > > Signed-off-by: Ivan Mikhaylov > --- > Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt b/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt > index c5077a1f5cb3..023a9b578df6 100644 > --- a/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt > +++ b/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt > @@ -34,6 +34,13 @@ Optional properties: > engine is responsible for this. > > - aspeed,alt-boot: If property is present then boot from alternate block. > + At alternate side 'access_cs0' sysfs file provides: What's sysfs? Don't put Linux stuff in bindings. > + ast2400: a way to get access to the primary SPI flash > + chip at CS0 after booting from the alternate > + chip at CS1. > + ast2500: a way to restore the normal address mapping from > + (CS0->CS1, CS1->CS0) to (CS0->CS0, CS1->CS1). > + > - aspeed,external-signal: If property is present then signal is sent to > external reset counter (only WDT1 and WDT2). If not > specified no external signal is sent. > -- > 2.20.1 >