From patchwork Thu Feb 15 23:48:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Xiwen via B4 Relay X-Patchwork-Id: 201847 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp193373dyb; Thu, 15 Feb 2024 15:51:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUnuUnUgG01sKOyy0I3ZJwROc4cCiTvjSyNbvl8Migr3ODOoBRVzu2Uq8g19rpjkzOco2UDTFf/ilXPPpUkul+QFBYagg== X-Google-Smtp-Source: AGHT+IFXfD24F9/H/f1/xL+nHm7Jn8AKI62XR9uEK0XNQJH4ZyqoKYgzCn8y/TZvajKK5/ayFMvy X-Received: by 2002:a05:622a:446:b0:42c:3c63:d3dd with SMTP id o6-20020a05622a044600b0042c3c63d3ddmr3307658qtx.10.1708041074122; Thu, 15 Feb 2024 15:51:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708041074; cv=pass; d=google.com; s=arc-20160816; b=m+1f0pc0BXxjVITvlAmtdLFus99eFVhyzvNYdyU2/AU0yOEJcao0odqEScCwvcSllh qFpLDae1tNpvxbgM3jH1HKSP/CRJLsdroAZ8Lx7zv+sfKfM+SpI12kaS3xuWZsv84rBc y1XSwF2uqWu0L36lEcEGgktXp6NsDoo64FTDO0I63qjvu9lbn1bdUNHh5Nl+V/HNW03R niQTcdS7dIrnLoPXIv2OTNvlHlsWVXIgwOI7X+URoxfntVUGsIr4NmJ/HKxvD1XfVs/c joA8mLiHZFv9DFyOPMWNykUDqWdMAAdFhz4pXAK1p91asXnCM0gUhdphwarTdbvDxRDo C6LQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=Z3RfvhDsnbazyrrw5E2RTylD8XTsI6CqerE9NUnM+zQ=; fh=YUyCOKAW57vGpD9UsAB1Jf96lQXTx0J/i1SlBxoko4U=; b=YGSNb0b0qi3ocoLjXLdUSmQ7inJKNkMK9xfhoknC92FNiSx5reMQx0ml5IoUoD5dUX zSvg7fVl1TT4R0rDKssZFQIaJsApX+gLlNmbmhOFlOTRzAlU5rJsSbTBTFs4Mx2o2mLW V4btE5M99BrY09xilBPGgVlp7GGYQxWX3Pf/7ppFl3kvsDGwFpweo4tBBmW5Ez9V3h1s DRp+qfgFrgbXM7kNnHb+PGZ1+iV1Glo+7X+jlVmNgF+jUNalx1ajRUtgmHNjg8wr83bV MSupdrRmy6qYuyLj1p8MMZfnkBxF0xnxDDYt85XjDcIAgXKdD2o8/uaxd9SmlNxFe472 rB8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xf5w3rhj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67857-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67857-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p11-20020ac8460b000000b0042bfe8c5a23si2435741qtn.137.2024.02.15.15.51.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 15:51:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67857-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xf5w3rhj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-67857-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67857-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 E46971C20A68 for ; Thu, 15 Feb 2024 23:51:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1732F14900A; Thu, 15 Feb 2024 23:48:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Xf5w3rhj" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 86C8C145FF8; Thu, 15 Feb 2024 23:48:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708040933; cv=none; b=c42syIDJHcdWqyg5Yssci7r+Wm8ErrrbR8q2WgQp6HM0VAQUQLti/+ot5/sTziwtfWWXoy45snpZ3xsn/e0h75DVoet56Zot8szrKmDvYKlWZrrLJc8FCjOCZUmwM6JFe+ha/AyNa4SXlsW3KbeEuRbz6NTbaVTNdT3RBGxpluY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708040933; c=relaxed/simple; bh=vtgSM7xn4vYZIyKOKZORU9qlltEYS8vu8vuE/kDiVUk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=m0QMskCsYYddEx9Ag2d49rfQmO4KUHpw1M0URjWzkJ+cSutSQTrwhs/xMMk+Xmp5sH2FmYZd/RKdun7ADbjhXRlPWuavYG365oqh3BYk4wn2DcEJbeq3nS6tP3omvDdrMmCe37UdbLU/SlwD0lks0lZqgeDeVMpBUKwnJM+OQJo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Xf5w3rhj; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 08C31C4166B; Thu, 15 Feb 2024 23:48:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708040933; bh=vtgSM7xn4vYZIyKOKZORU9qlltEYS8vu8vuE/kDiVUk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Xf5w3rhjEC8bRteZGEHMpzGCqkl6ePcJhzqPIoS9TzUzgbATtIqztY0O9LC+yhwzp 0z4YBU8+n3L1jloTBUTxZKKshE+j89nL5oCto7q3Frt36IqQer8FFmhuh338Z9YpV7 +dxXNEPBZdsvpALyDmo6S15VG79ztTg/wmiUlCqIEgaXRAVFKkTs3FVg+gDN8zcSgE IHN9P/9V38XQNt45cTvMq01zlLX/9UgjG6+nRg/+pd/xqYynl8q5yPh1FmZtg6g05A WBKjEo2e9//z7WYUe7MCEHa1Q0GXjEJllmiVQTh2ZWMslxejsAxQ1s7IK2YWwM5Zjc AvBPoSkkEepVg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9FD3C4829E; Thu, 15 Feb 2024 23:48:52 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Fri, 16 Feb 2024 07:48:58 +0800 Subject: [PATCH 6/6] dt-bindings: net: hisilicon-femac-mdio: make clock optional Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240216-net-v1-6-e0ad972cda99@outlook.com> References: <20240216-net-v1-0-e0ad972cda99@outlook.com> In-Reply-To: <20240216-net-v1-0-e0ad972cda99@outlook.com> To: Yisen Zhuang , Salil Mehta , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yang Xiwen , Andrew Lunn , Heiner Kallweit , Russell King Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Yang Xiwen X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708040932; l=878; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=F5kHPrADx5NPlmJ1rkhSxa9z6ULOnV4wfItxfOuEBlU=; b=6HbzsNnWkAYAwbHHS3hcLyUnHF83hhbSg5L2TOq54PaHAnk9Ka1K2HjwZiA7DlrEZPmXrP4v7 jwdNlMUA7JtCEQ1ky6bp7ra5L0oVS5+wgJ8w07CFJ6/fkTIprmD+tCa X-Developer-Key: i=forbidden405@outlook.com; a=ed25519; pk=qOD5jhp891/Xzc+H/PZ8LWVSWE3O/XCQnAg+5vdU2IU= X-Endpoint-Received: by B4 Relay for forbidden405@outlook.com/20230724 with auth_id=67 X-Original-From: Yang Xiwen Reply-To: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791010877358001821 X-GMAIL-MSGID: 1791010877358001821 From: Yang Xiwen The clock is optional. Signed-off-by: Yang Xiwen --- Documentation/devicetree/bindings/net/hisilicon-femac-mdio.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/net/hisilicon-femac-mdio.txt b/Documentation/devicetree/bindings/net/hisilicon-femac-mdio.txt index 23a39a309d17..cd37f43abd45 100644 --- a/Documentation/devicetree/bindings/net/hisilicon-femac-mdio.txt +++ b/Documentation/devicetree/bindings/net/hisilicon-femac-mdio.txt @@ -3,6 +3,8 @@ Hisilicon Fast Ethernet MDIO Controller interface Required properties: - compatible: should be "hisilicon,hisi-femac-mdio". - reg: address and length of the register set for the device. + +Optional properties: - clocks: A phandle to the reference clock for this device. - PHY subnode: inherits from phy binding [1]