From patchwork Tue May 16 07:52:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 94501 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp257543vqo; Tue, 16 May 2023 01:11:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ50EVO7FrJ9CfaX74fuKMlYFU7OscmDSPWFtEX/fKvdbJ8n82nFZZCQx8s+wemsc453qSi4 X-Received: by 2002:a17:903:22c6:b0:1ac:3739:9969 with SMTP id y6-20020a17090322c600b001ac37399969mr47706421plg.48.1684224663710; Tue, 16 May 2023 01:11:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684224663; cv=none; d=google.com; s=arc-20160816; b=eK/hM/5a628LYo3mdo2/bXgtKlRaS7Rg6s+AYw03xVtLVF/B4rSdnpPf+qAnNy2YSi 3AboIZUDjK7zRkUBlKWv6gbvYS5H3StallkJJhR3sPt34lSqvDMhaZ0r1VfG92TVO/v7 1o/fMtyJcGTpxjG6LqMQcpDAVXE+wV1a0NQBdKb2jPn7ns4pA3RoDy1cnWMvfiRB3GOp 22XeXG0+nytBk1i9ZuX+KWq/tt9LGBS27gr0j0N7wX01072G4FxpWTdfwDDBVUFvCfgK 54pNA86gd7i/ok1FbNtKe5MxhVKGeUMtAtZcvJ1yTQJhBtASU9l5dq/MX+9ljtYNcHNM h/EQ== 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=Aw8FztXblT1O2Fcep9mBIrLnC+gOimUA2Bv1e5v+bPI=; b=Ds2O3GMZCQ+4hvx84WDL7aQmIcX7LDNWt75JjAWibBAC6NNqmUJnurfNHLES4V2qHX h9WkYqDK6SzyjTuYTEKpcuVsEml7wY2PlqVEWZ5AGHk7R0GxrKS5WxiahYqDpy+O27Ls 4pzbmGgAi7VQ69oCG5Fk1euFh9BKaRXXPWRhGvY99oyDxES6MdkTU7OOIX0u5f3HuFw6 Ea+BKGyikb+Fzf66EgsYcwDkJPMq5y7kTiJ+XFAtKSCkAkLa+cn8w0Oxes4myJL/U8YE MZoLskGoyEhFtud9ClNjtfU71EzXByec0NfxVJLnTiEO6nTOhXQki6fQwvWIrnk3VZw0 n/jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Kwq2zcSK; 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 z2-20020a1709028f8200b001aadd02b88fsi12817470plo.233.2023.05.16.01.10.48; Tue, 16 May 2023 01:11:03 -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=Kwq2zcSK; 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 S231608AbjEPHxU (ORCPT + 99 others); Tue, 16 May 2023 03:53:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231378AbjEPHxH (ORCPT ); Tue, 16 May 2023 03:53:07 -0400 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CC784EEE; Tue, 16 May 2023 00:52:43 -0700 (PDT) Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1aaea3909d1so128887845ad.2; Tue, 16 May 2023 00:52:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684223562; x=1686815562; 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=Aw8FztXblT1O2Fcep9mBIrLnC+gOimUA2Bv1e5v+bPI=; b=Kwq2zcSK9rJNtbBpU8BZco+6QlzYuNDLnmEhDRO0lFWreLTcDIqOC46ZB9wHjTRtJG Odr6etLAMj8SOXLwifGZ55qHHLhCkX46+aOOVwjYkm0Y5OY6t/Rs0gp5hxE70tffJlen ySeTUVc0fnaREVwPnjdA/gN7w06EbEBvhlBRL88KNRm45ishoIX4U6r5HmadqCS1R+Gx k9ewdXlTSohlzCj079YG427nQ4uay0hS+0dJuzDpoW2MdzOh4wwNxYQzCD2yp2SgZP8E OEAPUe8ViT3FIQDHBU1suezphYWtxzTJYuKItSkLtZx3IAoCGCD7LausKlgvNValnSex 11jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684223562; x=1686815562; 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=Aw8FztXblT1O2Fcep9mBIrLnC+gOimUA2Bv1e5v+bPI=; b=i/6aVsHvLwjEo+BcDze5DByGynQFhh4yH5Trjm8WFCsMItgZgVuYGdwhJs1uS7oZy1 TSrCB4p32/1F/dotyLM8kx5YbqxuQzXuPI0fKvBC8WZNe4XhcA1dZlbu4Y5vwnMM9Fpx EUTA6AwkIKWA5sVojVIo/MlOE3mMgLapdxH/RplyfFYcvjozBeeIhs4AGINVdP5PUB47 3qnWFWiSbnBl4TCgWQdZolWYLlLIbw7/z0LdyOx9Q0iOEfvee7TmfULfHPuJ4N3o7Qoz R9yruqnKDA/ZhNdoqYDxoLNRwhyeCAVQZC/mOd/5FdUPtCh/qe4MEa2rFjE9CN6Q3xC+ Eelw== X-Gm-Message-State: AC+VfDx8atOtPuxlfI1LrmRLmSpVX6F1eSKQwGaRXPKrKY4/vvEf2cHR DORXUJuq9qAokucS2rsqYXs= X-Received: by 2002:a17:902:b68d:b0:1ac:7405:d3ba with SMTP id c13-20020a170902b68d00b001ac7405d3bamr28541938pls.40.1684223562556; Tue, 16 May 2023 00:52:42 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id n18-20020a170903111200b001ab061e352bsm4793043plh.195.2023.05.16.00.52.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 May 2023 00:52:42 -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 v11 05/10] dt-bindings: arm: Add initial bindings for Nuvoton platform Date: Tue, 16 May 2023 07:52:12 +0000 Message-Id: <20230516075217.205401-6-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230516075217.205401-1-ychuang570808@gmail.com> References: <20230516075217.205401-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,URIBL_BLOCKED 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?1766037561181831727?= X-GMAIL-MSGID: =?utf-8?q?1766037561181831727?= 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 e0ad886d3163..5061868467c9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2502,6 +2502,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 @@ -2513,7 +2525,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/