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: 9308669 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 F0AD960760 for ; Thu, 1 Sep 2016 09:24:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF89B292BB for ; Thu, 1 Sep 2016 09:24:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D3DD6292BF; Thu, 1 Sep 2016 09:24:25 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 83FAF292BB for ; Thu, 1 Sep 2016 09:24:25 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bfODF-0007HK-Gw; Thu, 01 Sep 2016 09:23:09 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bfOCZ-000740-W7 for linux-arm-kernel@lists.infradead.org; Thu, 01 Sep 2016 09:22:28 +0000 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> for linux-arm-kernel@lists.infradead.org; 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 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= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160901_022228_250306_F5331FAF X-CRM114-Status: GOOD ( 13.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: javier@osg.samsung.com, Linus Walleij , Krzysztof Kozlowski , Arnd Bergmann , Bartlomiej Zolnierkiewicz 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 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__ */