From patchwork Mon Jan 21 07:11:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10772601 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7EB9213B4 for ; Mon, 21 Jan 2019 07:13:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67C5A29F0D for ; Mon, 21 Jan 2019 07:13:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5BA4D29F0F; Mon, 21 Jan 2019 07:13:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3A80029F0D for ; Mon, 21 Jan 2019 07:13:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=np0YqZR4jfYJjpme3H9r1zck6vXhzQeEGCcSmyTBwdo=; b=SpeDZyzdcs6DvgzmLxyb1Aeb41 B4w3TvhAkKxUtIrDISqYUEFJhTXuYqN3GHoWH4zILr7UkKU9iII9Ulz2ECSdOwSSAgssf1k3PZOIl 8tlh6NMpm2hi4O403xeJt9jk0K3UTSQ2EO/zjdHz6iC4L7ophPeqjLpBtZjsUQ5bmwYS1hSk7iC+t OPAJxOPm+RDrhFVIVYFIqDTfbp42whedOPH9QuriLfrHPbyrLTyM1iTiH88ITHei9cTt3MvJiU6r+ 3UECXV9UGNOmrrFg/8QTgL7rkNniZYtRAnK+bx3uCwZ9FzYKKKLhbPqedGiSS7D0StBL80MvQ7uQX iP6w4qBQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1glTla-00075b-Dg; Mon, 21 Jan 2019 07:13:06 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1glTkS-0005ra-GV for linux-arm-kernel@lists.infradead.org; Mon, 21 Jan 2019 07:11:59 +0000 Received: from localhost.localdomain ([37.4.249.120]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MNL2Y-1gaxF10XBi-00OmO8; Mon, 21 Jan 2019 08:11:49 +0100 From: Stefan Wahren To: Linus Walleij , Bartosz Golaszewski , Eric Anholt Subject: [PATCH RFC V2 1/4] pinctrl: bcm2835: declare pin config as generic Date: Mon, 21 Jan 2019 08:11:22 +0100 Message-Id: <1548054685-3781-2-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548054685-3781-1-git-send-email-stefan.wahren@i2se.com> References: <1548054685-3781-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:W7iJvxvpubaR/TONDf2upar557qi01vEM4uRb3VUHw/fPALSWZx HBNKTCOki5P0HuBnxLg7pjiyYa6K/4CkgQdgRf5PFnK5iMmI10oKjhz0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RM114-Status: GOOD ( 11.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , linux-gpio@vger.kernel.org, Lukas Wunner , Peter Robinson , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Since commit 0de704955ee44 ("pinctrl: bcm2835: Add support for generic pinctrl binding") this driver is capable to use the generic interface. So declare this accordingly. Signed-off-by: Stefan Wahren --- drivers/pinctrl/bcm/pinctrl-bcm2835.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/bcm/pinctrl-bcm2835.c b/drivers/pinctrl/bcm/pinctrl-bcm2835.c index f180aa4..19eb4fd 100644 --- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c +++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c @@ -969,6 +969,7 @@ static int bcm2835_pinconf_set(struct pinctrl_dev *pctldev, } static const struct pinconf_ops bcm2835_pinconf_ops = { + .is_generic = true, .pin_config_get = bcm2835_pinconf_get, .pin_config_set = bcm2835_pinconf_set, };