Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp235844pxf; Wed, 24 Mar 2021 04:02:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOBX+zChggwp/4vtD+Gfd90dYJmcvw31QxcWvxJI8Szbj2w4XEjSlDdD7iqG+XybzU8/wQ X-Received: by 2002:aa7:c7c5:: with SMTP id o5mr2716074eds.31.1616583725510; Wed, 24 Mar 2021 04:02:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616583725; cv=none; d=google.com; s=arc-20160816; b=0x4+SZZhK8E3OE4jJutYVBK3EOPn5Zy52NWMOuVV+NRzPqNzmVWQLa0P90xpWyYl7a A9rqr129Ua+BEVfmw+Vmdkf/fDTiiKJ29KdMnSygUFBL4XSpl//g0eRA2cSmCZoFcGW/ /DdJMUjadLWIV+zL2qXxdmH0utTqqXx1pBVfAZOkcGwL93x9pqeBgU9D0CCJBSyXo4kn 0aC7oAZ9b+4loiWO4G8sIYWNnSd1aM9n0NHptmQzDtNR0vP7GfWA/t1TnIj3tlP3oVyA UNlJrr0P5kHHNYcJeom2PmZvZ+Lk2LAN6XY4AdC13n7ZR0g2x8iWSTzblCCE0CrVUX4r 2q+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xJi4m24TgT+WFpGKZp+5WrGMJgsvzkO/iyF8j+3iiVg=; b=fp0anteOS5lZVnK8D1YrktcVaFRy6K/3pJp6w7FpP3hVfGD1FlppvzK4nQiUNx6nmt XvNmATexSljihyyR2FmQpTD1Wd7mKgtkw5cYEw+m/IQTyStoRb1zy/gmj3frPxoxp/bR muc+Ev3X5rG0U8SvUy+NAhyAtBBV4CbfVinfGyNr2SBNBsDBpZ9gvWw48k+zpfZCxqrC dxB8tZeYfXgIWQJOehWeEVLjL5QdQsZjv4rrx9VBP7coUs1sNxNVkajPTUr5vUBZOoEY gsOmvAqwIXT73yr52LpTaANQna0/Zx+MJVk4h89G0VnZ4dSMWBN2QbjhPywGSQ6crmaO b5RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Uo2mt6Ft; 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=pass (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 b59si1624863edf.40.2021.03.24.04.01.42; Wed, 24 Mar 2021 04:02:05 -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=@linuxfoundation.org header.s=korg header.b=Uo2mt6Ft; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234517AbhCXJOI (ORCPT + 99 others); Wed, 24 Mar 2021 05:14:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:53636 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234605AbhCXJNr (ORCPT ); Wed, 24 Mar 2021 05:13:47 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 90ED06157F; Wed, 24 Mar 2021 09:13:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1616577227; bh=w8CRVnJFyS/XR+Mj1hn0bNzvz+r35MHD7pK0TCVHjD4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Uo2mt6FtAPAq/f6vQn46VxbR2DRGY30BApaODqpGYP2p0eskhkEKbE+6NUzIy9+Mb CqoaAFK4QSC2+gVl5gUS41iuTAxCz4f/4hCOL3gPdEU914dfbdCc5YO8YKCgDN2ksx Gkt/9S6Pw4Y4qwl3JIo32a9eSTw35cKyzKc51DfI= Date: Wed, 24 Mar 2021 10:13:44 +0100 From: Greg Kroah-Hartman To: Michal Simek Cc: Sai Krishna Potthuri , Linus Walleij , Rob Herring , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, git@xilinx.com, saikrishna12468@gmail.com Subject: Re: [PATCH v4 3/3] pinctrl: Add Xilinx ZynqMP pinctrl driver support Message-ID: References: <1615969516-87663-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> <1615969516-87663-4-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 24, 2021 at 10:02:53AM +0100, Michal Simek wrote: > > > On 3/24/21 9:49 AM, Greg Kroah-Hartman wrote: > > On Wed, Mar 24, 2021 at 09:29:12AM +0100, Michal Simek wrote: > >> On 3/23/21 2:42 PM, Greg Kroah-Hartman wrote: > >>> On Wed, Mar 17, 2021 at 01:55:16PM +0530, Sai Krishna Potthuri wrote: > >>>> Adding pinctrl driver for Xilinx ZynqMP platform. > >>>> This driver queries pin information from firmware and registers > >>>> pin control accordingly. > >>>> > >>>> Signed-off-by: Sai Krishna Potthuri > >>>> --- > >>>> drivers/pinctrl/Kconfig | 13 + > >>>> drivers/pinctrl/Makefile | 1 + > >>>> drivers/pinctrl/pinctrl-zynqmp.c | 1030 ++++++++++++++++++++++++++++++ > >>>> 3 files changed, 1044 insertions(+) > >>>> create mode 100644 drivers/pinctrl/pinctrl-zynqmp.c > >>>> > >>>> diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig > >>>> index 815095326e2d..25d3c7208975 100644 > >>>> --- a/drivers/pinctrl/Kconfig > >>>> +++ b/drivers/pinctrl/Kconfig > >>>> @@ -341,6 +341,19 @@ config PINCTRL_ZYNQ > >>>> help > >>>> This selects the pinctrl driver for Xilinx Zynq. > >>>> > >>>> +config PINCTRL_ZYNQMP > >>>> + bool "Pinctrl driver for Xilinx ZynqMP" > >>> > >>> Please make this work as a module. > >> > >> The most of pinctrl drivers are builtin modules now which is not excuse > >> it is just fact. > >> $ git grep module_pla drivers/pinctrl/ | wc -l > >> 40 > >> $ git grep builtin_pla drivers/pinctrl/ | wc -l > >> 64 > > > > For new ones, we can do better, don't make us have to go back and fix > > this up later. > > As I said not a big deal. If this is the way to go then I these rules > should be followed which is not what it is happening based on 3 latest > pinctrl drivers below. I do not disagree, but I point out issues when I see them, you got unlucky :)