Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1938313rdb; Tue, 5 Sep 2023 09:17:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHJNoTefBTmnI2Gw4+hORpcChtc7FoZH3uQHOj9XVz2uJbkhgZYFk+1PZ+h+AVXeNgUH6Ik X-Received: by 2002:a17:907:2cd4:b0:991:d2a8:658a with SMTP id hg20-20020a1709072cd400b00991d2a8658amr258350ejc.34.1693930678025; Tue, 05 Sep 2023 09:17:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693930678; cv=none; d=google.com; s=arc-20160816; b=fcxwtdv43QhlW4QWP9AdH1JC3jBOcm8PTEXT2KPW30FxB1mwJ+yyJN312ZhYr0oN/a C6Nduy9RQbOqq83Cr610spu6oyljhKEhXHBDN4WJoU7SZGeX66Flk1os3H0SXByuGmNT tK2bs0tLGX01USwkeXjLZYIYTGfbS1FbHaUuD2Sr0Lwe5zQraL8mPCW9mVB/WE6XBZYO nmjB/95CSrRB5JzAg/Pl6YMRXH3B3UTq8k9M/4pds/+ffYsj+VBedaDKYE7KH/tYdHdb o52sIkYF6DhP3FRYlH46yukaIhL8JKyGgTWmMz65jQqHhctvEQBYWTAXlvAmTyxEVcYn gL4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=/gv9E+V/pkXlxJLESJTglwoTQDj1Z8lIRhsobuy1wv4=; fh=q7RTCmp/ssjln2apoStBlsPeP9q29UnJC55ere59F2U=; b=wqQEshZwMPBLa1kMzofyYnEMDVyruqYPHbfeScsGquZHwvCSfNJFtf8VyDaMHygiXz cxt4tx5b9P+CnyCc/+/hsdTki7MhY560nNCgpvqNWZKurtz0kuOEH2ZGdrOD9IXBpaqq rVvDpZBWt3eT9k57bPhQrieBwZb1CCRlh9TmBGbZZKzjC8eEM0czDsk9zLu48ufrNazP e4amMM9DIq01C39x9DjR1HlgWNvAguR5RPEMNesy3hnflZgA55c6g5lFQP/nwIy+/JyH j9FkyrOG01DNG7M8x001UlggXEKmDtYUbFGwNk6uUvE95m2XNYaujQbFjf2927FPxLyV E5zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=NM1KTdK6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id um15-20020a170906cf8f00b009888bb065eesi7813848ejb.60.2023.09.05.09.17.55; Tue, 05 Sep 2023 09:17:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=NM1KTdK6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239354AbjIALho (ORCPT + 9 others); Fri, 1 Sep 2023 07:37:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231160AbjIALho (ORCPT ); Fri, 1 Sep 2023 07:37:44 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D840E70; Fri, 1 Sep 2023 04:37:41 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-401c90ed2ecso19285805e9.0; Fri, 01 Sep 2023 04:37:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693568259; x=1694173059; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/gv9E+V/pkXlxJLESJTglwoTQDj1Z8lIRhsobuy1wv4=; b=NM1KTdK6VGZjd9zEP89b5iZc5TyC5b4Q0S7bbRbLKhURt0haqyM3SrjgdcOEu4WKbx XfaDiwzSnGa+yFVs6kD8r/bYVfJVVleV0iVXG9sZtOKZ0zeJs4O+bntWIbrvf8nwioyC ya35MOGIXps9i6LqItkWT/hO+TKEqF1KAou/34dzKkU7CIY7xCR8xe0drtqYECOcWPJ4 PBlVBxzIDdtEfLowykSwsXXKX1QFTxPEZUtbBXRNCHIUW4GhVc/Ll8wzadFWufHoSDZe fZoSGPcABd35NiyaumcG9i1Sap8oGq6mAA0q4E9gBUn8oFHb9gaNJclWfChSOqG/TZrY 3E+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693568259; x=1694173059; 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=/gv9E+V/pkXlxJLESJTglwoTQDj1Z8lIRhsobuy1wv4=; b=XCcP8THDMc34exikGPumcEHj1nhzA3RBu8IcOoLY/39iQ6ueD7f1jv++X4frzyt2PY 7vaOBtlXXSLvO5Ha3AGuNwxX7eckMM9nKiJH/ICFXN/ZSldSNu3R+zb6W+ya0eo6XFSq qjQlw1uXDkq6+/Doxy5I4c5W75YdYvmccxF5mEa/IoMjmDzduLoAwKpssiN8SRddeSKA 5MwBG1RDQpVSBxPz0ADg+JoKb9kQoLJrIwDo1IwedGEVvQ+5i/lJapmje7lcUiU3xvm8 amgmO46FnnJ0p6zDpRRjodEsROxk1eZUCUEmlsW5m8jQK1KLMK2VE9ACsRAQR7JOdPJy vaiw== X-Gm-Message-State: AOJu0YwoBSV19XMowySZhFuzURaJmtG2HEHQKo4RTTvYxvIuEU6aEFs3 24R6+JoYJdznntC436u3NqbnS0280M6dDw== X-Received: by 2002:a5d:6b91:0:b0:31d:c36a:bdf9 with SMTP id n17-20020a5d6b91000000b0031dc36abdf9mr1547035wrx.67.1693568259243; Fri, 01 Sep 2023 04:37:39 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2501:c701:64d6:8737:b80d:a298]) by smtp.gmail.com with ESMTPSA id s12-20020adfdb0c000000b00317a04131c5sm4972240wri.57.2023.09.01.04.37.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Sep 2023 04:37:38 -0700 (PDT) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Ulf Hansson , linux-mmc@vger.kernel.org Cc: Arnd Bergmann , linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH] mmc: host: Kconfig: Allow selecting MMC_SDHI_INTERNAL_DMAC for RZ/Five SoC Date: Fri, 1 Sep 2023 12:37:03 +0100 Message-Id: <20230901113703.314667-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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, 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 From: Lad Prabhakar Make MMC_SDHI_INTERNAL_DMAC visible for RISC-V architecture so that we can select this config option for RZ/Five SoC which is based on RISC-V architecture. Signed-off-by: Lad Prabhakar --- Hi Geert/Ulf, I was in two minds here whether I should instead add dependency for ARCH_R9A07G043 instead of RISCV. But adding dependency for RISCV allows us to get this config option freely for future coming RISC-V Renesas SoCs. Cheers, Prabhakar --- drivers/mmc/host/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 554e67103c1a..5190881cb204 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -677,9 +677,9 @@ config MMC_SDHI_SYS_DMAC config MMC_SDHI_INTERNAL_DMAC tristate "DMA for SDHI SD/SDIO controllers using on-chip bus mastering" - depends on ARM64 || ARCH_R7S9210 || ARCH_R8A77470 || COMPILE_TEST + depends on ARM64 || ARCH_R7S9210 || ARCH_R8A77470 || RISCV || COMPILE_TEST depends on MMC_SDHI - default MMC_SDHI if (ARM64 || ARCH_R7S9210 || ARCH_R8A77470) + default MMC_SDHI if (ARM64 || ARCH_R7S9210 || ARCH_R8A77470 || RISCV) help This provides DMA support for SDHI SD/SDIO controllers using on-chip bus mastering. This supports the controllers -- 2.34.1