From patchwork Mon May 8 02:59:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 90928 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1886965vqo; Sun, 7 May 2023 20:27:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6tkYf7w5UZ94F4P+VKt0dvEwDZfthIVZrKJr2sPvrQrNygj0bSzK9NDa79zNdPm/DVdiWf X-Received: by 2002:a05:6a21:3a43:b0:f8:1101:c074 with SMTP id zu3-20020a056a213a4300b000f81101c074mr9194464pzb.54.1683516424804; Sun, 07 May 2023 20:27:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683516424; cv=none; d=google.com; s=arc-20160816; b=dn5OVSJBEMMcTKzCYAXobpyVPpVWFGWDl6OskMmmCTK1yYgZzZ8DaKWd5w/XhPgkBt UbsszaQ08JQ7Pacodbz+tiJCplCfBkMqpM08nS9w7YlFS5YZcT5K1HHWxTpkZlr8MiW2 rKlGSqJMlOXBAByaM4e7DytbOhc6QjejpEDKH9EEa9owM/sqbaP7VgEpN4zaUggAVPRI wSwiW+2fypzwqCpxYj7j0TO0mjLCUZj82OvtmrX8qjIl/6/PuXDaOo9dS1kbjgeA5fc3 y5zO+ATFYsWdfB07J9d8AwqI7EsJPdxEGk+Ra5bTZlUawwoKzl+VbNriKhDW1gN3WH3E IewQ== 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=6LXHrsjdMnFNkpZGHrAjhG2h2gs42q09zVgFGQge6Jw=; b=VC46JKiDmlyv4CVzGKc3oHmWDpWG9XpC4x0E1FPrZZWQH4S3gOYgXcuok+9q+7MgyE Rp7SDWTJnaJcFfquCquArZ3dh7joEbDYZcJnNcYRagCpvxrXHT4hMaNWJrekEH0GDWpo 7NVXvpA2+4N9TFqkt5PazOnxAlf6u27ODWh5kJRhZuO1nA+rJSxC/2VSkT9LBzSG8toh sfiSTJBp1QoFNk4LKxADBspKIRIMMMOtAx3Y23o/EmIfzLKkJDsfO1MibJZNJQ5j0U2M OrnktuTKSrDdRNk7ccBeQmCbBaDOHcXUl3HzLPfAaxSt1HLG5WjVo3eF7K/i8263G2jk XnKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=rGaKqOzx; 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 w28-20020aa7955c000000b0063d2eae52cdsi7751999pfq.224.2023.05.07.20.26.52; Sun, 07 May 2023 20:27:04 -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=rGaKqOzx; 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 S232505AbjEHDAf (ORCPT + 99 others); Sun, 7 May 2023 23:00:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232145AbjEHDAK (ORCPT ); Sun, 7 May 2023 23:00:10 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7402160B4; Sun, 7 May 2023 20:00:02 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-643b60855c8so1846614b3a.2; Sun, 07 May 2023 20:00:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683514801; x=1686106801; 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=6LXHrsjdMnFNkpZGHrAjhG2h2gs42q09zVgFGQge6Jw=; b=rGaKqOzxlKIYBfWwBA8rteJhGhKJGbS0V+yUxccBN7QifqARNeR80PYh6ljtoPkQl5 0R3b+l2n4Gp3nzJpYCfG9QeX0dsROFNeVl9p5kylvBmIj45cVOwtfb4czjzC2lyodysB HUmeh8k8aL0yTKpD+NgvReeltWSDm9sN0RcImjlgaLA+Z6U6eB0R6pDsE9oLpJHInzid SUOero6Wd+P+bNdSmoB2FLn2q/Fu+FE9xQLFCOHcOa46UAUBzvu5LR9bStoF/bL7U+Bl E1caP6Hd8BS53rrdj0F5sfdzj+jnl5so03fUEuJKABufbM5bBekWOr5hoWwgKonrs45G 3X4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683514801; x=1686106801; 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=6LXHrsjdMnFNkpZGHrAjhG2h2gs42q09zVgFGQge6Jw=; b=jTQNdlJ2UAyje/TjGe1suO3cR/h3vvJ3DlIizltQO6htp2GBgELhDLIVLO/Mbvt9e6 7anYekZctOzcoFRAGMXM9HAA3E80+oVYBsBdAYdk5dCFjQPLVNS047k5MhH8Uf7xTD9u yxPpTkT5RZesqaqgmGgRU3K3TDl0s6HaT5OsNl/8wOFyBOH+koaU3Po9VbaHJS62e8qH FFbHYmxSEpoi2uo2T7NfErSCPNFPL1yMZ9xy3aF9F0E6twztINEficzi7rEY9KL4t4Pv 5t0Yi/YsZEHbXOLjq5wdtylxYkyNzrbUwRjMDV3lEanCnNzJ8LI382UIt4ivvtPU450o 3iKw== X-Gm-Message-State: AC+VfDxs89IfeG+dYvw3TXTVUNwrxXP8cRTj5VVZvGmmhj3pc9dbzhxD TxQTnQt6OcghfQm5rOZqFI4= X-Received: by 2002:a05:6a00:15ce:b0:635:6603:2534 with SMTP id o14-20020a056a0015ce00b0063566032534mr12960454pfu.14.1683514801257; Sun, 07 May 2023 20:00:01 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id y3-20020aa78543000000b0064559b58eb8sm1525422pfn.154.2023.05.07.19.59.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 20:00:00 -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, schung@nuvoton.com, mjchen@nuvoton.com, Jacky Huang , Krzysztof Kozlowski , Rob Herring Subject: [PATCH v10 05/10] dt-bindings: arm: Add initial bindings for Nuvoton platform Date: Mon, 8 May 2023 02:59:31 +0000 Message-Id: <20230508025936.36776-6-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230508025936.36776-1-ychuang570808@gmail.com> References: <20230508025936.36776-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?1765294918637040875?= X-GMAIL-MSGID: =?utf-8?q?1765294918637040875?= 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 7e0b87d5aa2e..03b85a80b809 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2509,6 +2509,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 @@ -2520,7 +2532,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/