From patchwork Sat Nov 9 15:15:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 179029 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp4308187ilf; Sat, 9 Nov 2019 07:16:44 -0800 (PST) X-Google-Smtp-Source: APXvYqyv7lCvdRM1MfRTWVLQHZUfNWQYsLBqjdTa6GJcHSCTEG79UUVFnGippPnhofHxST1CwFYW X-Received: by 2002:a05:6402:1146:: with SMTP id g6mr16742662edw.215.1573312604273; Sat, 09 Nov 2019 07:16:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573312604; cv=none; d=google.com; s=arc-20160816; b=OuRKjIhi47OkAxXq6MMILQqREbmuW88nzX6shJKOE6Gt8ZTGc9ZvyQ7UljHwESWeKT xRmkwduybwuTQNz8ifzgpiTiyZV7rRiu5ILCqHZjMcK0kww5x+jrQMuEmsQZX0A37rlb +7hGFLmkp1fVj9roiANnwvtZsvSO8YrTxZAdhMm+illfkiJvuVnWltooeRInxnYaX1LZ RbsR/KGaV6z4lI3dIYQKlr29z7qjKGwxP8e8vGVGCIOK4vyEHiGUU72/7fjbxp2q5BKb G6CmiYw4iEhe7buzhZcRYSlOcSGqisZXIv+eQAdAJ6zGk2TCqSUSGqA8ZRVU5T6dLlse svRg== 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=HAO8qX5wHl8bytWOl3d6nO994eC9eOWt8Y1EWzsIjlhUny6X3wiLE9VPOLQERVYSVQ LnP2gBRQ8fAnQAm2dYRpbkNj/IqopChiowAe3i1w3UmbEyPOrLvWznVOSzcB1Wxt+zaY QMQyaH1eRKvCxGBnMz36IR8mVvLJcPcunsPWlBa9oa5iLIG72g9W/0M9O5WyPglEuFad cr/+od4B6OfYR9yXIV6SnRZf3YWWi/KAhjhalKBVrJqmbEOZnfaPq4sa5SUYXXsF2P1Y RhX7CSu07X1iXpxiv2YdMhymejkThwQj6PObwxBeKTE8/SEO1Ko3YHV29IlD9TyZ8ruV s53g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VLCk0Mh+; 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 t6si5993087eji.80.2019.11.09.07.16.44; Sat, 09 Nov 2019 07:16:44 -0800 (PST) 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=VLCk0Mh+; 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 S1727047AbfKIPQm (ORCPT + 26 others); Sat, 9 Nov 2019 10:16:42 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:44118 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726399AbfKIPQk (ORCPT ); Sat, 9 Nov 2019 10:16:40 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id xA9FGXOo130682; Sat, 9 Nov 2019 09:16:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573312593; bh=ykGDUhIz4RTT4sMHR+7NG3qQiJjOwv9ygF0iullx9Io=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=VLCk0Mh+Yu88+MuWWBLUOMzi8tCC3k4LfcpDWHGgNYXaIMqhToq4XOBZ84cmreOkS z2sLqTfsobgSjOQS5p7PwYk94kAnPEz7YTLkHfAepOUKqKqje3378TeJ+0wyciopRZ wJD9iMPJqkZ62Wc4r/SEV6It1cUdqquSmoIx5IMk= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xA9FGXH0088884 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 9 Nov 2019 09:16:33 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Sat, 9 Nov 2019 09:16:17 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE107.ent.ti.com (10.64.6.28) 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; Sat, 9 Nov 2019 09:16:16 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id xA9FGV1T061453; Sat, 9 Nov 2019 09:16:32 -0600 From: Grygorii Strashko To: Florian Fainelli , , Ilias Apalodimas , Andrew Lunn , "David S . Miller" , Ivan Khoronzhuk , Jiri Pirko CC: Sekhar Nori , , , Murali Karicheri , Ivan Vecera , Rob Herring , , Grygorii Strashko Subject: [PATCH v6 net-next 09/13] phy: ti: phy-gmii-sel: dependency from ti cpsw-switchdev driver Date: Sat, 9 Nov 2019 17:15:21 +0200 Message-ID: <20191109151525.18651-10-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191109151525.18651-1-grygorii.strashko@ti.com> References: <20191109151525.18651-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