From patchwork Tue Dec 24 13:25:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 1215217 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="EIcEv/G3"; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47hxnN5YFtz9sPh for ; Wed, 25 Dec 2019 00:26:12 +1100 (AEDT) Received: from phobos.denx.de (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1419280421; Tue, 24 Dec 2019 14:26:05 +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="EIcEv/G3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4832481024; Tue, 24 Dec 2019 14:26:03 +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=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, SPF_HELO_NONE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) (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 2A778801BA for ; Tue, 24 Dec 2019 14:26:00 +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=linux.amoon@gmail.com Received: by mail-pf1-x441.google.com with SMTP id q8so10776264pfh.7 for ; Tue, 24 Dec 2019 05:26:00 -0800 (PST) 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=0f1qFpwxL+brFBYEYLEO41QRhsMI3QFu30chGF0LQa8=; b=EIcEv/G38SZ85JaGD0FnFGRtCot/4MZMTre8vvEU77WkDFqe7gjiOODjMGy2AiuPk0 nEVYUsKFeTF+S4Sejh4oY0R+pXapXnLDUlEh92npYGoZc1WDYAkgnYYq2In0LhOjHGJ9 63KHerpufleIHu/40immCvcFQIGWoWZfyjQGMz3SX5jffp71haND1hWTNKkpqcPvfYKk ezYozp5+zODitrkBrdUfoUr54ky3zwuETloD0vMd1ah3x2Cl3qkmp41C+vSBLXEpHmaH m6lr67g4HY6mmGepr3MScqF6+zknrquylthLnC56tpBHCR3O0uxzq0ewXSPklaBqx2ad 880A== 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=0f1qFpwxL+brFBYEYLEO41QRhsMI3QFu30chGF0LQa8=; b=DEo6++5S0QCJjndvEXH6dhiIJYSCX/gCGkTqe51mNntjaPs58whekZ6ReRv0oeDBJn 7HMOlhHYGTHvypi+BGQ0m8IZvo5gxXTMji9+i3eFJxHFUReg7UbwleHvqDwj4N/7QPqp QqyqNhz825d3h2EkeA7HyicUxQOg3Fm7pR04mlT1SsCsX17gZA8RAg5Z/+e3CUhIkGH9 NZ3HlxNWCfjqqcdaNIt2KN3GIZ6YPman888QjyezCUhXy9OcmmQ8lkkOGLUzyTwJMCRU 6it2EbnfvuQuC7KPa9gdLBsH0R1N1JR+9RG1/mJocLizcZD/I+OOsjTh3LEh2Xv27cGr DRrA== X-Gm-Message-State: APjAAAVb7j5wA2D4GpEIbFOhqXTQZ4iz7B87CuhAi6/gbawwXBw85cK3 AW7vo9MEKILMqtA3dSi+OVY= X-Google-Smtp-Source: APXvYqxC2/trMX106MzXGfQrJmPw+ew0mZC/WqZvLF3ullqmj8wbH+RehqX/2do8IYaoEFFCPuvvTA== X-Received: by 2002:a65:484d:: with SMTP id i13mr28019367pgs.32.1577193958310; Tue, 24 Dec 2019 05:25:58 -0800 (PST) Received: from localhost.localdomain ([45.114.62.25]) by smtp.gmail.com with ESMTPSA id e1sm29914372pfl.98.2019.12.24.05.25.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Dec 2019 05:25:57 -0800 (PST) From: Anand Moon To: Neil Armstrong , Peng Fan , Jerome Brunet , u-boot-amlogic@groups.io, u-boot@lists.denx.de Subject: [U-Boot] [PATCHv2 0/3] Odroid n2 using eMMC would fail to boot up Date: Tue, 24 Dec 2019 13:25:48 +0000 Message-Id: <20191224132551.1427-1-linux.amoon@gmail.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 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.101.4 at phobos.denx.de X-Virus-Status: Clean Here are some small changes to fix booting of Odroid N2 using eMMC. Fixed the clk tunnig during mmc initialization. Build and tested on top of below patches [0] https://patchwork.ozlabs.org/patch/1213648/ [1] https://patchwork.ozlabs.org/patch/1213650/ Tested on below eMMC module on Odroid N2 and C2 new orange - eMMC AJNB4R 14.6 GiB MMC 5.1 old back - eMMC CGND3R 58.2 GiB MMC 5.0 Prevoius changes: [3] https://patchwork.ozlabs.org/cover/1201206/ -Anand Anand Moon (3): mmc: meson-gx: Fix clk phase tuning for MMC configs: meson64: enable GIC support for G12A/G12B board: amlogic: select PWRSEQ for all amlogic platform arch/arm/include/asm/arch-meson/sd_emmc.h | 14 ++++++-------- arch/arm/mach-meson/Kconfig | 1 + drivers/mmc/meson_gx_mmc.c | 9 +++++---- include/configs/meson64.h | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-)