From patchwork Thu Sep 12 09:12:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 1161447 X-Patchwork-Delegate: twarren@nvidia.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46TY2w60Xkz9s4Y for ; Thu, 12 Sep 2019 19:13:12 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 80E1DC21DD7; Thu, 12 Sep 2019 09:13:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 0BEB9C21D56; Thu, 12 Sep 2019 09:13:09 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id BB812C21D8A; Thu, 12 Sep 2019 09:13:07 +0000 (UTC) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by lists.denx.de (Postfix) with ESMTPS id 683B0C21C2F for ; Thu, 12 Sep 2019 09:13:05 +0000 (UTC) Received: from marcel-nb-toradex-int.toradex.int ([46.140.72.82]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1M6V2j-1i21cy2xPl-006uOl; Thu, 12 Sep 2019 11:13:02 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Date: Thu, 12 Sep 2019 11:12:52 +0200 Message-Id: <20190912091256.15573-2-marcel@ziswiler.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190912091256.15573-1-marcel@ziswiler.com> References: <20190912091256.15573-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:5xKiWvDLliGfQ3SRoF4duNf3UhI+zRMOZlNk1onvcXjoFjA3LCJ 8zcsxpE6ItnH4yE5KF00b9K19PACok+vS5yg/wND7cZGB+KATxH3hYDcbvsu4QFcmuUwjDV BvXVvZQ3N91dFInmebkbVFQESukBnEcjhtamt9mlBAAPNbRMwfMj0ZEG4qjHeYjtSUT6kz7 javYNiMDmTlqgfsjv/L3A== X-UI-Out-Filterresults: notjunk:1; V03:K0:Yc/4I1pZpUE=:GXb9iHUkBvfkrmXeJ/87Ii qwQtZvackY6eXVz86jYFOJZeV6n+dvOHYfmD+t8sXcNktI7bFS2L4G/ZMzu6j0zpEfRIirxbR 2NVHCTjrfn36FPhYEnSdlgh+kFoJgfYtA7Fn8c0iOzry/FSJWAfQv9/UhqkzE7MRgotMLDuE/ ih/4vLGBwc8LLVRAw9hT3TeSNxaeadtp73x5zFe+ktqNQikBzBw+CrG0CKxMCmhX8MMZhJg7g vPX5d1oXXuDDaN638jWUrcytnHL6uo6pHbDDTq0QG5Zdp0y4k+wL2I8+w6P1kwlKx/WPHRdCh Skv+0Lp+9xCb4zfPy9PgjDQdGWdrIUBouzp+4PDmrbhc4SIxViRZ0ZUVP2E+3Bcl6uPIFc98N m3UZw8GWhGjxK74xVqPJI+7x2jFlZzJ9YweE653xSjTlGLn2Ax7G0qxRY5JcwIy75VRo/emaL tjIZwmckDyQGO3rzJzyio/4UTT+Rkx5kiztafHY9b8xKKqSvjn9ei01tjAtNpeTmTEK9+gzNm 0yjmMFK8lIo9I5lrcIo6/nUuGa/FTm3l5/pX6J05OMA/HqtQdVUK4jwPaV2qduAg6SHqGpXvv JAe1QVCrRdKnB9GEc69y61fw7GAwe7VQW1EAzTyVoFuaJebFmlykO1ikuZz+T7oqHBL3zrkCr haRjg9w44baCB+9oUmJxRLfu1XdzzGZpyRnxQ3Q08xrexjT8wcEwPnh/4xiK+vrrp1p9uec9d /idnmQT7tySO8R4FzaWEhc/0t8nnVp8vohxqApxsIaG3H4xwwSNqvvKq9+Lnh+zg0sVp2ABYQ zclA77pm4MLeUq9sUxWxArvs2g+8wnuH72QDTBtX+jI4wQsuOotVC9BgghYkNEfuHFUXm+rxg J4NweFC6xfYpCCrF4vhuCNLvklBHITXjUlT9OoDmM= Cc: Marcel Ziswiler , Stefan Agner Subject: [U-Boot] [PATCH v1 1/5] apalis/colibri_t30: add comment about tristate and input vs. output pinmuxing X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Marcel Ziswiler Add pinmuxing comment stating that TRISTATE means the output driver is tri-stated and INPUT means the input driver is enabled vs. OUTPUT where it is disabled. Signed-off-by: Marcel Ziswiler Reviewed-by: Igor Opaniuk --- board/toradex/apalis_t30/pinmux-config-apalis_t30.h | 2 ++ board/toradex/colibri_t30/pinmux-config-colibri_t30.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/board/toradex/apalis_t30/pinmux-config-apalis_t30.h b/board/toradex/apalis_t30/pinmux-config-apalis_t30.h index 49c2df7ab2..8d6696aaad 100644 --- a/board/toradex/apalis_t30/pinmux-config-apalis_t30.h +++ b/board/toradex/apalis_t30/pinmux-config-apalis_t30.h @@ -11,7 +11,9 @@ .pingrp = PMUX_PINGRP_##_pingrp, \ .func = PMUX_FUNC_##_mux, \ .pull = PMUX_PULL_##_pull, \ +/* TRISTATE here means output driver is tri-stated */ \ .tristate = PMUX_TRI_##_tri, \ +/* INPUT here means input driver is enabled vs. OUTPUT where it is disabled */ \ .io = PMUX_PIN_##_io, \ .lock = PMUX_PIN_LOCK_DEFAULT, \ .od = PMUX_PIN_OD_DEFAULT, \ diff --git a/board/toradex/colibri_t30/pinmux-config-colibri_t30.h b/board/toradex/colibri_t30/pinmux-config-colibri_t30.h index bdbbf5e49a..6181b506a4 100644 --- a/board/toradex/colibri_t30/pinmux-config-colibri_t30.h +++ b/board/toradex/colibri_t30/pinmux-config-colibri_t30.h @@ -11,7 +11,9 @@ .pingrp = PMUX_PINGRP_##_pingrp, \ .func = PMUX_FUNC_##_mux, \ .pull = PMUX_PULL_##_pull, \ +/* TRISTATE here means output driver is tri-stated */ \ .tristate = PMUX_TRI_##_tri, \ +/* INPUT here means input driver is enabled vs. OUTPUT where it is disabled */ \ .io = PMUX_PIN_##_io, \ .lock = PMUX_PIN_LOCK_DEFAULT, \ .od = PMUX_PIN_OD_DEFAULT, \