Message ID | 20230315072902.9298-8-ychuang570808@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2188569wrd; Wed, 15 Mar 2023 00:42:04 -0700 (PDT) X-Google-Smtp-Source: AK7set8d5wK49t01kYtXzWdfFNdcXjlK4fJVDDQX7ChtAphnTTs2g+ACQdsBBQTSXoAUQf4+gRjX X-Received: by 2002:a17:902:da91:b0:19c:d7a9:8bf0 with SMTP id j17-20020a170902da9100b0019cd7a98bf0mr1710649plx.10.1678866123973; Wed, 15 Mar 2023 00:42:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678866123; cv=none; d=google.com; s=arc-20160816; b=HSEzlRswYYpUcuuYtERctW10sVpJ4eoiNShIBcr8ighSrcSIROcRf/TviR2hEi5ED9 bUY32ULUBZ7Z51Vd3h5FYSPMxUBZO8q9N0WA95bLW1aqimSbeEdCplGL8I2OwNiWL5tJ /Yx6Dw+ThsV+6QW2kl96oWtYKqSW67Z9AZw75dHpFqDIsLCZcJ8XlA77v3H0gqu+cIUJ PokXCTcro6kLHJR0h4ONxitc3FqOboCph+kRqBMfe/iZDR3rVxzKFOMGWvLTskZC/MXg YOb/cOL8Lb1+BBCZ8SilVcwTKvpSwziKyw5maG9C2IWhJTLrUv8hOnF7JH7Oi1ojRzf+ C/fw== 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=j6YPhoB5qekiIB/bKEm014j3Zxx30bCFcgqCGfR6z6o=; b=FeMuJFmJC2doR/695+DwjUYqUey95//mgYgLtyj3z/Yh76dP+6yd4beeJmeagSgeXf u8GYQ7bOWKVdFE4Q+r458Mc06imbkuo66EJ5G8fCpBKqC5kcAptQQoiyiLpHIG/9lKLr wmgFqgBCgxk4rWcZDOTJbqlTQt+SuiPc/zD4mQ6OY/7bWpH0gcHyg+ZPmv1pl/W3n0ZA YlVJZ/bE8RBLy4PMpqIn4Ycw0xTrAQol4mNgqKe3DPAkJ+Hv8qqCIOYlnbcMfx90LFVF Dx82ymY4hINrm4jsRGzbAmIADNHnZovTB3ffaMYbcOMHg3tseEw6Xjr6swiT1DEbABjG mXOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KaSZFRDc; 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 f5-20020a170902ce8500b0019e8c3cd415si4919719plg.260.2023.03.15.00.41.51; Wed, 15 Mar 2023 00:42: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=20210112 header.b=KaSZFRDc; 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 S231766AbjCOHbg (ORCPT <rfc822;realc9580@gmail.com> + 99 others); Wed, 15 Mar 2023 03:31:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231650AbjCOHa0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 15 Mar 2023 03:30:26 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4CB46A9D1; Wed, 15 Mar 2023 00:29:32 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id gp15-20020a17090adf0f00b0023d1bbd9f9eso959537pjb.0; Wed, 15 Mar 2023 00:29:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678865366; 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=j6YPhoB5qekiIB/bKEm014j3Zxx30bCFcgqCGfR6z6o=; b=KaSZFRDcSfDYojn0W3HzDZomplXOMqkSExLU5RK9/6ItjmFVN6YM1XrO+ffdc1XQom ErHjz7FqLMcjZ/Siz6VbHYrjqbkgZsYACbZ1gK4DfBKKJBDNAOyXshyf/GDIcE6IQlMj 7CHjIOfpS2qNzQl0HvG2fDvtQ8ueNvHON2G/wwXii0HJrcesdXHRfiJcwEYAOLDBpyB6 D/XB+JltGQdtwd1uo+Mm0l/+t+xcFKccXqJiGbDSK9PL5H91PdZnJdluBY2G7zlgBuOS xS2XfqNHkIdJP9/m5KryRgrUJ2/C05XsPFHAljkTmp7lGeiuG3sssuzo9/n8qb2p2SD7 s4BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678865366; 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=j6YPhoB5qekiIB/bKEm014j3Zxx30bCFcgqCGfR6z6o=; b=OwogfGd9G94KiCpFfa6WHNxdI6YaWqXf4dTLhIXy5wa26J2QlUXBO96mSiuH9B4rZJ j+o2HsNLGk2RUvz3wiEHgUYl5kW0zRqCWRsXkBE81NkibqdMw9OY3K3BSdJph9bG0gZM 5KfG4YpzbZlEkqhyt122FgzvWVOMoxV9xqpf8xlhFbJyaEhaHwInTQp4N/uJgnjtg7/M jIfM+UKiAsCWiAHZtLAghBAfUdUVV9oL2FQzlpNkC/08hhU0m0zaUzyjZN/e5eDSwTLX XHvzqjfM0UoE83DpeDNTaiDvJ3IemiOqHsrHY+/oITz54sigNlqz5nkZD/VGbTSet8Ox wfsg== X-Gm-Message-State: AO0yUKWoeRg1kRve82fvM2sshI1U379PcKGE8geuYtaaIjaM3c4kDn2c fxKQfcEcnqeCFdEyFD4JZUU= X-Received: by 2002:a17:902:db05:b0:19c:3d78:6a54 with SMTP id m5-20020a170902db0500b0019c3d786a54mr1521147plx.14.1678865366293; Wed, 15 Mar 2023 00:29:26 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id kz11-20020a170902f9cb00b001a0667822c8sm2740003plb.94.2023.03.15.00.29.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 00:29:26 -0700 (PDT) From: Jacky Huang <ychuang570808@gmail.com> 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 Cc: devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, schung@nuvoton.com, Jacky Huang <ychuang3@nuvoton.com> Subject: [PATCH 07/15] dt-bindings: arm: Add initial bindings for Nuvoton platform Date: Wed, 15 Mar 2023 07:28:54 +0000 Message-Id: <20230315072902.9298-8-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230315072902.9298-1-ychuang570808@gmail.com> References: <20230315072902.9298-1-ychuang570808@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 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,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760418725084396789?= X-GMAIL-MSGID: =?utf-8?q?1760418725084396789?= |
Series |
Introduce Nuvoton ma35d1 SoC
|
|
Commit Message
Jacky Huang
March 15, 2023, 7:28 a.m. UTC
From: Jacky Huang <ychuang3@nuvoton.com> Add binding for ARMv8 based Nuvotn SoCs and platform boards. Add initial bindings for ma35d1 series development boards. Signed-off-by: Jacky Huang <ychuang3@nuvoton.com> --- .../devicetree/bindings/arm/nuvoton.yaml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/nuvoton.yaml
Comments
On 15/03/2023 08:28, Jacky Huang wrote: > From: Jacky Huang <ychuang3@nuvoton.com> > > Add binding for ARMv8 based Nuvotn SoCs and platform boards. > Add initial bindings for ma35d1 series development boards. > > Signed-off-by: Jacky Huang <ychuang3@nuvoton.com> > --- > .../devicetree/bindings/arm/nuvoton.yaml | 30 +++++++++++++++++++ And what is npcm for? Why it was made an directory? All these should be just one Nuvoton. > 1 file changed, 30 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/nuvoton.yaml > > diff --git a/Documentation/devicetree/bindings/arm/nuvoton.yaml b/Documentation/devicetree/bindings/arm/nuvoton.yaml > new file mode 100644 > index 000000000000..f95e7b30711e > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/nuvoton.yaml > @@ -0,0 +1,30 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause Best regards, Krzysztof
On Thu, Mar 16, 2023, at 08:33, Krzysztof Kozlowski wrote: > On 15/03/2023 08:28, Jacky Huang wrote: >> From: Jacky Huang <ychuang3@nuvoton.com> >> >> Add binding for ARMv8 based Nuvotn SoCs and platform boards. >> Add initial bindings for ma35d1 series development boards. >> >> Signed-off-by: Jacky Huang <ychuang3@nuvoton.com> >> --- >> .../devicetree/bindings/arm/nuvoton.yaml | 30 +++++++++++++++++++ > > And what is npcm for? Why it was made an directory? > > All these should be just one Nuvoton. npcm is an unrelated product line, so I think it would be best to rename the npcm directory to nuvoton and move the new file in there, though I'm not sure about the name or what the other chips are called. My impression is that this one is more closely related to the older Arm9 nuc900/w90x900/n9 chips that we dropped from the kernel a while ago, while the npcm family has a different origin. Arnd
Dear Arnd and Krzysztof, Please allow me to answer the question of Krzysztof in this mail. On 2023/3/16 下午 10:32, Arnd Bergmann wrote: > On Thu, Mar 16, 2023, at 08:33, Krzysztof Kozlowski wrote: >> On 15/03/2023 08:28, Jacky Huang wrote: >>> From: Jacky Huang <ychuang3@nuvoton.com> >>> >>> Add binding for ARMv8 based Nuvotn SoCs and platform boards. >>> Add initial bindings for ma35d1 series development boards. >>> >>> Signed-off-by: Jacky Huang <ychuang3@nuvoton.com> >>> --- >>> .../devicetree/bindings/arm/nuvoton.yaml | 30 +++++++++++++++++++ >> And what is npcm for? Why it was made an directory? >> >> All these should be just one Nuvoton. Thank you for your suggestion, then in the next version I will submit to rename directory npcm to nuvoton. And rename this file nuvoton.yaml to nuvoton,ma35d1.yaml, and put in the nuvoton directory. > npcm is an unrelated product line, so I think it would be best > to rename the npcm directory to nuvoton and move the new > file in there, though I'm not sure about the name or what the > other chips are called. > > My impression is that this one is more closely related to > the older Arm9 nuc900/w90x900/n9 chips that we dropped from > the kernel a while ago, while the npcm family has a different > origin. > > Arnd npcm focuses on the BMC field, and ma35 is the successor SoC of nuc970/nuc980, which is mostly used in industrial control, consumer, network applications and other fields. The two teams are located in different countries and regions, and there is little communication and resource sharing with each other. Best regards, Jacky Huang
diff --git a/Documentation/devicetree/bindings/arm/nuvoton.yaml b/Documentation/devicetree/bindings/arm/nuvoton.yaml new file mode 100644 index 000000000000..f95e7b30711e --- /dev/null +++ b/Documentation/devicetree/bindings/arm/nuvoton.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.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton MA35 series SoC based platforms + +maintainers: + - Jacky Huang <ychuang3@nuvoton.com> + +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 +...