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: 9868791 X-Patchwork-Delegate: agross@codeaurora.org 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 D459B60382 for ; Fri, 28 Jul 2017 13:19:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BFC4928506 for ; Fri, 28 Jul 2017 13:19:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B4407285BE; Fri, 28 Jul 2017 13:19:09 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 606D1285D5 for ; Fri, 28 Jul 2017 13:19:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751933AbdG1NSZ (ORCPT ); Fri, 28 Jul 2017 09:18:25 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:57890 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751071AbdG1NSY (ORCPT ); Fri, 28 Jul 2017 09:18:24 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C2B78609FB; 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 Cc: sboyd@codeaurora.org, rnayak@codeaurora.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Vivek Gautam 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 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.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