From patchwork Wed Jan 18 05:42:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 9522647 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 074B36043A for ; Wed, 18 Jan 2017 05:47:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9DA728517 for ; Wed, 18 Jan 2017 05:47:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DEB1628581; Wed, 18 Jan 2017 05:47:05 +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 AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DECD628517 for ; Wed, 18 Jan 2017 05:47:04 +0000 (UTC) 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 1cTj5M-00084j-KT; Wed, 18 Jan 2017 05:47:04 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cTiyv-0003KA-QU for linux-arm-kernel@lists.infradead.org; Wed, 18 Jan 2017 05:40:28 +0000 Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJY02LN7NQRVK40@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 18 Jan 2017 14:40:03 +0900 (KST) Received: from epsmges5p3.samsung.com (unknown [182.195.40.49]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20170118054003epcas2p222687670e6ff635cc5ffbfe253baba18~axyhbWIDQ3152531525epcas2p2r; Wed, 18 Jan 2017 05:40:03 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p3.samsung.com (EPCPMTA) with SMTP id F6.A2.10771.3BFFE785; Wed, 18 Jan 2017 14:40:03 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20170118054002epcas5p3b08e2f419976e17a3c584d64776810fd~axyhEFWzB1431214312epcas5p30; Wed, 18 Jan 2017 05:40:02 +0000 (GMT) X-AuditID: b6c32a2e-f79f46d000002a13-81-587effb351ed Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id FB.F0.26370.2BFFE785; Wed, 18 Jan 2017 14:40:02 +0900 (KST) Received: from pankaj.sisodomain.com ([107.108.83.125]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OJY008PTNPTLQ80@mmp1.samsung.com>; Wed, 18 Jan 2017 14:40:02 +0900 (KST) From: Pankaj Dubey To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 2/3] pinctrl: dt-bindings: samsung: Add Exynos7 specific pinctrl macro definitions Date: Wed, 18 Jan 2017 11:12:20 +0530 Message-id: <1484718141-28785-3-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1484718141-28785-1-git-send-email-pankaj.dubey@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrEKsWRmVeSWpSXmKPExsWy7bCmhu7m/3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LMWRmVeSWpSXmKPExsVy+t9jAd1N/+siDD7NMLN4MG8bm8X8I+dY Ld68XcNk0f/4NbPF+fMb2C02Pb7GajHj/D4mi0Vbv7BbtO49wm5x+E07q8W0deuYHbg9Nq3q ZPPYvKTeY0v/XXaPvi2rGD0+b5ILYI1ys8lITUxJLVJIzUvOT8nMS7dVCg1x07VQUshLzE21 VYrQ9Q0JUlIoS8wpBfKMDNCAg3OAe7CSvl2CW8beM3PZC9o4Ks5M8mxg/MrWxcjJISFgInHy yWQmCFtM4sK99UBxLg4hgaWMEo2nz7FDOD8ZJR5e2sgMUsUmoCvx5P1cIJuDQ0QgU+LEPi6Q GmaBw4wSbVcusoDUCAukSLy4dIARxGYRUJX4cf0CO4jNK+AhsWPufhaIbXISN891gs3hFPCU aOyoAwkLAZXMXfKOdQIj7wJGhlWMEqkFyQXFSem5Rnmp5XrFibnFpXnpesn5uZsYwWH/THoH 4+Fd7ocYBTgYlXh4A0TrIoRYE8uKK3MPMUpwMCuJ8F79DRTiTUmsrEotyo8vKs1JLT7EaAp0 10RmKdHkfGBM5pXEG5qYm5gbG1iYW1qaGCmJ8zbOfhYuJJCeWJKanZpakFoE08fEwSnVwLj2 wCXOp1o7py67XCzNIKb7e2pbFMMs93mhgn7+jDseiB437J13e8LvVI7sr/15nTIXojt/JXQx CYs84F7asI/T8XrBYeFFl54t2/3w4Vu3vZLJ3x72P0hU+Tv1elZzQcrZI4Hmy7W/H4t8z/qB 84f6jG+Ky6o8Z54uSbgvEZamJCemsOlRcKsSS3FGoqEWc1FxIgCT0SX6kQIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170118054002epcas5p3b08e2f419976e17a3c584d64776810fd X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 X-Local-Sender: =?UTF-8?B?7YyQ7Lm07KaIG1NTSVItVHVybiBLZXkgU29sdXRpb25zGw==?= =?UTF-8?B?7IK87ISx7KCE7J6QGy4vQ2hpZWYgRW5naW5lZXI=?= X-Global-Sender: =?UTF-8?B?UEFOS0FKIEtVTUFSIERVQkVZG1NTSVItVHVybiBLZXkgU29s?= =?UTF-8?B?dXRpb25zG1NhbXN1bmcgRWxlY3Ryb25pY3MbLi9DaGllZiBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG1NXQUhRG0MxMElEMDdJRDAxMDk5Nw==?= CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20170118054002epcas5p3b08e2f419976e17a3c584d64776810fd X-RootMTR: 20170118054002epcas5p3b08e2f419976e17a3c584d64776810fd References: <1484718141-28785-1-git-send-email-pankaj.dubey@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170117_214026_192690_6F093715 X-CRM114-Status: UNSURE ( 8.53 ) X-CRM114-Notice: Please train this message. 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: alim.akhtar@samsung.com, Pankaj Dubey , krzk@kernel.org, javier@osg.samsung.com, robh+dt@kernel.org, kgene@kernel.org, s.nawrocki@samsung.com, sanath@samsung.com 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 Exynos7 SoC pinctrl configurations are similar to existing Exynos4/5 except for FSYS1 pinctrl drive strengths. So adding Exynos7 specific FSYS1 blocks pinctrl driver strength related macros which will be used in Exynos7 DTSi files. Signed-off-by: Pankaj Dubey Reviewed-by: Alim Akhtar Acked-by: Krzysztof Kozlowski Acked-by: Sylwester Nawrocki Acked-by: Linus Walleij --- include/dt-bindings/pinctrl/samsung.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/dt-bindings/pinctrl/samsung.h b/include/dt-bindings/pinctrl/samsung.h index 6276eb7..3f1d583 100644 --- a/include/dt-bindings/pinctrl/samsung.h +++ b/include/dt-bindings/pinctrl/samsung.h @@ -54,4 +54,12 @@ #define EXYNOS_PIN_FUNC_6 6 #define EXYNOS_PIN_FUNC_F 0xf +/* Drive strengths for Exynos7 FSYS1 block */ +#define EXYNOS7_FSYS1_PIN_DRV_LV1 0 +#define EXYNOS7_FSYS1_PIN_DRV_LV2 4 +#define EXYNOS7_FSYS1_PIN_DRV_LV3 2 +#define EXYNOS7_FSYS1_PIN_DRV_LV4 6 +#define EXYNOS7_FSYS1_PIN_DRV_LV5 1 +#define EXYNOS7_FSYS1_PIN_DRV_LV6 5 + #endif /* __DT_BINDINGS_PINCTRL_SAMSUNG_H__ */