Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1224729rbb; Mon, 26 Feb 2024 02:50:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUbCpJ0Z2QUKNM+7ulBY4XhUQlCzKiilM2ODrfowNiQingwO6RTnxdAOrn2G0EzingvFwJPFiQ+J3nZ/TawI0rJuYenaBipCwfqFlU5QA== X-Google-Smtp-Source: AGHT+IG9LgTcks9NsPDJ77MXdce7baZdqFyD3FUHuivmdXzx747rmnqXlGCjrAsX/oL60uyOEKO3 X-Received: by 2002:a05:6830:1254:b0:6e1:7b0:fb99 with SMTP id s20-20020a056830125400b006e107b0fb99mr5908018otp.21.1708944640041; Mon, 26 Feb 2024 02:50:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708944640; cv=pass; d=google.com; s=arc-20160816; b=cqvOGinFvl2rtFwxcFUpQqBdiUxFZHgHDAjxxej48rf0RhxVCZEUjhrjw/4nqbUIHF Nv11kVX4Uh1Sc+MJCTcYIRAIo6ue0nmv5uQReM6n6m6s+uHKE4vGR7EXqUC8sJ90ecjE DzJCxIGeeSBjy+GgY0h/3VsXi6oJKIHLyaSgk/znk1uNy7n8FalLrBxyxEzJRm5azcmO 2R87qPvKQoTsv7lH8CZWOGCkUB+WXjTnwr7kjYGeKwjxZC5sLj9db8pUlkd82T0mbhYj z5JM+S9Wr+nZu8GkBp5oZUIkMi4PCDTt2jDZCLlCORlGWwXWCiuWR2hzsC+RZpmyT0n2 0Ypw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=AO4akNw+96Nu8tYAznJ+U/EWh5SkwWOrFAKal+L/WwY=; fh=aNw+kDbTyRXSnGmge0M/SYwq1QZubJ41G2Vk/i4cSnc=; b=oIXvIBHEMy79mpUW2FVusYquq4j2piWhUvEwdeRyX2yfwAUqNtEMZa7R0ZPjaTFdD6 O1gKG4v+URIdd+TN3+nNI89ZxCq0u+eTRHcuBQq1UcWDzFwotosZwM11VRxwHyuByrKV cPWCui5jaCfZsPyOX/oinVs0mRiWxafuwo1eiAPLveoc9bKSCEhwfoJaH72JCWLk0+73 lvqlvKoVQn4d1Wq1V67rEzHv10ptODZfVfGJkSw/stkarPb40P+j+XB0zIBjancbdnq5 jExiQ9Lq9OZPf2aajyaeI2mxQ6ySQ4wDdnzNDuWMbxi+5P5wQgNOqcrYXQt+OA4IKbt4 KRlA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MoqjKKzW; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-81200-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81200-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j8-20020ac874c8000000b0042e8d55fcdcsi494226qtr.92.2024.02.26.02.50.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 02:50:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81200-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MoqjKKzW; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-81200-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81200-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 49B441C22245 for ; Mon, 26 Feb 2024 10:50:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B8CC654679; Mon, 26 Feb 2024 10:44:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="MoqjKKzW" Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (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 2792E54663; Mon, 26 Feb 2024 10:44:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.196 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708944290; cv=none; b=L72VvWhi7VHrl2SJiwQoRAMh/LwdTdGQjyN+taRqWRpJ8Ba+IzyYgeHomMkW2d3lGCB7811Vww67m2UHwLNTUTa7qwcO0LEind1jp7S6uL3o0vFLMCDJDxHPSzueIWVL5imz7qpEqJj6qQoueRFZsr1xEqy9yLaogTq2AuYat4M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708944290; c=relaxed/simple; bh=p4FzrSKtLqpdf2GkM0vLpgXgNXtRineCJJsAfVApjIo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=p2ZWcUFEr5dsHYXIbs8djEvH/VnwFtolWDIErrwHWbdHXVT5JIO7QyQACTvM5UStLijgF6EvphPxxeagiVZ7AbaPzmi1KFcz28H8zsjy09tG47SvfuXlkUPczZqYh6BYRFLsFloMd3XOmUxAulNFbNhCpjs8hMqOUN9/1HLRUQc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=MoqjKKzW; arc=none smtp.client-ip=217.70.183.196 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id DA30AE0002; Mon, 26 Feb 2024 10:44:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708944286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AO4akNw+96Nu8tYAznJ+U/EWh5SkwWOrFAKal+L/WwY=; b=MoqjKKzWXG0b3EBe8D9j+rmKxHoUn0TlC8U+WLxwFy6KATGubMq+rkhE3TlWjpNWEYeMe5 /xgaTNwLMeFUwEfo2IjJNWpYxMn0rJsNuuj0rcJho501SWMzUvwXijWRCii9gtN16CUCpL 2H5sFXeWTbdSxQz2wx2Z5rGP6Ua33RC24ejaIH4Q7foyQA47I8ee+81vhjXpoUtydQHcK5 mGnDEH3zN4nXz5gEVLOxGDKv6eXT61ewSjxeXkP4qnub/qnpGv1eHfG+r5UZ0QCZpS7oVv XC3768fpMK1InfB9vN5lO45qmKJcr1mPYyeAkdGbfWC4pDTuGvmGVJCvaDTCFw== From: Miquel Raynal To: Christophe Kerello , miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, devicetree@vger.kernel.org Subject: Re: [PATCH v2 2/3] mtd: rawnand: stm32_fmc2: use dma_get_slave_caps to get DMA max burst Date: Mon, 26 Feb 2024 11:44:45 +0100 Message-Id: <20240226104445.489926-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240219140505.85794-3-christophe.kerello@foss.st.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-linux-mtd-patch-notification: thanks X-linux-mtd-patch-commit: b'a9ae475cc60d908dfd232d1c064fc34ec51d3228' Content-Transfer-Encoding: 8bit X-GND-Sasl: miquel.raynal@bootlin.com On Mon, 2024-02-19 at 14:05:04 UTC, Christophe Kerello wrote: > Use dma_get_slave_caps API to get the max burst size of a DMA channel. > > For MP1 SoCs, MDMA is used and the max burst size is 128. > For MP25 SoC, DMA3 is used and the max burst size is 64. > > Signed-off-by: Christophe Kerello Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks. Miquel