Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6B6E9EB64DC for ; Sun, 9 Jul 2023 22:47:58 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1236585EEB; Mon, 10 Jul 2023 00:47:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="pVPn/xPP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 17D0585F50; Mon, 10 Jul 2023 00:47:55 +0200 (CEST) Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (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 B4E318565A for ; Mon, 10 Jul 2023 00:47:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=judge.packham@gmail.com Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-666eba6f3d6so1689711b3a.3 for ; Sun, 09 Jul 2023 15:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688942871; x=1691534871; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=C+t47sqm4sm12d9RBZOqb9C0+93LqoJLQnSSfa7muKI=; b=pVPn/xPPwC4LMsj/5+y7Ob7NXpn/G3uHKUAIA1lxyav9OYAtyzbJ5LVv2ubg8FWrTe 9Oz+hdf4wq6rx8TZsCgLgboSJlW5VMzXEJLG5a9+qwhvsq2r0Ghjm85d3FC1UQPJtK4g tHTbX4LX4Gfbb0qmFthNx/SmbSOkP8kLTsolmEDOeH6hg6AMJIYAJ5VzTUDNcOBKgRc1 YB5Z2S9+LKR5nIrT+cIm5wIHQlRI+ZTBKNeb7RrMydJRxTzedYKvOBGQsWQww+L9Bzhn oA7ZXNAFDvYtDbrY74hmZ/qv3DAygHSoTk2LeztbKdYfPZGjmucUKNUbhjX7vrT/RHw6 kJsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688942871; x=1691534871; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=C+t47sqm4sm12d9RBZOqb9C0+93LqoJLQnSSfa7muKI=; b=DongSO4u//Mm/7IlrNH4gBguD6tSgIZ6yYsx6eE+0wNrb7qqk9mCujoSOnpnu+qv5R yo+lewaShjidZtEWBQ3m2qjZA5kTpsnO3JjHtNF961N9Qw4b0OgwHwFwmWbMNDvqsfyf KAXX/p4sKHAUnHOmdmvgPEYfpg07fhfZGK03FGfEKNpmorRP0LgOV2vf1nuaAAhvnK9C HMlb9wjt8LFXe2slzSKpxGTZWwc2Pj9qDqj4P5/LhXh7lbBAtTnzuH3EPxE287a6SFWO kzIhwM6tJLQWBaCH91biZXXOX4Zsw6ie05P+J3EiRzsuzy9ajhzSWqVtK4vR3hLlaDaN 0/XQ== X-Gm-Message-State: ABy/qLb0033GdGMY5cS0f+SZ+WqBdmpbPNLEe8B5aUyvo0WYL1opNLja A4aHP12QRYvidvmEkEwjq1g= X-Google-Smtp-Source: APBJJlE7iRA5uJJCgp7pYwrkAb8q/z67Nkx72v82jJtBxOPEnly7qGF9973nyvqP4f5cbi3NJamxDg== X-Received: by 2002:a05:6a00:14c5:b0:653:b76d:4d62 with SMTP id w5-20020a056a0014c500b00653b76d4d62mr11784131pfu.24.1688942870825; Sun, 09 Jul 2023 15:47:50 -0700 (PDT) Received: from chrisp-dl.atlnz.lc ([2001:df5:b000:22:53f7:af35:6d87:351d]) by smtp.gmail.com with ESMTPSA id y25-20020aa78559000000b0063f1a1e3003sm5871817pfn.166.2023.07.09.15.47.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jul 2023 15:47:49 -0700 (PDT) From: Chris Packham To: sr@denx.de, dario.binacchi@amarulasolutions.com, michael@amarulasolutions.com Cc: chris.packham@alliedtelesis.co.nz, u-boot@lists.denx.de, Chris Packham Subject: [PATCH v2 0/6] Support for AC5X NAND and AT-x240 board Date: Mon, 10 Jul 2023 10:47:31 +1200 Message-ID: <20230709224737.338525-1-judge.packham@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 series adds support for the NAND flash controller on the AC5X SoC and adds support for the Allied Telesis x240 board. I've also included 2 unrelated changes. "arm: mvebu: Remove unused alias from RC AC5X dts" removes an unused alias from the dts. This was in the neighborhood of the x240 so I included it. "mtd: nand: pxa3xx: Enable devbus/nand arbiter on Armada 8K" allows using the NFC and device bus at the same time. This is needed for another board (CN9130 based) that I'll hopefully get upstream in the near future. I figured I'd include it now since I was touching the NAND driver. Chris Packham (6): arm: mvebu: ac5: Add nand-controller node arm: mvebu: ac5: Define mvebu_get_nand_clock() mtd: nand: pxa3xx: Add support for the Marvell AC5 SoC mtd: nand: pxa3xx: Enable devbus/nand arbiter on Armada 8K arm: mvebu: Add Allied Telesis x240 board arm: mvebu: Remove unused alias from RC AC5X dts arch/arm/dts/Makefile | 3 +- arch/arm/dts/ac5-98dx25xx.dtsi | 9 ++ arch/arm/dts/ac5-98dx35xx-atl-x240.dts | 212 +++++++++++++++++++++++++ arch/arm/dts/ac5-98dx35xx-rd.dts | 1 - arch/arm/mach-mvebu/Kconfig | 7 + arch/arm/mach-mvebu/alleycat5/soc.c | 6 + board/alliedtelesis/x240/MAINTAINERS | 7 + board/alliedtelesis/x240/Makefile | 6 + board/alliedtelesis/x240/x240.c | 13 ++ configs/x240_defconfig | 86 ++++++++++ drivers/mtd/nand/raw/pxa3xx_nand.c | 20 ++- include/configs/x240.h | 37 +++++ 12 files changed, 401 insertions(+), 6 deletions(-) create mode 100644 arch/arm/dts/ac5-98dx35xx-atl-x240.dts create mode 100644 board/alliedtelesis/x240/MAINTAINERS create mode 100644 board/alliedtelesis/x240/Makefile create mode 100644 board/alliedtelesis/x240/x240.c create mode 100644 configs/x240_defconfig create mode 100644 include/configs/x240.h -- 2.41.0