Message ID | 20240211202700.17810-1-ansuelsmth@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-60947-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp2093030dyd; Sun, 11 Feb 2024 12:27:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IFOMKLvzWJv0jnlAnc5upcCgbfOSOTbw5FYo3Q9YbJthhE/A8OpEigD/u9u3ThlD8ZZnJY3 X-Received: by 2002:a05:6a21:1394:b0:19e:9a97:cb12 with SMTP id oa20-20020a056a21139400b0019e9a97cb12mr6017861pzb.54.1707683260139; Sun, 11 Feb 2024 12:27:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707683260; cv=pass; d=google.com; s=arc-20160816; b=qUNH9rjuOcHamLcHcMy0udQK5DRfL7p7EWiADD3QzKZsO66zGXKOfDuITFxJr+MQbp dwmFJMdm5V2n5XQZNHdP59gHCOH/v8ikRoafzejxp1s7MwKNd8mAJqweYejGwizq6m7A /ZBzYEEFCsSuXdthgzYbiQ33VSBj/orDz/xiDq+0TCB8/7ol4gVgGEDilcvVHzJR5s/G IBXwD7XPZpy8wZrNuS4rhCO+0Zhu2kWxOD26ApCPF1YPd5qbWt2+LqJ+hZArihGFSddT sd8d4xEPA7itJ3Zr5Ah21SPg5zovw9sBPTqoHBLZkvbaachnCrS1m1uF04fHjBBnozs8 ekNg== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=SfjESUyL60qQjpBUzMKvPhhO/EQtTKQK2CnbnGbsaOw=; fh=9hLtJGQ5g9bH5otGuH2AoX0dSRbrSamGf/c3+EfvcoA=; b=LTq9vDSMA10ziSHhnPsjxhJ/0GSIRtxrWwacl/b4/uEn8xpDYZFy4gJDdDnYuH/4E9 5Mp3j/ZctmkBO0pHTEIBukUTLPEj+Q3Qbx5GXQmJ0U+oOgtDRvQLmCOESoPr9Q2lIExz RLm5FuMBhHAkBa7cFsxm1c/o6AXL+rriINK0xqwGgJKENjXNJ64QmTFTmokGDAcV8XJ1 cquQAKeJ03D568SRHdp2iPtBxEJfVu4/SauIVlFW6UrzKaL3lA1er8rDcT2ZuvICOXtv 2x1J9XGBwVTAbWhsScP/C0hqHvCoknH4RciZ5Cbl7p7qb+uRe/Py+Zz4ipuJaOx+fUX/ V6yg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SVHdbPNt; 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-60947-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60947-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCUPvftMcxGilzBzP9M1t/JRGEtXxbkN0/e7TXhQrhBI8fyYBlVSqmYEfj6LzpAskew7tNn1/eyZuLbOI1OLMf7/amtM4A== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bz20-20020a056a02061400b005dc4202b401si5393210pgb.85.2024.02.11.12.27.39 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 12:27:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60947-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SVHdbPNt; 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-60947-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60947-ouuuleilei=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 2DF44B20B33 for <ouuuleilei@gmail.com>; Sun, 11 Feb 2024 20:27:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 078B35F465; Sun, 11 Feb 2024 20:27:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SVHdbPNt" Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.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 BBCA75DF2E; Sun, 11 Feb 2024 20:27:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707683242; cv=none; b=rKhQiuWo0XnnvTY3NaH4MJOjumHOer56rb74LkpyWA5ooKhgZ/STXkBXqVWHGMyogOluKbCipV3BFOwzlJtJOVToKWjwbzioXXjzefN/owm53SyI56YwoVGEApzyw/bSncmPEz/yVWQZ8L1FB70eMCkzr2fv+WpvBFKyPys9fcI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707683242; c=relaxed/simple; bh=Dr3fLzk8kA922HbxhveF4yYarebxt3ZJKSb4iwmQ3t0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gt/iFu+pGKHOLDubL30DMbjKE8DeDYcczG9N5oRAwxGBjeu1h+L1QixIhRuH4zMs8n0U4ukw2wRsXT4MsZ8w1yex9kRtMPwnnO+ptwOjI5wYiLn6w3JBhGfH5phr7Q7X8W7pGMuwFTD43QpgKeBkkw4wVRFFXh3Y3dmw0K8HoXc= 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=SVHdbPNt; arc=none smtp.client-ip=209.85.221.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-wr1-f43.google.com with SMTP id ffacd0b85a97d-33b815b182fso184401f8f.3; Sun, 11 Feb 2024 12:27:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707683239; x=1708288039; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=SfjESUyL60qQjpBUzMKvPhhO/EQtTKQK2CnbnGbsaOw=; b=SVHdbPNtw1do72ozVA0tpVtqlKQTJw17MciGSXIQTZMVs1yoqfGLDqxiztV42sJ3Mo gyUGYXMbA43YkHjN1qn5gRia/svdxrB4bBp5iSZRik/hMTFSJq5PZp28njAcU9Lpo/Y3 PwKOQ7nUwIBlkefZ+hohyNY9PG+8qtY2f7rh6HyQvaArQ68F6tcp6RmskKlagy+RrbSL d6pqechTvHYx3tTlDmoQbzfvn/AEDohuUwM+4FfF2WHxTT0n6ZdrPl2yqIsiBIwHrLcW uTA5m2oZWWgV8c1Wro3JiUbON37EbgOpVvbaLQ3X70p6wjiSSwmLuIssOQnMEMhFDBxn B9Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707683239; x=1708288039; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SfjESUyL60qQjpBUzMKvPhhO/EQtTKQK2CnbnGbsaOw=; b=KXTdvkL3K4y/SKRt2PEaYuC9A061kjgNc7w4U6+eZqelS+ZmYdPg3nAK21xSQCMv7M iVbVbC8U/fFeVtO/+ViH/LIec9a1hEq+WUEKh6XTQHDtuL0ZwQoCaD3Z4NBvswvoKUda oGOoh7FLm/XRhqydFvKr94qo4hi24t/qtceyMXrr1yW0xinv9GhhRqTRhQpvJprUIgcm Mn180QI4hIoMRxQDtpU07csFfRxFvkTZCcXXmFThxQQBAWsSK8ndlvJrkkTNjyApjTEE 19myw3c0UakuvId2u/A5FLD/jbAvMwcVqpR7o6FmgQTaqdym5hebDWVY8Xewm0aXC56U l+oA== X-Gm-Message-State: AOJu0Yy4jhvozpkoBdvlF4ffR1hbr4tLeoX7S4AjE7GgXCUTwPbwqOZf QxYGUiuZPQ48jhUE//9/yJb3bc20jX35DjB7IhMcib4NWxXIeZKl X-Received: by 2002:adf:eec9:0:b0:33b:2281:ef32 with SMTP id a9-20020adfeec9000000b0033b2281ef32mr3718249wrp.69.1707683238705; Sun, 11 Feb 2024 12:27:18 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUVb4O9ZzbLNsUmZmbrYbBo7NMd8GBzCdmP0OF72ZmbKMzTCONPiuBLBB5JUMLPH9briiTxQz1v1ydVeOhpQKsa/t2Aqodu5+s05jN88DircY7Z/xYgGnuhaw4Gw+EetsvPSZNPXWK7P8uE4D/yTiYP0g6X5ZWMfPiwen9CuDpHcAJouD1WT3GaqKqO5PkX4qxazNj8tZQp/BguxUwJnQ7YdW7rSMGNzugDW4i7bd0kXc7r65LjsLN1pu7JYVgg3VWckw2SrfsmeaAYCJ9JA7ROr2QfM6kOENeoAq2ak0k5MduDXy8f2ohG0rY7vrc= Received: from localhost.localdomain (93-34-89-13.ip49.fastwebnet.it. [93.34.89.13]) by smtp.googlemail.com with ESMTPSA id r17-20020adfe691000000b0033aeb0afa8fsm4969194wrm.39.2024.02.11.12.27.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 12:27:18 -0800 (PST) From: Christian Marangi <ansuelsmth@gmail.com> To: Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Christian Marangi <ansuelsmth@gmail.com> Subject: [PATCH] ARM: dts: qcom: ipq4019: add QCA8075 PHY Package nodes Date: Sun, 11 Feb 2024 21:26:55 +0100 Message-ID: <20240211202700.17810-1-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790635682404744938 X-GMAIL-MSGID: 1790635682404744938 |
Series |
ARM: dts: qcom: ipq4019: add QCA8075 PHY Package nodes
|
|
Commit Message
Christian Marangi
Feb. 11, 2024, 8:26 p.m. UTC
Add QCA8075 PHY Package nodes. The PHY nodes that were previously
defined never worked and actually never had a driver to correctly setup
these PHY. Now that we have a correct driver, correctly add the PHY
Package node and set the default value of 300mw for tx driver strength
following specification of ipq4019 SoC.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi | 35 +++++++++++++++---------
1 file changed, 22 insertions(+), 13 deletions(-)
Comments
On 11.02.2024 21:26, Christian Marangi wrote: > Add QCA8075 PHY Package nodes. The PHY nodes that were previously > defined never worked and actually never had a driver to correctly setup > these PHY. Missing Fixes tag? Also, could you please give me a link to the series that fixed this on the kernel side? Konrad
On 12. 02. 2024. 12:05, Konrad Dybcio wrote: > On 11.02.2024 21:26, Christian Marangi wrote: >> Add QCA8075 PHY Package nodes. The PHY nodes that were previously >> defined never worked and actually never had a driver to correctly setup >> these PHY. > Missing Fixes tag? > > Also, could you please give me a link to the series that fixed this > on the kernel side? Hi Konrad, Support for this PHY and PHY package concept was added in: https://patchwork.kernel.org/project/netdevbpf/cover/20240206173115.7654-1-ansuelsmth@gmail.com/ Series has been merged couple of days ago so its in linux-next already. Regards, Robert > > Konrad
diff --git a/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi index f989bd741cd1..6c97d852d342 100644 --- a/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi @@ -603,24 +603,33 @@ mdio: mdio@90000 { reg = <0x90000 0x64>; status = "disabled"; - ethphy0: ethernet-phy@0 { + ethernet-phy-package@0 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "qcom,qca8075-package"; reg = <0>; - }; - ethphy1: ethernet-phy@1 { - reg = <1>; - }; + qcom,tx-drive-strength-milliwatt = <300>; - ethphy2: ethernet-phy@2 { - reg = <2>; - }; + ethphy0: ethernet-phy@0 { + reg = <0>; + }; - ethphy3: ethernet-phy@3 { - reg = <3>; - }; + ethphy1: ethernet-phy@1 { + reg = <1>; + }; + + ethphy2: ethernet-phy@2 { + reg = <2>; + }; + + ethphy3: ethernet-phy@3 { + reg = <3>; + }; - ethphy4: ethernet-phy@4 { - reg = <4>; + ethphy4: ethernet-phy@4 { + reg = <4>; + }; }; };