Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1298624rdb; Fri, 9 Feb 2024 17:51:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUWL8FZHHZOR3iPlIlQkL3q9v5T4yJjCmI6YWwxyWY/N5bYHeGaXIJCEjEUd+Y8VbHI17jBI+/gYaldN6EpfIfATaqRy2iI34zh6sSCLA== X-Google-Smtp-Source: AGHT+IF2ciPX1vGPAEw2mER8YRVEMzMibtQ/AtZ5bJHdccEFTYoeQZC6zJ23/+5l90Nrbe6Tge4Z X-Received: by 2002:aa7:d996:0:b0:55f:ca9f:168d with SMTP id u22-20020aa7d996000000b0055fca9f168dmr405186eds.13.1707529902849; Fri, 09 Feb 2024 17:51:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707529902; cv=pass; d=google.com; s=arc-20160816; b=ftOgL+OKdcypEx+sHIuc3aiTjVsCcz/ows8mt6hpwEfPIyvRSBPbCC3FF+DMRd6QNe 0WLh0+g+xFclEa4k02l/Wt+WiwZoa7IFZjJOXugndcXLQH113QcSMe3m2s7aGqLAk5aK hjErQ4usvJS7MjfxuAMpTsYtDSaKwEQJ267ySjJekQkSqm4Jc+F0g1BE6IuYDj33G7gT 3cvm9yMhcMJfPAGwIT5L4uIakqIk5noAY7s9vAT17FhnMpJFOnmFRFTFl5USNxrF7iAK 25r1GdhagKEqbq0MYAQrM4yFBY6VzaGz0yrXhcSFT+x/p+YFpzjpcvibsPLpFV8DB9Md l+Nw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=odzVVBa3rbBYMjwCb9ejTVEXe50omTJoRD5jfRvsAaM=; fh=gT2h0ORPCiBWBJGNyDW8PfMqVkP/lYqWVz8kG/uiRS4=; b=UW9AdBaqffOjVjyzwpOroCM4Feu16a0o/iVFLjgQvKSTM7XqBbOA+/TJRVR4oYC95q 0s6xFQ7RScao1gpfEVK3Mg2vFa4oldJwRaD+cQ4ZE8l9QIcBmnxiJnLm+iybm0GtNGbs 0r8mfqPllxaFERDz+iU0RrqZz1iQim+SX7b2bICVmPWfhzgyc4UYMCHpe1+MxtYIngpI /PLCng501H03WKGae1LT83lJTv6GvBcqZVf3Hz9XXXaP7Z/hd6UvxQNs7SJQ5aoN6T/z WzXcAhs/eowMb9T8sag2Ja2kE3ppYscm4nRZJup3rqOIx+19aqThQJm3MRNK9n+c7CJu cmhA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=Bmxw64vw; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-60237-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60237-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch X-Forwarded-Encrypted: i=2; AJvYcCVibJH/Yni2MWDNdOUkh9pFx8qrLtVmxMpaZs/8orUNJaaTnhIut70n4ma78RBDbj90oBZtgnA0GPBQaakOBeXxgHe/At5pN0NCfM2xPw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id g5-20020a50ee05000000b0055ced89681csi336722eds.587.2024.02.09.17.51.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 17:51:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60237-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=Bmxw64vw; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-60237-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60237-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4897A1F26480 for ; Sat, 10 Feb 2024 01:41:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 790224C81; Sat, 10 Feb 2024 01:41:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="Bmxw64vw" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A8B81C14; Sat, 10 Feb 2024 01:41:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707529264; cv=none; b=c3EBXq2sTM7iIM7DCN87/GpDtS9Mm5WwgqyH1oONpzvcS2kkpHn/V5V4SCQKQ14G/M8z9y1jpIk87Ukbx3CdKb7NW1TK+xn0u72gmKwyuYxxvYtuizs+/LdQUvs+i7f1JXrUFvGPbemAbnVa/3jzArQfYXsKQIzjK5b6qwtuvdw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707529264; c=relaxed/simple; bh=hVfdbdnWIeE05iuF/4Y5LtYZEBfwBiXJn7WfSygtUd8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rcPuTYlWTJPLReYhihnptDQY2HNMfX1V09He5eJ7u1wUvKMPlhmsZhDOrI3BFdoF9W/aIweR/KpxsAUJgoRBrJjeuYlQejzquLPK5R2eSGCCX4S8WBrW2ka/zRwDzswxsb+viopg8pvDp3hxpK331bxxmBV43oh9U4VtQjfs2GA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=Bmxw64vw; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=odzVVBa3rbBYMjwCb9ejTVEXe50omTJoRD5jfRvsAaM=; b=Bmxw64vwVWesdaEEqIMbUtdPbn 7e+eoUgNxh2mbYjzMoofw+HsqoYtaDUoyW5urAGgTRQVPegGxPgjZ9IXbrbWxwSG8qkH3tsclKm5S jTOoD3urxfuXIodK60C1aCPUH6V1V/ZGC1nbI1ADUEE69ilWagfUYTuzymhJf7nZ6sO0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rYcMS-007QyB-Mp; Sat, 10 Feb 2024 02:40:56 +0100 Date: Sat, 10 Feb 2024 02:40:56 +0100 From: Andrew Lunn To: Christian Marangi Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Heiner Kallweit , Russell King , Florian Fainelli , Broadcom internal kernel review list , Robert Marko , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [net-next PATCH v7 07/10] net: phy: qcom: add support for QCA807x PHY Family Message-ID: References: <20240206173115.7654-1-ansuelsmth@gmail.com> <20240206173115.7654-8-ansuelsmth@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240206173115.7654-8-ansuelsmth@gmail.com> On Tue, Feb 06, 2024 at 06:31:10PM +0100, Christian Marangi wrote: > From: Robert Marko > > This adds driver for the Qualcomm QCA8072 and QCA8075 PHY-s. > > They are 2 or 5 port IEEE 802.3 clause 22 compliant 10BASE-Te, > 100BASE-TX and 1000BASE-T PHY-s. > > They feature 2 SerDes, one for PSGMII or QSGMII connection with > MAC, while second one is SGMII for connection to MAC or fiber. > > Both models have a combo port that supports 1000BASE-X and > 100BASE-FX fiber. > > PHY package can be configured in 3 mode following this table: > > First Serdes mode Second Serdes mode > Option 1 PSGMII for copper Disabled > ports 0-4 > Option 2 PSGMII for copper 1000BASE-X / 100BASE-FX > ports 0-4 > Option 3 QSGMII for copper SGMII for > ports 0-3 copper port 4 > > Each PHY inside of QCA807x series has 4 digitally controlled > output only pins that natively drive LED-s. > But some vendors used these to driver generic LED-s controlled > by userspace, so lets enable registering each PHY as GPIO > controller and add driver for it. > > These are commonly used in Qualcomm IPQ40xx, IPQ60xx and IPQ807x > boards. > > Co-developed-by: Christian Marangi > Signed-off-by: Robert Marko > Signed-off-by: Christian Marangi Reviewed-by: Andrew Lunn Andrew