From nobody Tue Feb 10 01:34:52 2026 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 7E69736AB79 for ; Fri, 9 Jan 2026 17:18:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767979125; cv=none; b=qK830hcTbNKO7lQdZSs9/M3A5s+Yu8nxeYAvzheLpmbscwqrQcGK0n6pLG1nYDsBv93avxjJZz2TjQ5AdYKBma9s86cZ/It9yxmgJUS3+g9fSo01krKd6SmS7yf6eUi9T3HMSwAqhqHXe2bBno8Pjjs2i2kf3qShBbY7xC6O7iI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767979125; c=relaxed/simple; bh=BV8D7nBZkFVhYpQyKB0DGYiE68OVjWx/XnDOI3/F8wY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=D+9qdQWzcLk2oLO7crgfjr3wbm4bvWcKR7K1RfFuD/NJrsjQv2gE2VVvuNGwcvmzNggSL0TM4GAakNDiufRHHK+CCxRKaxgdNuWgHNQ9bUG1bqMutQnqS1tiylfP3a8elXRCeyUV5P6/OA4Bjmwklw+1efHV4TQ7Xt5bFwgj4NE= 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=V8rJzHi9; arc=none smtp.client-ip=185.246.84.56 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="V8rJzHi9" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 2EEF11A2752; Fri, 9 Jan 2026 17:18:42 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 0426D606C6; Fri, 9 Jan 2026 17:18:42 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 542E4103C89BB; Fri, 9 Jan 2026 18:18:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1767979121; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=6HYIcnqwyFWxHq3DkqAqIbtZT7IZvCykXnPBw3eNAvA=; b=V8rJzHi926cmEs6Gy53noktAnngb4K3uRi6ofuWB8Sort6rU+WndQ4GbUql4ZuEhdOvnIZ y8u5z9GJePmW3A+ZiCM8ABQcD+dJsZkUP8BLZM2agaakpgN+xl7sMisaV9fJTd2cXImy9b Mdt0G8FFASpZuEKnBn9+InEVZvpAv4l2mQaeZhacHXfnKmR7nrqnvEMjzznV10QNWWJ89+ nkEvX7DZuK3NgWDSkPNfVv6+vaxdjCOPP0sMlxA1nWo0h2xjWrKq6QuDJfbUqT1josmX8u lYP2M8i3FCFE55oqTSj/ADsqA/UqZjTJYJfBkcb23UAdhDVj/QGgWsq1EfMZIg== From: Miquel Raynal Date: Fri, 09 Jan 2026 18:18:17 +0100 Subject: [PATCH v2 19/27] mtd: spinand: winbond: Rename IO_MODE register macro 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-Transfer-Encoding: quoted-printable Message-Id: <20260109-winbond-v6-17-rc1-oddr-v2-19-1fff6a2ddb80@bootlin.com> References: <20260109-winbond-v6-17-rc1-oddr-v2-0-1fff6a2ddb80@bootlin.com> In-Reply-To: <20260109-winbond-v6-17-rc1-oddr-v2-0-1fff6a2ddb80@bootlin.com> To: Mark Brown , Richard Weinberger , Vignesh Raghavendra Cc: Tudor Ambarus , Pratyush Yadav , Thomas Petazzoni , Steam Lin , Santhosh Kumar K , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Miquel Raynal X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 Suffix the macro name with *_REG to align with the rest of the driver. Signed-off-by: Miquel Raynal --- drivers/mtd/nand/spi/winbond.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/spi/winbond.c b/drivers/mtd/nand/spi/winbond.c index 7eade2251f7b..b16963637683 100644 --- a/drivers/mtd/nand/spi/winbond.c +++ b/drivers/mtd/nand/spi/winbond.c @@ -22,7 +22,7 @@ #define W25N0XJW_SR4 0xD0 #define W25N0XJW_SR4_HS BIT(2) =20 -#define W35N01JW_VCR_IO_MODE 0x00 +#define W35N01JW_VCR_IO_MODE_REG 0x00 #define W35N01JW_VCR_IO_MODE_SINGLE_SDR 0xFF #define W35N01JW_VCR_IO_MODE_OCTAL_SDR 0xDF #define W35N01JW_VCR_IO_MODE_OCTAL_DDR_DS 0xE7 @@ -392,7 +392,7 @@ static int w35n0xjw_vcr_cfg(struct spinand_device *spin= and) else return -EINVAL; =20 - ret =3D w35n0xjw_write_vcr(spinand, W35N01JW_VCR_IO_MODE, io_mode); + ret =3D w35n0xjw_write_vcr(spinand, W35N01JW_VCR_IO_MODE_REG, io_mode); if (ret) return ret; =20 --=20 2.51.1