From patchwork Mon Jun 5 04:07:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 103074 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2445768vqr; Sun, 4 Jun 2023 21:23:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4M5BSXCgae5hwo/2XgX65oqWgqLajJPwwcjsjOpykO1w84Cp0SCXWHDmumMq63aexj6nHS X-Received: by 2002:a05:6a20:1586:b0:105:f8e4:7214 with SMTP id h6-20020a056a20158600b00105f8e47214mr6672182pzj.42.1685938985396; Sun, 04 Jun 2023 21:23:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685938985; cv=none; d=google.com; s=arc-20160816; b=zE5HXanXDy//50KIgn6y7cdyFVs4L2S+AvqGXM/bkxMD3YyFC0hxEUtn3ae7TDnp0l St27B44XtkLax6Vnn9ryn1L9cPJgSMq6AYRp0DKWhtyA172ykOALDd37XA+oUsoh7PJG h7HLSLcquRPEiFvJayj94RCa5b8T3sfWnuFpqU0ZgmRFizaXC6qJVBhn1sxkVDyaDmvI TlbWMapdxOdip4f8Yq4Akm3UM195HB1G9P2I1ThhTP9LMFEJheQkjK0fsLz2XgC+K8kN SKiiAgbi7Rl09KoQGCgdRHtpyZ/YtuHUtnEmxEYvHyIo8/RNXQW02ETSIlDg+Kp8p3vs AyqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sji0jCty/ea0h6IcsV2b0cN1AAa9UZ5BJpv5q6Md0Js=; b=oJt6VNE+dBnB3Vp11BFqDHGchs5X/aLT4U0q0gbGwIhqfK9m38gKMYVU3uJ4RmLcZE V/BN/0s8m0kqNmX0e20xtH4Maw8vYkqqsMSKEOuj4k3su1vB6AK9OqDbwPEEifwZ35k6 a3xgU2G7YBkkiYoOFbRXF/QNf6wj7pSY4D+Ih0VljhDKAnok8bhIctZCnsehLhqwt5XH g1qom24ZoiaDxCEU8qX4I6ZsIGu5TKb0NiFd1D/00O/hpIk3cF0nXDsGNoVeo1HW+P0i Be0pKvm/MNw3wwHJ8sAvQeBl0dXsz9kJlQb9f34aykmO8hzHU94ABiIcelVUTmzVGj6s ihQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=i8Qa1tEV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t37-20020a634465000000b0051b65f4d94asi4845507pgk.484.2023.06.04.21.22.53; Sun, 04 Jun 2023 21:23:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=i8Qa1tEV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233033AbjFEEI5 (ORCPT + 99 others); Mon, 5 Jun 2023 00:08:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232950AbjFEEI0 (ORCPT ); Mon, 5 Jun 2023 00:08:26 -0400 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87E49135; Sun, 4 Jun 2023 21:08:14 -0700 (PDT) Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-53fbf2c42bfso3983783a12.3; Sun, 04 Jun 2023 21:08:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685938094; x=1688530094; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sji0jCty/ea0h6IcsV2b0cN1AAa9UZ5BJpv5q6Md0Js=; b=i8Qa1tEVh1Z4rvvkTFRb2GOSrJQ7Jg0qlg668Gi5gTDzgELHig/MZlyX5ogvdAM7NO 1vzs8pXQZ/QabOxa+5gUUEaM3aUGPBEEgvmm60uxwbthpaykf9VHuB/AsBaDj+iaWQJD DM+glRczl2iyCfwhCaaFEXvoK9OxHUuMhO8KGofETYBNu6egx2RKkqwE68UEgGdWQWC7 5BcDNG9UiPMbUE2VwelPyhzfTtigjvW0izMA0x69ARIRMLsjxYwLZHVYgaz7Ck6CpglD 9Bt3N4N9HiLvAsWkLPLoGao6xI80keu7/mGes0ulvYKLed31ssTlaVoOV0cqmZ97MZpQ dHdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685938094; x=1688530094; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sji0jCty/ea0h6IcsV2b0cN1AAa9UZ5BJpv5q6Md0Js=; b=YbclLMzv0mhwmHnNTMfn7cxqkhDwZWc4xZ7piBaJP6vQMpExKfKg03hrkIetwKdUDj GWJDkd7GeuDREPWdZ52Gbe5c7vQsrMxWW0B9xY3iEgyhtCJFIsy3JC+gXXkG3Qw7Btr2 X7/TZvs+wv7D7PKMiRgtm9JKi720rteIgSfE3HaZWPI23ltZEIh7GrJJbhWoX+yuR0yP Yp57xLQBwCME0fapmPjEmH4E8L5PQjm4CEulCHF+v7KyonkTLeuuV17jGFwcx6Nhq3y+ YACvb42BWWs465fB6PscrSE2a64MK7lZV84QVXYkxMjv2Alm9bXiOZuUVSoqgTAbzlUw qFyw== X-Gm-Message-State: AC+VfDwKn/ljEjTs0iEJle+jcEAM1ULqfH8//hSY821oH4ggS85JEway Cwz08zVUnREF1M1akLr0f4A= X-Received: by 2002:a17:903:2291:b0:1af:c7f8:b329 with SMTP id b17-20020a170903229100b001afc7f8b329mr7415896plh.24.1685938093863; Sun, 04 Jun 2023 21:08:13 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id b4-20020a170903228400b001b21bcea439sm206164plh.170.2023.06.04.21.08.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Jun 2023 21:08:13 -0700 (PDT) From: Jacky Huang To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, lee@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, p.zabel@pengutronix.de, gregkh@linuxfoundation.org, jirislaby@kernel.org, tmaimon77@gmail.com, catalin.marinas@arm.com, will@kernel.org Cc: devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, arnd@arndb.de, soc@kernel.org, schung@nuvoton.com, mjchen@nuvoton.com, Jacky Huang , Krzysztof Kozlowski , Rob Herring Subject: [PATCH v13 05/10] dt-bindings: arm: Add initial bindings for Nuvoton platform Date: Mon, 5 Jun 2023 04:07:44 +0000 Message-Id: <20230605040749.67964-6-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230605040749.67964-1-ychuang570808@gmail.com> References: <20230605040749.67964-1-ychuang570808@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767835157172254279?= X-GMAIL-MSGID: =?utf-8?q?1767835157172254279?= From: Jacky Huang Modify Nuvoton NPCM and MA35 platform board bindings - Move 'nuvoton,npcm-gcr.yaml' from 'bindings/arm/npcm' to 'bindings/soc/nuvoton'. - Rename the 'bindings/arm/npcm' directory to 'bindings/arm/nuvoton'. - Add bindings for ARMv8-based Nuvoton SoCs and platform boards, and include the initial bindings for ma35d1 series development boards. Modify MAINTAINERS - Remove the line for 'bindings/arm/npcm/' under ARM/NUVOTON NPCM, as it has been renamed. - Add ARM/NUVOTON MA35 for Nuvoton MA35 series SoCs maintainer and files. Signed-off-by: Jacky Huang Reviewed-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/arm/nuvoton/nuvoton,ma35d1.yaml | 30 +++++++++++++++++++ .../npcm.yaml => nuvoton/nuvoton,npcm.yaml} | 2 +- .../nuvoton/nuvoton,npcm-gcr.yaml} | 2 +- MAINTAINERS | 13 +++++++- 4 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml rename Documentation/devicetree/bindings/arm/{npcm/npcm.yaml => nuvoton/nuvoton,npcm.yaml} (93%) rename Documentation/devicetree/bindings/{arm/npcm/nuvoton,gcr.yaml => soc/nuvoton/nuvoton,npcm-gcr.yaml} (93%) diff --git a/Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml b/Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml new file mode 100644 index 000000000000..fb190db61525 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/nuvoton/nuvoton,ma35d1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton MA35 series SoC based platforms + +maintainers: + - Jacky Huang + +description: | + Boards with an ARMv8 based Nuvoton MA35 series SoC shall have + the following properties. + +properties: + $nodename: + const: '/' + compatible: + oneOf: + + - description: MA35D1 based boards + items: + - enum: + - nuvoton,ma35d1-iot + - nuvoton,ma35d1-som + - const: nuvoton,ma35d1 + +additionalProperties: true +... diff --git a/Documentation/devicetree/bindings/arm/npcm/npcm.yaml b/Documentation/devicetree/bindings/arm/nuvoton/nuvoton,npcm.yaml similarity index 93% rename from Documentation/devicetree/bindings/arm/npcm/npcm.yaml rename to Documentation/devicetree/bindings/arm/nuvoton/nuvoton,npcm.yaml index 6871483947c5..d386744c8815 100644 --- a/Documentation/devicetree/bindings/arm/npcm/npcm.yaml +++ b/Documentation/devicetree/bindings/arm/nuvoton/nuvoton,npcm.yaml @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause %YAML 1.2 --- -$id: http://devicetree.org/schemas/arm/npcm/npcm.yaml# +$id: http://devicetree.org/schemas/arm/nuvoton/nuvoton,npcm.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: NPCM Platforms diff --git a/Documentation/devicetree/bindings/arm/npcm/nuvoton,gcr.yaml b/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-gcr.yaml similarity index 93% rename from Documentation/devicetree/bindings/arm/npcm/nuvoton,gcr.yaml rename to Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-gcr.yaml index 94e72f25b331..23e7e4ea01ff 100644 --- a/Documentation/devicetree/bindings/arm/npcm/nuvoton,gcr.yaml +++ b/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-gcr.yaml @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause %YAML 1.2 --- -$id: http://devicetree.org/schemas/arm/npcm/nuvoton,gcr.yaml# +$id: http://devicetree.org/schemas/soc/nuvoton/nuvoton,npcm-gcr.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Global Control Registers block in Nuvoton SoCs diff --git a/MAINTAINERS b/MAINTAINERS index 0dab9737ec16..d9ee1f4a0260 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2506,6 +2506,18 @@ F: drivers/rtc/rtc-ab8500.c F: drivers/rtc/rtc-pl031.c F: drivers/soc/ux500/ +ARM/NUVOTON MA35 ARCHITECTURE +M: Jacky Huang +M: Shan-Chun Hung +L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) +S: Supported +F: Documentation/devicetree/bindings/*/*/*ma35* +F: Documentation/devicetree/bindings/*/*ma35* +F: arch/arm64/boot/dts/nuvoton/*ma35* +F: drivers/*/*/*ma35* +F: drivers/*/*ma35* +K: ma35d1 + ARM/NUVOTON NPCM ARCHITECTURE M: Avi Fishman M: Tomer Maimon @@ -2517,7 +2529,6 @@ L: openbmc@lists.ozlabs.org (moderated for non-subscribers) S: Supported F: Documentation/devicetree/bindings/*/*/*npcm* F: Documentation/devicetree/bindings/*/*npcm* -F: Documentation/devicetree/bindings/arm/npcm/* F: Documentation/devicetree/bindings/rtc/nuvoton,nct3018y.yaml F: arch/arm/boot/dts/nuvoton-npcm* F: arch/arm/mach-npcm/