From patchwork Wed Mar 3 15:46:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 1446724 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=jLo9wGIf; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DrJjc2bRwz9sPf for ; Thu, 4 Mar 2021 03:04:52 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4DrJjc1JJvz3cXw for ; Thu, 4 Mar 2021 03:04:52 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=jLo9wGIf; dkim-atps=neutral X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmx.net (client-ip=212.227.17.21; helo=mout.gmx.net; envelope-from=j.neuschaefer@gmx.net; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=jLo9wGIf; dkim-atps=neutral Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4DrJj859ylz3cWl for ; Thu, 4 Mar 2021 03:04:28 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1614787217; bh=vXITFOlRrrM/ot0qtV+OpIUql+KKoRQFHgp+WqwkmIo=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=jLo9wGIfMHHRt3TIIZgJ7KrKDq9WAQef2SQgVZb13guZWzpbc7aAVUoGAl0p6Ldzr NFiFJ6iRTXZ2RQbBQ69r3Y7kn9I4b5UfrirX9hoiUs4Dq3SnoITg52IIlA9XiEKlCm KlR+5tuPzUeELPCDStDuCo9ad3My4HAFQr+RJQTM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([37.201.215.134]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MXXuB-1lHmzV10Qx-00Z2rQ; Wed, 03 Mar 2021 16:47:30 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: openbmc@lists.ozlabs.org, devicetree@vger.kernel.org Subject: [PATCH v2 RESEND 1/2] dt-bindings: arm: Convert nuvoton, npcm750 binding to YAML Date: Wed, 3 Mar 2021 16:46:19 +0100 Message-Id: <20210303154622.3018839-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:fr11v6FXMj6GgupdvATGzBwe2UvTw/AWyN+FGMgj9PZ1eqObakU D0WHCsYt0rm20m4CKLwKghThQvSFc6ODgoeu5a4j90QWuA3KJ/SpOOxYn4Si8t+Fhk534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lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Tomer Maimon , Avi Fishman , Patrick Venture , =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Tali Perry , Rob Herring , linux-kernel@vger.kernel.org, Benjamin Fair Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" The general trend is to have devicetree bindings in YAML format, to allow automatic validation of bindings and devicetrees. Convert the NPCM SoC family's binding to YAML before it accumulates more entries. The nuvoton,npcm750-evb compatible string is introduced to keep the structure of the binding a little simpler. Signed-off-by: Jonathan Neuschäfer Reviewed-by: Rob Herring --- If someone else wants to be listed as the maintainer, please let me know. v2: - Fix indentation to satisfy yamllint - Fix $schema line v1: - https://lore.kernel.org/lkml/20210108224008.705687-1-j.neuschaefer@gmx.net/ --- .../devicetree/bindings/arm/npcm/npcm.txt | 6 ----- .../devicetree/bindings/arm/npcm/npcm.yaml | 23 +++++++++++++++++++ 2 files changed, 23 insertions(+), 6 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/npcm/npcm.txt create mode 100644 Documentation/devicetree/bindings/arm/npcm/npcm.yaml -- 2.29.2 diff --git a/Documentation/devicetree/bindings/arm/npcm/npcm.txt b/Documentation/devicetree/bindings/arm/npcm/npcm.txt deleted file mode 100644 index 2d87d9ecea85b..0000000000000 --- a/Documentation/devicetree/bindings/arm/npcm/npcm.txt +++ /dev/null @@ -1,6 +0,0 @@ -NPCM Platforms Device Tree Bindings ------------------------------------ -NPCM750 SoC -Required root node properties: - - compatible = "nuvoton,npcm750"; - diff --git a/Documentation/devicetree/bindings/arm/npcm/npcm.yaml b/Documentation/devicetree/bindings/arm/npcm/npcm.yaml new file mode 100644 index 0000000000000..894aefb70652a --- /dev/null +++ b/Documentation/devicetree/bindings/arm/npcm/npcm.yaml @@ -0,0 +1,23 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/npcm/npcm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NPCM Platforms Device Tree Bindings + +maintainers: + - Jonathan Neuschäfer + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: NPCM750 based boards + items: + - enum: + - nuvoton,npcm750-evb # NPCM750 evaluation board + - const: nuvoton,npcm750 + +additionalProperties: true From patchwork Wed Mar 3 15:46:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 1446723 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=T06HiFZI; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DrJjD253cz9sTD for ; Thu, 4 Mar 2021 03:04:32 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4DrJjC68bgz3cbL for ; Thu, 4 Mar 2021 03:04:31 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=T06HiFZI; dkim-atps=neutral X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmx.net (client-ip=212.227.17.22; helo=mout.gmx.net; envelope-from=j.neuschaefer@gmx.net; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=T06HiFZI; dkim-atps=neutral X-Greylist: delayed 717 seconds by postgrey-1.36 at boromir; Thu, 04 Mar 2021 03:04:14 AEDT Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4DrJht0kV4z3cK8 for ; Thu, 4 Mar 2021 03:04:11 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1614787180; bh=6Klx+LARlH5Cs/YxTUDW1nPNa3j7+K+6thHFi7p4CDc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=T06HiFZI/FcTB7EbCAlsJTWt97LobgNrF7WFrCQVgqE+HbKhdChIQdbWSWp0PFU1b CpmcSP7GX1iwTPU39ZhmqMJPrr09bsfGTr2JDh8buc8H8Y/YYcb2t33lp7TmsEcdTw zEKu68qmcPPmooLIMNs8RrByfRSrnrmk19kAPo9U= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([37.201.215.134]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MRCOK-1lTewi04sm-00NAoC; Wed, 03 Mar 2021 16:47:32 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: openbmc@lists.ozlabs.org, devicetree@vger.kernel.org Subject: [PATCH v2 RESEND 2/2] ARM: dts: Add board-specific compatible string to npcm750-evb devicetree Date: Wed, 3 Mar 2021 16:46:20 +0100 Message-Id: <20210303154622.3018839-2-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210303154622.3018839-1-j.neuschaefer@gmx.net> References: <20210303154622.3018839-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:oZazP4cwJZAwbnbneWa1/KK2gj3wzLE2XLsYWmGXk3CjSRbfvMF 48WVhwdzIpwnyXALsuw6Kf0JtAzusEePLg3qpNFm8NuhG6ZAaKCWpGgQeRcfPS9A9ufIKMa N2k76/1dfqa7IHeZxlS2kcPkGBSH7W5lbWUuD4jItsf1CdwCdLaEuh3umHfAargzddIfRxR APd80CkmU+7Pdu2nEaUBQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:OcJFblGDn5k=:ZEtyGXGoaflX5j6CeeYZZt NoUKV6tRFSssaRU8n6Ig0TCPyodtle7u53YHLCb5Cf8Ve7A679gMsnoAZa2pjIzZ1xQx4pWbd U1oZJlZr1MrgRkKjgiH5cvb9tPNrOAEivUpE3dpGwrHr4KeKxFjsceRPGMIdUj1jKmD6HvpYo seMd2CfdshQV7YDewqR0eBEH57LvQDQRwbKlr9QhZtIyH4uHhFyIQXpO/ynH5CeK8m2ko6VcA la87cRaFjsN6W8AzsyKoJ9CJivW4PkuaOhGqjKcoRGg26N5Q1YpyxD4LEoa8oOT9B2Emf67bZ 8K20yM8lOcXq0GgQbLbeT6rDRJrfczpchgiPhZC3V0L9nfEeSl0d1mNseAF7xrbRPiztOpxg1 Ir2etf9nC063ozIH5pffxjU5W98iudK4vOAznSV4P0AVqzonYHuxn1+4Kzt0vWVIdTG6io3Sk 7iezNpqZpipDXep3XR0qIZI1BrTAFSDAsVDwQRZA/TaI9nPxm2i0TzUTYCuaLy87Qs9Fp6UW8 va+mpcIgqqdUR1jYSFA49LjunijhFocfn1VT/68PYAx+WjI0c8FjeanpfuqvN8Tjqvmou+u8G HkQ8ij7EOOxxmmHNMsZFijYdCDMY1s6mu0EczVJ/Gy9CqqWKGpPBO6X4J78Zv6bA/eG0BJrAo m1V4jc9K+8r31092ycx7/rOUB/LpjvR/8OtqbONt9x4HTwJOdndyC+Nt1k9Davfs2/OBU2Ufg FeYqMGjTob7fNEFlkVeDFH/FlyQ/SmUizHQihj66RWe0C50r9+vUiWuJHJnME6vjLZM/k+pwF pjKcmRT66kCvsKNs5MwvDRnXFPFK4ul6g8cl2RuCtxnUON0vPot8dCVMRMPdHLefFDUMkZhoC mBQJRWNy2qI/4HLA19lg== X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tomer Maimon , Avi Fishman , Patrick Venture , =?utf-8?q?Jonathan_Neusch=C3=A4fer?= , Tali Perry , Rob Herring , linux-kernel@vger.kernel.org, Benjamin Fair Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" According to the revised binding, the devicetree needs a board-specific compatible string. Signed-off-by: Jonathan Neuschäfer --- v2: - no changes --- arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.29.2 diff --git a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts index 9f13d08f5804e..dea3dbc4a6a52 100644 --- a/arch/arm/boot/dts/nuvoton-npcm750-evb.dts +++ b/arch/arm/boot/dts/nuvoton-npcm750-evb.dts @@ -9,7 +9,7 @@ / { model = "Nuvoton npcm750 Development Board (Device Tree)"; - compatible = "nuvoton,npcm750"; + compatible = "nuvoton,npcm750-evb", "nuvoton,npcm750"; aliases { ethernet2 = &gmac0;