From patchwork Mon Sep 30 14:59:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 13816590 X-Patchwork-Delegate: geert@linux-m68k.org Received: from mail.zeus03.de (zeus03.de [194.117.254.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA7771925A4 for ; Mon, 30 Sep 2024 15:00:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727708404; cv=none; b=hYInGQ3+AHRXKehwxnoyHEBApU53PK8UA3GhpJhPxLYBBmhXFqhwq0hnJoD7A4QKdqMbzH6VWHSUJTONIoeVGhQX7fKLcDEAIUhjkrvyoutqivboebzSCNVtUGDc8Wz1aVbAfPOLj/EueSMGbb83EiTmUs3D2zfJRTJbc3nR6Ao= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727708404; c=relaxed/simple; bh=uDkerb6KGipRUZ7UYAb411KLuQ1UEZb6wnjIEHvrh/s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XZAj9lZ0O1uT9jFYmmB9iwmCCNTKwJVGncGMQGzp1qkFocj07R+32WwH/d5ZnbI3ot0u7DDXyOHWxaCJu7TkvUQ4amRkLm4crb5cFxa9pAqkk9DwM3q79Y6/GQuXtHJi0kwxhNg6vryU18hu0qgau63ZbpujK4jlYDC7NN+X8As= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=DgyRxzxK; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="DgyRxzxK" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=Curcrtbkv6miXmdKoCuAek1GcGgbfQ6RkuxTtIFbBwc=; b=DgyRxz xKLL5NJZJYLV8YCRd8PJJ0+gWqa0dol1ytrvBGR0QxrgZhCMW6S9Q598WEq0f71Y 0utpiYu9/ryKLJG+J05x5Tn8nt4Thn3+Xd7i3P40OvzuDVy7sma4mEj0zN77wYg6 ImbOLr2wZsPvseYSWnDvX7BjeD7giR1PdzdA2E7ewuxSoLVcGYi9VbmZN4ij4xAV 02QkQkTec9PiFaBwxVpJiioTHMdAeLNYifpb3EhKCP3pCg5megfBvIRUMjP1rYWI x5yEYZO5KrhytbJ8LAJStmOZwdwavXRdAyYuSO901jMVPA+RsB44a5q27YPL+Kvg TjSg/sdlCKDc8G6g== Received: (qmail 2222706 invoked from network); 30 Sep 2024 16:59:59 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 30 Sep 2024 16:59:59 +0200 X-UD-Smtp-Session: l3s3148p1@qvFmdVcj6uYujnsJ From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Biju Das , Wolfram Sang , Vinod Koul , Philipp Zabel , dmaengine@vger.kernel.org Subject: [PATCH 3/3] dmaengine: sh: rz-dmac: add r7s72100 support Date: Mon, 30 Sep 2024 16:59:54 +0200 Message-ID: <20240930145955.4248-4-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240930145955.4248-1-wsa+renesas@sang-engineering.com> References: <20240930145955.4248-1-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Update descriptions and make getting resets optional. Signed-off-by: Wolfram Sang Reviewed-by: Philipp Zabel --- drivers/dma/sh/Kconfig | 6 +++--- drivers/dma/sh/rz-dmac.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/dma/sh/Kconfig b/drivers/dma/sh/Kconfig index c0b2997ab7fd..2b2e8ca257f5 100644 --- a/drivers/dma/sh/Kconfig +++ b/drivers/dma/sh/Kconfig @@ -49,10 +49,10 @@ config RENESAS_USB_DMAC SoCs. config RZ_DMAC - tristate "Renesas RZ/{G2L,V2L} DMA Controller" - depends on ARCH_RZG2L || COMPILE_TEST + tristate "Renesas RZ/{A1,G2L,V2L} DMA Controller" + depends on ARCH_R7S72100 || ARCH_RZG2L || COMPILE_TEST select RENESAS_DMA select DMA_VIRTUAL_CHANNELS help This driver supports the general purpose DMA controller found in the - Renesas RZ/{G2L,V2L} SoC variants. + Renesas RZ/{A1,G2L,V2L} SoC variants. diff --git a/drivers/dma/sh/rz-dmac.c b/drivers/dma/sh/rz-dmac.c index 811389fc9cb8..03f3f99f0f4a 100644 --- a/drivers/dma/sh/rz-dmac.c +++ b/drivers/dma/sh/rz-dmac.c @@ -893,7 +893,7 @@ static int rz_dmac_probe(struct platform_device *pdev) /* Initialize the channels. */ INIT_LIST_HEAD(&dmac->engine.channels); - dmac->rstc = devm_reset_control_array_get_exclusive(&pdev->dev); + dmac->rstc = devm_reset_control_array_get_optional_exclusive(&pdev->dev); if (IS_ERR(dmac->rstc)) return dev_err_probe(&pdev->dev, PTR_ERR(dmac->rstc), "failed to get resets\n");