From patchwork Wed Apr 24 22:24:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 162821 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1198782jan; Wed, 24 Apr 2019 15:25:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqw4FQXPtnYhx1dhmkm6pkmsMfvbPMW/hCQlolAi0Q347sa/NelsV+cpDL/+Ppy39t6f6Y1C X-Received: by 2002:a17:902:6bc5:: with SMTP id m5mr36074377plt.180.1556144722376; Wed, 24 Apr 2019 15:25:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556144722; cv=none; d=google.com; s=arc-20160816; b=DQCGqGmioEbyMR8p69QPc0XP3RWuSTYT5eVBa/xuSpTw9rBH2oT5VD2jnaMwLuBrv3 PDu8k9Gvbc3YVT6sLzcJf5rIKfg5t3whM8d6iybNw0kRWZ7R1tGi42uW6PaaUslkVgv2 2e3Ue3OQ8ym5a/spXhike+3z+3pfFTZVKZdUUw1o+LPsfDqosBoeSy+4mOpaZQeIwJHv JBzKrL03bwRgDzYRrNG4Gr1sHy3bDFFCguIQifNNNPX32yOpPBPyoJ1EZu5hLwBHvXUy cfak5sv9bew3n6TUw14P+r3kAa1Dvik1kd4PMrPCB34KIDFwTDYYKZHAMWaOvuxHZ/mL 1lgg== 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=gU0OxuUSLAqtPIXDC23MKco/iVF573RZMfWw0JQhuxo=; b=czwxWhwuXoh2bw9bsR4e89FMvxfG+87DTjDJwFAHiRlMljHsznTCm6xhWjfN4bE0Q/ bbgqEvAcWP16d1Sp4uB4w33s8Zda7s5K3FUQt0dt+coD1KVYCWuKQKQf8gL/ZUNIWW3A Qw3iJvNfzIGi/+ch46yTKrDn1CpDNmgxfKtLr/EBHsgum/i9fDWPAqvfflHLgIitpbEm zX4vtLE+0X2cFJofwTHRJO9iZvrMW+FR4MeJQ8DNuP0Uj7UJIVuZoKNJU3kA0koXROPl sYGHA5gIb24ki37yz1E9RRAu2rZVqOG8HGoZL/9SVqGSQfTN71RFIeoMsZIihGh/Xu8M Zp4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="IGCuQo/W"; 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 q190si21855912pfc.215.2019.04.24.15.25.22; Wed, 24 Apr 2019 15:25:22 -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="IGCuQo/W"; 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 S2388194AbfDXWZA (ORCPT + 30 others); Wed, 24 Apr 2019 18:25:00 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:48818 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388045AbfDXWY5 (ORCPT ); Wed, 24 Apr 2019 18:24:57 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x3OMOpue002682; Wed, 24 Apr 2019 17:24:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1556144691; bh=gU0OxuUSLAqtPIXDC23MKco/iVF573RZMfWw0JQhuxo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=IGCuQo/WQSqW7Ao7djUxtkiaHRBRz88beajphogQvGULzdEYg1fCjGyggyS9csMOR ZgAVjihY89Zpdxtt/1o1EaHK6Ok1ryxXRyTLhxQvnWS5lNN7Pwh3RqSfwGn8LVOPnU WRtJ3nRgj1a8F9FIXlKkXjH6uSNgjKqImPuwUBac= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x3OMOp9e110727 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Apr 2019 17:24:51 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 24 Apr 2019 17:24:51 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE106.ent.ti.com (157.170.170.36) 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; Wed, 24 Apr 2019 17:24:51 -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 x3OMOoRc050062; Wed, 24 Apr 2019 17:24:50 -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 , Grygorii Strashko Subject: [RFC PATCH v3 net-next 09/11] phy: ti: phy-gmii-sel: dependency from ti cpsw-switchdev driver Date: Thu, 25 Apr 2019 01:24:25 +0300 Message-ID: <1556144667-27997-10-git-send-email-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556144667-27997-1-git-send-email-grygorii.strashko@ti.com> References: <1556144667-27997-1-git-send-email-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 103efc456a12..ecc47eed8665 100644 --- a/drivers/phy/ti/Kconfig +++ b/drivers/phy/ti/Kconfig @@ -77,8 +77,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