Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp590104pxx; Wed, 28 Oct 2020 11:51:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4DAoXfn2Tm0BUt96x+LLvLygXb/qlKqcJIbN1qSciDX3zEnviwzDW/bJQ1ieRNFNQx1Nc X-Received: by 2002:a17:906:e10e:: with SMTP id gj14mr550103ejb.134.1603911098895; Wed, 28 Oct 2020 11:51:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603911098; cv=none; d=google.com; s=arc-20160816; b=WLoOkQjTgxwb2bpVXpL9/o0anGAa0KUl9ylZ1Kqo0G+xuYQ55Bqyq/ljmssbPM0utj XCa4aWN+JJR5z4B6doev7GkrLUKdro1u2JfjJGnXco39wo4VWf6tFo+OytlX2hFT7OJC 47A2b5bgLR4AnWodktYs8bWnms11s6TrFTDEYulfvZ/QDYuv99XAe6ykEAojySTShmJX 4J7NbubhKcPRnJU+JrOvOc8fwy5D2lqyUD3phwMB6GwtmYAZwKRSCRb/94OezAQgevnl U1K9rxI+eMmapjp2+lHc0tGb94XZj0IhjaAQ+gqKlbkU9YzBN5HBhcmfE0XRnIkCwEUM 6H/g== 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=enGNB+Oni9PER2SegyQP+knp2mtwz4JTSmUS7RvOJB8=; b=gEp0o7tyISVeFYQD3OPOYs5VCHG907AoKzLsYvq2p6fsDCZOImDmP0hjzxFoWfjpq4 liRI+4RliYgVbxsKAi9c1OwgRY2sXuphhAgovR/KGTMkdoH1zjpAZj6r2aK2i1avJxBC HCb7oeiNYV4bP+KDPUYWGYaLdrc5WwAbfy2UFccvWZg0UFYWdmjPcv/RlrdkLHszJRY0 mGlWX3G7IBDE9tT+Q2cjkZoTiPKOKcrTBheiyrpDCKx6pBi8FpCdKisCKXqRsKhkFDQE sTFfazlJdhL494uafcENonxlpq10p9Z9GL5mEVCw9pGHZDqmXolUhfLZ3sS8mzEKf6KE jH8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pmbbVKJL; 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 m26si11386edq.372.2020.10.28.11.51.16; Wed, 28 Oct 2020 11:51:38 -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=pmbbVKJL; 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 S1825970AbgJ0SO5 (ORCPT + 99 others); Tue, 27 Oct 2020 14:14:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:34306 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756381AbgJ0OM7 (ORCPT ); Tue, 27 Oct 2020 10:12:59 -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 3A5852072D; Tue, 27 Oct 2020 14:12:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603807978; bh=g3Nn9wz0G95rN6AZltV0fBku//FhOzT0Sf731V6P0Wk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pmbbVKJLHElZXIh9oGurmT8tZ5P2nENakQxEgTj9ypW/iZMDJphzrbO8e0MZ//t1k YsEkW5N/qtLvcSwkS81UNQdu7kI/MO3KjE6jFGF2f1LkfpMQ8ZprNcopaMJYXqL1fT cBgZOtgRz+EOlFX57IHkExX5q7xs1J47veUb9uSs= 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 4.14 112/191] i2c: rcar: Auto select RESET_CONTROLLER Date: Tue, 27 Oct 2020 14:49:27 +0100 Message-Id: <20201027134915.096141208@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027134909.701581493@linuxfoundation.org> References: <20201027134909.701581493@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 b72a25585d52b..c457f65136f83 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -1095,6 +1095,7 @@ config I2C_RCAR depends on HAS_DMA 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