From patchwork Fri Mar 8 08:39:48 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: 13586546 X-Patchwork-Delegate: kuba@kernel.org 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 E5E54524D4; Fri, 8 Mar 2024 08:39:45 +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=1709887186; cv=none; b=lmaKtkXHglwYff52TrrviHg/aIsb5CXnmJMTa3BPcMVWHq2NSUq1Q4Ou4QYh+MyqwpitgcS3WuWYNZCSt9RTffNxctx2Fp7cUzOnpH+cN5w33PXt9zPFN0ixlSfqcV2KWB6tqNbCFE3099GvHgjprCDoyBtyo8Z35IDx5Mwqui8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709887186; c=relaxed/simple; bh=6GLdR1NzwuN3vF74pRPb7zqnKBAq4A6IwVQqiGNp8do=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cyKKiGXZZpvhkBfQEReVlYzG4Aam7ldtkr0gDjWII+NDIvEQi7ApycO03Ap0c8jAOhg7RjDqfJBArGIrx+IVZ/MsuzgyXGKmEVAWmiSKkiBFBZYUE4uqUJQvO/yRdhzG+vAc5yQrGrk8vBnwT7dPH6OfD3NwhDhdMZROdbDIwkQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dfd6CgSc; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dfd6CgSc" Received: by smtp.kernel.org (Postfix) with ESMTPS id 71C6FC3277C; Fri, 8 Mar 2024 08:39:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709887185; bh=6GLdR1NzwuN3vF74pRPb7zqnKBAq4A6IwVQqiGNp8do=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=dfd6CgScdrDkOenNuOa6Nw05rhzkLG+DhIQyadkwxNqpxgThpdUmRP8O25RQzQL7Q ejO8GQ33AY7NYceho5ONm9slNAmY7RJRiaBA4Sb+5FzJLFyMi5RiO2nnds4gdqlBW3 ZU1WPzl8kaHxyPoKdj8UU7Xf64F3Tgg4gEL1lNJlJE2YUBIjuU9inIQUiFAymjWEmJ Bh7LPIeD1oDiNAVQsz73wwjL3abHRRXVU61uuQ2WLkulhS047go2gh3ShfWX+Hgmx4 74WgYa8wr32YwntKdeMDUaX01c8AiYg5RRsXJ/LzisHHjuVh4/HsdT0akWC/2cqmn4 4Dz7LdhySSZMw== 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 59C57C54E5D; Fri, 8 Mar 2024 08:39:45 +0000 (UTC) From: Yang Xiwen via B4 Relay Date: Fri, 08 Mar 2024 16:39:48 +0800 Subject: [PATCH net-next v10 6/8] dt-bindings: net: hisi-femac: add binding for Hi3798MV200 FEMAC core Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240308-net-v10-6-3684df40897e@outlook.com> References: <20240308-net-v10-0-3684df40897e@outlook.com> In-Reply-To: <20240308-net-v10-0-3684df40897e@outlook.com> To: Yisen Zhuang , Salil Mehta , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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=1709887184; l=1017; i=forbidden405@outlook.com; s=20230724; h=from:subject:message-id; bh=UOldq5CRtsm/LbzVGbDAknoLyxLVr+a/RNgHhOeLLzY=; b=UjLXcDkC1iGFxi4r1mMdTBtvkykYwtbSeS3izlFvAwHbVZVcNHy9Ytu+vGzY+PRDPV8xlTyEn Eni2Eu0RJFpAO/Wuqel4d92H1pW0z83RdLmqmmF+4pOr9ysOIsBI19t 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-Patchwork-Delegate: kuba@kernel.org From: Yang Xiwen HiSilicon FEMAC core is also found on Hi3798MV200 SoC. Document it in binding. While at it, make "hisilicon,hi3516cv200-femac" as the fallback compatible. Signed-off-by: Yang Xiwen Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml b/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml index 5cd2331668bc..cee10d263d0b 100644 --- a/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml +++ b/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml @@ -14,8 +14,12 @@ allOf: properties: compatible: - enum: - - hisilicon,hi3516cv300-femac + oneOf: + - items: + - enum: + - hisilicon,hi3798mv200-femac + - const: hisilicon,hi3516cv300-femac + - const: hisilicon,hi3516cv300-femac reg: items: