From patchwork Sat May 5 10:53:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 135071 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1086688lji; Sat, 5 May 2018 03:54:23 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoTXgOrDL1Q1ohBWHtsyLZeWEvvfGFQ7XsW9dNk5XKGZ6t9MF4k/M1DvfDmiCFj3l0OxZIi X-Received: by 2002:a50:b4e1:: with SMTP id x30-v6mr40352269edd.155.1525517663690; Sat, 05 May 2018 03:54:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525517663; cv=none; d=google.com; s=arc-20160816; b=t9cyfGQbYBk7tT6O5qUI01nEwh16mcORvbUKudIu6qn152uCKMfY0oPe+i0BD7IInj Kjp7PBKrMXtwg+vkSQkXy2cWKGmkBK9J8JgbJOWvHU+ZC3MRsLzpEVP5jtENU3ndCmzM gtNPHG6mghvFL/TuYzKuisKmuCPfYIhorIf9Y3BsXxEbsOO3KgHIWzDCEzGva4hkEssC +h7RspQ3RBDYpHdamV7UMZXscxPj8BFlJo5Iw7FNkZ2MltV+DepNpqbJORxQUnIX+JTO NVEGKr5t5824coYXjW84MTuHE4Qf+ZRpRrdANRL7W58bn+gOAhTHVRxDXtGQ6mTvXTdv zdSQ== 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:references:in-reply-to:message-id:date :to:from:dkim-signature:dkim-filter:arc-authentication-results; bh=/g4oC+vps1McPW6HLh2G26MSqJqUfCRoP0G1NUK0Qv4=; b=QNt/hbLkKj34R4TD4umfTGRqWpcKVKF0wmAkKztUt3TZ74wBK8O90qzlMpSPAmSNHW mHprlfgs77JOQ19kU7UVpgK47FStS8uQi7WhWoYrcO6kJcNJYL2ukxyoqL5Ki8Z4OBAs PX9xmrvI1Ycxbl384U8uW+Q/QuLwJAtUf65L0WRIdZ6ZHRlkwX6idSL9ba8kYRVeeHFN nhscxlrihMhrNodBtDmYuWh45vKBY86v/EdFIgrgQybolUiHxjcxpepVJC9Cp0Q5j8gX YnGhz5sNnEaPo0ypR7va5W6cD4VskRrGgeqSODiPv5DSIWTKvx3s72vUsRt0tAj6VjO2 N/iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=1Vnci31W; 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 Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id f16-v6si2252559edf.188.2018.05.05.03.54.23; Sat, 05 May 2018 03:54:23 -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=@nifty.com header.s=dec2015msa header.b=1Vnci31W; 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 Received: by lists.denx.de (Postfix, from userid 105) id D2368C21FDC; Sat, 5 May 2018 10:54:18 +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=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 8B1D9C21E85; Sat, 5 May 2018 10:54:16 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A573BC21F78; Sat, 5 May 2018 10:54:15 +0000 (UTC) Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lists.denx.de (Postfix) with ESMTPS id BB9F4C21E85 for ; Sat, 5 May 2018 10:54:14 +0000 (UTC) Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-08.nifty.com with ESMTP id w45As4Ew023712; Sat, 5 May 2018 19:54:07 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com w45As4Ew023712 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1525517647; bh=g1uOmp2fQEomRAnQ1Sel6waH0KF9p+yFWPm8GZaV2Po=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1Vnci31WrOdIjjIIPiyIUc4hr84p/5+BRuljn1au1x68aiaf4WDx+yOVHhX0/mgoD LOFSxTtJJ4uTgyebi+xEdAkJZ6HcITses/TgCRzfRinZyMw/0iOYudUZh3Ei6LYjfY dMM+Y3VHDdfnltktPogxk9JxMgMxPWbv2KWYHsNEXMoOHkegdfsceYYywGqAJPJ9na fAyU6KdvBftpCFsvsSlkn5bpce4zY6CbG/CUeR9caSgFYNgguopMNJoWMZzHr6etK4 nseqMrsF9UnjrVi/XB/D2YpXX2aWLD0S+csmZnrBlfsUhFYmFHefVyHUVP5Knt0J8+ Ey+jPwMqs+AYw== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sat, 5 May 2018 19:53:56 +0900 Message-Id: <1525517637-17603-7-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525517637-17603-1-git-send-email-yamada.masahiro@socionext.com> References: <1525517637-17603-1-git-send-email-yamada.masahiro@socionext.com> Subject: [U-Boot] [PATCH 6/7] pinctrl: uniphier: add ethernet TX pin data for LD20 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" These are necessary to optimize the drive-strength of the pins. Signed-off-by: Masahiro Yamada --- drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c index 11d5d98..116d1da 100644 --- a/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c +++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c @@ -11,6 +11,15 @@ #include "pinctrl-uniphier.h" +static const struct uniphier_pinctrl_pin uniphier_ld20_pins[] = { + UNIPHIER_PINCTRL_PIN(40, "RGMII_TXCLK", 28, UNIPHIER_PIN_DRV_3BIT), + UNIPHIER_PINCTRL_PIN(41, "RGMII_TXD0", 29, UNIPHIER_PIN_DRV_3BIT), + UNIPHIER_PINCTRL_PIN(42, "RGMII_TXD1", 30, UNIPHIER_PIN_DRV_3BIT), + UNIPHIER_PINCTRL_PIN(43, "RGMII_TXD2", 31, UNIPHIER_PIN_DRV_3BIT), + UNIPHIER_PINCTRL_PIN(44, "RGMII_TXD3", 32, UNIPHIER_PIN_DRV_3BIT), + UNIPHIER_PINCTRL_PIN(45, "RGMII_TXCTL", 33, UNIPHIER_PIN_DRV_3BIT), +}; + static const unsigned emmc_pins[] = {18, 19, 20, 21, 22, 23, 24, 25}; static const int emmc_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0}; static const unsigned emmc_dat8_pins[] = {26, 27, 28, 29}; @@ -103,6 +112,8 @@ static const char * const uniphier_ld20_functions[] = { }; static struct uniphier_pinctrl_socdata uniphier_ld20_pinctrl_socdata = { + .pins = uniphier_ld20_pins, + .pins_count = ARRAY_SIZE(uniphier_ld20_pins), .groups = uniphier_ld20_groups, .groups_count = ARRAY_SIZE(uniphier_ld20_groups), .functions = uniphier_ld20_functions,