From nobody Sun Oct 5 09:04:12 2025 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 0E8D82E36E7; Tue, 5 Aug 2025 23:25:21 +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=1754436322; cv=none; b=cGjqm9xhMs8Xu1civVXQfDn4qJ6pnl2Rbe32ljujtcjqeMzJA5fK9Hezo9oTO6h0YB3X+Dfah/T8Me2Da7tZ/1mZ99Mj9ZvLq98EIcmv5K/VCZeKnBbBixCYD3p815gtNGS7Kh91O/8PGj1W/NTqpgh6ia8V36GoFl11UoGrR84= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754436322; c=relaxed/simple; bh=pSW8iCs3751+4sUebaIwymfRB47Os5fTm5JvQh78ULY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cslUdleOCqFxDrtTAMSQsYB+6TYHNeP2B5V6LLMtfeCWIUQttG+BG4KkzIu/QyTghwqFYfZRMec/aO4QVTEaLqx3p3E3zH8qgPFJeDDBJJdp6XO+Q3kSdJTD7vT/G2rI87eiX+XEiVWrRT7MwxL6TqdbMTXzA2j5isRVR4SRkN8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jIwhLOdX; 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="jIwhLOdX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95A15C4CEF0; Tue, 5 Aug 2025 23:25:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1754436321; bh=pSW8iCs3751+4sUebaIwymfRB47Os5fTm5JvQh78ULY=; h=From:To:Cc:Subject:Date:From; b=jIwhLOdX0c9P1uXB2PZuiGdLBMFSnXcqqk6jTQTikYnzaiNkn7s51jnqq8PpM2tbz eyY/5IH6wG01xg84t1PtKulNbPiWyH3cnEiM+cu/shULSn1LOWB175L8XnzKTrLdmM ydEoVJzJc7Syuy49CuIPDa7Qh8Zchojf2o7JQr8Hv2E55B9k/k8gw0yXIMZ0/X+922 ouOcrfvUJ6yMEnSIt8wiF2XkGmf+qKxU8Uv69GDjZcn7U7OzZlzg1Qlxo1hQ0XXubh PcjbSgfs2Xd9DHKX5GxIhnaVOlSqGOP+yRqEWO+lRyL+o45OJ397fuxj0c59/0kxGu Cmnz64BRp5rWQ== From: "Rob Herring (Arm)" To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: arm: marvell: Convert marvell,armada390 boards to DT schema Date: Tue, 5 Aug 2025 18:25:17 -0500 Message-ID: <20250805232518.2828268-1-robh@kernel.org> X-Mailer: git-send-email 2.47.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert Marvell Armada-390 based boards to DT schema format. Signed-off-by: Rob Herring (Arm) --- .../bindings/arm/marvell/armada-39x.txt | 31 ------------------ .../arm/marvell/marvell,armada390.yaml | 32 +++++++++++++++++++ 2 files changed, 32 insertions(+), 31 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/marvell/armada-39= x.txt create mode 100644 Documentation/devicetree/bindings/arm/marvell/marvell,a= rmada390.yaml diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-39x.txt b= /Documentation/devicetree/bindings/arm/marvell/armada-39x.txt deleted file mode 100644 index 89468664f6ea..000000000000 --- a/Documentation/devicetree/bindings/arm/marvell/armada-39x.txt +++ /dev/null @@ -1,31 +0,0 @@ -Marvell Armada 39x Platforms Device Tree Bindings -------------------------------------------------- - -Boards with a SoC of the Marvell Armada 39x family shall have the -following property: - -Required root node property: - - - compatible: must contain "marvell,armada390" - -In addition, boards using the Marvell Armada 395 SoC shall have the -following property before the common "marvell,armada390" one: - -Required root node property: - -compatible: must contain "marvell,armada395" - -Example: - -compatible =3D "marvell,a395-gp", "marvell,armada395", "marvell,armada390"; - -Boards using the Marvell Armada 398 SoC shall have the following -property before the common "marvell,armada390" one: - -Required root node property: - -compatible: must contain "marvell,armada398" - -Example: - -compatible =3D "marvell,a398-db", "marvell,armada398", "marvell,armada390"; diff --git a/Documentation/devicetree/bindings/arm/marvell/marvell,armada39= 0.yaml b/Documentation/devicetree/bindings/arm/marvell/marvell,armada390.ya= ml new file mode 100644 index 000000000000..5ff6a5439525 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/marvell/marvell,armada390.yaml @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/marvell/marvell,armada390.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell Armada 39x Platforms + +maintainers: + - Andrew Lunn + - Gregory Clement + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - const: marvell,a390-db + - const: marvell,armada390 + - items: + - enum: + - marvell,a398-db + - const: marvell,armada398 + - const: marvell,armada390 + - items: + - enum: + - marvell,a395-gp + - const: marvell,armada395 + - const: marvell,armada390 + +additionalProperties: true --=20 2.47.2