Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp231626pxx; Wed, 28 Oct 2020 03:33:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5jlvTuWEMmIUxudEZZ2gOejd9TwIDZxphTtrlMGEx9Wch6hlgJ9GuOp6ZJIkGxLAqKBvG X-Received: by 2002:aa7:d28c:: with SMTP id w12mr7006548edq.248.1603881209496; Wed, 28 Oct 2020 03:33:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603881209; cv=none; d=google.com; s=arc-20160816; b=tGQFCq3MrfuybTY5fNW3wPLzuDRPWNqSL+l3EGAdw3rUPcT8Nyf6zIiI0O5WZXyhtt II1UWXPWnZ1J/5u5/uTTZ07KD+uEr9WhyE0N1CdGpPH8PHPmMlyTkG0HqYTeCTkr0UXq GbMkvFkMIXwj+LfjnVM7FJIYUhcNfY+A9I90ifahwjZB/tT8RAuZ7Z42DdW30i9Koej2 LoJhQAFkQDe7qqYtGlsIMUyVb50gmybP0uKGDc3q2ynHT2An0rd1wFc/N9k/rRpSCIb+ tkG/WrO6W0Z4/+4UJolSrNsMyNkGqDGNE0pJrp88BbZG+9evGMm0YhawwXe+FpFApLEf 74Xg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=cxRksC5HG0teavJAeQCKQJ4780NPYZBm+bS+6dhhdBU=; b=fa5qqN3kf/kNwk6rF6pMk3XJ4Adjl3CijvSRLk0vv7ezo6c4EnbqxWwwkkHSj+b2xY T/AzXXEU7YofXHDI8aYV+XybolefGA6Nc2D4WuqpcLAu4bKMrsU6R1fIuitJ8KSoYE71 bZRwBEJtCfuanr3/SWf52lswjTxZhexNeKLlEpQZDfUfdjgjrIEOKNsyXpSIZbS4o2du WYClDTpRkJtuE3IhluRDdSSTESyP3XN+dy+W+tE8n38McoR+eHHqnGU5fNJFRWZmOTKM U5966UmycF7IYJzoTOzaYEMw05nZXurd72G5mHxejcBWAIfD/sgfvRdax66qn2kOsWE8 LNEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tdAZZ3V0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p19si2741759edu.169.2020.10.28.03.33.07; Wed, 28 Oct 2020 03:33:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tdAZZ3V0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762532AbgJ0OnR (ORCPT + 99 others); Tue, 27 Oct 2020 10:43:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:39464 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761794AbgJ0OkR (ORCPT ); Tue, 27 Oct 2020 10:40:17 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6B429206B2; Tue, 27 Oct 2020 14:40:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603809617; bh=tkB/yXFVPby4N0FmtBJI2vukNkHoKcMz+QpOnze/WcM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tdAZZ3V0fyOgzz147ZGCgUmVlGfsRjBRzuv5VnjzOIx3ZG/rX09CRkuDAhO9noiYP JL8JdGwKZ9VdzWMAIwr4IOh+TasW9ZgeP/i3CcPSIE11rK5PMSPq+hhbkPIVSv+xTe WAelnZs/m4+ybZ4o35U0AADWjpd+TKyxh+d7ok0Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dirk Behme , Andy Lowe , Eugeniu Rosca , Wolfram Sang , Sasha Levin Subject: [PATCH 5.4 260/408] i2c: rcar: Auto select RESET_CONTROLLER Date: Tue, 27 Oct 2020 14:53:18 +0100 Message-Id: <20201027135507.105270046@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135455.027547757@linuxfoundation.org> References: <20201027135455.027547757@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dirk Behme [ Upstream commit 5b9bacf28a973a6b16510493416baeefa2c06289 ] The i2c-rcar driver utilizes the Generic Reset Controller kernel feature, so select the RESET_CONTROLLER option when the I2C_RCAR option is selected with a Gen3 SoC. Fixes: 2b16fd63059ab9 ("i2c: rcar: handle RXDMA HW behaviour on Gen3") Signed-off-by: Dirk Behme Signed-off-by: Andy Lowe [erosca: Add "if ARCH_RCAR_GEN3" per Wolfram's request] Signed-off-by: Eugeniu Rosca Signed-off-by: Wolfram Sang Signed-off-by: Sasha Levin --- drivers/i2c/busses/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 146ce40d8e0aa..2d08a8719506c 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -1162,6 +1162,7 @@ config I2C_RCAR tristate "Renesas R-Car I2C Controller" depends on ARCH_RENESAS || COMPILE_TEST select I2C_SLAVE + select RESET_CONTROLLER if ARCH_RCAR_GEN3 help If you say yes to this option, support will be included for the R-Car I2C controller. -- 2.25.1