Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp523978lqo; Wed, 8 May 2024 07:09:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPDDpoVYtv/h5KZ3PJJbPsAC5ZW9ZJHA6exAfAx/2+icTADTnimFZ4m6zOz/JTTV8PtM91kWXtQA6TkbnRQ9BzI30eVXbp+xy7WFvbYw== X-Google-Smtp-Source: AGHT+IEljyyZBEJi8N7rw2P6uRaS0mAQtXlNXfUi0Je8EKQqTQqRQjS5+lbg09cpYlbmilHG/TTw X-Received: by 2002:a50:aad1:0:b0:572:7b08:d497 with SMTP id 4fb4d7f45d1cf-5731d9d45a5mr1871716a12.17.1715177362629; Wed, 08 May 2024 07:09:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715177362; cv=pass; d=google.com; s=arc-20160816; b=Tt+EGYcf1qjGvvEAOcgUK/91ssCEuQEM7nKXxRSxBGQ+KloXDAjt3lmjm2NoEPU2/m 7IxrUw67ErPcZ2IBYWHDGcSzsghKD2CpTI47TNp3IDnGLXG6nTGBDzBs3vXVfnupoNAd opJ/H/qkKpciY9BOMenhiOBUrgUlhBSchTqaQu0FW/WPz4orE+jF3p7YEoFVbSFNtJ+N GBAT4zflxoBXKvSOvb2+JmrwajHCzskwnlaVCdbqCB/c9WZ+3nEIMZb1AbbtwNPD2H4N itp734iUxTgkB6RyIyfy0jVLZEpog9DWjAsjBDutxBArrhIeL5swJt+soMi5/kVJ+sJi HpnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YZZG3/DsQXs1J5eZVh00S0WLzFriRKpgw5N1TUVfMyI=; fh=NKG1Fk+jdlbWr/coW10ANH5ZoO7YU0BvQDVfj82Ori4=; b=XEsf8PRZMA6ZddEScZ9M0xDcjHGQtFwNaA/27B+dM0qfKl7OjAcrf/N4YN7Puo58EB GnGFvtpMNjf5gSNfVfMTomG7yeKHdpIZrxIx+woK8VJD8Vffp/cEEPT4aR8Dhm164f48 izDAASSeXzt9Vup8JkDStzE1NF5zecYgAkwTju1yUirjIP/i1pnE8NBwWpNOXCSY/NYn JByAJzCyGASi/w3vDVVMbmocuRlVinpjBjABtu+VrAUg9eXsaCxLm55JhW+Xz8kjU+Kg BqJKm//5aMfArWOLxRv7wNviWPFXFx/EuhTuWJSexwasPkZxYX9+HYmIwXOCWSWTl4H3 lNZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FfK55lXI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173384-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173384-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w4-20020a05640234c400b00572e33b29c0si5189797edc.386.2024.05.08.07.09.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 07:09:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173384-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FfK55lXI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173384-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173384-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5C13E1F21FE3 for ; Wed, 8 May 2024 14:09:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E809A85297; Wed, 8 May 2024 14:09:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FfK55lXI" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 16C295228; Wed, 8 May 2024 14:09:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715177354; cv=none; b=Y4lMY81mzoq1zqlS9d+5JbDHWJbNez+aFUxWurRF1JftTT0uHqo/MtqY66g/KoWjarZqkiuGVUKSr+ogKe9K/V+8F9WsqoO1lWnJvsITX7kfI+eTN1JxU7ZiOtJUThdi61EmLReJXuerDIVlfm8KKWajlporz0gH2S+X+42yUUk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715177354; c=relaxed/simple; bh=VZyUtgn7CSrqZqD2WXaMMzb6R5zKmx5KV+opHAphR2Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=J1jZev/pUNnUbrBWZki8gY6ACd0v3prXb3Q4yzfAZZ1p0mnVXVinzu/UxNHMFl1BeEBAWSB3KA1YBx3AHAJpmLPKW/5ICvgPC5tvI6FoCheRuUh6ZzUwqHsoqXT47fr2tBaWC82vzqVw1WLlYMrfUT3YqV13e6nvKpEsS7C3AY4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FfK55lXI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E100C113CC; Wed, 8 May 2024 14:09:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715177353; bh=VZyUtgn7CSrqZqD2WXaMMzb6R5zKmx5KV+opHAphR2Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FfK55lXIxxm/5TEJWNmw3vYYan6hnJpce8FOxpJnul6TMsmsdOk7CmNCaHYXaOobc pa5rpx0Jd0c5mg/SyIYRivD8ofsnFlUBpyE2Va4NH7ZxymuNaGhwpUxSZYfB2RJ7sI KbvYvutvUYdtmv3zLRpKMUjZ1/X17Sm5tqd9VhkCKU0tiUJF6o8N+yIDi1t8q1a48O 51vQYjhGDcswN4zd/4iBPrFuD5lQb/DSm0ULYs9ytwRvV1f7S9cAmunIAilmKkYN3s 8/aDsad/YDxVTA4PmV5g3jydDY5244NkvnQdQAeWt2kv+k8lGqmPn5/9E5NPaqdong avbGNizqPHUMQ== Date: Wed, 8 May 2024 09:09:11 -0500 From: "Rob Herring (Arm)" To: Arseniy Krasnov Cc: Vignesh Raghavendra , Miquel Raynal , Richard Weinberger , devicetree@vger.kernel.org, Kevin Hilman , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, oxffffaa@gmail.com, Martin Blumenstingl , linux-amlogic@lists.infradead.org, kernel@sberdevices.ru, Jerome Brunet , Rob Herring , linux-kernel@vger.kernel.org, Neil Armstrong , Krzysztof Kozlowski , Conor Dooley Subject: Re: [PATCH v6 1/3] dt-bindings: mtd: amlogic,meson-nand: support fields for boot ROM code Message-ID: <171517732606.1572649.16193191353725811830.robh@kernel.org> References: <20240507230903.3399594-1-avkrasnov@salutedevices.com> <20240507230903.3399594-2-avkrasnov@salutedevices.com> Precedence: bulk X-Mailing-List: linux-kernel@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: <20240507230903.3399594-2-avkrasnov@salutedevices.com> On Wed, 08 May 2024 02:09:01 +0300, Arseniy Krasnov wrote: > Boot ROM code on Meson requires that some pages on NAND must be written > in special mode: "short" ECC mode where each block is 384 bytes and > scrambling mode is on. Such pages are located on the chip in the > following way (for example): > > [ p0 ][ p1 ][ p2 ][ p3 ][ p4 ][ p5 ][ p6 ][ p7 ] ... [ pN ] > ^ ^ ^ ^ > > pX is page number "X". "^" means "special" page used by boot ROM - e.g. > every 2nd page in the range of [0, 7]. Step (2 in example is set by > 'amlogic,boot-page-step' field. Last page in range (7 in example) is > set by 'amlogic,boot-pages' field. > > Signed-off-by: Arseniy Krasnov > --- > .../bindings/mtd/amlogic,meson-nand.yaml | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > Please add Acked-by/Reviewed-by tags when posting new versions. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for acks received on the version they apply. If a tag was not added on purpose, please state why and what changed. Missing tags: Reviewed-by: Rob Herring (Arm)