From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC568C28CC5 for ; Sat, 8 Jun 2019 04:10:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 79E132146E for ; Sat, 8 Jun 2019 04:10:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TxsNOhcU" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725906AbfFHEKs (ORCPT ); Sat, 8 Jun 2019 00:10:48 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:45477 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725768AbfFHEKs (ORCPT ); Sat, 8 Jun 2019 00:10:48 -0400 Received: by mail-pf1-f195.google.com with SMTP id s11so2228494pfm.12 for ; Fri, 07 Jun 2019 21:10:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=crP/L6ZX28vkkYT7tQbRmMKy/ZkhEnI0JhfxmVeFjC0=; b=TxsNOhcUk2dUhjgJIcbkyLXBtKqvJpHTaNc+xRSs9moW2ndwxj0wvHpb7UdzZ8GIHB kLyvVG7zidxP9IwSJaymt3F8UL/RjVnz25slMDWhjSipyy7NK5DrrZByM4hqIzNMUSwe ps+y0MD8eWL3A3X5z+GVpgopfFtTJLERmnFQgsMBKRMuDXgI16xf4cX5zcQqBZ0JbZdv UFvzSVX0RPSdSceNL453+7PL2y9nE2pm1Vr6heypDuiZ0SQFVNO8xElhZJO5HQFMq4N8 EQ3h/DKqO7j8gM2LNhNJd3H3U9/qGXBzsfz16WMsfUUgYOqNRTcZIB6THFxBwhxXZGjN 8Dsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=crP/L6ZX28vkkYT7tQbRmMKy/ZkhEnI0JhfxmVeFjC0=; b=cMWPoGJpWR4ucVoUo5g9cXdcVxXDyn1Hzk7ScNGpM0prE+R5G4i6qZBEkAELe56g4G p3mmTEJpBFVT8bLMxB0wRTD6VQ6iYQmoUGOuHUV+/9p5Q0vN/1Uxu44j01lLzJm5j59y 0AXzXgEfLXzFQC6P0IJBDi8PWGisQ0ww/Xaz48sS89DV3C42Zz44SKnYOrOIhXduObIe ogvKfMo9K0oPkZLbeuzmELCWLT38snNQ913jUngiskhxH+1bkzeIU7n3HgpPky+0EKLR iAVR96w8pzau4nky6yYFbREbPYCoJfG2vxrT+iODUgl95vYNn7waJZMwWUkT1j54K+3B wg4Q== X-Gm-Message-State: APjAAAXigOUgo5JAeCkyphK2JIFpxhYdmCd5jKjMaa2GczzPMnSdTn2T J4yHIIxKf0H68AIShuj1opM1eA== X-Google-Smtp-Source: APXvYqyqDR2r/6Uj2YzgTATzPBXHYoPMxcYRP/mHWDNK1dDw68dJRtVmbbW/lRrBdRydM7vET5JDPA== X-Received: by 2002:a63:ee0a:: with SMTP id e10mr5868676pgi.28.1559967047717; Fri, 07 Jun 2019 21:10:47 -0700 (PDT) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id b35sm3516670pjc.15.2019.06.07.21.10.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Jun 2019 21:10:46 -0700 (PDT) Date: Fri, 7 Jun 2019 21:10:44 -0700 From: Bjorn Andersson To: Linus Walleij Cc: Lee Jones , alokc@codeaurora.org, Andy Gross , David Brown , Wolfram Sang , Felipe Balbi , Greg KH , Linux ARM , "linux-kernel@vger.kernel.org" , jlhugo@gmail.com, linux-i2c@vger.kernel.org, MSM , "open list:GPIO SUBSYSTEM" , linux-usb@vger.kernel.org Subject: Re: [PATCH 3/8] pinctrl: msm: Add ability for drivers to supply a reserved GPIO list Message-ID: <20190608041044.GK24059@builder> References: <20190605114302.22509-1-lee.jones@linaro.org> <20190605114302.22509-3-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Fri 07 Jun 16:02 PDT 2019, Linus Walleij wrote: > On Wed, Jun 5, 2019 at 1:43 PM Lee Jones wrote: > > > When booting MSM based platforms with Device Tree or some ACPI > > implementations, it is possible to provide a list of reserved pins > > via the 'gpio-reserved-ranges' and 'gpios' properties respectively. > > However some ACPI tables are not populated with this information, > > thus it has to come from a knowledgable device driver instead. > > > > Here we provide the MSM common driver with additional support to > > parse this informtion and correctly populate the widely used > > 'valid_mask'. > > > > Signed-off-by: Lee Jones > > Exactly how we should use of the API, so if Björn can supply an > ACK to patches 3 and 4 I'm happy to apply them. > > Björn? > I'm waiting for a version that does not specify the reserved_gpios for struct msm_pinctrl_soc_data sdm845_pinctrl {}, as this would override the ability of getting these from DT. I haven't seen such revision yet, will review it once I find it. Regards, Bjorn