From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17D4DC48BDF for ; Fri, 11 Jun 2021 02:36:05 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 18D6761364 for ; Fri, 11 Jun 2021 02:36:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 18D6761364 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5FA1E81DC0; Fri, 11 Jun 2021 04:36:01 +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="M8rX4l+h"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5D23382CBE; Fri, 11 Jun 2021 04:35:59 +0200 (CEST) Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (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 AC5EA80C9A for ; Fri, 11 Jun 2021 04:35: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=twoerner@gmail.com Received: by mail-qk1-x732.google.com with SMTP id j62so15764818qke.10 for ; Thu, 10 Jun 2021 19:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=jR7L4IvGCH1QqULNKY1qazz25BBusBX3cYltL6WdDU4=; b=M8rX4l+ha7nSpijsYo7duHIaGKOZHA7NGLj7CQNLdwWiPm1aBscbphXGF88h+HaN5F SeKiZWHjIYwfvlhpG5d9oHfJ2lqNjN2DzK1flSOvsyYVWkC6CBmWVnntb8bkaozhUoYv wTP3j0mctz4GriVeCsw/XfCt7SvKWe9ZTF/iJdSk+KnUFFsuhDyJd6KtyVAIpUy34EAu 41JmxGDnXdGgszCEKuxqI1XZ+ppkuAeYBu8AjY7kLF0qR4yI7bjYohnpLAMkPfEJytQa BMlIFgHV3d6X5RZ4Sk0/LDq21hg5Y+VPomBmf1NC5060udXdgfy1dAE8/8jA8pL9NTY9 sazA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=jR7L4IvGCH1QqULNKY1qazz25BBusBX3cYltL6WdDU4=; b=iUXDX9m9rNtby7LlladXTXK/9dCZ7Fvp3DA9h0H9rgKbivd5sp9Pi3xqa7l1Ox5KkT 5iWDDe+4KMR4DtEk57rmINSd6/B/qrniQb3R6Xpao7maOzMB+XenBEgz2RchfpyVKIuf 43uMj6A4/RoyJIHDGBG00OUu/BXj4kweRsjZCX+YC8mKdH9M1Vh+qw35jxHECCWERJKw WRPP6SHgtWKcLzoipFjxwqvw5oO43or3e34NWX5b/evf0tENepDkMZ6rT48vHvoqB2gn Z+oaTPDTiPvALP35XUF/zh0kWiflbIEdcx3UYJ9/hT3+5hibjdQqVKjUuwFJWhhsrz90 fztw== X-Gm-Message-State: AOAM5319v6/Jj0u5afA2ypsqFGGe1VGy78chv92P/l9mlNlCoxKAoNNJ njoK7A5S9hX3vapTyJzvB3+ebdOwcKGUTg== X-Google-Smtp-Source: ABdhPJwrOcBlEupJAP/QoH0e/sFlffwDzHq7SvUDYPNb5s7FtVb1DhPEO7E5r9mDge/Cl7cMS2pcpA== X-Received: by 2002:ae9:e885:: with SMTP id a127mr1748432qkg.30.1623378954968; Thu, 10 Jun 2021 19:35:54 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id a68sm3426435qkd.51.2021.06.10.19.35.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jun 2021 19:35:54 -0700 (PDT) From: Trevor Woerner To: U-Boot Mailing List Subject: [PATCH v2 0/8] lpc32xx updates Date: Thu, 10 Jun 2021 22:35:34 -0400 Message-Id: <20210611023542.34765-1-twoerner@gmail.com> X-Mailer: git-send-email 2.30.0.rc0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.4 at phobos.denx.de X-Virus-Status: Clean This patch series starts with some lpc32xx-related cleanups, then adds support for a new LPC32XX board: the Embedded Artists LPC3250 DevKit v2. The series then goes on to look at the lpc32xx i2c driver. It starts off by perfomring some cleanups, adds some fixes so that it fully works in DM/OF mode, does a Kconfig conversion, then adds i2c to the ea-lpc3250devkitv2 configuration (with examples). Trevor Woerner (8): lpc32xx: Kconfig: switch to CONFIG_CONS_INDEX lpc32xx: import device tree from Linux arm: lpc32xx: add EA LPC3250 DevKitv2 board support lpc32xx: i2c: remove unused define lpc32xx: i2c: fix base address lpc32xx: i2c: finish DM/OF code Kconfig: convert CONFIG_SYS_I2C_LPC32XX lpc32xx: ea-lpc3250devkitv2: enable i2c (DM) arch/arm/dts/Makefile | 2 + arch/arm/dts/lpc3250-ea3250-u-boot.dtsi | 15 + arch/arm/dts/lpc3250-ea3250.dts | 273 ++++++++++ arch/arm/dts/lpc32xx.dtsi | 508 ++++++++++++++++++ arch/arm/include/asm/arch-lpc32xx/config.h | 4 +- arch/arm/mach-lpc32xx/Kconfig | 4 + arch/arm/mach-lpc32xx/devices.c | 3 +- board/ea/ea-lpc3250devkitv2/Kconfig | 15 + board/ea/ea-lpc3250devkitv2/MAINTAINERS | 9 + board/ea/ea-lpc3250devkitv2/Makefile | 4 + board/ea/ea-lpc3250devkitv2/README.rst | 186 +++++++ .../ea-lpc3250devkitv2/ea-lpc3250devkitv2.c | 41 ++ board/timll/devkit3250/devkit3250.c | 2 +- board/timll/devkit3250/devkit3250_spl.c | 2 +- board/work-microwave/work_92105/work_92105.c | 2 +- .../work_92105/work_92105_spl.c | 2 +- configs/devkit3250_defconfig | 3 + configs/ea-lpc3250devkitv2_defconfig | 26 + configs/work_92105_defconfig | 3 + drivers/i2c/Kconfig | 6 + drivers/i2c/lpc32xx_i2c.c | 15 +- include/configs/devkit3250.h | 6 - include/configs/ea-lpc3250devkitv2.h | 37 ++ include/configs/work_92105.h | 6 - include/dt-bindings/clock/lpc32xx-clock.h | 58 ++ scripts/config_whitelist.txt | 2 - 26 files changed, 1205 insertions(+), 29 deletions(-) create mode 100644 arch/arm/dts/lpc3250-ea3250-u-boot.dtsi create mode 100644 arch/arm/dts/lpc3250-ea3250.dts create mode 100644 arch/arm/dts/lpc32xx.dtsi create mode 100644 board/ea/ea-lpc3250devkitv2/Kconfig create mode 100644 board/ea/ea-lpc3250devkitv2/MAINTAINERS create mode 100644 board/ea/ea-lpc3250devkitv2/Makefile create mode 100644 board/ea/ea-lpc3250devkitv2/README.rst create mode 100644 board/ea/ea-lpc3250devkitv2/ea-lpc3250devkitv2.c create mode 100644 configs/ea-lpc3250devkitv2_defconfig create mode 100644 include/configs/ea-lpc3250devkitv2.h create mode 100644 include/dt-bindings/clock/lpc32xx-clock.h -- 2.30.0.rc0