From patchwork Fri Sep 21 00:22:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 147177 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp162581ljw; Thu, 20 Sep 2018 17:29:17 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda9gxKov4omEaI/mrAdXPfDymuPYTzm2xz18ihF4dF26OpqWde4YohHAMNTPPjOmWlUsCel X-Received: by 2002:a50:ef1a:: with SMTP id m26-v6mr4952568eds.136.1537489757399; Thu, 20 Sep 2018 17:29:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537489757; cv=none; d=google.com; s=arc-20160816; b=rFjujf7xOXYQLYEaoNPoDRIBJw7GoGAnd5ZcInms8ARLnIVUYgxXQLMHYzbmPuNHq7 94dNwrJcbl3bfQS4HETZ1yAlxJomr+kNghSopW1RGJmGN2efUhl/NotKa3/TtTvtEwyU RUsuPt2CprXDnnzUlj5JYJO5A2RIAM8lRqn8i3Iz0mzqTxtk0sbiWgyLO1ScyXmvWDLs bEr5yFEgkarwNbVmngxOniBRK4+8miP1MO8GYSxifcW/MfQbTsxyI8AMzaaGqYJNO3Fn Bk8i7IEVRuIHISGn3+cPD1WU6lG3bPR8M+RDRImUJ7x0aea7QkOauLhTgGKUrVa9LtGA j0uA== 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=wpdnRqlACSOfF9mEVl/xo38zS7T5bIoCQU2QZ0nNbsE=; b=zrZEH0r+6Y0lC/0vUNzOPghKTsxZKtvyYRBgiBU+n9gMY74Zq2dwi9JkhafbC2bUri 2myaKxScjIM86XN0nZiy7+Soq+DYs3bjjBOAd0X5xpWOdq42O/kcjxlKxKAC/EUHn45J F6dD6aFxUrsVjcSm6Y8ILIXo1sU30OeqmcQAo6T0V9xsaOkPIU+0uowX01CYH0TEuGcL CSGssJpoe1NYlcqm11ElnUlWi4F9uaEguw0mZfDFDMVOiH2grg+xhGXgG+M9xFi9lkl2 b+JcfkmX3UcRWMi4/ylkTQsLai04FdUxewlhWVnpMG9qo5p5BeVByfGvNguTghopBAg3 zqdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=dfMOdwXr; 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 t12-v6si3130654edi.268.2018.09.20.17.29.17; Thu, 20 Sep 2018 17:29:17 -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=dfMOdwXr; 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 035EDC21E62; Fri, 21 Sep 2018 00:29:16 +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 E231AC21DF8; Fri, 21 Sep 2018 00:22:35 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 80A35C21D9A; Fri, 21 Sep 2018 00:22:34 +0000 (UTC) Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) by lists.denx.de (Postfix) with ESMTPS id B5443C21C4A for ; Fri, 21 Sep 2018 00:22:30 +0000 (UTC) Received: by mail-io1-f50.google.com with SMTP id w11-v6so10464169iob.2 for ; Thu, 20 Sep 2018 17:22:30 -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=8bF6OC7DEUNnGCjsehxfpOpsEQ85ZpU3MivMtp1FeLM=; b=dfMOdwXrhY1Syotdoguo4dX3FxaNkynkcBr6S0zMPdofFdSnWURjf4DowgrgFTtQ+q VAU0MpthPoNbuXx1euG9H4MrXR+3JL6VE/pzWzMD82Cj+WdN4QebN9ZiTyT5pSJ5lDZn 2CFSHonQSxM3lI1h4lrofWPxUiu8mJnpmijXI= 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=8bF6OC7DEUNnGCjsehxfpOpsEQ85ZpU3MivMtp1FeLM=; b=dTeZ0PK0uUXCl8f0r6pkFBh+SET9Lu7Nhkrlpslhgxkv5OcFZWvJjt3TZV755OSkYp yVhdZfJCzS53vNr4NFLu4x9jjFgxD3kQR8r2aNRokO203lkTC9l20jsBRY4i+UdVs3AG UF+99CE8SER27eEmDOU2yv58U+Z/tyGSqN9/y511aP7QPJtrNF+YeqgdmlULiMwmMykd n23jq54VIXo6zbIGdyBJx6bHgsuZsiSb7jH6xv1HauKD2JluuLwvOwFeagDYdWvYdL6v 4s8yyu7HerKYTi+xaYMWl3TrbSWX+hVyaBfH7lHRtdcWfOBLaO6HOyoCktMegKrpjAcr j6Og== X-Gm-Message-State: APzg51D812tVKK19RrqK/h33VvSxdf/OAqnxS0PmMDwx5lv6+LJu1FEs cjPmgkMN0T51j97E7qniiiri X-Received: by 2002:a24:8781:: with SMTP id f123-v6mr4088821ite.146.1537489349137; Thu, 20 Sep 2018 17:22:29 -0700 (PDT) Received: from localhost.localdomain ([209.82.80.116]) by smtp.gmail.com with ESMTPSA id l186-v6sm1423274ith.42.2018.09.20.17.22.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Sep 2018 17:22:28 -0700 (PDT) From: Manivannan Sadhasivam To: sjg@chromium.org, philipp.tomsich@theobroma-systems.com Date: Thu, 20 Sep 2018 17:22:12 -0700 Message-Id: <20180921002215.2013-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180921002215.2013-1-manivannan.sadhasivam@linaro.org> References: <20180921002215.2013-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 v2 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 --- 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 {