Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp419557rdb; Mon, 29 Jan 2024 06:27:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGK4b6J7HlKZ4ZQuuO8MTgKKxNWe0zZhQUxIZYGzjPbCkg6ynwmfD1TwLDlKg3OOnTzlYq2 X-Received: by 2002:a05:6808:14c8:b0:3be:4170:8278 with SMTP id f8-20020a05680814c800b003be41708278mr3640952oiw.35.1706538470203; Mon, 29 Jan 2024 06:27:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706538470; cv=pass; d=google.com; s=arc-20160816; b=FZKSCmdjTiuAtA1ey5JaCn7NRUFEUt9LFe8o3zy3X9qgoYycOlZimO2UDAl5inCC/z h8s0mty4sypmhAKZZSU7ZT1vQ6h4Xnbn8lW6WfkdkWkdYZWzg7U1+8/4a1OGmVpHinNy 9e7GhjcFEwtTQU0vs1M0XKp4FOiKBEUmTZFeUQXhzd7dsyo3RD3mN4VdYq2HQNQHszsC 8ah2x4YHMgZLLPUlM6ca2gXv2DdNc7dqGtFbigKnRRRokp8nxIDEeTNXypLqTQgsJIvV aV9bjwUlzY7if9wvGIZZX7Deud5P89b8XVEXFvy5sWAqCa2MawxAd1c1Wpde9Jf/rn4i Wl2g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=GgIbJQBIdKijDrsyTdVViX5YcJJgoOCIyCGBsI9jQnM=; fh=Iyluyi+pL1Y89v4+Zp6P1bYIkzAQGHSGRXZKPoY9+Kk=; b=CpTj2+iU0nlEyLzSZgN0brY2dUy8aWiJt9jcP6rzWbd/jJmlyKFrMDiB16jF4ua/rB m7okFepjWXMagoD9a8yJu7vnE1O+NxLQ36Fyx8AHeQGENjviNuYZBsdV3kweS3Ovj8Wl bVjL5hzXlTv52/C+Swx9Y1Chi0EuXVAKZsFnyuFAbamz+AxIekFlgiWVFvwD8Vljrc4j oHEBTEOBQV3YW7NR+KvX80RNRkExGk4ui5laESHi2C/9iW26J3u+fwz2YVh0pf++ebRg p53DQrkGNjSpjmc5wgVTpvnBSfBElRHUP/67FSE5wwJvNrCmeCYcLdZEw2ULMZpX7Zis sPXw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FIdv6Wzr; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-42873-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42873-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id x23-20020a63b217000000b005ceb4a8475esi5722197pge.401.2024.01.29.06.27.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 06:27:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42873-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FIdv6Wzr; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-42873-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42873-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 52A08B250C1 for ; Mon, 29 Jan 2024 14:17:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A82D266B31; Mon, 29 Jan 2024 14:16:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FIdv6Wzr" Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A875664C9; Mon, 29 Jan 2024 14:16:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706537803; cv=none; b=AKmxeOm04y+evRYzhGt4vxH6tGSQnjomJtI7lDyx2oXVfcaYNJ4FATASVuwRIAlPsGj+cw4c/lBQfBTeDbyNIhCwSNFuowFJKU0+CnRhxtC0IfhvVHHGdxbyLMAKsebcrwAvqRuU4ogUnXGfCelYOddzMbne8FIgoMOldsv2wlM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706537803; c=relaxed/simple; bh=+EExTy2u6AlSztElz9tL2ssdCDBEksPhvdbRRK9RYmo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XZWyF/Hs2xDFARpoOCQcD415LaO6k2KZEIep9CFqMW9ETdcjvGtagh6ezNeIlvEA0hKYzcdqz8F4nvYI23NO8J4092l0QVgLG9x2BSUyAgxqhhetADVqW+kn0SY09NotiptUnnP4lItaGsxEGiVPojZ3hUZJ+do5hlBTr/Eifz4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=FIdv6Wzr; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-55f2b0c5ae9so213260a12.2; Mon, 29 Jan 2024 06:16:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706537800; x=1707142600; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GgIbJQBIdKijDrsyTdVViX5YcJJgoOCIyCGBsI9jQnM=; b=FIdv6Wzr04WadfFdxNYIqe3vke+UpvXEHrWYjcsPIzoY6vqgzOqmNN2GjdZNOE1LTV 9jvA/KS8cqhUFEJmtO6V7Bv17Nj7yXhjbC3+ulA91ltz3yIfZz7aHbTPc8vBJL3jKQL2 DpYJ7wLUAQWdpwX7Qxe48xO8BeC/ZAZCaeYcLa4F7Kaa6fk30Pjm72hqX2WvIU3dm9P/ XVW23p7bnyrMgMms++ggf5JgfMuph4qkQMLzWvxsgHiJJFlCvK0KoyT8WpxalirjMDMA 4OXV8U353f2AiAFfZ5WCw8LiaWUKi1gdyQxm+HRGaJDijMk8gI0ya49HeWQmog2FbWR+ BJRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706537800; x=1707142600; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GgIbJQBIdKijDrsyTdVViX5YcJJgoOCIyCGBsI9jQnM=; b=h12RsSV0IEatGG16u+CMA7Uvu+xd+5N0h9WQgbxwMMRNPehOELKV5lYvbcStmR1Lbj MToc1AjpaezssS5og4hONdioOi603iwTELoAx7fUBTdimH6VgfVZNeoW3Gugu92/PqMB svPtIaNaX7b4v/QjT8BOd5Twqm/CsSU0Eqo16rAfgndxCJ8NbbxN3IYjebP1rcdJ15p7 GsV90GmCCjR/8t8xEGe1FEENaSbuquHC+5msKNrDjL8dbu/t1na9d1IQEdQ3nDjF+pA/ eUmGeEPzFIX9FBLiZFu547HtH+l2/3yFvZHrn+ba8AIYlQtpHVGJnA1k9LF5OnrGoyg/ LOfw== X-Gm-Message-State: AOJu0YwtSkFTC7Nt21615qge/SZgBK3eP1PRg4O15niFi4GFLN859//K qn1CnjaJ+3l9I1Rk7xUgCcoB+CsCMVPc+CDdF17MadjGuJmwvWXa X-Received: by 2002:a17:906:1c55:b0:a28:7fe8:8b29 with SMTP id l21-20020a1709061c5500b00a287fe88b29mr5410571ejg.68.1706537800015; Mon, 29 Jan 2024 06:16:40 -0800 (PST) Received: from localhost.localdomain ([78.208.142.203]) by smtp.googlemail.com with ESMTPSA id cu12-20020a170906ba8c00b00a27a32e6502sm3919470ejd.117.2024.01.29.06.16.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 06:16:39 -0800 (PST) From: Christian Marangi To: Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Bjorn Andersson , Konrad Dybcio , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Christian Marangi Subject: [net-next PATCH v4 1/5] net: phy: move at803x PHY driver to dedicated directory Date: Mon, 29 Jan 2024 15:15:19 +0100 Message-ID: <20240129141600.2592-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240129141600.2592-1-ansuelsmth@gmail.com> References: <20240129141600.2592-1-ansuelsmth@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In preparation for addition of other Qcom PHY and to tidy things up, move the at803x PHY driver to dedicated directory. The same order in the Kconfig selection is saved. Signed-off-by: Christian Marangi Reviewed-by: Andrew Lunn --- drivers/net/phy/Kconfig | 7 +------ drivers/net/phy/Makefile | 2 +- drivers/net/phy/qcom/Kconfig | 7 +++++++ drivers/net/phy/qcom/Makefile | 2 ++ drivers/net/phy/{ => qcom}/at803x.c | 0 5 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 drivers/net/phy/qcom/Kconfig create mode 100644 drivers/net/phy/qcom/Makefile rename drivers/net/phy/{ => qcom}/at803x.c (100%) diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 9e2672800f0b..e261e58bf158 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -335,12 +335,7 @@ config NCN26000_PHY Currently supports the NCN26000 10BASE-T1S Industrial PHY with MII interface. -config AT803X_PHY - tristate "Qualcomm Atheros AR803X PHYs and QCA833x PHYs" - depends on REGULATOR - help - Currently supports the AR8030, AR8031, AR8033, AR8035 and internal - QCA8337(Internal qca8k PHY) model +source "drivers/net/phy/qcom/Kconfig" config QSEMI_PHY tristate "Quality Semiconductor PHYs" diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile index 6097afd44392..197acfa0b412 100644 --- a/drivers/net/phy/Makefile +++ b/drivers/net/phy/Makefile @@ -36,7 +36,6 @@ obj-$(CONFIG_ADIN_PHY) += adin.o obj-$(CONFIG_ADIN1100_PHY) += adin1100.o obj-$(CONFIG_AMD_PHY) += amd.o obj-$(CONFIG_AQUANTIA_PHY) += aquantia/ -obj-$(CONFIG_AT803X_PHY) += at803x.o ifdef CONFIG_AX88796B_RUST_PHY obj-$(CONFIG_AX88796B_PHY) += ax88796b_rust.o else @@ -91,6 +90,7 @@ endif obj-$(CONFIG_NXP_C45_TJA11XX_PHY) += nxp-c45-tja.o obj-$(CONFIG_NXP_CBTX_PHY) += nxp-cbtx.o obj-$(CONFIG_NXP_TJA11XX_PHY) += nxp-tja11xx.o +obj-y += qcom/ obj-$(CONFIG_QSEMI_PHY) += qsemi.o obj-$(CONFIG_REALTEK_PHY) += realtek.o obj-$(CONFIG_RENESAS_PHY) += uPD60620.o diff --git a/drivers/net/phy/qcom/Kconfig b/drivers/net/phy/qcom/Kconfig new file mode 100644 index 000000000000..2c274fbbe410 --- /dev/null +++ b/drivers/net/phy/qcom/Kconfig @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only +config AT803X_PHY + tristate "Qualcomm Atheros AR803X PHYs and QCA833x PHYs" + depends on REGULATOR + help + Currently supports the AR8030, AR8031, AR8033, AR8035 and internal + QCA8337(Internal qca8k PHY) model diff --git a/drivers/net/phy/qcom/Makefile b/drivers/net/phy/qcom/Makefile new file mode 100644 index 000000000000..6a68da8aaa7b --- /dev/null +++ b/drivers/net/phy/qcom/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_AT803X_PHY) += at803x.o diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/qcom/at803x.c similarity index 100% rename from drivers/net/phy/at803x.c rename to drivers/net/phy/qcom/at803x.c -- 2.43.0