From patchwork Wed Sep 19 22:58:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 971990 X-Patchwork-Delegate: philipp.tomsich@theobroma-systems.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=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="EiXLzyF0"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42FwKS4GTxz9sBs for ; Thu, 20 Sep 2018 08:59:24 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 2B32AC21DFB; Wed, 19 Sep 2018 22:58:42 +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_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID 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 E794EC21E1E; Wed, 19 Sep 2018 22:58:22 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 6E561C21C93; Wed, 19 Sep 2018 22:58:19 +0000 (UTC) Received: from mail-it0-f68.google.com (mail-it0-f68.google.com [209.85.214.68]) by lists.denx.de (Postfix) with ESMTPS id B539EC21C2C for ; Wed, 19 Sep 2018 22:58:18 +0000 (UTC) Received: by mail-it0-f68.google.com with SMTP id f14-v6so10639984ita.4 for ; Wed, 19 Sep 2018 15:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yVc43a1lgOiM2RGHAKWp1w9uzNFTNrVECOHqjQK2sso=; b=EiXLzyF0HJp0/fz5Kxr/SruGzIuYiMr5fbzsnUDZViQP/QP3IEKRmXbDHqv3FSAOfw Ae4anh5pfTnnviNFLUGbTfh2kyGDSLrr/4wt/A7vMkVFCm1okJnY5RsuiSVNGRdahKWg dVziZ+53H4bjO5OdQZPBaroha3tEAi/N8Zr3w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yVc43a1lgOiM2RGHAKWp1w9uzNFTNrVECOHqjQK2sso=; b=EaH6V97NS3sSK4YKPakOPIwreIZmy0V2fnPK76FxIgtzl9TSVc+fvGe87rHi85OcQ0 +6HZS1VYkWfkk/B6BsWZkBdJT4TvDdCHXvzyZNUF7fhcVUWEX+CI2LIrMAPq0paC/2lI kklbfGOzKBhvNGpLZdb06VbkLBjWdZXBQGzo/bPdk1g9bIt0e9zF40BScwQrWyPLbIVI kkHfpboqbs3Ts/Uc9kusAA2BHqewCHa5O0YcqCkowhlcUfSsxGmSQU8dRa5sLHBL2z2V JsFhPx9wnA8Anfyhd05w0mFqNGY3cqrAnToZd47l+/jASRHDpIc6yqxzMv6fEW92u2T+ giCQ== X-Gm-Message-State: APzg51BJrV5+jSUnhV9HQ+7hT5lBLEezaYhsbXNbvEZVB2Ys2Fdgy2cd oxGHY1QPQlAVkMrpTnpx1iws X-Google-Smtp-Source: ANB0VdZr9JZMeKG6Oz9iB3g61v9xslpfZnlWRd51WrjMZo+eSiAtC4VIlJQ2izWEeWJCabhcahw90Q== X-Received: by 2002:a24:118f:: with SMTP id 137-v6mr138458itf.30.1537397897194; Wed, 19 Sep 2018 15:58:17 -0700 (PDT) Received: from localhost.localdomain ([209.82.80.116]) by smtp.gmail.com with ESMTPSA id a63-v6sm52951itc.38.2018.09.19.15.58.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Sep 2018 15:58:16 -0700 (PDT) From: Manivannan Sadhasivam To: sjg@chromium.org, philipp.tomsich@theobroma-systems.com Date: Wed, 19 Sep 2018 15:58:01 -0700 Message-Id: <20180919225804.14375-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180919225804.14375-1-manivannan.sadhasivam@linaro.org> References: <20180919225804.14375-1-manivannan.sadhasivam@linaro.org> Cc: tom@vamrs.com, Randy Li , amit.kucheria@linaro.org, dev@vamrs.com, u-boot@lists.denx.de, Manivannan Sadhasivam , stephen@vamrs.com Subject: [U-Boot] [PATCH 1/4] arm: dts: rockchip: add some common pin-settings to rk3399 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Randy Li Those pins would be used by many boards. Commit grabbed from Linux: commit b41023282d07b61a53e2c9b9508912b1e7ce7b4f Author: Randy Li Date: Thu Jun 21 21:32:10 2018 +0800 arm64: dts: rockchip: add some common pin-settings to rk3399 Those pins would be used by many boards. Signed-off-by: Randy Li Signed-off-by: Heiko Stuebner Acked-by: Philipp Tomsich Signed-off-by: Randy Li Signed-off-by: Heiko Stuebner Signed-off-by: Ezequiel Garcia --- arch/arm/dts/rk3399.dtsi | 55 +++++++++++++++++++++++++++++++++++----- 1 file changed, 49 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/rk3399.dtsi b/arch/arm/dts/rk3399.dtsi index 83c257b1228..8349451b03d 100644 --- a/arch/arm/dts/rk3399.dtsi +++ b/arch/arm/dts/rk3399.dtsi @@ -1602,19 +1602,49 @@ drive-strength = <12>; }; + pcfg_pull_none_13ma: pcfg-pull-none-13ma { + bias-disable; + drive-strength = <13>; + }; + + pcfg_pull_none_18ma: pcfg-pull-none-18ma { + bias-disable; + drive-strength = <18>; + }; + + pcfg_pull_none_20ma: pcfg-pull-none-20ma { + bias-disable; + drive-strength = <20>; + }; + + pcfg_pull_up_2ma: pcfg-pull-up-2ma { + bias-pull-up; + drive-strength = <2>; + }; + pcfg_pull_up_8ma: pcfg-pull-up-8ma { bias-pull-up; drive-strength = <8>; }; + pcfg_pull_up_18ma: pcfg-pull-up-18ma { + bias-pull-up; + drive-strength = <18>; + }; + + pcfg_pull_up_20ma: pcfg-pull-up-20ma { + bias-pull-up; + drive-strength = <20>; + }; + pcfg_pull_down_4ma: pcfg-pull-down-4ma { bias-pull-down; drive-strength = <4>; }; - pcfg_pull_up_2ma: pcfg-pull-up-2ma { - bias-pull-up; - drive-strength = <2>; + pcfg_pull_down_8ma: pcfg-pull-down-8ma { + bias-pull-down; + drive-strength = <8>; }; pcfg_pull_down_12ma: pcfg-pull-down-12ma { @@ -1622,9 +1652,22 @@ drive-strength = <12>; }; - pcfg_pull_none_13ma: pcfg-pull-none-13ma { - bias-disable; - drive-strength = <13>; + pcfg_pull_down_18ma: pcfg-pull-down-18ma { + bias-pull-down; + drive-strength = <18>; + }; + + pcfg_pull_down_20ma: pcfg-pull-down-20ma { + bias-pull-down; + drive-strength = <20>; + }; + + pcfg_output_high: pcfg-output-high { + output-high; + }; + + pcfg_output_low: pcfg-output-low { + output-low; }; clock {