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=-8.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS 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 441FEC31E46 for ; Wed, 12 Jun 2019 07:26:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0E178208C2 for ; Wed, 12 Jun 2019 07:26:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="b/xNVmBG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727683AbfFLH0C (ORCPT ); Wed, 12 Jun 2019 03:26:02 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:46105 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405521AbfFLH0B (ORCPT ); Wed, 12 Jun 2019 03:26:01 -0400 Received: by mail-lj1-f195.google.com with SMTP id v24so9800553ljg.13 for ; Wed, 12 Jun 2019 00:25:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=msM4dgHT7OChSN8YMEnC/hlz7O4CQA3Qt/8x5kRoeWA=; b=b/xNVmBGr774Ie44vkdUYzW5g96u3La3k0A9SkL3ZCvZkJF98mYXDQ6oP9LRZh7Wp/ 2vvQhSHA3r4OQBrQ7F92Mofp94Op3kqIQEKS8O+hSDMP2fnYaKO61aP1PbwJcYdaNkud Uyg/uruiDUcv2DAYwC7O9pg8remPu1Uh3BpmwKar4uCP4Sp2HYDx1JVC3VEx1wjMqJNo bRXEiIeSR30mKPOoa8C77KYigxq3DHc3oCTvWo7Qzb1rVN30/VnNJ2zgp/VN1Is2rgqC Y+sDCDqKg9uQcSI7N022tg6lqvie69RffAY9o34iLiLGyXRl91cmjVEhOhil7iISNP/k aFrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=msM4dgHT7OChSN8YMEnC/hlz7O4CQA3Qt/8x5kRoeWA=; b=bxEsUU2tos3ZB0ntULDb2bKnmeIwc2Cv4p8nO+p6CED3sKXpZUBfKg3+Op/F8u0C45 tbf85yLFNq3NRZKeoO7oe1w9ULPwefjGZGpwxvu7yv605ZqCgTNTT4XnvBQJjXFX7Z25 CXplYJMb+1pQq9VWii6IhygZjl8A1GfI4BRhivPK5+Ioa4rj7lUonvcaTO3bHyNogz5Q qQhjB3xoCOV5AmcbhmdO6wUExyp5Rbh2AbQUj0X6/gQgs+fcDwT4SOuOm4enjF/yELIE dn8qURrJ0aODcliO1QrDLDMVdFYzG0SFcPArygDYuppjDHZYziTtCAPf+VDR88tymw8i QmnA== X-Gm-Message-State: APjAAAVRRj0OM/u7wmGiSKnfxD49DzWieDC4rdpuaKwCYFPnm9YtQ39E Z+CAojP0uOb3w8uZonp69rT5lx+bGmqpNnWRNrK1OQ== X-Google-Smtp-Source: APXvYqx5YwbEg0avWvoTtMnv22p8ShuveFC0J0UpmFk2uYfKnJ2tkg9tfFI9Py8uT6FyJuuL+H4KmQND6QpZjMGZBTE= X-Received: by 2002:a2e:7508:: with SMTP id q8mr26602026ljc.165.1560324358738; Wed, 12 Jun 2019 00:25:58 -0700 (PDT) MIME-Version: 1.0 References: <20190610084213.1052-1-lee.jones@linaro.org> <20190610084213.1052-3-lee.jones@linaro.org> In-Reply-To: <20190610084213.1052-3-lee.jones@linaro.org> From: Linus Walleij Date: Wed, 12 Jun 2019 09:25:47 +0200 Message-ID: Subject: Re: [PATCH v3 3/8] pinctrl: msm: Add ability for drivers to supply a reserved GPIO list To: Lee Jones Cc: alokc@codeaurora.org, Andy Gross , David Brown , Wolfram Sang , Bjorn Andersson , Felipe Balbi , Greg KH , Ard Biesheuvel , Jeffrey Hugo , linux-i2c , MSM , "open list:GPIO SUBSYSTEM" , linux-usb , Linux ARM , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Mon, Jun 10, 2019 at 10:42 AM 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 > Reviewed-by: Bjorn Andersson I have queued patches 3 and 4 in the pin control tree on an immutable branch with Bjorn's ACKs: git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git ib-qcom-acpi I have also merge this to pinctrl's devel branch for next. Yours, Linus Walleij