Message ID | 20240130085935.33722-1-bastien.curutchet@bootlin.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-44205-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1090194dyb; Tue, 30 Jan 2024 01:08:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IHZoJ/+7AuVPgSQE0pufmsp7LKytsuGbsBeqZ7NOnIFKD4Cno+2H06Ykl7ITp4sGASIu5KX X-Received: by 2002:a05:6402:2684:b0:55f:39d3:6d5e with SMTP id w4-20020a056402268400b0055f39d36d5emr1060788edd.39.1706605701718; Tue, 30 Jan 2024 01:08:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706605701; cv=pass; d=google.com; s=arc-20160816; b=tYGs24Y1zCJR2SJz8sOZd6KBi5gRQk8b24CdabqRvRh3Rl2Eup16DSVqgCgzlujmh2 5ppLnWvl7CKa/Jgt3RKl9rTJyjOhxkFCxUwShNcMCpzlmGOEjqplicspEv9bCZC96xMj PHTLVBKAW7ZoR/X0AVR9/XhJSNAv+Cuth9QJyE1FpaQb9yc7OIb2EQyis/bixW1JbE1x oSp1qE8lxqpL1ME/EOjR3/P9ea+djGzjkVzM8euurTgi9xY4elVds9IcmMu7GDXhxxiv VUB0yD35U0GwESMSicJnifrOsz7WuTAbyIrPXyDYsm7VQNVKofI84KsJ95iWeETAdcr/ KWlw== 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=pAKHzaNOMh1xHR6FDCCFSU4eCbm5CK+UjZM9xHkQa8I=; fh=zDwpaHP8zPRCXncT7CFoA013q2yPieCmPwM51Q3OyGo=; b=e8TT0E+9wQjuO+CcrAvAhpaWPV+uEcwJ7ZJ5ZavnBpT40W+LOUARuWOQdSO4D8CvbG IzdVgBe/Y+R9aG8EX3/KTq2pa2I8xn9HfYHlLzVO6Yqndl2/70Zc1yNi5pdx/lxtauk6 a9dHT/0klMwhCJa4u3Q4DUhKA3WrP9d4/jj8kJYzHw+XDDs3DktvwnbJuYBgLHb5DvtR VrKn1IIW5dwEAtyluFnzl9UZK9WY5MdNcoC48bhtxP9REy1iBumbSeagFCRkSLSsw4lp ncIzXCiGwMB07BP/7a0j7TIbI1fSxXd3Hjh9cSSHBjNIR3gl41DHHoWTJVcgitdS78uP viPg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=iUGHGvxO; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-44205-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44205-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n12-20020aa7c68c000000b0055f2935b764si999048edq.458.2024.01.30.01.08.21 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 01:08:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44205-ouuuleilei=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=@bootlin.com header.s=gm1 header.b=iUGHGvxO; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-44205-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44205-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.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 am.mirrors.kernel.org (Postfix) with ESMTPS id A1ED71F2BB4A for <ouuuleilei@gmail.com>; Tue, 30 Jan 2024 09:06:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4D7866B4C; Tue, 30 Jan 2024 09:04:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="iUGHGvxO" Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) (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 5639D66B46; Tue, 30 Jan 2024 09:04:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.193 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706605477; cv=none; b=Im1Mkgp+XF8cT6udfAHFZiBPsrBEY9ZD6SZ16j7irj0ED9+KfhVfchC+oQQFCAcjoTlrWpeRG02gaBfD0ZeuLHZ1k94VWs0BzRj/5vR0EvYAg9IKaHM/IwRowDuVU4xI67A72rynMPnK0bSPwmUjih8b08Dqf40IiMfvM4R/yvw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706605477; c=relaxed/simple; bh=4XgBQQ3juSbUpkKMMs7aW+PfhE8Y3xmTKKHhjIsTQQk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fg4Xdiyzf3ZxzUUjA1fMl+HUM8cf3T+NkejtyffVG7lM18Fte34LyAU+2TgXV/6zbtkLxZnR3kkCZGumChIlmyH+TCus/jyDtmWzjJk3OJ7tkwVNl3mOhDYxjm8HqLTTjj+J9DxrYd2I3uAW/2REadZOCXHoEGrJvuPiuUUeJGI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=iUGHGvxO; arc=none smtp.client-ip=217.70.183.193 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPA id 61C9D240007; Tue, 30 Jan 2024 09:04:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1706605472; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=pAKHzaNOMh1xHR6FDCCFSU4eCbm5CK+UjZM9xHkQa8I=; b=iUGHGvxOvWQVhG6pKA6+GztCmARC7ypRb4ct0JuFrly0QTecU6wJg7AfIhfwOyUKWU0hmo 7y472mX3bH4k3UTRj7R9OdA56fnl0ZKxKzMiB9rRtbljEu75I8ppsLTHdO4mtveuz/cuxN SYAaLuxWgXFwM+CF9USTNfj5qTcQecvp2oOc1uAGWSOsFipboAqmREulYJ2X6AA8z1Eukn 1XI5hZQqRLBxR7uh4fRCCwiBlzzwWn7ehd/78fw9s5FXOaMBh42KukeY07NdPwxcryi8oc FSuvNW4rBGOS+XdJXnwdvNSwbpILSW+aafpC+nhNQuJZ8TUv9ACkR+tabtJV6g== From: Bastien Curutchet <bastien.curutchet@bootlin.com> To: "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Richard Cochran <richardcochran@gmail.com>, Andrew Lunn <andrew@lunn.ch>, Heiner Kallweit <hkallweit1@gmail.com>, Russell King <linux@armlinux.org.uk>, Bastien Curutchet <bastien.curutchet@bootlin.com> Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Herve Codina <herve.codina@bootlin.com> Subject: [PATCH 0/2] Add device tree binding support to TI's DP83640 Date: Tue, 30 Jan 2024 09:59:33 +0100 Message-ID: <20240130085935.33722-1-bastien.curutchet@bootlin.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-GND-Sasl: bastien.curutchet@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789505780537563633 X-GMAIL-MSGID: 1789505780537563633 |
Series |
Add device tree binding support to TI's DP83640
|
|
Message
Bastien Curutchet
Jan. 30, 2024, 8:59 a.m. UTC
Hi everyone, This short patch series adds a device-tree binding support to the TI's PHY DP83640. The goal is to be able to enable or disable the following features through the device tree: - Energy Detect Mode - PHY Control Frames - LED Configuration - Fiber Mode Bastien Curutchet (2): dt-bindings: net: Add TI DP83640 net: phy: Add some configuration from device-tree .../devicetree/bindings/net/ti,dp83640.yaml | 113 +++++++++++++++ drivers/net/phy/dp83640.c | 131 +++++++++++++++++- drivers/net/phy/dp83640_reg.h | 21 ++- include/dt-bindings/net/ti-dp83640.h | 18 +++ 4 files changed, 281 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/ti,dp83640.yaml create mode 100644 include/dt-bindings/net/ti-dp83640.h