From patchwork Fri Dec 30 04:14:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 9491791 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 3C61062AB9 for ; Fri, 30 Dec 2016 04:22:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A18A1FF60 for ; Fri, 30 Dec 2016 04:22:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1DAD22018E; Fri, 30 Dec 2016 04:22:10 +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 AA2611FF60 for ; Fri, 30 Dec 2016 04:22:09 +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 1cMoc2-0008Ve-Tf; Fri, 30 Dec 2016 04:16:14 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cMoak-0006a6-HA for linux-arm-kernel@lists.infradead.org; Fri, 30 Dec 2016 04:14:57 +0000 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OIZ01N33D44S910@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 30 Dec 2016 13:14:28 +0900 (KST) Received: from epsmges1p5.samsung.com (unknown [182.195.40.64]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20161230041427epcas1p48eb1357d7ed78c7df289592327aec1db~U7XXgTv020405704057epcas1p4r; Fri, 30 Dec 2016 04:14:27 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id B7.60.06773.32FD5685; Fri, 30 Dec 2016 13:14:27 +0900 (KST) Received: from epcpsbgm1new.samsung.com (u26.gpu120.samsung.co.kr [203.254.230.26]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20161230041427epcas1p1e4d0dd5e7f9928664c664b7850dbd87a~U7XW7RLOe2596425964epcas1p1F; Fri, 30 Dec 2016 04:14:27 +0000 (GMT) X-AuditID: b6c32a39-f79256d000001a75-e7-5865df232c7e Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id F3.01.28252.22FD5685; Fri, 30 Dec 2016 13:14:27 +0900 (KST) Received: from gangnam.samsung ([10.113.62.47]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OIZ00KWDD40ZY30@mmp1.samsung.com>; Fri, 30 Dec 2016 13:14:26 +0900 (KST) From: Andi Shyti To: Chanwoo Choi , Tomasz Figa , Krzysztof Kozlowski , Sylwester Nawrocki , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Kukjin Kim , Javier Martinez Canillas , Linus Walleij Subject: [PATCH v2 2/4] pinctrl: dt-bindings: samsung: add drive strength macros for Exynos5433 Date: Fri, 30 Dec 2016 13:14:19 +0900 Message-id: <20161230041421.24448-3-andi.shyti@samsung.com> X-Mailer: git-send-email 2.11.0 In-reply-to: <20161230041421.24448-1-andi.shyti@samsung.com> X-Brightmail-Tracker: H4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lk2K+zpnbJt 6nOZW5IumifZqbDFXengSZribstX/uOiXfejRcu3f8icm6bEUpyRaKjFXFScCACbG7+TngMA AA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBIsWRmVeSWpSXmKPExsVy+t9jAV3l+6kRBrcecFlsP/KM1WLxj+dM Fu+X9TBaXP/ynNVi/pFzrBZv3q5hsuh//JrZ4vz5DewWU/4sZ7LY9Pgaq8XlXXPYLGac38dk sfT6RSaL1r1H2C0Ov2lntViw8RGjxapdfxgtXn48weIg5LFm3hpGj+tLPjF77Jx1l91j06pO No871/aweWxeUu+xpR8o1LdlFaPH501yAZxRbjYZqYkpqUUKqXnJ+SmZeem2SqEhbroWSgp5 ibmptkoRur4hQUoKZYk5pUCekQEacHAOcA9W0rdLcMvoW7+cseAad8Wj76+YGxg7uLoYOTgk BEwk3ixI72LkBDLFJC7cW8/WxcjFISSwlFHi9Im7rBDORyBnQzMjSBWbgKZE0+0fYFUiAgeY JY5/eMgC4jALPGeUOLRpEjNIlbBAosTx9VOYQGwWAVWJe9tARnFy8ApYS8x+8IgFYp+8xK62 i2BxTgEbifn3HoPZQkA1rdveMk1g5F3AyLCKUSK1ILmgOCk91zAvtVyvODG3uDQvXS85P3cT IzjWnkntYDy4y/0QowAHoxIP74+y1Agh1sSy4srcQ4wSHMxKIrzO94BCvCmJlVWpRfnxRaU5 qcWHGE2BDpvILCWanA9MA3kl8YYm5ibmxgYW5paWJkZK4ryNs5+FCwmkJ5akZqemFqQWwfQx cXBKNTCuLuxxqw1K8pR2cFl7OUmeUcDw6mL5TT2qC3Wj1mYvfc85J0H95lRlvrvLV+3MU5L5 lH5eZfnxlF3F+48bLv6eWW126EZSfr6d+9LPnE9VV5vXZPZnHji67OK3bpO1hT4Ml84l1Rd+ P3u+qPrVnBOi+UmaT0slSi7/Lufbf9FRbO+uqYvn+jUrsRRnJBpqMRcVJwIAm2XKlssCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20161230041427epcas1p1e4d0dd5e7f9928664c664b7850dbd87a X-Msg-Generator: CA X-Sender-IP: 203.254.230.26 X-Local-Sender: =?UTF-8?B?7JWI65SUG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLzthLAp?= =?UTF-8?B?G+yCvOyEseyghOyekBvssYXsnoQ=?= X-Global-Sender: =?UTF-8?B?QW5kaSBTaHl0aRtUaXplbiBQbGF0Zm9ybSBMYWIuG1NhbXN1?= =?UTF-8?B?bmcgRWxlY3Ryb25pY3MbU2VuaW9yIEVuZ2luZWVy?= X-Sender-Code: =?UTF-8?B?QzEwG1NUQUYbQzEwVjgxMTE=?= CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20161230041427epcas1p1e4d0dd5e7f9928664c664b7850dbd87a X-RootMTR: 20161230041427epcas1p1e4d0dd5e7f9928664c664b7850dbd87a References: <20161230041421.24448-1-andi.shyti@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161229_201454_914283_901307AA X-CRM114-Status: GOOD ( 12.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: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Andi Shyti , Andi Shyti , 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 Commit 5db7e3bb87df ("pinctrl: dt-bindings: samsung: Add header with values used for configuration") has added a header file for defining the pinctrl values in order to avoid hardcoded settings in the Exynos DTS related files. Extend samsung.h to the Exynos5433 for drive strength values which are strictly related to the particular SoC and may defer from others. Signed-off-by: Andi Shyti Reviewed-by: Chanwoo Choi --- include/dt-bindings/pinctrl/samsung.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/dt-bindings/pinctrl/samsung.h b/include/dt-bindings/pinctrl/samsung.h index 6276eb785e2b..e0ebb20ffdd3 100644 --- a/include/dt-bindings/pinctrl/samsung.h +++ b/include/dt-bindings/pinctrl/samsung.h @@ -45,6 +45,20 @@ #define EXYNOS5420_PIN_DRV_LV3 2 #define EXYNOS5420_PIN_DRV_LV4 3 +/* Drive strengths for Exynos5433 */ +#define EXYNOS5433_PIN_DRV_FAST_SR1 0 +#define EXYNOS5433_PIN_DRV_FAST_SR2 1 +#define EXYNOS5433_PIN_DRV_FAST_SR3 2 +#define EXYNOS5433_PIN_DRV_FAST_SR4 3 +#define EXYNOS5433_PIN_DRV_FAST_SR5 4 +#define EXYNOS5433_PIN_DRV_FAST_SR6 5 +#define EXYNOS5433_PIN_DRV_SLOW_SR1 8 +#define EXYNOS5433_PIN_DRV_SLOW_SR2 9 +#define EXYNOS5433_PIN_DRV_SLOW_SR3 0xa +#define EXYNOS5433_PIN_DRV_SLOW_SR4 0xb +#define EXYNOS5433_PIN_DRV_SLOW_SR5 0xc +#define EXYNOS5433_PIN_DRV_SLOW_SR6 0xf + #define EXYNOS_PIN_FUNC_INPUT 0 #define EXYNOS_PIN_FUNC_OUTPUT 1 #define EXYNOS_PIN_FUNC_2 2