Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp213538pxb; Wed, 22 Sep 2021 20:40:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRuSxIt51ejVUP9ZjTLZ2DxPLZZawWq8OxpDayQjWHtIPmUDbI/HR5dC0FhDw9M4MJ1bRf X-Received: by 2002:a17:906:2bc7:: with SMTP id n7mr2691934ejg.238.1632368400029; Wed, 22 Sep 2021 20:40:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632368400; cv=none; d=google.com; s=arc-20160816; b=Ur13hP6n1yvIMGlOjFuZByVZGFut3fX+YLwvXISaQh/g2y7Y7T7vbxNjkdleo/2n1E hCB+uz783F7df0eS3+P6mPnCSZT+Xv7UwPdOYzNbfJHZakf2aeGTTctYojeWclCzkJ1U K4hkBgu8j/HeGirb/rRZKzmiI/Yv8iGTglrSev+gt3bg8B3dKP5BrfVSAchzWP8cl/KX hBxFapCtoDjUHHnTK53e4/GurpxiaCvuG2HX8SoyG+gnxAnb8Xeam4D6nYtVaU9ACsRr E7XxKevc9Eo6gTKgpuMftxXGtLA2UvAtRaePbE6roGhUmgmjxIzKeckjNYfkdXsPNMkU pe3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=v94gcLeYEfMQHUUvQ2mX86UyfgdUqJvpdZiAnBoSxYw=; b=HhFbyJYPdhTN7GTY0t9vUcNyHU8stq6tmSZ/j6mONUFYxQbuZ7O0uRFQ/56eCXDc3o g/fm7ASNg9iX5hR8XdJO+Kd1OGppwwOz0hXXew8F6wWqC5WEd6c3pZYdLBpUqJqzHLVs ffgcSrh9vb57CxfliKBHqKeupAhfIDPgPY6ZnQrjxp2pM8bh9YSy8BTNyFs15US6VBs5 X7odunnMe8lN5gt+u9NxSYDBIYXs4yWrJn3bwP+xuqOpHdoK6bbzLIBhi3h1FD8K/dJI lGEgniiJcjRcgcw2cLMtU5VAVQxMLaw62rd0u5AwqXNKR4pry9l6jX1VtDcyAh6cd1qw Swpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o14si4540618edv.161.2021.09.22.20.39.36; Wed, 22 Sep 2021 20:40:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239054AbhIWDjg (ORCPT + 99 others); Wed, 22 Sep 2021 23:39:36 -0400 Received: from mx22.baidu.com ([220.181.50.185]:35938 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232419AbhIWDjg (ORCPT ); Wed, 22 Sep 2021 23:39:36 -0400 Received: from BC-Mail-Ex24.internal.baidu.com (unknown [172.31.51.18]) by Forcepoint Email with ESMTPS id 12C8927A6B80D3209585; Thu, 23 Sep 2021 10:50:58 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex24.internal.baidu.com (172.31.51.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.12; Thu, 23 Sep 2021 10:50:57 +0800 Received: from LAPTOP-UKSR4ENP.internal.baidu.com (172.31.63.8) by BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Thu, 23 Sep 2021 10:50:57 +0800 From: Cai Huoqing To: CC: Kishon Vijay Abraham I , Vinod Koul , Heiko Stuebner , , , , Subject: [PATCH] phy: rockchip: Kconfig: Add configuration menu for Rockchip phy drivers Date: Thu, 23 Sep 2021 10:50:50 +0800 Message-ID: <20210923025051.454-1-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BC-Mail-Ex31.internal.baidu.com (172.31.51.25) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding a configuration menu to hold many Rockchip phy drivers helps to make the menu display more concise. Signed-off-by: Cai Huoqing --- drivers/phy/rockchip/Kconfig | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/phy/rockchip/Kconfig b/drivers/phy/rockchip/Kconfig index e812adad7242..8b6dd594f43e 100644 --- a/drivers/phy/rockchip/Kconfig +++ b/drivers/phy/rockchip/Kconfig @@ -2,16 +2,18 @@ # # Phy drivers for Rockchip platforms # +menu "PHY drivers for Rockchip platforms" + depends on ARCH_ROCKCHIP || COMPILE_TEST + config PHY_ROCKCHIP_DP tristate "Rockchip Display Port PHY Driver" - depends on ARCH_ROCKCHIP && OF + depends on OF select GENERIC_PHY help Enable this to support the Rockchip Display Port PHY. config PHY_ROCKCHIP_DPHY_RX0 tristate "Rockchip MIPI Synopsys DPHY RX0 driver" - depends on ARCH_ROCKCHIP || COMPILE_TEST select GENERIC_PHY_MIPI_DPHY select GENERIC_PHY help @@ -23,14 +25,14 @@ config PHY_ROCKCHIP_DPHY_RX0 config PHY_ROCKCHIP_EMMC tristate "Rockchip EMMC PHY Driver" - depends on ARCH_ROCKCHIP && OF + depends on OF select GENERIC_PHY help Enable this to support the Rockchip EMMC PHY. config PHY_ROCKCHIP_INNO_HDMI tristate "Rockchip INNO HDMI PHY Driver" - depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF + depends on OF depends on COMMON_CLK depends on HAS_IOMEM select GENERIC_PHY @@ -39,7 +41,7 @@ config PHY_ROCKCHIP_INNO_HDMI config PHY_ROCKCHIP_INNO_USB2 tristate "Rockchip INNO USB2PHY Driver" - depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF + depends on OF depends on COMMON_CLK depends on EXTCON depends on USB_SUPPORT @@ -50,7 +52,7 @@ config PHY_ROCKCHIP_INNO_USB2 config PHY_ROCKCHIP_INNO_CSIDPHY tristate "Rockchip Innosilicon MIPI CSI PHY driver" - depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF + depends on OF select GENERIC_PHY select GENERIC_PHY_MIPI_DPHY help @@ -59,7 +61,7 @@ config PHY_ROCKCHIP_INNO_CSIDPHY config PHY_ROCKCHIP_INNO_DSIDPHY tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver" - depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF + depends on OF select GENERIC_PHY select GENERIC_PHY_MIPI_DPHY help @@ -68,7 +70,7 @@ config PHY_ROCKCHIP_INNO_DSIDPHY config PHY_ROCKCHIP_PCIE tristate "Rockchip PCIe PHY Driver" - depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST + depends on OF depends on HAS_IOMEM select GENERIC_PHY select MFD_SYSCON @@ -77,7 +79,7 @@ config PHY_ROCKCHIP_PCIE config PHY_ROCKCHIP_TYPEC tristate "Rockchip TYPEC PHY Driver" - depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST) + depends on OF select EXTCON select GENERIC_PHY select RESET_CONTROLLER @@ -86,7 +88,9 @@ config PHY_ROCKCHIP_TYPEC config PHY_ROCKCHIP_USB tristate "Rockchip USB2 PHY Driver" - depends on ARCH_ROCKCHIP && OF + depends on OF select GENERIC_PHY help Enable this to support the Rockchip USB 2.0 PHY. + +endmenu -- 2.25.1