Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1302368pxf; Fri, 19 Mar 2021 04:16:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzecqNttNKC6f12+Hh3fB5cOMPVKnyktlOf/l+jxGODzj37nmf4XcCd39tt8R+3vJ5bNT7M X-Received: by 2002:a17:906:14d4:: with SMTP id y20mr3705471ejc.190.1616152560646; Fri, 19 Mar 2021 04:16:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616152560; cv=none; d=google.com; s=arc-20160816; b=SR/ua3a9ozlwTRpm7IOKCD1GF3dPSmiplUbz3HPKbxiLHQXjM8zQj6gDbzMXgc3zXK nP2RhBzTpKV3CuXWgN2aNLd3rjQg/L9CUtKhQNwdoMVM00LencMZY4DBJbWJJ+i+SUzD HTyDSZZMbgUwgFggjxfpz503vDx3XeSNCMjNgfW91LNF895d5zQdDkJrgcNXg/29gocR Nnq1KcAIm2XMMZXOt0/aa5O7J2ytNzH72QKFZq18Pbu5jTydF4LYaPEPsblBPqkf47gj wXc1PML0Zf6vFWPQr9a5LNElKxdmTEKYRIdtyrIcACUVwF3TGLHna992fAO5znfur8wY LzQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=w077GjWQdUN1FmrTEFv40WM5lSLyRxcaw45yoOKr8sg=; b=aRROf10bWVNlOiA/A4R6FdqS48voHdLxdfDjH4KGPPqwYcAJM1JjO5GsUzOCYjDUHY OulNDQqmIOh+PVtueygOeY84Pwd7OMlVuLmUNK3fJif7gGQmjSd37S9Gr1zTka6mSzAd r+TqSeQXsUm6AHfixTQ1eDSj2/L5MHzQCMID7KNiy0pKwZAr4/rv5ZMgPMOKO8tUKIeg OUuZeRihKYFQaVNi1W4obE/+kQXxwzwJGuv0eLGbGU5z+GTIW/vtX7uXLNJ68U7p1LkR DTQnx7dCq554KQa0Ev6PpQpUZzu/xvarg8hs7y3wowP4R16nn2611tk46AD1gWyO2zqM B8nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Ah/U9lTH"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j20si4201677ejy.7.2021.03.19.04.15.37; Fri, 19 Mar 2021 04:16:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Ah/U9lTH"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229922AbhCSLOJ (ORCPT + 99 others); Fri, 19 Mar 2021 07:14:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbhCSLOE (ORCPT ); Fri, 19 Mar 2021 07:14:04 -0400 Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FB9AC06174A; Fri, 19 Mar 2021 04:14:04 -0700 (PDT) Received: by mail-io1-xd2e.google.com with SMTP id z3so5638346ioc.8; Fri, 19 Mar 2021 04:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=w077GjWQdUN1FmrTEFv40WM5lSLyRxcaw45yoOKr8sg=; b=Ah/U9lTHR5vNyN0CEC86//Qc9FeylDRH6wMB4HHVQ+NoL7mGihIWraJuVqNZqgp2Yq 1g7zDsg9MaotmLKYMdZ8EMAVEitWYaC8wRZp9GKEtDjC4i7p81iJgBP8fyzI93bCWGnD Q5KckiSWpbzt0jiNoiV21hFSrzaCxa1E9zqBWDL4By2YePFrMkf22CULcAXOV35inCQs 9WlSU+dWwREWSpY6Wdccq/ppYw0zn1l4v+m/F9uyboA6feKEsemGi95pGtjja/UMh81E nsA4md8IhXXCWxPRYPQNuYe0QbQ32fJr5GZ5XmG9aHczqFDePvJi/0kRRw4fjIRutpkO +4oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=w077GjWQdUN1FmrTEFv40WM5lSLyRxcaw45yoOKr8sg=; b=dfmHo+W6BsGEc+twwvtYEXPB8bhi39FAMk7x1waryG4e5tyCBiRKrHeOWORN0Ktpz5 dgH5UugJnd4jHZQaQbsRAAdFYmlkp7RlSQuWmsrSKb42pydZyieCugIbgxA3yl7hp+iV fWhj1UnCeddc4OyRpLjY1BQ0d0Wq2zA3EDCvb8YLBMfptNbCdPcbXEsoX1a2O+/WA/4b yTi8gSfFEPqRkYVTg2iyzmqF1AjV3XiNJPV66ZXi7sbC3SVGWNV8KSmvcuyHSSzsdDH3 PS+Mjq6xR2nkDERtHGjxiEAbiWYwXH06S97VuIRgr9XDiJzWHnCNi2GsHzEHMnuNXqo7 g13Q== X-Gm-Message-State: AOAM532P8n6ygdcwc98WQc5hRrCaU/H7HN8QmYPIC5q49ril+97zyihi KAQQMet+zq4ChTjpitRLziMD0aEaZvezop6zn8k= X-Received: by 2002:a05:6638:388e:: with SMTP id b14mr831990jav.62.1616152443770; Fri, 19 Mar 2021 04:14:03 -0700 (PDT) MIME-Version: 1.0 References: <1615801436-3016-1-git-send-email-dillon.minfei@gmail.com> <1615801436-3016-10-git-send-email-dillon.minfei@gmail.com> <01c9f635-7b2b-fc9c-3cf9-6d7f425d683e@foss.st.com> In-Reply-To: <01c9f635-7b2b-fc9c-3cf9-6d7f425d683e@foss.st.com> From: dillon min Date: Fri, 19 Mar 2021 19:13:27 +0800 Message-ID: Subject: Re: [PATCH v3 9/9] dt-bindings: serial: stm32: add phandle 'bluetooth' to fix dtbs_check warrning To: Alexandre TORGUE , rong.a.chen@intel.com Cc: Rob Herring , Ahmad Fatoum , Maxime Coquelin , Alexandre Torgue , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-stm32@st-md-mailman.stormreply.com, Linux ARM , Linux Kernel Mailing List , linux@armlinux.org.uk, Vladimir Murzin , afzal.mohd.ma@gmail.com, gregkh@linuxfoundation.org, erwan.leray@st.com, erwan.leray@foss.st.com, linux-serial@vger.kernel.org, lkp@intel.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alexandre, Thanks for the reply. On Fri, Mar 19, 2021 at 4:38 PM Alexandre TORGUE wrote: > > Hi Dillon > > On 3/19/21 5:28 AM, dillon min wrote: > > No changes, Just loop lkp in. > > > > > > Hi lkp, > > > > Sorry for the late reply, thanks for your report. > > This patch is to fix the build warning message. > > > > Thanks. > > Regards > > > > On Mon, Mar 15, 2021 at 5:45 PM wrote: > >> > >> From: dillon min > >> > >> when run make dtbs_check with 'bluetoothi brcm,bcm43438-bt' > >> dts enabled on stm32h7, there is a warrning popup: > >> > >>>> arch/arm/boot/dts/stm32h750i-art-pi.dt.yaml: serial@40004800: 'bluetooth' > >> does not match any of the regexes: 'pinctrl-[0-9]+' > >> > >> to make dtbs_check happy, so add a phandle bluetooth > >> > >> Fixes: 500cdb23d608 ("ARM: dts: stm32: Add STM32H743 MCU and STM32H743i-EVAL board") > >> Signed-off-by: dillon min > >> Reported-by: kernel test robot > >> --- > >> Documentation/devicetree/bindings/serial/st,stm32-uart.yaml | 5 +++++ > >> 1 file changed, 5 insertions(+) > >> > >> diff --git a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml > >> index 8631678283f9..5e674840e62d 100644 > >> --- a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml > >> +++ b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml > >> @@ -50,6 +50,11 @@ properties: > >> minItems: 1 > >> maxItems: 2 > >> > >> + bluetooth: > >> + type: object > >> + description: | > >> + phandles to the usart controller and bluetooth > >> + > > Do we really need to add this "generic" property here ? You could test > without the "AditionalProperties:False". Yes, indeed. we have no reason to add a generic 'bluetooth' property into specific soc's interface yaml. I can't just remove "AditionalProperties:False", else make O=../kernel-art/ dtbs dtbs_check will run into /home/fmin/linux/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml: 'oneOf' conditional failed, one must be fixed: 'unevaluatedProperties' is a required property 'additionalProperties' is a required property ... So , i will replace "AditionalProperties:False". with unevaluatedProperties: false, do you agree with this? If so, i will send patch v4 later. Thanks. Regards > > Regards > Alex > > > >> # cts-gpios and rts-gpios properties can be used instead of 'uart-has-rtscts' > >> # or 'st,hw-flow-ctrl' (deprecated) for making use of any gpio pins for flow > >> # control instead of dedicated pins. > >> -- > >> 1.9.1 > >>