From patchwork Fri Jul 28 13:18:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 9868823 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7A0896037D for ; Fri, 28 Jul 2017 13:35:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F83720144 for ; Fri, 28 Jul 2017 13:35:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 540A72861A; Fri, 28 Jul 2017 13:35:01 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 ED86B288ED for ; Fri, 28 Jul 2017 13:34:55 +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: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:In-Reply-To: References:List-Owner; bh=gSRZA/rmfj3p3hJCeRtGD6bQwmfRHU8pizp17ns805c=; b=Okv ksiqHmvzy76zjkS5jlPdbYZsHeqMJKNaAQkTdYfB2PJ1EB91pkDP5fAeuAhe+1yUUi7s4a93gsWNt de7ZDH7CbQXAs4hhiysoghissKY5FVYRj50xCb8KCZpMZXKzkLm4i4o0n0ggeLryqpC73mMHGKwfa TxKzoo6HtSYdobayIel9CoDY44OAEprEdSA1+nMCKA9ShZqbh+sCCgaiVlCI0lEi/7sHhSMkBZcKB L6MWkfQZaI0nIyDDo4xk59dMJ9XkN6UV8odN53lnUb8lobdRFG02kXbm+umDDF0rqvwjWEQGVfXoL g63vAXLjLfEGYejjXI4qi35AAIfqLmQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1db5Po-0003PC-Qd; Fri, 28 Jul 2017 13:34:52 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1db5Pm-0003HA-Mx for linux-arm-kernel@bombadil.infradead.org; Fri, 28 Jul 2017 13:34:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=GvRKypAy57+pNUA8nH0EBZs7FAV+59UX5e86vgAb0d4=; b=YGULXtEnCiTH3JXUqywd02TH0 AXVlN/gPJRJTP4bPoW1JmjBXpLwuh+emA/Tjum9Pie4E6OR6hkgW2m6Mib6TYfPMmEMo8VUgsessm PKnM2r8KYHwofGxiTy/YvIQE+XJZhmM00Ml35aR4eCpI/4dUMDSayk3UCC95XWmW7fv+YsRgklgRB bmTw7/YPSyuB+7OysAUjvB/pQSQ+HXP4z+L1lXhVb9QP/KXupKLEwwmt8yNMWPennMYqttu3gnPWf dEA7hPb6WUingqAPcuBP+4wTTM7+QyCWZ+ztkpDW61eHJ9eI1tS9hYYfbdun2RyTM9iafi08ZFMjr 6SElNawOg==; Received: from smtp.codeaurora.org ([198.145.29.96]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1db5AD-0000n6-Qd for linux-arm-kernel@lists.infradead.org; Fri, 28 Jul 2017 13:18:48 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1809A60912; Fri, 28 Jul 2017 13:18:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1501247904; bh=yDae943RGtMy85Ab9x6VdgrnHLkTNONheBCjG+z1FQ8=; h=From:To:Cc:Subject:Date:From; b=BWZVG8Ht1bdAeM4/jQtr/qlyFs4/E85njVlaMbQkKW5sl6ln8TjQFC4/gmFQaEY5m eWbiNmQ6dNjevuTdJ3/7BrePJ7HlTKXtfE1VxwLfNWbej6GdEap+Mke4ODG3HEk2NI 76amZIuZEkrBUSsJM8pZXmh+G1yRs9re4087rGxo= Received: from blr-ubuntu-41.ap.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: vivek.gautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id B3E11607A3; Fri, 28 Jul 2017 13:18:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1501247903; bh=yDae943RGtMy85Ab9x6VdgrnHLkTNONheBCjG+z1FQ8=; h=From:To:Cc:Subject:Date:From; b=cVQjQsQd3T2rc2MpSogV6c0bSCHmIHwya/HzC54k1xrUSbcTZXX7tFNDKpJSOCaSn a1iEh2GUJPw5Tz7oXcAyyLkkiUWS1/5KiTSYVjgMHrmW1SNRnSIALSMnN95E6JrWQA 7jK1ijFfg6xt0YgYV7dXIbYj3HtS87q185JHAEjQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B3E11607A3 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=vivek.gautam@codeaurora.org From: Vivek Gautam To: bjorn.andersson@linaro.org, linus.walleij@linaro.org, robh+dt@kernel.org, andy.gross@linaro.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 1/2] Documentation: dt: pinctrl: Add pmi8994 gpio support Date: Fri, 28 Jul 2017 18:48:12 +0530 Message-Id: <1501247893-30226-1-git-send-email-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170728_141845_997311_1BF2C4EF X-CRM114-Status: GOOD ( 15.46 ) 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: devicetree@vger.kernel.org, rnayak@codeaurora.org, sboyd@codeaurora.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Vivek Gautam , 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 Update the binding doc for qcom pmi8994-gpio devices. Signed-off-by: Vivek Gautam Reviewed-by: Stephen Boyd Acked-by: Rob Herring --- - Have been testing this patch-set on db820c for extcon with usb controller. The usb controller uses one of these gpios for usb-id/vbus detection. Changes since v1: - Dropped "qcom,pmi8994-gpio" compatible addition to the driver since we can use the generic "qcom,spmi-gpio" compatible. - Sorted to add pmi8994-gpio in alphabatical order. Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt index 8d893a874634..d6f8adbf25c6 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt @@ -16,6 +16,7 @@ PMIC's from Qualcomm. "qcom,pm8941-gpio" "qcom,pm8994-gpio" "qcom,pma8084-gpio" + "qcom,pmi8994-gpio" And must contain either "qcom,spmi-gpio" or "qcom,ssbi-gpio" if the device is on an spmi bus or an ssbi bus respectively @@ -85,6 +86,7 @@ to specify in a pin configuration subnode: gpio1-gpio36 for pm8941 gpio1-gpio22 for pm8994 gpio1-gpio22 for pma8084 + gpio1-gpio10 for pmi8994 - function: Usage: required