From patchwork Thu Oct 24 10:09:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 177387 Delivered-To: patch@linaro.org Received: by 2002:ac9:3c86:0:0:0:0:0 with SMTP id w6csp1937759ocf; Thu, 24 Oct 2019 03:10:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwt1ItX3lA253bUWp68sAUsrU7TN/9g9m5UoT3tsGiLnuvTABZoA+wgbiFew/DJflTz1KIP X-Received: by 2002:a50:b083:: with SMTP id j3mr42001417edd.15.1571911812981; Thu, 24 Oct 2019 03:10:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571911812; cv=none; d=google.com; s=arc-20160816; b=w2HyZs2E9fa61Nf/hLD90YKi8ohxhbAys34M8G4mGg5OfNv+loosNnJdwXptu04u4F PnHnykROWP4Zia8lEIdlrKvcmNsRvssRx9WXbsJjzvWJf3D0Jytd5lVQgGyQw0yDnsOx oL15sRsIIFdoqmCIcGWCMztAmFqZD5z86y25aYC4QCo5WLm/uaHNCWj5Uc+L2O+tcTAT EDj7GeE4ZZEH8WAB+crDC2hsiZSwgpoqFwADgwsY3xA0XqFhIH0xPx4Qa5hp3Zd9xMJ8 QQFzNk9xUaDOZfHxLBdg4r2hszQaR09w6uLC26g4tVVavjs9mjYlsJvTJCG9fl7mF4ZE SJCw== 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=cP8+DEh+tHcktrecHL0HkR8jsA2Pd1GSejeNst/51VzQIHehXMGQ43eue8rkJQWRXs CU5c4HCbvLBkMkW4EHkCg+UT2dwal67hgE6POSNXh1E+Gj7CRuFImDHcNVMLTYjBM9DD iCGZRR2F9Bw2v6GgzjmZ7Ur3Sm/tugDyYr+u1mOkLGajm6pirTVTYNUVc/0l37qyGRkY cE+MU9zzXtwQpKn5SplwCaVzyQQHrg6VlyYDYsSdviLKebFjRjDjfGQc+A5UWF4/tLwh BiKKjwiLHNRFw/EwvN8J6d0xeXSmO5et+DRfZswUiFxO/asJiiJX2aUhfuO6u8QIzP3S 9VYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=gNWuJZ9Q; 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 g17si9624919edh.379.2019.10.24.03.10.12; Thu, 24 Oct 2019 03:10:12 -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=gNWuJZ9Q; 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 S2407333AbfJXKKJ (ORCPT + 26 others); Thu, 24 Oct 2019 06:10:09 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:35936 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405830AbfJXKJ7 (ORCPT ); Thu, 24 Oct 2019 06:09:59 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x9OA9qt1122534; Thu, 24 Oct 2019 05:09:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1571911792; bh=ykGDUhIz4RTT4sMHR+7NG3qQiJjOwv9ygF0iullx9Io=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=gNWuJZ9QuBCdGIAtzeHzK77mSmq3t4dez6OMOG4cdJWIKrWfa2kEH+AD2MjWFHmMI ThlqnzjsxSjEDtaBgIUK7bziL2pxXsKN90pNcOoePDj9p3g6GrFVkw3tfHApPO3eUd fzG/pJ5W/6gRZ7i+8azE2fTtMexsGP9lZ7UEDE3U= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id x9OA9qNV121893; Thu, 24 Oct 2019 05:09:52 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) 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; Thu, 24 Oct 2019 05:09:42 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE115.ent.ti.com (10.64.6.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; Thu, 24 Oct 2019 05:09:42 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id x9OA9pKV019817; Thu, 24 Oct 2019 05:09:51 -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: [PATCH v5 net-next 08/12] phy: ti: phy-gmii-sel: dependency from ti cpsw-switchdev driver Date: Thu, 24 Oct 2019 13:09:10 +0300 Message-ID: <20191024100914.16840-9-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191024100914.16840-1-grygorii.strashko@ti.com> References: <20191024100914.16840-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