From patchwork Thu Sep 27 19:02:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 147730 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp2385659lji; Thu, 27 Sep 2018 12:04:12 -0700 (PDT) X-Google-Smtp-Source: ACcGV63SAvEo1oXU2gjeU4yNCZ2RQQqmfexvdu9SsDkf4QWznMhXDJiEZSx0ZCNX+rNtdHPUHaW8 X-Received: by 2002:a50:8406:: with SMTP id 6-v6mr19245683edp.97.1538075051961; Thu, 27 Sep 2018 12:04:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538075051; cv=none; d=google.com; s=arc-20160816; b=PFVucCAzqrRdyu7qoGp+IFuDxAJO/4XuM9nZ3aX2q1HyOWYSWQodyl8oW6HPhpTKEZ A7FM4ZypiABwWsYDCklmAQc+hlpPrLhJxrUfYq6v0RIzhsvYj1/0bAo8VvvLSsdytV9i YVTGN4drBUVe4oY/tNV1r/wpA56+jSGKDr3ZGnZD6BIOTiSkell44Uoa88w0IBjuuWMU E1AuW3vbBx9gAbOblLJZqCRODaY01OPjDVJFtxR9OtJQ5XItuWRnuTICsR2OU3VxASJJ pJl3gXyXjIrxHgNRzy5hb1a7uYA2eRXv+YsiF08WStxXXtTvZC4wfbvq0tQXDaiM8DOS ONWQ== 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=Q0lk3KktZAzlbuoIBm1k3bz5TOT+YB/ZqSjsmGHJb58=; b=gQkcdfrW0VLYGkBn0M78VHNOR8JinHeR1nK7gB56XioL4AnDTgRCS+AqjGznd2XgxQ kkN2moLjMlHT8oBF87XNGNE4q6ufYF/Z9L2+hRqOR6SU0uya1vaiP8cvQpYvI4WUffAn 1qaycW8Z7KBJHtvtQJ/pHGVgIur4o+Aly21BTAP0kPTV2NmMZn4mcws0E7fk5h1ytuXk 1C64PxZYBm/BHyEj8pKng/ZV0aikhV3ytvKWQcvuCBm3TUtM/gqgCww8KCljuCB/cbfz od9tiOOMTlkPYwPXkGpFqpelO5wu12/yHTq3l3ak1PQFGaHnp7R4mbi2KH6VDk6zygIm ABpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ivixmN+g; 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 20-v6si799226ejx.274.2018.09.27.12.04.11; Thu, 27 Sep 2018 12:04:11 -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=ivixmN+g; 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 5E071C21DA2; Thu, 27 Sep 2018 19:03:45 +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, 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 5BCF0C21DF8; Thu, 27 Sep 2018 19:03:42 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9257AC21E0D; Thu, 27 Sep 2018 19:03:30 +0000 (UTC) Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by lists.denx.de (Postfix) with ESMTPS id D0C05C21D65 for ; Thu, 27 Sep 2018 19:03:25 +0000 (UTC) Received: by mail-pg1-f171.google.com with SMTP id d19-v6so2640730pgv.1 for ; Thu, 27 Sep 2018 12:03:25 -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=NMBMNEz52x10uxvgSF2RZ/1BitOK5E5fciuyg7IpbUo=; b=ivixmN+gfM/DJTXQSz9TecvC+A0CFxLc/xVw7SeYmGWRfp3ZSvnx22GBK4e6zz1ZKW JcTe2Cmy32KYD7e8Bbi0OpPzLkOKGa5zRK3sjA8ySZ1yROL8Wy3f+Fe6Fz36TGkBYmM2 oDWCRFR5BR2JXXEdTKvzAAZIzkW5EdyCB446I= 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=NMBMNEz52x10uxvgSF2RZ/1BitOK5E5fciuyg7IpbUo=; b=Z6NrjhGROJN+WPnNfI/nUPcrDHPBrwueWczB/n9jPmp5p4tBsyj2LA9z02SVVvmCJn xzSaxpgLRdJ86hNzvlLaI7IgEzJV7ZuJlRlCHFQyT2rAXch1f7AbaBTsszKNvv6GhDV5 fZhb+93mPUgMTvTAN/LdZmgIWz7dk4S9F/iO/BkqMvqFeA2kjEOgqQmMKuE76UIIpgxU HD2sCOFnvLg6bgPFsPn9Usr/TUSwwXm6vOkRVgRvouN/HZRGSDnEYoIbAeIrbxlnYjHI cjcWiJ1EpfKv+I56p33t61j7EDsvX5MFSuMFK+XSnpE1qS7XmmpVqSKtFFa1zb+xBSW3 1n4A== X-Gm-Message-State: ABuFfoiPMq7/7Nt7k/iPDdxBR32GXAIInTJ9qtlypQZIA8v4MMGFQtMp VhMl/q9GTXUZt5+1Coah8Y5x X-Received: by 2002:a17:902:a716:: with SMTP id w22-v6mr12559959plq.334.1538075004345; Thu, 27 Sep 2018 12:03:24 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:620c:e606:55b5:4f81:aee3:95c7]) by smtp.gmail.com with ESMTPSA id v8-v6sm4408895pff.120.2018.09.27.12.03.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 12:03:23 -0700 (PDT) From: Manivannan Sadhasivam To: sjg@chromium.org, philipp.tomsich@theobroma-systems.com Date: Fri, 28 Sep 2018 00:32:58 +0530 Message-Id: <20180927190301.9642-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180927190301.9642-1-manivannan.sadhasivam@linaro.org> References: <20180927190301.9642-1-manivannan.sadhasivam@linaro.org> Cc: Randy Li , tom@vamrs.com, daniel.lezcano@linaro.org, amit.kucheria@linaro.org, dev@vamrs.com, u-boot@lists.denx.de, Manivannan Sadhasivam , stephen@vamrs.com Subject: [U-Boot] [PATCH v3 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 Tested-by: Peter Robinson Reviewed-by: Philipp Tomsich --- Changes in v3: None Changes in v2: None 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 {