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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C00CBEB64D9 for ; Mon, 10 Jul 2023 12:47:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B07F286659; Mon, 10 Jul 2023 14:47:07 +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="iMWDWRd0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9C27B86301; Mon, 10 Jul 2023 13:08:17 +0200 (CEST) Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (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 28D4B862B8 for ; Mon, 10 Jul 2023 13:08:15 +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=davidmhewitt@gmail.com Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-3fc0aecf15bso17089945e9.1 for ; Mon, 10 Jul 2023 04:08:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688987294; x=1691579294; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Y0MJ0l9VhNAJvs9add6+LDweoQw4Jsf/Wa6N+cFJgsQ=; b=iMWDWRd0OazwsfFSRlgcF2+ri5oLS7F+DrBIhWSg/Ttjopnj+q6H63Wv6Rr6w+QOk/ xjD+riIUlfWIHSteemara5qIr8QtiFrwKQGCufbpSvDdQPWorOMdXakcn84fdH4Fsl0l YrY9hKJE1rVNGf+RGQLCvkcc8OiOqC31BNnEJ24zoNWCd9aWq1hgExcTV4wtjJm5mmms BhwXVJQM326q2hT9Z6CIX7gZ7O2Mrk/eoJAIXgOIt1jPtNi+3AqeqvwKlTUMopTitXP6 D+cOb++xWKwTncAFJcIleK264A+VpYHjcyKjtCtSYhfjBIvu/cyhxoIM/+XxWWkdvmKF wtVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688987294; x=1691579294; 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=Y0MJ0l9VhNAJvs9add6+LDweoQw4Jsf/Wa6N+cFJgsQ=; b=Wgb1A3v9wBnUnBDN8Ha0csdN6LULVaPPWI5NtwUhEpQsT3FWwvWoU4FKc4V98LqYpC x3EsGfmV4+y9Q8hu8C1UzK+kkdZWozQvxU2AdLHnfr+AaWm1IGiwpqEmk0O4pcnuXD7m yrW0kosqUhaH6/4HJZqTGHsOXbzo76YXMdm6MGQ3eFoysay2pLAezeH0I6j0JEG40qm+ p8H3D9RUQmGNP9i4eCtG6vZdL78J0ipiaOMxhMgIJfVeNvUPtvspyEyqmIl0JsaFB1Nt h9dF4ZL3wTc9PYJTgtxK+rUcjKDwpvxJSDABsn5jGOutn5ldFCy9QQsnOzARYGwAHS/V riqg== X-Gm-Message-State: ABy/qLaubs6NjNfjFKvKjzKh83oMrxQ7AygikTwtqK6IvY5Ai8ZXaQkq 0CFoByE7Pl6dclIPcHvhhCTvZd02j/uCEWwc X-Google-Smtp-Source: APBJJlHRKSjwCNtNf+SEHlLwvLKk/M/Hq+Gcq0Nt1hzUw37AohWIVD340QobstHHgMUdCO4r2eCOlg== X-Received: by 2002:a05:600c:2254:b0:3fb:c9f4:1506 with SMTP id a20-20020a05600c225400b003fbc9f41506mr12240511wmm.1.1688987294037; Mon, 10 Jul 2023 04:08:14 -0700 (PDT) Received: from elementary-workstation.broadband ([90.240.170.103]) by smtp.gmail.com with ESMTPSA id v8-20020a05600c214800b003fc06169abdsm6670714wml.2.2023.07.10.04.08.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jul 2023 04:08:13 -0700 (PDT) From: David Hewitt To: u-boot@lists.denx.de Cc: David Hewitt , Simon Glass , Philipp Tomsich , Kever Yang , Peng Fan , Jaehoon Chung Subject: [PATCH 0/2] Add initial support for PINE64 PineTab2 Date: Mon, 10 Jul 2023 12:05:56 +0100 Message-Id: <20230710110558.61852-1-davidmhewitt@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 10 Jul 2023 14:47:04 +0200 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 is my first contribution to U-Boot and my first attempt at an email-patch submission workflow. So please go easy on me! This series of patches adds the basics required to get the PINE64 PineTab2 booting with U-Boot. This has only been tested thus far with eMMC and SD card booting, but I intend to do further work to get the display and USB tested and working in the future too. Some minor modifications were required to the mmc tree due to a bug in the implementation of the Designware MMC controller where pulling PWREN high causes it not to work. David Hewitt (2): rockchip: Add initial support for the PineTab2 from PINE64 mmc: Add quirk to disable PWREN for dw_mmc arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3566-pinetab2.dts | 422 ++++++++++++++++++ arch/arm/mach-rockchip/rk3568/Kconfig | 9 + board/pine64/pinetab2-rk3566/Kconfig | 15 + board/pine64/pinetab2-rk3566/MAINTAINERS | 7 + board/pine64/pinetab2-rk3566/Makefile | 5 + .../pine64/pinetab2-rk3566/pinetab2-rk3566.c | 1 + configs/pinetab2_defconfig | 83 ++++ drivers/mmc/dw_mmc.c | 3 +- drivers/mmc/rockchip_dw_mmc.c | 3 + include/configs/pinetab2-rk3566.h | 13 + include/configs/rk3568_common.h | 4 +- include/dwmmc.h | 1 + 13 files changed, 564 insertions(+), 3 deletions(-) create mode 100644 arch/arm/dts/rk3566-pinetab2.dts create mode 100644 board/pine64/pinetab2-rk3566/Kconfig create mode 100644 board/pine64/pinetab2-rk3566/MAINTAINERS create mode 100644 board/pine64/pinetab2-rk3566/Makefile create mode 100644 board/pine64/pinetab2-rk3566/pinetab2-rk3566.c create mode 100644 configs/pinetab2_defconfig create mode 100644 include/configs/pinetab2-rk3566.h Signed-off-by: David Hewitt Cc: Simon Glass Cc: Philipp Tomsich Cc: Kever Yang Cc: Peng Fan Cc: Jaehoon Chung -- 2.34.1