Message ID | 20191216095712.13266-9-kishon@ti.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4091419ile; Mon, 16 Dec 2019 01:56:29 -0800 (PST) X-Google-Smtp-Source: APXvYqzrWRtmwOHFjqIH+YXXETFT8wh6VS25OQCFgrpDOtEDk7Ywp5Avq+3nIn0Rsakx65lbvuZN X-Received: by 2002:a05:6830:1582:: with SMTP id i2mr32096146otr.50.1576490189345; Mon, 16 Dec 2019 01:56:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576490189; cv=none; d=google.com; s=arc-20160816; b=psZZauenIJkyoBgGgBE3o+stSH6GW48NHjGRhyT+99wlPZZlUfbJB+WUADEZk+xrn6 KiAcYXPzzqj5c3A6eduzO/nUz31RVg0CwCH55Fs55hMvZKc+lzlyzERRz4f/6MEV1VTR PPmDsmhxwLiZMxm8FdY3uzGYQq9NXeEuZM5EBKMX7WxAsKUoAURqbOwIq9b5yOQdNPUD yrIay7dVwP7ElM4xRM1Cg5Jw8XbEqTfFZQuzH0iABa/JcgNUWAxqn6xZ/QP4kcLlJ9md KB1BNsoMgizpDl6GoNxxdCOQinI4nbR6t1rJHz82479mGatpgZWTsom9Y9D8Qs63zb8v yZ/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=xsoCMaeYo5YfhzTn+vSlcz0XqN7p8MMRE1rbf+zv3po=; b=FLoXJN2urYAsBNZu/P/hIFVH715lERCECT3C+D1D5fVrzcffj+Q0+M/8khns4LrIPV t9yYUd86d9DIN+Rn318YV+dhhYYmsiw2dpwMUZftJLuxac0eQWjN0WiZPdXHv5Q/PXAt JLV8ubVy/LHbH9dSfgscr16z9cit7t3em3QHqJlJRCmdxHBFFPXOCewPH8x3rVv1KAIp 7NSWu/2vT3fhvxa12D78C2o/vCxqh+fxl7B1VJPIXgnZejVhGwv6fp+unyl9lEykcLUk xtOBQRDlZIrxa3/8EBIrgvU7rq598yfXMgEKgS6ExIdpWbpuEI5z4qHVdAyaO/naJUMP 5YsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="rsjkF7M/"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: <devicetree-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q26si9734870oij.38.2019.12.16.01.56.29; Mon, 16 Dec 2019 01:56:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="rsjkF7M/"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727322AbfLPJ42 (ORCPT <rfc822;steve.mcintyre@linaro.org> + 8 others); Mon, 16 Dec 2019 04:56:28 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:58798 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727315AbfLPJ41 (ORCPT <rfc822; devicetree@vger.kernel.org>); Mon, 16 Dec 2019 04:56:27 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id xBG9uKJU106107; Mon, 16 Dec 2019 03:56:20 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1576490180; bh=xsoCMaeYo5YfhzTn+vSlcz0XqN7p8MMRE1rbf+zv3po=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=rsjkF7M/pzDNnWelB/P5Q1MKmcM3KGAZf5b8hrsLGRX4QfYrJrDFj5fBBymqnIMhT agdEQrDu6x0RAfqLxL1lizv1X5YqPDVeA/VuH4pbq5ByztbEe5qExDArj5uJH/U5r1 lrFktN5cmqmuE/m9cwF6Nfpg4vfz7mqbatyil4Po= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xBG9uKbt049441 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 16 Dec 2019 03:56:20 -0600 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Mon, 16 Dec 2019 03:56:19 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Mon, 16 Dec 2019 03:56:19 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id xBG9tsJR084408; Mon, 16 Dec 2019 03:56:17 -0600 From: Kishon Vijay Abraham I <kishon@ti.com> To: Rob Herring <robh+dt@kernel.org>, Anil Varughese <aniljoy@cadence.com>, Roger Quadros <rogerq@ti.com>, Jyri Sarha <jsarha@ti.com> CC: <devicetree@vger.kernel.org>, Kishon Vijay Abraham I <kishon@ti.com>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org> Subject: [PATCH v4 08/14] phy: cadence: Sierra: Get reset control "array" for each link Date: Mon, 16 Dec 2019 15:27:06 +0530 Message-ID: <20191216095712.13266-9-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191216095712.13266-1-kishon@ti.com> References: <20191216095712.13266-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: <devicetree.vger.kernel.org> X-Mailing-List: devicetree@vger.kernel.org |
Series |
PHY: Add support for SERDES in TI's J721E SoC
|
expand
|
diff --git a/drivers/phy/cadence/phy-cadence-sierra.c b/drivers/phy/cadence/phy-cadence-sierra.c index fdca3bd178c6..497c83827670 100644 --- a/drivers/phy/cadence/phy-cadence-sierra.c +++ b/drivers/phy/cadence/phy-cadence-sierra.c @@ -499,7 +499,7 @@ static int cdns_sierra_phy_probe(struct platform_device *pdev) struct phy *gphy; sp->phys[node].lnk_rst = - of_reset_control_get_exclusive_by_index(child, 0); + of_reset_control_array_get_exclusive(child); if (IS_ERR(sp->phys[node].lnk_rst)) { dev_err(dev, "failed to get reset %s\n",
A link may have multiple lanes each with a separate reset. Get reset control "array" in order to reset all the lanes associated with the link. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> --- drivers/phy/cadence/phy-cadence-sierra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1