From patchwork Mon Jul 3 03:38:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 1802494 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=eJ0BAzEJ; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QvWrC5j9Dz20bn for ; Mon, 3 Jul 2023 13:39:22 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D43BC865D4; Mon, 3 Jul 2023 05:39:12 +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="eJ0BAzEJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 86C46865F4; Mon, 3 Jul 2023 05:39:10 +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,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (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 805C1865BC for ; Mon, 3 Jul 2023 05:38:59 +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-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-262d9e75438so2874539a91.2 for ; Sun, 02 Jul 2023 20:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688355537; x=1690947537; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=6IKeVxQzWZkU0oWnEGibvAcTpopLprzlsneqkNNKuyM=; b=eJ0BAzEJaYdU8PG1AwJRQyee9MamY6yiTELzlyYjQa5Bs0nGMmf895zCGGUrGyRLkX tI6Nb021OXTcqjH/X2tbwzdoeLhwNvSsCpu3PZg9Lak6x6jRS3BmZBl6WR4S3bQeUklb PWmgiWvRkDRnDbV0UTLFSIFHEubzn8no2eiO04DDffqVX8eyw+d4h+D0fNpKnMEna9fV oKmRacbiwOdxY+yTuMboM9KNLm0NRngAQZLNX1EWRVRIvQ48BpGegDMPIdCdF1bar6+4 U/ks62G7UAseGcvWw72uBXQIJSITVVwFeXJ2fPwkDz4TygWhWZwJ9xuQp+0tlbYZb0LV HcAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688355537; x=1690947537; 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=6IKeVxQzWZkU0oWnEGibvAcTpopLprzlsneqkNNKuyM=; b=RC85w7PPnDnMXGNtEBVyx9ge55SkOJJ0o5rfia6sHidHxc8RU2U5DS5Esngmjgfb6J brlW9cpLQ4Sa/5mXoNsdPakK1QHnUzba2HMWiIO+jg5Lbsc47YZ3F2VX4GEw4EUU/iB1 tMp0ax7qnmRfdkNg0dY/ck4U11b+gfrL+xOQfDpje/qt0vZXGXVr9O5aeeyjqf3h6hXf SvAlbt29OmW4k03dcu5MMJ5H1vMRzaoi+4+9jAiY87aA/XBIiN4JWivJyeCRWszbsU+h pCLpOTGLXhAqEdikIkbaAU6A/mpNCAziuXSp/RBy3umsjVNQVXc443uF4P/vT66GJJ/l jcUw== X-Gm-Message-State: ABy/qLaaI9Z2fyrK/Lqt9w1kTQeUOXsNNgCzgMPOzflbPPwceUMD5qIF QZLgqq5AxD4l2jZ6TbxGfFA= X-Google-Smtp-Source: APBJJlHdpc5yGXKf/JM6b0NzWXP0YSlsBfNkChfFheIWCOk3PhbUjYEwE1gA99tIqVogOn1Lc30Ung== X-Received: by 2002:a17:90b:b03:b0:262:f872:fa77 with SMTP id bf3-20020a17090b0b0300b00262f872fa77mr10272681pjb.31.1688355537268; Sun, 02 Jul 2023 20:38:57 -0700 (PDT) Received: from chrisp-dl.atlnz.lc ([2001:df5:b000:22:4a20:7a49:a460:dca7]) by smtp.gmail.com with ESMTPSA id 29-20020a17090a195d00b00263cfc9c065sm326784pjh.30.2023.07.02.20.38.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jul 2023 20:38:56 -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 0/6] Support for AC5X NAND and AT-x240 board Date: Mon, 3 Jul 2023 15:38:34 +1200 Message-ID: <20230703033840.2060702-1-judge.packham@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.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 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 | 87 ++++++++++ drivers/mtd/nand/raw/pxa3xx_nand.c | 20 ++- include/configs/x240.h | 37 +++++ 12 files changed, 402 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