From patchwork Tue Feb 8 01:22:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying-Chun Liu X-Patchwork-Id: 540739 Delivered-To: patch@linaro.org Received: by 2002:ad5:420f:0:0:0:0:0 with SMTP id e15csp114071imo; Mon, 7 Feb 2022 17:23:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvFIJVk4voMO1i0mg/46jP29VNhmvY4aPYDOXoyrqUMWm3dPJMqHlCFotdTxjxz2KTSuO7 X-Received: by 2002:a17:906:a002:: with SMTP id p2mr1829602ejy.129.1644283383586; Mon, 07 Feb 2022 17:23:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644283383; cv=none; d=google.com; s=arc-20160816; b=iKJZr0+r8B9WqbMMSOpLCg2ZNlpNoTGHfn0lPKH4k5VieRTvlMIYqmBGsG7Kd01EjP tnYnVnU5CZedlgj9GKmCWvF8gfrsFKwhSj54pjhjKyirmNPYwY98trNTGf9YCUtKEKMC 0PKOjSK7iCfoBrhWUY2vk45wQHTkObBmhHEiGVt9641/UbmO/t7J3LWgrvsWylic5rSP IBLIdlsYyzt5qhw1KE4lfgVxn7WysoUBgf1MAF4XzVDje0SJRkJQswXI8Tx8FySDYMMs 4Rzig5H1xCB9iuV8Hsec+Uo+wa5LQ6TNv1r74EXl0arQNtqVnxaIlO9U8K3Z1Ti+3fhf 4PDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=w/qUsQXKwi1sJ0chyD5/s0/jeui18gYPmXw6FyXypUM=; b=cdrYku/1TwiXNUVA5IG42eLRi3SKNo/DQnXZ7rQnWRDAvC6dkRW7mwpBsFMweWCSBj f8nNac2gh0DSLVXN9/R8syZPkna9XUG3LrdgQOVBcSqNwiw/CsESjtGpkUbGf6wQvzOo yzuucyIaJVPbO5BhUNYlTPirIHZarGNW1xLZroh7geO2+P/Do6r1z2BF0G9tpRNgwTwC UpiPT7Nz0fTGYwhlewF62V15k4HTIELxw+hTpwxIHHONw125RxRK2YIGl6JqgfUVBy81 a+3QgiAs6uKQ2xe1sAFwvnw6D4xdc6LAk449TdX3dzuR1bvx0mw9ZJaqCY85jwx7Nou0 vELw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jnZcEP2z; 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=QUARANTINE dis=NONE) header.from=gmail.com 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 sb30si7974389ejc.616.2022.02.07.17.23.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Feb 2022 17:23:03 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=jnZcEP2z; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9A37483BBF; Tue, 8 Feb 2022 02:22:59 +0100 (CET) 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="jnZcEP2z"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3BD67838FC; Tue, 8 Feb 2022 02:22:58 +0100 (CET) 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=unavailable autolearn_force=no version=3.4.2 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) (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 2A8A483BB9 for ; Tue, 8 Feb 2022 02:22:55 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=grandpaul@gmail.com Received: by mail-pf1-x432.google.com with SMTP id u130so16113115pfc.2 for ; Mon, 07 Feb 2022 17:22:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=w/qUsQXKwi1sJ0chyD5/s0/jeui18gYPmXw6FyXypUM=; b=jnZcEP2zHJIaS6+iKVumqrP1LTJNBIspQD4Bydlh35gIsEjm7bqZl0JJXAYRRlPZfs LPnlkqjExN2exJTwC75bUg1ZtJXU4rDlMue4Zij0NTA3IDjRYkDVubAsfiB68BPiASbM s4/KHxTIuFVkY3y0oQo3FGIsdhpPI8u89Zk/ZCMyGatub7wE85Oju9v2S9RzyAJalVHw JxsHq4LB3XAJEi/CY/hTFn6a0U9jbZa5302ikd9+sygI1imn9hHQRQa10EihMLOIqyq8 guxgVOzlT8biLjGozNIWO2TrihLIQHUcgeaSfhlSUl35ZC0Esy7icGCYlhOwvWfHVGIV +n3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=w/qUsQXKwi1sJ0chyD5/s0/jeui18gYPmXw6FyXypUM=; b=h0kENYTZ5yC1eqwATNCDcgLZDxmWCVAFeFGl9W9eMMpbJMHkRcuBew5g3Lehz7LLa+ GWcbt//B8AhGKj+PzanF+8JPQ10eS6WM6aJ/nBvMBLkqcg6imdBkE2Xt1o8jgcFbWw/w TDEAxBfVG0yonq5dAVot+x6zzXPWJ5ucr1Wq/ZevKqTPY0knGbt+3LFHM5til9+X8mK4 JWv5OM80+3E63a7kBqggMhtnxWKyiMwXYwsC6W6VoZ+Cff5KSFCg/b816E0lXLyya53E Yxh++0m0WrWILtFSfAvPDxYV+KoHYLx2WcLkpPzAnuf48h+NmQcCwuk5GXFmLLT5Sc+y oIKQ== X-Gm-Message-State: AOAM532EvKWWfRWnh7tZ+GMA5mHGz/aNlk5dL2rCU9iMt+hMqvprJtY9 PStPUUVP+FwEdxYKQKOwjxn8fvcuU7U= X-Received: by 2002:aa7:9e4a:: with SMTP id z10mr2035619pfq.53.1644283372859; Mon, 07 Feb 2022 17:22:52 -0800 (PST) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id z25sm12716222pfg.129.2022.02.07.17.22.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Feb 2022 17:22:52 -0800 (PST) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: sbabic@denx.de, "Ying-Chun Liu (PaulLiu)" Subject: [RESEND PATCH v7 0/1] arm: imx8m: add support for Advantech RSB-3720 Date: Tue, 8 Feb 2022 09:22:37 +0800 Message-Id: <20220208012238.120034-1-grandpaul@gmail.com> X-Mailer: git-send-email 2.34.1 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.5 at phobos.denx.de X-Virus-Status: Clean From: "Ying-Chun Liu (PaulLiu)" Hi. I resend this patch for u-boot-imx due to v7 doesn't directly apply. Because a previous imx8mm changes for Kconfig and Makefile causes a conflict, I resend this patch for easier pick-up. Add initial support for Advantech RSB-3720 board. The initial support includes: - MMC - eMMC - I2C - FEC - Serial console v2: update dts v3: remove unnecessary code. move board code to board/advantech v4: rebase to latest master branch. v5: fix commit description v6: update dts v7: remove redefined configs for latest master branch. Ying-Chun Liu (PaulLiu) (1): arm: imx8m: add support for Advantech RSB-3720 arch/arm/dts/Makefile | 4 + arch/arm/mach-imx/imx8m/Kconfig | 15 + board/advantech/imx8mp_rsb3720a1/Kconfig | 14 + board/advantech/imx8mp_rsb3720a1/MAINTAINERS | 7 + board/advantech/imx8mp_rsb3720a1/Makefile | 24 + .../imx8mp_rsb3720a1/imx8mp_rsb3720a1.c | 213 ++ .../imx8mp_rsb3720a1/imximage-8mp-lpddr4.cfg | 11 + .../lpddr4_timing_rsb3720a1_4G.c | 1848 ++++++++++++++++ .../lpddr4_timing_rsb3720a1_6G.c | 1875 +++++++++++++++++ board/advantech/imx8mp_rsb3720a1/spl.c | 260 +++ configs/imx8mp_rsb3720a1_4G_defconfig | 167 ++ configs/imx8mp_rsb3720a1_6G_defconfig | 168 ++ include/configs/imx8mp_rsb3720.h | 223 ++ 13 files changed, 4829 insertions(+) create mode 100644 board/advantech/imx8mp_rsb3720a1/Kconfig create mode 100644 board/advantech/imx8mp_rsb3720a1/MAINTAINERS create mode 100644 board/advantech/imx8mp_rsb3720a1/Makefile create mode 100644 board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c create mode 100644 board/advantech/imx8mp_rsb3720a1/imximage-8mp-lpddr4.cfg create mode 100644 board/advantech/imx8mp_rsb3720a1/lpddr4_timing_rsb3720a1_4G.c create mode 100644 board/advantech/imx8mp_rsb3720a1/lpddr4_timing_rsb3720a1_6G.c create mode 100644 board/advantech/imx8mp_rsb3720a1/spl.c create mode 100644 configs/imx8mp_rsb3720a1_4G_defconfig create mode 100644 configs/imx8mp_rsb3720a1_6G_defconfig create mode 100644 include/configs/imx8mp_rsb3720.h