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: 147064 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1260964ljw; Wed, 19 Sep 2018 15:59:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbYzFdiHnKkNtOS2nt1cGMlrgjrxtogJgwVF22pvBUklO6yOxQ7YOuauuFSEnte6R9FePCT X-Received: by 2002:a50:c082:: with SMTP id k2-v6mr181960edf.294.1537397939950; Wed, 19 Sep 2018 15:58:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537397939; cv=none; d=google.com; s=arc-20160816; b=cE1HhGqEGdVR3W5LooN/Mckzj0fEH8BeAwTs3OaR772ho7dpft5b+5kFSxGXnarfZ1 FnMS1X7UgWf7DsAE9yuisjcsGIrojarbD1belZbJTcoC3IjTSpjveBO8TJFH8oCOSPtj fBaKkLSnLqE0NKuxMd9mBmePkHBhk7E/aWUJfS6AvMrqQh+S2oVi0KGtP94tu6uZbZLJ K4KH65bKFSdxhKkUY6RvHP9xZVGDRXKtAsrjzA8WobNHE35J7WV9lccdkZwdvUbSGIst 1E+kqoiD/csmOuFmdTWbaFin/JwkoiBCW7+2G0Y5Wiuz4onNfWCC+zqZInSLCdNseoSX PEDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature; bh=oPpgv3gIIEsrOh407S4YiCCXOiZM16HByoKd9A3pUpM=; b=RPtwcNeia1xkMWhK84HnK9hfq6uiaan9kTR0JH8boghtCqc5rB2pgaj4pX35kUKSET o4GSu/AYdTM2pQCb5RpRqKQO3rryxpXr5WcjwSdQ+CNnik4RUSXAVCqZsPwZN98UJiJE j44fOQL1Ogr7P7clK5U3YaOh8LRZbXj5tnIyJn1e8rWoo4GPS3PAQvm+3Jjv1OZw0Ti+ 6WTL7w9TtK8pIEeTj4kuYOM2b0DzZppmivWA4oUqe27ij2XRhwjLYkB3ddpR8niXjwWz y7vf4uKop+G8uaxYY2fJBGKKWJvpACYwbCZsFrT5b9AjAnlvYKAVmqtWeWcae/aNHjn0 byUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EiXLzyF0; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id c1-v6si112213edn.411.2018.09.19.15.58.59; Wed, 19 Sep 2018 15:58:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=EiXLzyF0; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.denx.de (Postfix, from userid 105) id 76070C21DCA; Wed, 19 Sep 2018 22:58:41 +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-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 {