Message ID | 20230328021912.177301-7-ychuang570808@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1922434vqo; Mon, 27 Mar 2023 19:29:09 -0700 (PDT) X-Google-Smtp-Source: AKy350a4w+wqnYL7jkMpK0yJxdr0JC3fRHojC+28VHdmwgZ0nstYnQiQD1BChdYBzwTnL5NKy3UG X-Received: by 2002:a17:90b:314d:b0:23e:f8e2:9ec8 with SMTP id ip13-20020a17090b314d00b0023ef8e29ec8mr14121478pjb.16.1679970549735; Mon, 27 Mar 2023 19:29:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679970549; cv=none; d=google.com; s=arc-20160816; b=h9wTpNyt6dwyEAsgM/G0NAVmlr+YcQoxLUF53ZQAlG8W7NIujSziYgnJcC83UexSoI gajEKfBViTT9TCEiujVy4x/b/lMKYVzXRy5UOJI710eZOeJXc//P+12XlCZpuq2XbL7L vXjUvd5NMQX3R7zXCyWlvFlvuJq5bbgj/hRK4PQOIgs4pJs+zjXwPVlyNiNud4U7IqA6 xBnuauQgMGRi4uaXMNZennlpeAKwelwtX6+MTAEDougQ6rFtKaHqOtzq+XUQaHZeImM/ eMbpupMzJLXPyD3vq5/2T4w08ReRVCj0L4spiYP+eSKEN/D4WKHYZM4Fg6OaI1/4LJhu q9tQ== 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=9jyCpXhdQrRdIItZilRrI84sFNyhhCD7V61mef/guao=; b=bYtxrjR8/SHXynUEgXdx37JvM8dJn14wEZRyfnaHQgzvYUE6FXt4v49X5W9970BkiO 8jXYEunivGLJoCkKRA4hKV+PomsShztbRTycFLyA5c5Kw+v4p0rsBYumueAyOB2tEEVV dymlUO1L2JGAUPWvhiANqEMRozHGisVHMt/hqUJbAIjA4+ps75+++0PNf5k1pv6m9uLw cpEjZAI4PcHH/Wtb6nBluaIeJ1XY+FP31k0zifiDoVCb5AKgnVF3kOs+l8vh1iwbbTr8 b9P8vVsnXJAXB1ViCDZkIFxa3HF86gz1HZvq4k1i+Ev2C/aLAB3hygMbbzAyML+Jeac7 iQpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nG1dUPYl; 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 20-20020a170902e9d400b0019f2cd99ddfsi27984642plk.380.2023.03.27.19.28.55; Mon, 27 Mar 2023 19:29:09 -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=nG1dUPYl; 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 S232670AbjC1CUL (ORCPT <rfc822;kartikey406@gmail.com> + 99 others); Mon, 27 Mar 2023 22:20:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232394AbjC1CTu (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 27 Mar 2023 22:19:50 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 613F62D76; Mon, 27 Mar 2023 19:19:38 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id j13so9515236pjd.1; Mon, 27 Mar 2023 19:19:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679969977; 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=9jyCpXhdQrRdIItZilRrI84sFNyhhCD7V61mef/guao=; b=nG1dUPYlvn/ycTll+sB9SJovsn4+INiDFfdakFCw8UZZ0t5GqvYOZQBmQWKGRyoOtH xlJ7KM3LkysX1Ys2CS4e4RHz57RBNcrv6n28N9Hi6t3IxuAkaz9V/B3f/EKx9IRv3wKp ujCxKbT5cXO6M+I2J+mGeiXOJ+iV8SGmPENtk0sYjiCctpp6lZrBx/FREBm13kJD9e+T CZQ3xcVLsgb489GksxuAbokkMyxyMZYUFGKc/guHpi0G5mlSjKx1wK9NN+9D9OmmEroj sQ7h0NrgzMxqWsJYOMWXH8T84hnpP5rlTHnRsRyi3/5MpioR5hHfPVukpPkBP9uMCzPE M+mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679969977; 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=9jyCpXhdQrRdIItZilRrI84sFNyhhCD7V61mef/guao=; b=pJaRDghNertJuGI0h34z/eGGnsslfvscIve9qxQ3GI5YSPkggXf8sUCvtaAlpfBpPn xRGaefnr4rNxcOTRvnpeNUYWAzZ0eLN6SjXXiFnIVDIVWZuVteoMvpRwqgf/CUgMndTt 4EJpbPzDYhyEM0a8CfzJvSAyUhKSUno4FEW9QOkVvnea7X8uGr5Qwhwx8X5BT9cbs523 Db5A5US1GtcLzexz5rbPN4CHiL9ros1uGjD5i3a6PR5ujlLOw5PM1bjYZlD4RvcQTcWX Te/PgLfvDON6Y/6OShhQzEpcRVGwLHuI1HJbKGRhxmsxEr0+Gmf5Lijz1B9UMjlpUO48 hdWg== X-Gm-Message-State: AAQBX9cKq7qYrNsMqPW2KNriZ6qdZlOjkvUT/8k25HcTvKs1JBGthwO8 hiDx3j25NVdWo3ceeY8oHkc= X-Received: by 2002:a17:90b:350a:b0:23b:4388:7d8a with SMTP id ls10-20020a17090b350a00b0023b43887d8amr14139825pjb.21.1679969977016; Mon, 27 Mar 2023 19:19:37 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id f17-20020a17090ac29100b00232cc61e16bsm5029301pjt.35.2023.03.27.19.19.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 19:19:36 -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, arnd@arndb.de, schung@nuvoton.com, mjchen@nuvoton.com, Jacky Huang <ychuang3@nuvoton.com> Subject: [PATCH v6 06/12] dt-bindings: arm: Add initial bindings for Nuvoton platform Date: Tue, 28 Mar 2023 02:19:06 +0000 Message-Id: <20230328021912.177301-7-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230328021912.177301-1-ychuang570808@gmail.com> References: <20230328021912.177301-1-ychuang570808@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.1 required=5.0 tests=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 autolearn=unavailable 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?1761576798835084364?= X-GMAIL-MSGID: =?utf-8?q?1761576798835084364?= |
Series |
Introduce Nuvoton ma35d1 SoC
|
|
Commit Message
Jacky Huang
March 28, 2023, 2:19 a.m. UTC
From: Jacky Huang <ychuang3@nuvoton.com> Rename the bindings/arm/npcm directory as nuvoton. 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> --- .../bindings/arm/nuvoton/nuvoton,ma35d1.yaml | 30 +++++++++++++++++++ .../nuvoton,npcm-gcr.yaml} | 2 +- .../npcm.yaml => nuvoton/nuvoton,npcm.yaml} | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml rename Documentation/devicetree/bindings/arm/{npcm/nuvoton,gcr.yaml => nuvoton/nuvoton,npcm-gcr.yaml} (93%) rename Documentation/devicetree/bindings/arm/{npcm/npcm.yaml => nuvoton/nuvoton,npcm.yaml} (93%)
Comments
Hi Jacky,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on robh/for-next]
[also build test WARNING on clk/clk-next linus/master pza/reset/next v6.3-rc4 next-20230328]
[cannot apply to pza/imx-drm/next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Jacky-Huang/arm64-Kconfig-platforms-Add-config-for-Nuvoton-MA35-platform/20230328-102245
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20230328021912.177301-7-ychuang570808%40gmail.com
patch subject: [PATCH v6 06/12] dt-bindings: arm: Add initial bindings for Nuvoton platform
reproduce:
# https://github.com/intel-lab-lkp/linux/commit/d023e63cdc203398c5db3c81ca76d34d22e23fe5
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Jacky-Huang/arm64-Kconfig-platforms-Add-config-for-Nuvoton-MA35-platform/20230328-102245
git checkout d023e63cdc203398c5db3c81ca76d34d22e23fe5
make menuconfig
# enable CONFIG_COMPILE_TEST, CONFIG_WARN_MISSING_DOCUMENTS, CONFIG_WARN_ABI_ERRORS
make htmldocs
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303282310.bOWEkwv1-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/arm/npcm/*
On 28/03/2023 04:19, Jacky Huang wrote: > From: Jacky Huang <ychuang3@nuvoton.com> > > Rename the bindings/arm/npcm directory as nuvoton. > Add binding for ARMv8 based Nuvotn SoCs and platform boards. Typo: Nucotn? > Add initial bindings for ma35d1 series development boards. > > Signed-off-by: Jacky Huang <ychuang3@nuvoton.com> > --- > .../bindings/arm/nuvoton/nuvoton,ma35d1.yaml | 30 +++++++++++++++++++ Anyway robot pointed to issues here... Best regards, Krzysztof
Dear Krzysztof, On 2023/3/29 下午 04:19, Krzysztof Kozlowski wrote: > On 28/03/2023 04:19, Jacky Huang wrote: >> From: Jacky Huang <ychuang3@nuvoton.com> >> >> Rename the bindings/arm/npcm directory as nuvoton. >> Add binding for ARMv8 based Nuvotn SoCs and platform boards. > Typo: Nucotn? I will fix it. Thank you. >> Add initial bindings for ma35d1 series development boards. >> >> Signed-off-by: Jacky Huang <ychuang3@nuvoton.com> >> --- >> .../bindings/arm/nuvoton/nuvoton,ma35d1.yaml | 30 +++++++++++++++++++ > Anyway robot pointed to issues here... > > > Best regards, > Krzysztof > The robot report path error in MAINTAINER. I should modify it when I rename the npcm directory. Best regards, Jacky Huang
On Mon, Mar 27, 2023 at 9:19 PM Jacky Huang <ychuang570808@gmail.com> wrote: > > From: Jacky Huang <ychuang3@nuvoton.com> > > Rename the bindings/arm/npcm directory as nuvoton. > 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> > --- > .../bindings/arm/nuvoton/nuvoton,ma35d1.yaml | 30 +++++++++++++++++++ > .../nuvoton,npcm-gcr.yaml} | 2 +- > .../npcm.yaml => nuvoton/nuvoton,npcm.yaml} | 2 +- > 3 files changed, 32 insertions(+), 2 deletions(-) > create mode 100644 Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml > rename Documentation/devicetree/bindings/arm/{npcm/nuvoton,gcr.yaml => nuvoton/nuvoton,npcm-gcr.yaml} (93%) Since you are moving it, this one should be moved to bindings/soc/nuvoton/ > rename Documentation/devicetree/bindings/arm/{npcm/npcm.yaml => nuvoton/nuvoton,npcm.yaml} (93%)
Dear Rob, On 2023/3/29 下午 09:07, Rob Herring wrote: > On Mon, Mar 27, 2023 at 9:19 PM Jacky Huang <ychuang570808@gmail.com> wrote: >> From: Jacky Huang <ychuang3@nuvoton.com> >> >> Rename the bindings/arm/npcm directory as nuvoton. >> 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> >> --- >> .../bindings/arm/nuvoton/nuvoton,ma35d1.yaml | 30 +++++++++++++++++++ >> .../nuvoton,npcm-gcr.yaml} | 2 +- >> .../npcm.yaml => nuvoton/nuvoton,npcm.yaml} | 2 +- >> 3 files changed, 32 insertions(+), 2 deletions(-) >> create mode 100644 Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml >> rename Documentation/devicetree/bindings/arm/{npcm/nuvoton,gcr.yaml => nuvoton/nuvoton,npcm-gcr.yaml} (93%) > Since you are moving it, this one should be moved to bindings/soc/nuvoton/ > >> rename Documentation/devicetree/bindings/arm/{npcm/npcm.yaml => nuvoton/nuvoton,npcm.yaml} (93%) OK, I will move "Documentation/devicetree/bindings/arm/npcm" to "Documentation/devicetree/bindings/soc/nuvoton". Best regards, Jacky Huang
On 30/03/2023 12:41, Jacky Huang wrote: > Dear Rob, > > > On 2023/3/29 下午 09:07, Rob Herring wrote: >> On Mon, Mar 27, 2023 at 9:19 PM Jacky Huang <ychuang570808@gmail.com> wrote: >>> From: Jacky Huang <ychuang3@nuvoton.com> >>> >>> Rename the bindings/arm/npcm directory as nuvoton. >>> 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> >>> --- >>> .../bindings/arm/nuvoton/nuvoton,ma35d1.yaml | 30 +++++++++++++++++++ >>> .../nuvoton,npcm-gcr.yaml} | 2 +- >>> .../npcm.yaml => nuvoton/nuvoton,npcm.yaml} | 2 +- >>> 3 files changed, 32 insertions(+), 2 deletions(-) >>> create mode 100644 Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml >>> rename Documentation/devicetree/bindings/arm/{npcm/nuvoton,gcr.yaml => nuvoton/nuvoton,npcm-gcr.yaml} (93%) >> Since you are moving it, this one should be moved to bindings/soc/nuvoton/ >> >>> rename Documentation/devicetree/bindings/arm/{npcm/npcm.yaml => nuvoton/nuvoton,npcm.yaml} (93%) > > OK, I will move "Documentation/devicetree/bindings/arm/npcm" to > "Documentation/devicetree/bindings/soc/nuvoton". To clarify - Rob asked *this one*. Not all. Best regards, Krzysztof
On 2023/3/30 下午 09:25, Krzysztof Kozlowski wrote: > On 30/03/2023 12:41, Jacky Huang wrote: >> Dear Rob, >> >> >> On 2023/3/29 下午 09:07, Rob Herring wrote: >>> On Mon, Mar 27, 2023 at 9:19 PM Jacky Huang <ychuang570808@gmail.com> wrote: >>>> From: Jacky Huang <ychuang3@nuvoton.com> >>>> >>>> Rename the bindings/arm/npcm directory as nuvoton. >>>> 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> >>>> --- >>>> .../bindings/arm/nuvoton/nuvoton,ma35d1.yaml | 30 +++++++++++++++++++ >>>> .../nuvoton,npcm-gcr.yaml} | 2 +- >>>> .../npcm.yaml => nuvoton/nuvoton,npcm.yaml} | 2 +- >>>> 3 files changed, 32 insertions(+), 2 deletions(-) >>>> create mode 100644 Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml >>>> rename Documentation/devicetree/bindings/arm/{npcm/nuvoton,gcr.yaml => nuvoton/nuvoton,npcm-gcr.yaml} (93%) >>> Since you are moving it, this one should be moved to bindings/soc/nuvoton/ >>> >>>> rename Documentation/devicetree/bindings/arm/{npcm/npcm.yaml => nuvoton/nuvoton,npcm.yaml} (93%) >> OK, I will move "Documentation/devicetree/bindings/arm/npcm" to >> "Documentation/devicetree/bindings/soc/nuvoton". > To clarify - Rob asked *this one*. Not all. > > > > Best regards, > Krzysztof > Dear Krzysztof, I am sorry that still cannot get it exactly. 1. Just only submit the nuvoton,ma35d1.yaml to Documentation/devicetree/bindings/soc/nuvoton/nuvoton,ma35d1.yaml and keep Documentation/devicetree/bindings/arm/npcm unchanged 2. Move the directory "Documentation/devicetree/bindings/arm/npcm" to "Documentation/devicetree/bindings/soc/nuvoton" and submit the nuvoton,ma35d1.yaml to "Documentation/devicetree/bindings/soc/nuvoton" I should do 1 or 2? Thank you very much. Best regards, Jacky Huang
On Fri, Mar 31, 2023 at 10:15:16AM +0800, Jacky Huang wrote: > > > On 2023/3/30 下午 09:25, Krzysztof Kozlowski wrote: > > On 30/03/2023 12:41, Jacky Huang wrote: > > > Dear Rob, > > > > > > > > > On 2023/3/29 下午 09:07, Rob Herring wrote: > > > > On Mon, Mar 27, 2023 at 9:19 PM Jacky Huang <ychuang570808@gmail.com> wrote: > > > > > From: Jacky Huang <ychuang3@nuvoton.com> > > > > > > > > > > Rename the bindings/arm/npcm directory as nuvoton. > > > > > 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> > > > > > --- > > > > > .../bindings/arm/nuvoton/nuvoton,ma35d1.yaml | 30 +++++++++++++++++++ > > > > > .../nuvoton,npcm-gcr.yaml} | 2 +- > > > > > .../npcm.yaml => nuvoton/nuvoton,npcm.yaml} | 2 +- > > > > > 3 files changed, 32 insertions(+), 2 deletions(-) > > > > > create mode 100644 Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml > > > > > rename Documentation/devicetree/bindings/arm/{npcm/nuvoton,gcr.yaml => nuvoton/nuvoton,npcm-gcr.yaml} (93%) > > > > Since you are moving it, this one should be moved to bindings/soc/nuvoton/ > > > > > > > > > rename Documentation/devicetree/bindings/arm/{npcm/npcm.yaml => nuvoton/nuvoton,npcm.yaml} (93%) > > > OK, I will move "Documentation/devicetree/bindings/arm/npcm" to > > > "Documentation/devicetree/bindings/soc/nuvoton". > > To clarify - Rob asked *this one*. Not all. nuvoton,gcr.yaml is what should be moved to bindings/soc/... The rest are the correct locations. > > > > > > > > Best regards, > > Krzysztof > > > > Dear Krzysztof, > > I am sorry that still cannot get it exactly. > > 1. Just only submit the nuvoton,ma35d1.yaml to > Documentation/devicetree/bindings/soc/nuvoton/nuvoton,ma35d1.yaml > and keep Documentation/devicetree/bindings/arm/npcm unchanged > > 2. Move the directory "Documentation/devicetree/bindings/arm/npcm" to > "Documentation/devicetree/bindings/soc/nuvoton" > and submit the nuvoton,ma35d1.yaml to > "Documentation/devicetree/bindings/soc/nuvoton" > > I should do 1 or 2? Thank you very much. Neither. Arm board and soc root node bindings go in bindings/arm/... Miscellaneous system registers that don't fit into any other bindings/* subsystem directory go in bindings/soc/ Rob
On 2023/4/4 上午 04:33, Rob Herring wrote: > On Fri, Mar 31, 2023 at 10:15:16AM +0800, Jacky Huang wrote: >> >> On 2023/3/30 下午 09:25, Krzysztof Kozlowski wrote: >>> On 30/03/2023 12:41, Jacky Huang wrote: >>>> Dear Rob, >>>> >>>> >>>> On 2023/3/29 下午 09:07, Rob Herring wrote: >>>>> On Mon, Mar 27, 2023 at 9:19 PM Jacky Huang <ychuang570808@gmail.com> wrote: >>>>>> From: Jacky Huang <ychuang3@nuvoton.com> >>>>>> >>>>>> Rename the bindings/arm/npcm directory as nuvoton. >>>>>> 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> >>>>>> --- >>>>>> .../bindings/arm/nuvoton/nuvoton,ma35d1.yaml | 30 +++++++++++++++++++ >>>>>> .../nuvoton,npcm-gcr.yaml} | 2 +- >>>>>> .../npcm.yaml => nuvoton/nuvoton,npcm.yaml} | 2 +- >>>>>> 3 files changed, 32 insertions(+), 2 deletions(-) >>>>>> create mode 100644 Documentation/devicetree/bindings/arm/nuvoton/nuvoton,ma35d1.yaml >>>>>> rename Documentation/devicetree/bindings/arm/{npcm/nuvoton,gcr.yaml => nuvoton/nuvoton,npcm-gcr.yaml} (93%) >>>>> Since you are moving it, this one should be moved to bindings/soc/nuvoton/ >>>>> >>>>>> rename Documentation/devicetree/bindings/arm/{npcm/npcm.yaml => nuvoton/nuvoton,npcm.yaml} (93%) >>>> OK, I will move "Documentation/devicetree/bindings/arm/npcm" to >>>> "Documentation/devicetree/bindings/soc/nuvoton". >>> To clarify - Rob asked *this one*. Not all. > nuvoton,gcr.yaml is what should be moved to bindings/soc/... The rest > are the correct locations. > >>> >>> >>> Best regards, >>> Krzysztof >>> >> Dear Krzysztof, >> >> I am sorry that still cannot get it exactly. >> >> 1. Just only submit the nuvoton,ma35d1.yaml to >> Documentation/devicetree/bindings/soc/nuvoton/nuvoton,ma35d1.yaml >> and keep Documentation/devicetree/bindings/arm/npcm unchanged >> >> 2. Move the directory "Documentation/devicetree/bindings/arm/npcm" to >> "Documentation/devicetree/bindings/soc/nuvoton" >> and submit the nuvoton,ma35d1.yaml to >> "Documentation/devicetree/bindings/soc/nuvoton" >> >> I should do 1 or 2? Thank you very much. > Neither. > > Arm board and soc root node bindings go in bindings/arm/... > > Miscellaneous system registers that don't fit into any other bindings/* > subsystem directory go in bindings/soc/ > > Rob Dear Rob, Thank you very much. I got it now. Best regards, Jacky Huang
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 <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 +... diff --git a/Documentation/devicetree/bindings/arm/npcm/nuvoton,gcr.yaml b/Documentation/devicetree/bindings/arm/nuvoton/nuvoton,npcm-gcr.yaml similarity index 93% rename from Documentation/devicetree/bindings/arm/npcm/nuvoton,gcr.yaml rename to Documentation/devicetree/bindings/arm/nuvoton/nuvoton,npcm-gcr.yaml index 94e72f25b331..1f354aa900ea 100644 --- a/Documentation/devicetree/bindings/arm/npcm/nuvoton,gcr.yaml +++ b/Documentation/devicetree/bindings/arm/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/arm/nuvoton/nuvoton,npcm-gcr.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Global Control Registers block in Nuvoton SoCs 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