Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp480383pxx; Wed, 28 Oct 2020 09:16:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsMheXPib01oM5OgnFKGP7hRDNBnlZRX7mmj+WnFQc1uyge964T/2ux1v5J9DM/LHflF6A X-Received: by 2002:a50:9b14:: with SMTP id o20mr8225733edi.328.1603901797793; Wed, 28 Oct 2020 09:16:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603901797; cv=none; d=google.com; s=arc-20160816; b=A+tqW/i6BORKMwu9s6pa8nR+MV8Aa/1SVBP/5gY2uLzUhr+yxqW3kklwidSmFgHXrF V2+82ghDpoVjFRBtq7L9qEdRmWSdxKikkV/lj1npv2L17qB6Oh9fSWKjkj/qf7FF1AY5 hRtpuky0Catsm1xPrRexXvliBBoJS4AR06t0ppsaS5UshVmOKV9kuCBAYYO09h5OcKyi /7bvCNRcTc4gRVZlALqaWAdMv6ffzs2vpPr+mZkDjO9HSFo97+Ez8U1NhnzWiHNGOb/U LuSgE7L44DMsIroXS41jGw9YnZVcwkRfqK+yyAyX+o6zqBII+0vUypII64LlRC5Y21qJ QpvQ== 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=eamIPoHkY3t0oX5lb7rySS6c8kNm2FuNr5gda5mO67E=; b=I6obwxRZ7/I5lSg43j3+wYr4YN9mymnBpLeSK2j7hFxC+zVvXugTWqMDE/JwxhTv4y d4oiOSJ9zSIWK77SzZM8bRlGv/XpaEYM5DAjE4lrVtQil4Y8+pH2GERvPO6OlbM+fygp I6/ZO2rUCBBmqFtzMUpN61Yym7CuGn2ri+ell9SiMhm3SUchGte/6VWYz9YMjGV08Ra4 qFSZ3YsO32pbYeo3kCIScl58hJzZtU5kJFX5om/tkJnQ0zsN8ywCl/9O3/YBKXDx7v52 v9piZY0nIqOneX9QwX8/Okj8Nfkur6uOC6sptGKhvNMAJIOwlRX2+MVqpiCNE0BmOhnD jE1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="myTCJVi/"; 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 z26si3595721eju.511.2020.10.28.09.16.14; Wed, 28 Oct 2020 09:16:37 -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="myTCJVi/"; 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 S1815605AbgJ0RD2 (ORCPT + 99 others); Tue, 27 Oct 2020 13:03:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:42296 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1793624AbgJ0PHa (ORCPT ); Tue, 27 Oct 2020 11:07:30 -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 D673520657; Tue, 27 Oct 2020 15:07:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603811249; bh=M0OJmUh0ZueDjKO/Js14+ErovrMkBFP1oIS5jY5bKps=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=myTCJVi/omY0GFvA0IZtKlVsA0RYDlfMlW812XzalOQTo6mIw/RutOYJW+gXbcTuc Lzqg5wawUXDVGiuWU9gNRhFgIzKgOAqexkktr7a5HWc5OL6Ph7EI3sE70yXw0L0GC2 LgM7OjqmKwFkI1sukMyz8FhKv7Uzo7nI3jn7PW6M= 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.8 427/633] i2c: rcar: Auto select RESET_CONTROLLER Date: Tue, 27 Oct 2020 14:52:50 +0100 Message-Id: <20201027135542.751697771@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135522.655719020@linuxfoundation.org> References: <20201027135522.655719020@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 735bf31a3fdff..6546d6cf3c24c 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig @@ -1191,6 +1191,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