Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1119665rdb; Mon, 19 Feb 2024 05:05:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVPRCipXmtRcK29sSSV482eReMhvxnsVjfDppoCgcSH96pZ3tkLdQ11RMRgqFJTNhK/71VG+krh/t8B0GYYC58wfunPkUM0opKmYwDKCw== X-Google-Smtp-Source: AGHT+IHDndxoXitLh3Vy6IDEj1pYKZmi2ZSvSvBildxrsOLezXiCSOizjbI8H45mqJkWv+/rwjfw X-Received: by 2002:a05:6512:6d0:b0:512:bda4:e64a with SMTP id u16-20020a05651206d000b00512bda4e64amr1004099lff.35.1708347933427; Mon, 19 Feb 2024 05:05:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708347933; cv=pass; d=google.com; s=arc-20160816; b=IQd4Yf0vE8r2BDrIURMKRGRargreI1HrE8LhB/9a5bauMRXxs8plptOEKPn/Gv2/fT rq5NsK+N99LKYi5NHBCyMFrEHtZtpvNtMR4phNPsuFzqWm/S/8ajXpns2dCo6KViVbRR 0/hGGYhMKH6gngm0aLIB3a2YYT32LYb4gm0KIUOzXniJPomyfcryRQoYpVvOC7Znu3OA +jdmOozZBdMLCOXdegQ0Ja3Bz+Q3mGJeQ/j+jbRZtJb5Dvc7ckQ4gOi1USuusEtGguNi y1dIzXsn96jbBmnV6dDLfeB1YTlOVdUxcW/E3mODpeITc3LsaU2FVheEZ/8EdHp/DF4S D7dQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=SY8Y2hH/CXJ9at2J0AQUWNH09vMSJ7Esh7RYr/Ugldg=; fh=a/6SsRUCq63BFzcayRZJ5EI0NsYIKTn0hoFaMrY7n2w=; b=WKEalnWgB6V6g9MNBHq/nl+UcNG9J8+NUUJkFEXCcGm5aXu8QSIOD1Pg35PV5fpw5e C/OIhln7G0J3TH5I67U2/PK6oG0XLW1M7RdFW4BNcVlNzqZbCBW5/ohQO9AX7HoW4FDl cX1m4SDEUrRrPc61tzQMKHxHeUnq+N6y8QkSqIv2r/a4By7A7hqW79BnIoQe+f9UNwXw NJjVeh3JyjbB5iE0h6UPrDvFw5m1cK/PdgJAg31oPmK6BCynbLDpcD5TCNHjcuBd45AV rrHcXx3jH+NH72XsH7kii9azC8z5Ozt1371ig5VHvyoJHxuHLmECcupgeeLBRd9Yjzcs WS4A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UZcdVIMy; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-71369-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71369-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g2-20020a170906c18200b00a3ec8a31c0csi340815ejz.974.2024.02.19.05.05.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 05:05:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71369-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UZcdVIMy; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-71369-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71369-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 063471F214DC for ; Mon, 19 Feb 2024 13:05:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 18AD02E85A; Mon, 19 Feb 2024 13:04:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="UZcdVIMy" Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F92534CDE for ; Mon, 19 Feb 2024 13:04:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708347865; cv=none; b=S/u6CFf1kzUQCvKnwu3WfKOnNAbAOL6UKUmrJduqQ27WqTXaf8rg+UGbwNCf1aAF/mxedHN8sAS4Gnf7TBaP2aRt5zvog58XlTdjnXNoa9XrFxgS4Hc0MasPzaQs5MZcYfnuI+F9U2jt2kJgElVNFc1cl3S67jOLNsgELMWYp/I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708347865; c=relaxed/simple; bh=g4AG8yACEdlrgRAYFLRSW0rTdk7RfFh35z1t1F4FKdc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=j5jfcIyD+lK/Xg2hvgCNn6MVZU7Mh7NPJCH2otFmW3mUPFr+UYBkgJWzAbMeW0mIdARqCoswD0mql37eJyKcjz7uJBcldarRkoK7N90fjwiMvU87MK8FhRwLkrBcVIzWO4dNZvVPQsfr7yN1VFf/EngF0+KtSzshtJ/bHOz38vI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=UZcdVIMy; arc=none smtp.client-ip=209.85.222.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-qk1-f177.google.com with SMTP id af79cd13be357-7873eaa0ba2so170069285a.0 for ; Mon, 19 Feb 2024 05:04:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708347861; x=1708952661; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=SY8Y2hH/CXJ9at2J0AQUWNH09vMSJ7Esh7RYr/Ugldg=; b=UZcdVIMyioNnKkYnBGISxQnN2sUDn3Pl8RZYoMafIDBVTyF0ZJ+l2RCLqSYAPWN2m5 LQXlH64lwumPSNqSqRSFMdx5csRFdsy6r0wQb6LE1hQUwZMVR2zMSnmFEOz2l7cYLRnn BOHujLWjmfLV1YPfVEzJC34p0WBskC6K1kZieHRReEi38JYL+JobXfXCskARU+Tfth/x T2JGFZSpimRSX08R1aYgP4JwWPPrfezeBz+VE4fpe69mjFufa2G98ccTBWfgjOcJ51WC clrrxdl7n2MjJtStsxsQSgWHJCpKCY6jh45Hv0i+w1nUWaz2Fk/0R/WQyjTVkpQDyk/u ofYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708347861; x=1708952661; h=in-reply-to:content-transfer-encoding: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=SY8Y2hH/CXJ9at2J0AQUWNH09vMSJ7Esh7RYr/Ugldg=; b=JrMM7qcnLGkkqXUotxGugt4Kzg9vAf5oHszJyvBJSqtNVmkPlue60HY7g1h8Lbqh4b opr1u6Ze+1A5uG79RXjfZfP5+c/SEBc/GE0aovtde6E3pZZ56mwL16iTCBMHcLO6jD8R FM1Svz3iyGHtUKsv00tQhZO76AFUVzlx9wgyh4srUHU7u3Svfnvjphnbw9YotpccxIbF QSnbIPdfLTwCl4ateV0C5m3Pe5U1Ke+xp7qDxavTXiT9NalXOLI+X9dXiBXfGBtreOCk k9dT2ONjxkv4CL8Ar3rBMT2n5st+1uYHf2aiFk94vLbNw/jXVA+qpkIGIWZKHGe6XqM+ Q5Sw== X-Forwarded-Encrypted: i=1; AJvYcCUeuhH+YDxogEW+d0OuIAz2zNn1Z4Ztv87zEhGbwmyU8tMUP5fMUA+uUfAS7/Vkj5RNVwgHccgvseqIErTgUnDLi8Vft5cCFL/FlT8t X-Gm-Message-State: AOJu0Yxwq6MY7pa5sW4HdaM4/A3WVmEejIa63fNWZyn1Qf7R2PUC9t1m QKjyf8wV/QWdxrEcb73p9jJAvBMg8jf4I4aXWvD4EuIn6v6xXUP4Y91yHVU9wg== X-Received: by 2002:a37:c441:0:b0:787:16e1:e970 with SMTP id h1-20020a37c441000000b0078716e1e970mr12977495qkm.21.1708347861130; Mon, 19 Feb 2024 05:04:21 -0800 (PST) Received: from thinkpad ([117.248.7.166]) by smtp.gmail.com with ESMTPSA id l7-20020a05620a0c0700b007854696725fsm2431669qki.75.2024.02.19.05.04.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 05:04:20 -0800 (PST) Date: Mon, 19 Feb 2024 18:34:12 +0530 From: Manivannan Sadhasivam To: Md Sadre Alam Cc: andersson@kernel.org, konrad.dybcio@linaro.org, broonie@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, linux-arm-msm@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, quic_srichara@quicinc.com, quic_varada@quicinc.com Subject: Re: [PATCH 0/5] Add QPIC SPI NAND driver Message-ID: <20240219130412.GC3281@thinkpad> References: <20240215134856.1313239-1-quic_mdalam@quicinc.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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240215134856.1313239-1-quic_mdalam@quicinc.com> On Thu, Feb 15, 2024 at 07:18:51PM +0530, Md Sadre Alam wrote: > This series of patches will add initial supports > for QPIC SPI NAND driver. > > Currently this driver support following commands > > -- RESET > -- READ ID > -- BLOCK ERASE > -- PAGE READ > -- PAGE WRITE > -- GET FEATURE > -- SET FEATURE > -- BAD BLOCK CHECK > > This driver has been tested with dd command with read/write page > with multiple file size 1MiB, 10MiB,40MiB etc. > Also tested with "mtd" command like mtd erase, mtd write, mtd verify etc. > This is not the first version isn't it? Where is the changelog describing what has changed since then? - Mani > Need help to test these all patches on SDX65 and SDX75 platform. > > Md Sadre Alam (5): > spi: dt-bindings: add binding doc for spi-qpic-snand > drivers: mtd: nand: Add qpic_common API file > spi: spi-qpic: Add qpic spi nand driver support > arm64: dts: qcom: ipq9574: Add SPI nand support > arm64: dts: qcom: ipq9574: Disable eMMC node > > .../bindings/spi/qcom,spi-qpic-snand.yaml | 82 ++ > .../boot/dts/qcom/ipq9574-rdp-common.dtsi | 43 + > arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts | 2 +- > arch/arm64/boot/dts/qcom/ipq9574.dtsi | 27 + > drivers/mtd/nand/Makefile | 1 + > drivers/mtd/nand/qpic_common.c | 794 +++++++++++ > drivers/mtd/nand/raw/qcom_nandc.c | 1226 +---------------- > drivers/spi/Kconfig | 9 + > drivers/spi/Makefile | 1 + > drivers/spi/spi-qpic-snand.c | 1025 ++++++++++++++ > include/linux/mtd/nand-qpic-common.h | 548 ++++++++ > 11 files changed, 2547 insertions(+), 1211 deletions(-) > create mode 100644 Documentation/devicetree/bindings/spi/qcom,spi-qpic-snand.yaml > create mode 100644 drivers/mtd/nand/qpic_common.c > create mode 100644 drivers/spi/spi-qpic-snand.c > create mode 100644 include/linux/mtd/nand-qpic-common.h > > -- > 2.34.1 > -- மணிவண்ணன் சதாசிவம்