From patchwork Wed Mar 10 15:54:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 396744 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp488871jai; Wed, 10 Mar 2021 07:55:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6ZGohZdlpgokvYV9BGayeWTjYro6q8p16/4/Z/dJnyBsVdnw/x6KPKEoOkxdUKezwAyTE X-Received: by 2002:a05:6402:c0f:: with SMTP id co15mr4015031edb.373.1615391750587; Wed, 10 Mar 2021 07:55:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615391750; cv=none; d=google.com; s=arc-20160816; b=gMYrQYKRWWTBrIEQv9hBJtUvI/nWPGUcGomPhpF79R4IoSj7NIJd9+5zNYNz/QY2Bj mDR6s339gdWqDy7ftgvoE8TPNVgMz6N0VEHC2/wFFeNk/n1RSJV9Q1aWCg1DCQrXEOAD LFm9iWXFNam1rzpGcV3+7u4lXE8RbXfuoIyIQpmP33RpeZzAW3lGwcPrJVHmMtFT1U0L J1NwdifWre7j0fjC3LvqVuwVCCuIARka3xBWRZcU9Cak09vY7bOypkw4AxBhRWqB3O6s mXlopfG+KbzyUfClr+Gl2U6t/vxo+L8xZGCCahf6hXEJN437VwRd60gvoUpv45dExECa QEtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=dm+U4X4EOZxEx+9CgGj+1LJA+tv3/55FfGG9lW8Ffdk=; b=SbTxlcuIotgbKzneYfTCSdHOJp9e5eBpIQ1n9gBDsHsWXAQkQiTRnQtI4sDnLWFs21 VLGACq7v6/ayatSPm30LCn83ShpxKlWuE6m9aftabjRMGIOJW1fWPEaTXyExY6ilLfCF ltua2OAKsMTd2rgF5xZlKrpKE7WmTyb9estUdZ7wG3SD2dcyd2mGkg0sqyngl4bWgq94 hA9fzcKhW6+iEZO2J4JAHEzrg9r0iRhLM69rzpBpY5f+EDKE2A05debSso5Ze3QbTGSW 0E6XZM4Ea6OO9MHyQgMsSr3/F8p+ulmK29vLuzXeF/qLhwpdTynVLNgzD2A6uIy6PB6L 3pNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Zhb8WPS2; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si12063192ejb.425.2021.03.10.07.55.50; Wed, 10 Mar 2021 07:55:50 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Zhb8WPS2; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 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 S233125AbhCJPzU (ORCPT + 6 others); Wed, 10 Mar 2021 10:55:20 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:50368 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232940AbhCJPzS (ORCPT ); Wed, 10 Mar 2021 10:55:18 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 12AFtANJ071321; Wed, 10 Mar 2021 09:55:10 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1615391710; bh=dm+U4X4EOZxEx+9CgGj+1LJA+tv3/55FfGG9lW8Ffdk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Zhb8WPS2KOTvRel1/RxPtFnx0IhqUkyODogfUFTVgvui80jLTCyKbqo6iHIP3PgC9 cSBElsGYwd1/5Hg6Gw+vdLjCFVoFfuD2xU1UncrCXtIlnZeu6yql+sQQixx3r+8tWb Yn02EpzLR1aQIYR/48q6fjA+LR6QjZyVJKNWfIk4= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 12AFtAYH029708 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 10 Mar 2021 09:55:10 -0600 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 10 Mar 2021 09:55:10 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Wed, 10 Mar 2021 09:55:10 -0600 Received: from a0393678-ssd.dhcp.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 12AFsq5l082613; Wed, 10 Mar 2021 09:55:07 -0600 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Philipp Zabel , Swapnil Jakhade CC: , , Lokesh Vutla , Subject: [PATCH 4/4] phy: cadence-torrent: Explicitly request exclusive reset control Date: Wed, 10 Mar 2021 21:24:45 +0530 Message-ID: <20210310155445.534-5-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210310155445.534-1-kishon@ti.com> References: <20210310155445.534-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org No functional change. Since the reset controls obtained in Torrent is exclusively used by the Torrent device, use exclusive reset control request API calls. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-torrent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 Reviewed-by: Swapnil Jakhade diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence-torrent.c index 5ee1657f5a1c..ff8bb4b724c0 100644 --- a/drivers/phy/cadence/phy-cadence-torrent.c +++ b/drivers/phy/cadence/phy-cadence-torrent.c @@ -2264,7 +2264,7 @@ static int cdns_torrent_reset(struct cdns_torrent_phy *cdns_phy) return PTR_ERR(cdns_phy->phy_rst); } - cdns_phy->apb_rst = devm_reset_control_get_optional(dev, "torrent_apb"); + cdns_phy->apb_rst = devm_reset_control_get_optional_exclusive(dev, "torrent_apb"); if (IS_ERR(cdns_phy->apb_rst)) { dev_err(dev, "%s: failed to get apb reset\n", dev->of_node->full_name);