From patchwork Fri Jun 21 18:13:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 167409 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1064211ilk; Fri, 21 Jun 2019 11:14:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHknjHegSYusuuYfX4+eMf4eNKXhzLunlXXRd2Rmlibb2yTjDTL3V+nAfew4nAAcGKDn3X X-Received: by 2002:a63:c442:: with SMTP id m2mr19631393pgg.277.1561140863256; Fri, 21 Jun 2019 11:14:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561140863; cv=none; d=google.com; s=arc-20160816; b=dtikmLAAdZqQzp0VMDLsSS8y4dzP80p7w53CDoS4dajaOeRivu8cupQP6j7Z5bbrbC WFa/65Iw4Fl+PRip+o81rmW9t5Cob9PhAatzH6q7mrrh361hmv74MySOW6LOh1elXfII WU7NxIPHCH/6SvLaIsmpnl2txlahHAhGnQl8SL4QgWaT+KmyiGQ3KrSD0LvVt75pRGSW CwJh5HxpPHD1/GzS7Xu6szskrKNuoLIt07l3Llq0xTodbemMefmbNgjvDKzEQN17mD12 1bWyIALz3Kj5l6mv59sgMJ6kdoZmwv3Ec4ZxLfLpCh/ta9lnBC29ut3arFr6HJ+dNSw3 gw3w== 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=ykGDUhIz4RTT4sMHR+7NG3qQiJjOwv9ygF0iullx9Io=; b=bmI7V/KUkrSPY0aRf+EXRSgcPLbXIVK+ppW+IoROZYgd61GG24UNfwocvmR/nrZ0FI zVzVsVM/71MrOJMNkdK5inj7UZ4mjeSQj8M4DwRvtqLfSMaJ4JL0AK0LTFBbmkA/L9jh i+bdkJP9zRRVT3uOQpjPAJOPonwMt2Rrtpvp3wvvVkVuWvqc5f7dD22rebiW64amcjbL 9p/ob2QXFPPaISKbAPEuwOLAOX7HHqgF82nBXrTaqDMLuYodwivIuTr/+PIQhSLOJGXx XkCH9MnHRZXA7K7lq5av1Y6MGd2iifarQn8gaChxbnVgpGgP/p1vH9bGo9x+YGnYGqsw eCRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=eFLgfPdF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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. [209.132.180.67]) by mx.google.com with ESMTP id i23si2949192pgh.26.2019.06.21.11.14.22; Fri, 21 Jun 2019 11:14:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=eFLgfPdF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1726679AbfFUSOV (ORCPT + 30 others); Fri, 21 Jun 2019 14:14:21 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:50862 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726651AbfFUSOS (ORCPT ); Fri, 21 Jun 2019 14:14:18 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x5LIEBPU044395; Fri, 21 Jun 2019 13:14:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1561140851; bh=ykGDUhIz4RTT4sMHR+7NG3qQiJjOwv9ygF0iullx9Io=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=eFLgfPdFrCIKTX89JTxxu6ZjYn7UD6gj3vyfGtxscwBkpOmkykjpknw//fANd2TKO 4X3RUdJo5c0gxfzTXSsQYSg3rd5coHYe1zXmk5m5bivkRTB3ei8hVloyUHOIRgVOnO 0twNmbLYmiEntLwvnCYTT5iyrpm8sGJ3RNQykbjU= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x5LIEBtM003403 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 21 Jun 2019 13:14:11 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 21 Jun 2019 13:14:11 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Fri, 21 Jun 2019 13:14:11 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x5LIEAQu092995; Fri, 21 Jun 2019 13:14:10 -0500 From: Grygorii Strashko To: , Ilias Apalodimas , Andrew Lunn , "David S . Miller" , Ivan Khoronzhuk , Jiri Pirko CC: Florian Fainelli , Sekhar Nori , , , Murali Karicheri , Ivan Vecera , Rob Herring , , Grygorii Strashko Subject: [RFC PATCH v4 net-next 08/11] phy: ti: phy-gmii-sel: dependency from ti cpsw-switchdev driver Date: Fri, 21 Jun 2019 21:13:11 +0300 Message-ID: <20190621181314.20778-9-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190621181314.20778-1-grygorii.strashko@ti.com> References: <20190621181314.20778-1-grygorii.strashko@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add dependency from TI_CPSW_SWITCHDEV. Signed-off-by: Grygorii Strashko --- drivers/phy/ti/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/drivers/phy/ti/Kconfig b/drivers/phy/ti/Kconfig index c3fa1840f8de..174888609779 100644 --- a/drivers/phy/ti/Kconfig +++ b/drivers/phy/ti/Kconfig @@ -90,8 +90,8 @@ config TWL4030_USB config PHY_TI_GMII_SEL tristate - default y if TI_CPSW=y - depends on TI_CPSW || COMPILE_TEST + default y if TI_CPSW=y || TI_CPSW_SWITCHDEV=y + depends on TI_CPSW || TI_CPSW_SWITCHDEV || COMPILE_TEST select GENERIC_PHY select REGMAP default m