From patchwork Sat Jan 16 01:09:05 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: 1427437 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (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 4DHg6432zkz9sVs for ; Sat, 16 Jan 2021 12:13:16 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmx.net 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=AgJ3s3W+; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4DHg640zs4zDsn1 for ; Sat, 16 Jan 2021 12:13:16 +1100 (AEDT) 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.15.15; helo=mout.gmx.net; envelope-from=j.neuschaefer@gmx.net; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmx.net 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=AgJ3s3W+; dkim-atps=neutral Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (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 4DHg3l11grzDsmM for ; Sat, 16 Jan 2021 12:11:13 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610759368; bh=btqIRTBlIF7ZyskJXnBkokLSwHrAtzmVQT1qlCS/DeQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=AgJ3s3W+QH4RUV3xi4QP+O1XXMc6AhvugL0NDMZD1l7ckAbPTLB7Tr1lVKZTFyFSX 17hcgxDh2CiSdXEBRPQE+rySjjvhKp5LkO7BjoytBeBFBXWwP8iv4qGH8A7xJUILeV E+f7pXjNTW6JEgy6NTyC+BaPAI+MOtRhkt/bUhXI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([37.201.215.209]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N3bSj-1m04oV0YDr-010buh; Sat, 16 Jan 2021 02:09:28 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: devicetree@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: arm: Convert nuvoton, npcm750 binding to YAML Date: Sat, 16 Jan 2021 02:09:05 +0100 Message-Id: <20210116010907.3475405-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Provags-ID: V03:K1:OV7/hltbT/tDW93LOCLudAWVCDl0VqWbae/oBNe/eCUWawkDkQ9 H/X9rQ4CJFpmsISoHeQ+WeJgSgBgxcKbLcdYYYM0l1ifndpMOVDBFLHDQn89xFiWndic+cM Y3N5ijLhAvbnQf5GTKO40cHCR6jbyTNIqR9d+SkFmTNteVdTCmS8JXIxBP+WPZ5ABGXDnJB UUac260HFNvFoW4YBADfw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:IQj4QauaFKE=:y9VxW/qAftr45HQO4OKHtr 2VDtWsQX+6n6I+Qb8tW3ylZheMHAIq+BQZen9VN58npLkhg6WMJc0Qi8qiDfNlPgB8U0GPPLK RmrXULBpt5RAQxMlmYm2dPLetffbX5peOE/mTALxdHmVnTmqksAQre1iDh/B+b8j0+gWa3U8f ckG7Qvhc2An/irDFald64dyTTCxTrH+2FM47UsVo3Fr7u2c0A/lAOlGv95fpwVOscb5a3Jwck 0wQeZhy4EMp4968HHbCYsP7TVmH6kapZZFewuz3WHQWXg/YVHXeLaWf+2mP9qdH6HCQ8sUA6R zOmRUrq/hyMF2lEhfgJfQTw6qX0nHX7619lAMEv87lio/7vsxrgBqf8a+5eUiQJG6vyi2bnWd vc5V/4/7N91OXkuFV5VwtDBV0HmNHni02kpGpoY5V6L274rL9Gk4iji84ql2AqKALp/5bFMkE ZyLLBxqRV6zweCEbBUqazUmJZvzNhtj+h1cmccTn8yjPrtpKQrvlMXIDfrJTN9O94HR+0+i6X 5SQ0zLgIhWXMztmYl3Z1UwI0Tm+36iAeWyOKPXbmgzZrMTw/4MP/R/zaSAEV1mtO/0IqJo25+ HEgN50EdQSOTAtIUrIMgHM41mzJDEt1jOP5gkiJMJbuAtFNlhhoH/M6uOb1RZsLa4TpH7WRHL Riz9EqQru44cIgiyB9pJDoMZy8Y98h7q3541wNlrlu9WZhcCiiuaQqfYCpbL3/8E1KVkHVwfM o7x8+pEd/lDgCAMPQomFIqaAwjuE69ATPKTpfbtpBSWzRH7ghCUdGZ3lOEL7nyS/lLAw9U4hJ c9GvJR4L2bNbiW2ZmoUv50lHbR4zb7bYvZGzpfpHYxPuDA0Wo8kseTOMKxKGAIkROiFZdr/rk i8VW2uQtUJmaCNMHZa+w== 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 , openbmc@lists.ozlabs.org, =?utf-8?q?J?= =?utf-8?q?onathan_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 Sat Jan 16 01:09:06 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: 1427436 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 4DHg4x0sqPz9sVs for ; Sat, 16 Jan 2021 12:12:17 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmx.net 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=F04wAek4; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4DHg4w48WrzDsmZ for ; Sat, 16 Jan 2021 12:12:16 +1100 (AEDT) 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.15.18; helo=mout.gmx.net; envelope-from=j.neuschaefer@gmx.net; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmx.net 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=F04wAek4; dkim-atps=neutral Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (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 4DHg3k3JKYzDsmH for ; Sat, 16 Jan 2021 12:11:13 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610759369; bh=6Klx+LARlH5Cs/YxTUDW1nPNa3j7+K+6thHFi7p4CDc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=F04wAek49VGqeiKnYAJTG9v4WihCEv06/nCziCFbc9aohHp4wGSu39BIjW6N0HSiB J6SsEi6hrLTaNEsyCtDlpDIkKpHENnQiW9AAM9xn21IExCQZCslKyu1+ovt0DHDNnL ltQUGaIFkGoboDKfF3q9wWuh7QrbIuoRfsIFZQBQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from longitude ([37.201.215.209]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N5VHM-1m6NH90msc-016vrH; Sat, 16 Jan 2021 02:09:29 +0100 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= To: devicetree@vger.kernel.org Subject: [PATCH v2 2/2] ARM: dts: Add board-specific compatible string to npcm750-evb devicetree Date: Sat, 16 Jan 2021 02:09:06 +0100 Message-Id: <20210116010907.3475405-2-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210116010907.3475405-1-j.neuschaefer@gmx.net> References: <20210116010907.3475405-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 X-Provags-ID: V03:K1:8rNNa3QIKUy2rcCEKxnb986WyN5l+vtqixISTwjiUhIp0yuKC08 hsMYUimN/HrhIiUmhMEC0UjWyzDgLYLQyd3fPx/cBytF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KzgklZRvDO6HhWer1ksQ== 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 , openbmc@lists.ozlabs.org, =?utf-8?q?J?= =?utf-8?q?onathan_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;