From patchwork Thu Sep 1 09:21:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 9308665 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 F3F57607D2 for ; Thu, 1 Sep 2016 09:23:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3B84292BB for ; Thu, 1 Sep 2016 09:23:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D86AA292BF; Thu, 1 Sep 2016 09:23:59 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 829F2292BB for ; Thu, 1 Sep 2016 09:23:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752396AbcIAJXo (ORCPT ); Thu, 1 Sep 2016 05:23:44 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:18338 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751340AbcIAJWI (ORCPT ); Thu, 1 Sep 2016 05:22:08 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OCT004QBJCRVG50@mailout3.w1.samsung.com>; Thu, 01 Sep 2016 10:22:04 +0100 (BST) X-AuditID: cbfec7f4-f79cb6d000001359-55-57c7f33b623c Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 5F.7E.04953.B33F7C75; Thu, 1 Sep 2016 10:22:03 +0100 (BST) Received: from AMDC2174.DIGITAL.local ([106.120.53.17]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OCT00K8IJCMUB30@eusync2.samsung.com>; Thu, 01 Sep 2016 10:22:03 +0100 (BST) From: Krzysztof Kozlowski To: Tomasz Figa , Krzysztof Kozlowski , Sylwester Nawrocki , Rob Herring , Mark Rutland , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, Kukjin Kim Cc: Arnd Bergmann , javier@osg.samsung.com, Linus Walleij , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 2/6] pinctrl: dt-bindings: samsung: Add macros for S3C64xx pin configuration Date: Thu, 01 Sep 2016 11:21:51 +0200 Message-id: <1472721715-2833-3-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1472721715-2833-1-git-send-email-k.kozlowski@samsung.com> References: <1472721715-2833-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHLMWRmVeSWpSXmKPExsVy+t/xK7rWn4+HG/xZZGjxd9IxdouNM9az Wsw/co7V4s3bNUwWr18YWvQ/fs1scf78BnaLKX+WM1lsenyN1eLyrjlsFjPO72OyWHr9IpNF 694j7BaH37SzWqza9YfRgd9jzbw1jB6/f01i9Ng56y67x6ZVnWwed67tYfPYvKTeY0s/UKhv yypGj8+b5AI4o7hsUlJzMstSi/TtErgy9r2pL1jNUfHxwQ+WBsbfbF2MnBwSAiYSq1pWQdli EhfurQeyuTiEBJYySjS/+8MO4TQySbz4fJsdpIpNwFhi8/IlYFUiAm+YJP61bmAEcZgFzjFK PLn8BGyWsECcxNaGj6wgNouAqsTepsNMXYwcHLwCbhJ7FpVBrJOTOHlsMlgJp4C7xO9frYwg thBQybbH+9gnMPIuYGRYxSiaWppcUJyUnmuoV5yYW1yal66XnJ+7iRESyl92MC4+ZnWIUYCD UYmH1+HNsXAh1sSy4srcQ4wSHMxKIrz7Px0PF+JNSaysSi3Kjy8qzUktPsQozcGiJM47d9f7 ECGB9MSS1OzU1ILUIpgsEwenVAMjU18Mm2lqsUUXw9v7FQUF0UWL1RYZeez/4WEl/uJC897d h9e65mVsClZ5K7T4xE0PnXDFKc+2FrtvWCrUqcM0b4qc+UwJeaG3RtIVB+6KLJx3fc7H6WvD m7Ul+reKF91zOnXi1Rt/CRn5XcEnMsoPcJT4Gnhevv0urkmwjTnz2b4JMXtWe21SYinOSDTU Yi4qTgQAeOVVRWECAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add macros for configuring pins pull up/down on S3C64xx and S5PV210. They differ from Exynos SoC family. Also add pin function with value of 6. Signed-off-by: Krzysztof Kozlowski --- include/dt-bindings/pinctrl/samsung.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/dt-bindings/pinctrl/samsung.h b/include/dt-bindings/pinctrl/samsung.h index b2132f3fe1ac..8ba07a6de003 100644 --- a/include/dt-bindings/pinctrl/samsung.h +++ b/include/dt-bindings/pinctrl/samsung.h @@ -17,6 +17,10 @@ #define EXYNOS_PIN_PULL_DOWN 1 #define EXYNOS_PIN_PULL_UP 3 +#define S3C64XX_PIN_PULL_NONE 0 +#define S3C64XX_PIN_PULL_DOWN 1 +#define S3C64XX_PIN_PULL_UP 2 + /* Pin function in power down mode */ #define EXYNOS_PIN_PDN_OUT0 0 #define EXYNOS_PIN_PDN_OUT1 1 @@ -47,6 +51,7 @@ #define EXYNOS_PIN_FUNC_3 3 #define EXYNOS_PIN_FUNC_4 4 #define EXYNOS_PIN_FUNC_5 5 +#define EXYNOS_PIN_FUNC_6 6 #define EXYNOS_PIN_FUNC_F 0xf #endif /* __DT_BINDINGS_PINCTRL_EXYNOS_H__ */