From patchwork Mon Sep 30 13:24:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 831565 Delivered-To: patch@linaro.org Received: by 2002:a5d:66c8:0:b0:367:895a:4699 with SMTP id k8csp1947029wrw; Mon, 30 Sep 2024 06:25:06 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX3KjiQZ7Y85zO9PqWn/HXlrcXeAKy5BkzB3drw9wlYGQhN4lKwqzat3RsNmPuzmeLP80M7mw==@linaro.org X-Google-Smtp-Source: AGHT+IGeMA8w0UKLHXzyfD+tHFXZdm5TkbKVwjD9zDi4DYd5LfSOQpme/5eZDM//PPLMk8ncR6q5 X-Received: by 2002:a05:6e02:144e:b0:39f:6f8c:45f3 with SMTP id e9e14a558f8ab-3a3451aadf2mr107464725ab.16.1727702705815; Mon, 30 Sep 2024 06:25:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727702705; cv=none; d=google.com; s=arc-20240605; b=PCI43HyPuXwN9OUI2qDUKD5S136sLzZCrxMp955rduK+J3BofS/MydYYPVJGMipXVh c2YYhdrK+h+Qcur95Pa2cAo9YTEVRoPt0dCzQKzS+yRZ56a0Bl5yYjd9rJ8+szVTEyV2 0JYEBr3+EpYLB3ir2h88HMGrei//XgxfCInpFlz3pE2Qcjv32XEAyhkwlLqKqNcwGKP6 CZpJbhYvprQ8amYfx+v5R7FfXqA90Plfm5u2lo0gxroZufZI2yEYUZz9vzZdR8unDWIl 7pion5XswrsxBWgf+u1S2OfEQp6pOH+bgUAR4saoniEVpozfWCJRN36CDw0x1f9h8KPs S2/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:content-transfer-encoding :mime-version:message-id:date:subject:from:dkim-signature; bh=0NdhdUO3+LEmFo+b3aVZXOP92D9LENrRmHjkmSQQP6s=; fh=ftQntzGq59ruF58t30aRXV87AbbvorkS2P8ZbONQbrM=; b=DRSLLttif/zH81zF6TTY00duSt2uzcIRJ55DDfj5+zDIh2a1PBaAE6lxAE0L+oDjgC BeKa6q/HgApL6IXswEVFRjEc7HUqdLSnpGH4NVIhYUD+FzbsbfTcntCK69lgtrZ6JQjl /szB4XL0uVnFcUJy4mm+2oGtSH46MbBJNXir/5nTw2nk5GRfLkiY88ukbpxHfAn1cRDx eeUUK/p6HsFfOA1XMvcUpOAo35hsnQrZLfuX2h96EXlCvLBjOXL20r1yvpv+JmN7RDwp LwJAWOSkBy2uRJ2SZLO7zKXXGvBj6MvpFw3PUQyXMIFGhUJ9o0qr8OCyy7euQ+vb8MxP rwyQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IhVUzYAm; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id e9e14a558f8ab-3a344df46fcsi36676125ab.142.2024.09.30.06.25.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2024 06:25:05 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IhVUzYAm; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3767F88B27; Mon, 30 Sep 2024 15:25:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="IhVUzYAm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 57DF388387; Mon, 30 Sep 2024 15:25:02 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0580888D6B for ; Mon, 30 Sep 2024 15:25:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=linus.walleij@linaro.org Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-5c896b9b4e0so1916583a12.3 for ; Mon, 30 Sep 2024 06:25:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727702695; x=1728307495; darn=lists.denx.de; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=0NdhdUO3+LEmFo+b3aVZXOP92D9LENrRmHjkmSQQP6s=; b=IhVUzYAmte28mBxooJczKnFM4oi+zPNM1LCB4aUmXjBu670Qhj3rC4toD5juNkxwlM TidxSGFaMIBGIWxrlUojRnUOU8AFF4Oh7YR2MivYVDw5/89D6hOfKL2sR+b209aJe+ks GM2+NvYYur+XJnhxRn7G0lbZgpJhvTfC5Rd5VPxiqkElQyuvODatr81z37OOfftL00nU F/l2bJL/qeNL9VwGqpu29sy/Fly0yVmOtoJo/KMeoolkJfjyYhLQFA9ygXjbm4+yWtPf St+NPNFnh6JVisSWRvZsE3B4Lj8LomFR596N9MLDVKAfCozMRwI5w40MWrqx3N2da6gl ONjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727702695; x=1728307495; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0NdhdUO3+LEmFo+b3aVZXOP92D9LENrRmHjkmSQQP6s=; b=P6/UFVP7GLj0l7LgPqiuswjzueMabNHlqHm1r79m1O8kbJkjoCPhWDnaq4ccq1mtOq Mmpa6OHTIABplrb18C7d0ugLV1KJJWWSSO5DHzni3PPTgZuoCrWwqNCTr5Rmiu1iB+dy hoy2mmM1dGJCQyulY7ShJun7o0vSmVpNs7tYXQkHKQfgNrP9CxVES2nbbIMTvPs+bI2s LiKD8adyejJGEjLXXLOwyPQAI4t6p+KjxGLFTXlk/sp8/LYHoo6+EJUrXKfGQ4c6uKWS Rd8HESFtX/ai/gCSYbpKJkSLtf64cJ088885jL/kriws/hCCgihu85QAf+FF4Tl9byWE gviA== X-Gm-Message-State: AOJu0Yy4kgqblvnbvX8KWrp5rexg89pCZVnpvOD+O0c5DEd+wBKMtuzC dk9LBqCmDjEVBXB4CP3SzhJG2p79CMSrDUGLGAtwSfSZtD1m2a9F8UM47myM7TM= X-Received: by 2002:a50:cb8b:0:b0:5c2:5cf1:70e2 with SMTP id 4fb4d7f45d1cf-5c8824f24b0mr9575280a12.20.1727702695103; Mon, 30 Sep 2024 06:24:55 -0700 (PDT) Received: from lino.lan ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c88245fbeasm4484786a12.54.2024.09.30.06.24.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2024 06:24:54 -0700 (PDT) From: Linus Walleij Subject: [PATCH 0/4] mtd: rawnand: brcmnand: Add BCMBCA support Date: Mon, 30 Sep 2024 15:24:52 +0200 Message-Id: <20240930-bcmbca-nand-support-v1-0-e637c65de947@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAKSm+mYC/x3MQQ5AMBBA0avIrE1SNISriEWnHcxCNS0iEXfXW L7F/w8kjsIJhuKByJck2X1GVRZgV+MXRnHZUKtaq75RSHYja9Ab7zCdIezxQK11x1XXEpGDXIb Is9z/dZze9wPBQQkNZQAAAA== To: u-boot@lists.denx.de, Dario Binacchi , Michael Trimarchi , Anand Gore , William Zhang , Kursad Oney , Philippe Reynes Cc: Linus Walleij X-Mailer: b4 0.14.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This adds support for the NAND controller on the Broadcom BCA (Broadband Access) platforms. This requires the series with brcmnand fixes that I sent separately to be merged first. See: https://patchwork.ozlabs.org/project/uboot/list/?series=424109 The development was done on the Genexis XG6846B which is a derivative of the BCM96846 reference design, but probably has a different flash layout, be sure to check the last patch in the series for a comment on that. Signed-off-by: Linus Walleij --- Linus Walleij (4): mtd: rawnand: brcmnand: Add BCMBCA RAW NAND driver arm: dts: bcm: Update bcm6846 and bcm96846 drivers: nand: bcmbca: Enable on BCM6846 board: bcm96846: Enable NAND options arch/arm/dts/bcm6846.dtsi | 34 +++++++ arch/arm/dts/bcm96846.dts | 14 +++ arch/arm/mach-bcmbca/bcm6846/Kconfig | 3 + configs/bcm96846_defconfig | 12 +++ drivers/mtd/nand/raw/Kconfig | 7 ++ drivers/mtd/nand/raw/brcmnand/Makefile | 1 + drivers/mtd/nand/raw/brcmnand/bcmbca_nand.c | 152 ++++++++++++++++++++++++++++ 7 files changed, 223 insertions(+) --- base-commit: cd87faf0067493f97b3c0c83daccb2dc124fdd42 change-id: 20240930-bcmbca-nand-support-4447e176bbbd Best regards,