Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp882810rdb; Tue, 30 Jan 2024 01:06:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGd/qrKD2vCil6ySC9G6S3AA2UFp/XCHfLW7xtNMfsYKIu0u9sqEQ7NiP7ttUvUvMxuqLg+ X-Received: by 2002:a05:6808:120d:b0:3be:3e88:215f with SMTP id a13-20020a056808120d00b003be3e88215fmr5092429oil.21.1706605619358; Tue, 30 Jan 2024 01:06:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706605619; cv=pass; d=google.com; s=arc-20160816; b=FY1fUbwCWUN3QMlEdMuzGPk1WRooGytsmwA/iw2l4JBjGCcnYgEgK7ofu+Tqs4ZjWN tP4hhVOE+S4fEoDfRxzSlCN3NHnkRWRc+FoX+JBA5XsEm0B7dzUV+4IaQH9P2p8PukeM a+T89NjiyioFoZBlCMacxVuZOD0a7ttcRrqGkkPk3IE19tBhkoIEc579IO0+O2AjyQvF WwtWnWlI3B6nUHxobiHVvl+GLSpHco9RXLnw9C9dEx09wZUGMZx1Adxcc05ylypxq733 uzYeFjlx88qgUFbl/xiz9aLU1zTDJtN5qXHP+TPJDQuV9OpVXuNDV9aG++coJuCM2v7k KwjA== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44205-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a10-20020a05622a064a00b0042a70305460si9157036qtb.656.2024.01.30.01.06.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 01:06:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44205-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44205-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BC4B41C257D4 for ; Tue, 30 Jan 2024 09:06:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C3446086C; Tue, 30 Jan 2024 09:04:38 +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 To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Richard Cochran , Andrew Lunn , Heiner Kallweit , Russell King , Bastien Curutchet Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Herve Codina 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: bastien.curutchet@bootlin.com 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 -- 2.43.0