From patchwork Thu Dec 26 11:33:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 1215469 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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="RPc4/FA3"; 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 RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47k7CK0tc8z9sPJ for ; Thu, 26 Dec 2019 22:34:17 +1100 (AEDT) Received: from phobos.denx.de (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4D07C80C4B; Thu, 26 Dec 2019 12:34:06 +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="RPc4/FA3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B629D80C4B; Thu, 26 Dec 2019 12:34:04 +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-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (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 8D5CC80194 for ; Thu, 26 Dec 2019 12:34:01 +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-x444.google.com with SMTP id 2so13069325pfg.12 for ; Thu, 26 Dec 2019 03:34:01 -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=qjFrBdTmNh3vpBzDywcpnEuVyTvDocQ/AyyscadJkVA=; b=RPc4/FA361TlLr2zrnlSpASYsb97YROHTiVD3F0xjfIji8GofDb13/YihJCrKtTW/o 6eAPiN9DVW/KY9GQiu7vMEYzzcA86XLQsnm8/8/IjCNReSMf2bfIACbBlIlZSy2ozvWd rf7KTKPH/CNznmeOte7xUUxY5lzkhp8oqedstsH5xnT5jbR7BMVN8q4yfV5+z3QCRaG2 Unc/CRLBAXgQztnhizVgi/hypaQ28UvokaYnLM5HH80XsZmQlVdCwUEF3DzeGkTZ1TsH G7UeEKzPMWdOgnbrc2UWZ2gugehSUbOZj5AhJHTBCorhVN3QbaxYvfpMpnAxCjwcurOk gXUQ== 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=qjFrBdTmNh3vpBzDywcpnEuVyTvDocQ/AyyscadJkVA=; b=COaQvUfVBVq9onJOiko94ff5xE1VdIn9ZM+N8YU42XXTinhB5YfIcCALJT0sTnrt1S e1xkLHQEz1YluPYxZ0gs0TZDOYSG/xex9zfTCrgUTSfrtaCBLDt8eCG/YTWjWmj9ukPf B1foUiWDqjFz+JptGDRMEQmQ1ijE+nW2r1GQfG7cNUaB0QkOwB7mlrDTzIbH8bt034x2 do6Jh7YipVT7Or7RZTGZki6twGYxSsamSXjPJQMZgZECwKQ96s8pCncsub2z6440hv59 1b10J5igPRBID5wqKXAFkhCN0cTBCFNbja1/MYfvHp9tQTO6yfAD3b3WzE99DsZ6zpMJ pwIA== X-Gm-Message-State: APjAAAU6cbteZLtQNuPeK8TsCbpA7yhZ5GmS2UBA3+k5L7MycxPqksPm uT1iO7vIga5yHJAHbM8Krmg= X-Google-Smtp-Source: APXvYqxxT2iA+r15gxmej3/H9qzDwmup85UbZ16vWIUH6Um8tJKBqDK/P1ASX/gEQ15CT1y8cKrJBg== X-Received: by 2002:a65:680f:: with SMTP id l15mr49616960pgt.307.1577360039599; Thu, 26 Dec 2019 03:33:59 -0800 (PST) Received: from localhost.localdomain ([45.112.0.38]) by smtp.gmail.com with ESMTPSA id e188sm37000247pfe.113.2019.12.26.03.33.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Dec 2019 03:33:59 -0800 (PST) From: Anand Moon To: Neil Armstrong , Peng Fan , Jerome Brunet , u-boot-amlogic@groups.io, u-boot@lists.denx.de Subject: [PATCHv3 0/3] Odroid n2 using eMMC would fail to boot up Date: Thu, 26 Dec 2019 11:33:50 +0000 Message-Id: <20191226113353.1757-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: Fixed the clk tuning as per mainline kernel [3]v1 https://patchwork.ozlabs.org/cover/1201206/ [4]v2 https://patchwork.ozlabs.org/cover/1215217/ -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(-)