Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3405077rdg; Tue, 17 Oct 2023 13:46:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFUDYgA9WOKcVoyevGi4k/n30JXPsxXc7LAfSQDF2lVCTLhiYPYbRM0oLFaQd68qTOJNn+/ X-Received: by 2002:a17:903:1252:b0:1c9:c46c:71fc with SMTP id u18-20020a170903125200b001c9c46c71fcmr3615846plh.59.1697575610095; Tue, 17 Oct 2023 13:46:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697575610; cv=none; d=google.com; s=arc-20160816; b=kTB2Nw0HILvPCT2G3Ddmo08YE46oMTkXPoP4sQOIXFbAPMZYFYQIV3ZkL+QZ01yypm ttFU5I+rV2VUTlz2zQPFFUJzw463CJubHPOpLRa9WhlU+luzmGUEsaliqB+NVNiZD0mW I/L09mCLatLN8mqdNBRnYGeFwsBsb9bfFryAZAFCo0i+oVNBojJ/biDN1NjRW1A8SSDa SX8JJrP5c70xakg/9JksAgJs+Frr2fPQ+qHWmSPVhyCGu6B0KeyNaq7pVE1hZ2rehG35 IviphsKJ6HAMisYEsbMIJ5CGJQZ+4JXpvokVWY65ncnHovseMHqmnvFyH01B4RdHyS1q YKxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=2BmxulcCPkSniZYdQWfk9xRMqLpea0NZ1oqzxL0OgN4=; fh=vHR8U309XOCZR8G4JUyhb/0ihb0aVduZkDFEUxYc3iE=; b=i9+HKSCe8LJM6HpH3MXZS8+IHN+wPZ5rbxe27SZk/a64whhXbH7oC8NoZvkGhOIGcX yzHBNqcKevFtf5yXAQFHo4eXuPaNf3XgFmYOwxZ5loPNdno6WGp2oQbwmkvz+x+/HFCr QO95HHuR7z0jucEC6IVOxedll9uxl496UjBbKOHgbWyxuvpGJeCHxhADgStzXPErOhHT G8bTPDJt8iVak14zFI5j5ii4ESXWGh2vvJr77eVhN6kwCxs5U+0h8h160KpazDdWeiHO KIEmVizdSqVg1ba322uYpfRFW49As1V6/N4yqP8OjAb8kRfkYitEHAjrxHx0fwbUAyzc zRnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="KGeC/cFx"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id q21-20020a170902789500b001c77a0c5a61si2359465pll.551.2023.10.17.13.46.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 13:46:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="KGeC/cFx"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 219668088687; Tue, 17 Oct 2023 13:45:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344412AbjJQUpk (ORCPT + 99 others); Tue, 17 Oct 2023 16:45:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344447AbjJQUph (ORCPT ); Tue, 17 Oct 2023 16:45:37 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D06B101 for ; Tue, 17 Oct 2023 13:45:27 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1c888b3a25aso39596985ad.0 for ; Tue, 17 Oct 2023 13:45:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1697575526; x=1698180326; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=2BmxulcCPkSniZYdQWfk9xRMqLpea0NZ1oqzxL0OgN4=; b=KGeC/cFx0Q/6/SnPUIHq9+SIEAtEu9QtHJKWj5UWX8LXd0Nh3G0KoZevUYMm5qw32p nLDClYH4stj1c97CHl3bLTLtYX0hh/HNo4C/iL4/AINH96jts5CDbeGDX4MGqxfv2d1S 1dNMgcoM1McKaz7LqzjYQCGSOOMp6ghx9Ib9xfGmh1TQXu+QnL2LuttgxdXujF7/7DUI n8EMUYoQWStjXAHLASctILAmVf25d/W5MEn1Da2cqRfh5vQeDElrD1O0q+2DbuXdeRdW pENXat6mDIklDzqifBsfcQRv/APIBbE5nKczxf0q9Gbe75KCBRuEB+4HR1/b8jZfS3Vv Eacg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697575526; x=1698180326; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2BmxulcCPkSniZYdQWfk9xRMqLpea0NZ1oqzxL0OgN4=; b=Xll3hnT6eGWKURLo+CBqKIoAfVNG5+mMshO3P2/xXd7EfZ+nQT3L7yh7TQ0/pJneRP 1Lr78W2dAIhnB0UTAJD6EUIxo5Ou6UyZIU0GIJ9VT5HM1z+m3QVtoDfSjO9awQYhbVlU Z3dRSYcnk86IBFWGTIY6t7dPCi5N4CFbLHXKTt+UyrBgahk0yDwT53BAI90S+cHx0tKh i2mwo28n3rg6HJaGPK/83jf4YP4yYgoGbzlEyy4hTbUnBOTwg0dDiTMWdXlAjtOdZfZX TkWJAgj24/fOXc1zEXbG6zTRZoR4si+3vq5teVZVdkf93HypjH9JzJ4J8lBOai7YI1Zf MfTQ== X-Gm-Message-State: AOJu0YxwO+dj3tpbJM8jHLAnZYyfjmmSt87r7x7PUsD348LUOVPhW0cE pazf5OJqcT7fSLxfn+o+aG5O6w== X-Received: by 2002:a17:90b:2501:b0:27d:7666:9596 with SMTP id ns1-20020a17090b250100b0027d76669596mr3072562pjb.11.1697575526448; Tue, 17 Oct 2023 13:45:26 -0700 (PDT) Received: from [127.0.1.1] ([2601:1c2:1800:f680:51d6:dcd6:63ef:52e9]) by smtp.gmail.com with ESMTPSA id w3-20020a17090a6b8300b0027b168cb011sm1906553pjj.56.2023.10.17.13.45.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 13:45:26 -0700 (PDT) From: Drew Fustini Date: Tue, 17 Oct 2023 13:43:50 -0700 Subject: [PATCH v2 4/7] riscv: defconfig: Enable mmc and dma drivers for T-Head TH1520 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231017-th1520-mmc-v2-4-4678c8cc4048@baylibre.com> References: <20231017-th1520-mmc-v2-0-4678c8cc4048@baylibre.com> In-Reply-To: <20231017-th1520-mmc-v2-0-4678c8cc4048@baylibre.com> To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jisheng Zhang , Adrian Hunter , Guo Ren , Fu Wei , Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley Cc: Robert Nelson , Jason Kridner , Xi Ruoyao , Han Gao , Icenowy Zheng , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Drew Fustini X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1697575515; l=873; i=dfustini@baylibre.com; s=20230430; h=from:subject:message-id; bh=1b6E7IcYPcGUX3CsWI9slySNkcpgVBWsbFODn/9h1s4=; b=35sRMPw4jZ4wGRrdg+DGS4oNB75lU2OE/PvljPF/GCaThFBcZGUoTrJbIi4kNmE714EcWRq9I FUKF7Fv4YiNB82HJ4GGaDCbqEs6wY44RXyc+Euh+2yVdj6gHQDyUizS X-Developer-Key: i=dfustini@baylibre.com; a=ed25519; pk=p3GKE9XFmjhwAayAHG4U108yag7V8xQVd4zJLdW0g7g= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 17 Oct 2023 13:45:45 -0700 (PDT) Enable the mmc controller driver and dma controller driver needed for T-Head TH1520 based boards, like the LicheePi 4A and BeagleV-Ahead, to boot from eMMC storage. Signed-off-by: Drew Fustini --- arch/riscv/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index ab86ec3b9eab..c5a8583236d0 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -168,12 +168,14 @@ CONFIG_MMC=y CONFIG_MMC_SDHCI=y CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_SDHCI_CADENCE=y +CONFIG_MMC_SDHCI_OF_DWCMSHC=y CONFIG_MMC_SPI=y CONFIG_MMC_SUNXI=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_SUN6I=y CONFIG_DMADEVICES=y CONFIG_DMA_SUN6I=m +CONFIG_DW_AXI_DMAC=y CONFIG_VIRTIO_PCI=y CONFIG_VIRTIO_BALLOON=y CONFIG_VIRTIO_INPUT=y -- 2.34.1