Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3882953iog; Tue, 28 Jun 2022 04:55:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sROIA7UhdDT0WTj5pUKrc5SoCrnID4jZ2bY2MY3sficbWUv8rGPoG/w30lTtL3ZiTsVgI4 X-Received: by 2002:a17:906:53ca:b0:6fe:ae32:e01e with SMTP id p10-20020a17090653ca00b006feae32e01emr16943621ejo.455.1656417344020; Tue, 28 Jun 2022 04:55:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656417344; cv=none; d=google.com; s=arc-20160816; b=frR52GwVOToE9hrH6RhScSaOeMGE3b650RmQcS1GwusMyXMju4g6NHkiusPvHhSP33 bnWCFhA3QzYEGgKyBw/GZkPMIQPhBFtol8udrf2HXR8XLDJF1GRj0LBejUENhYJLdbb1 1dGG6aMqBjjAqf66UF+rnFohUpcu0apAxtEpjFNUmyWB4X/bRKaq8SPR3giCaR1ga9B7 UilR8jV/B+xXuOOxNsX3RnNNOHeBIt15r/Us4jyubHYtmc77/La9gQ81ASrvsvuV3U4Z lXl77ZEG+CCGBTGV8zO3HAXDfZENASZuGI4DGT5Kgn8tVWK4erRjNOV0PnCbbeSNATmW dqPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=C7hxbvOysOVU/UTQ861hxTJENidUKbCv/fSaMWTU3aI=; b=y8HAOtiTAnG5Jn66xPCZ4/fo360QdmqT6yPaC21IsP0W3QfW3jZ5Q3eXI9k5ksF5oN O2tC93OjYda7aSmokrNCrbId2sh232zmCiyxt+8pUobAJ58WT1R3LrDBgbB4RbENjRnC 8NDbWHTIxTRutdy+4jRBk18wTOtCGIFJpGd8N74w7b8HiIhQp9KYDDP48RC0vauzO+PG kPuKPfqA1pKT0ksT6r2ZBqosOGKV95+q7h2dwzuylZyNNlWe2NjIKbVp7WZu1FWCY18W ZT/RyS+Uxx3flmo+TB/DmZonhu0OuI9Ik5Mb7uXRcmhtD+Lq9xe/vQNaZ1TJ1ImhPwg1 B7QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=Kb3GrCLo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb33-20020a170907162100b00718df95d83asi4642168ejc.511.2022.06.28.04.55.13; Tue, 28 Jun 2022 04:55:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=Kb3GrCLo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345513AbiF1L22 (ORCPT + 99 others); Tue, 28 Jun 2022 07:28:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344317AbiF1L2P (ORCPT ); Tue, 28 Jun 2022 07:28:15 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A2A16552; Tue, 28 Jun 2022 04:28:13 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id pk21so25146688ejb.2; Tue, 28 Jun 2022 04:28:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=C7hxbvOysOVU/UTQ861hxTJENidUKbCv/fSaMWTU3aI=; b=Kb3GrCLoxkYt2/yVGmqqO4w8RxBfyYZ6rRu+LEu9FAzsG2xDTJNzh8tf9/B84y/aDR bOwn5BfibkkSmxciqncxsdkBGyewMT8FU18aKZ/SvMGZ+tTRZFGB9r1VdT/0TFZbe7M6 LmMDTXWIeqrViuKl8dNo1OB8sHS1F4rT47JUY8ZaDQb0B8Bu5YS+mYbsvPLD/w9MH1Vb fF/AvomeNtZA4qcdckaJjf8slVctIuc8khfDjCv078OE3FYj/ILVVt70Bh8RiwchL59/ LpchdbicFwJOTHOxjYYgkgXM4e3K8mwD95s+2mjFj7x0kuZl96pU8gCLnWNElYRi/xJk VTew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=C7hxbvOysOVU/UTQ861hxTJENidUKbCv/fSaMWTU3aI=; b=o459icN/okSIUqPfGYCJMfPFxdlhJfYSvjq9eOQHy3ft2hsj+2hJQWo0jwrY6SQn2r PkxqqL+M6MHrPTNmDpDsXC6rbBqXbMqIEJFb1e/7PPLOJXsChy79+F74INuleNVsVTmB M0iY/35Ilgx44xGtAJjsmhExLIFT317sVMrvdjdzZSySGrswQJR/36YQtLSb5SYQYCrA +LD47M++euVmfVV5+/TTAwDt1qclkxRxw6pbmqoSSXOhL4Cd3ue4akruUdX9SFgj5ub4 dDrF8omBacFqvBP+Ydu8feTkZoCFyYKL0bqP110uz9yQivPsoLBIxNFZMjc+/KKC/7wZ xyYQ== X-Gm-Message-State: AJIora/AAHgWWCVwq0x2hYihJyR9y9Ljb2JBHRI9y0l0sCzQ17zx5s3B 9iqHqdlTCMyWfb2O1Y6EfNg= X-Received: by 2002:a17:907:7f1d:b0:71d:ea75:e533 with SMTP id qf29-20020a1709077f1d00b0071dea75e533mr17799271ejc.78.1656415691749; Tue, 28 Jun 2022 04:28:11 -0700 (PDT) Received: from localhost.localdomain (dynamic-095-114-061-215.95.114.pool.telefonica.de. [95.114.61.215]) by smtp.googlemail.com with ESMTPSA id h6-20020aa7cdc6000000b00435720b7a1csm9456318edw.20.2022.06.28.04.28.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jun 2022 04:28:11 -0700 (PDT) From: Martin Blumenstingl To: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, tlanger@maxlinear.com, rtanwar@maxlinear.com, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, Martin Blumenstingl Subject: [PATCH RFC v1 2/8] dt-bindings: mtd: intel: lgm-nand: Fix maximum chip select value Date: Tue, 28 Jun 2022 13:27:25 +0200 Message-Id: <20220628112731.2041976-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220628112731.2041976-1-martin.blumenstingl@googlemail.com> References: <20220628112731.2041976-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Intel LGM NAND IP only supports two chip selects: There's only two CS and ADDR_SEL register sets. Fix the maximum allowed chip select value according to the dt-bindings. Fixes: 2f9cea8eae44f5 ("dt-bindings: mtd: Add Nand Flash Controller support for Intel LGM SoC") Signed-off-by: Martin Blumenstingl --- Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml b/Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml index 763ee3e1faf3..04f26196c4c1 100644 --- a/Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml +++ b/Documentation/devicetree/bindings/mtd/intel,lgm-nand.yaml @@ -51,7 +51,7 @@ patternProperties: properties: reg: minimum: 0 - maximum: 7 + maximum: 1 nand-ecc-mode: true -- 2.36.1