Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp579935pxf; Wed, 24 Mar 2021 10:47:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLOlTsDVWc3bYuASN6MZpYY1aUGFEVCi8an+psAxa9OLYR1qIoaRwYm2eMGy/jX7UoRtOJ X-Received: by 2002:a17:906:9be1:: with SMTP id de33mr5186621ejc.320.1616608067475; Wed, 24 Mar 2021 10:47:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616608067; cv=none; d=google.com; s=arc-20160816; b=qouGvxBDSqDaw9F5RROjNw8U7lZvAdMxAj9V1WwiE9n8CVZtZ59FRDcZEsOUG2vsip 3xZz1lYKC4snfYdv1YxoQK0bi8sy/gYo3jtXPariS9Pz1rk6ko30tGmG9BUi160T/jns BSYfsvNBAZ3OjA8Ll489kYTocJ2W7G3MqIuvellXT5bN0sRTIOGmP5H5kZc+Ht4xO174 H4fhmt4LvvCpeR3MmqhaqRZklOZaPWeet+nfNo83KNyTEQ2t4M+atJSCF1tK1RAWN7HS B3K6g5HJ3bG4Ht2HXIMV32BfgTSw9bbZBvYdLSltuXHIOQrW453rvwmwK6MXjHkWrbNS wdig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=WQOKKI3NBhlafu15L4AYHTsh8eoYcv2NYX3pxh4cbeY=; b=bFYkZOmFN9SqXV2D6Ko7Ro36/wm3Z9Cvo7AL/9xQYJb3ijyxqX8oJsoJju8FgSCs+u JLK0LqJZm1SueLlaI45veKnPsAi//3ljIMXLyrygF2AEoh0Im8QLLcrKISccXnr7rHWh VOxgtKXiw4o0im83ce/j6lL7T6eP2iyOXsSnStOUu7vNeQfszguclfMVrlRnOdJUgLJl 88EDBr/N+vP9Mk22mSweocBXptswRK8xOYBCTAkaUI73kcgxtuCJIQz4klgKUyH0orPc CyK8ZjdcK/gN8k2R2vuynBRL2OQqRUDSwYeS/rqvBkopH8ANv4pp/vXkTxWcRL3FfG6E g07A== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a7si2239370edy.54.2021.03.24.10.47.24; Wed, 24 Mar 2021 10:47:47 -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; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237181AbhCXRp4 (ORCPT + 99 others); Wed, 24 Mar 2021 13:45:56 -0400 Received: from mail-io1-f53.google.com ([209.85.166.53]:45686 "EHLO mail-io1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236616AbhCXRpa (ORCPT ); Wed, 24 Mar 2021 13:45:30 -0400 Received: by mail-io1-f53.google.com with SMTP id k8so22392558iop.12; Wed, 24 Mar 2021 10:45:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WQOKKI3NBhlafu15L4AYHTsh8eoYcv2NYX3pxh4cbeY=; b=fLcPi0nCP9Nb7SG8qkTXoUMNre4sg5jXl6cwa/jxpJPIiXed8Okr3gJXcls+Nx5SXm bNq1KB1RL7QwgwVeQl2kQrojYjZUNxRVdtg0wvtRmNGllkQRvAYEJb2PfMp4JM7DFs5Z 1ZBuS1ycDYJkGlnKHHjI4OLHNbKdZKjK0boAR4NEkeaQZgL4cvNJwm9NKYeKCqOuoqxD Xxc0/JyT55dGDnCvKkbDryXISxnaiGa7tRD2+ap+mydZ7DsSt+yp1yXRotYT03A4jsdo nYP0wBZjGCmBMJjtsQQ+/8ClSWMhEck6emFVs89pgr1ZRyXVoRtQu0w4gOgC2piaVoI0 lGIw== X-Gm-Message-State: AOAM532ot5Ffod2oVEjIgMcNEA41KdkIXuid8JVkY/Jy2sgxre131Mk2 bHHqMEuMrcaQruQxGq/GcQaMX6eI16eK X-Received: by 2002:a02:8801:: with SMTP id r1mr4013533jai.51.1616607929547; Wed, 24 Mar 2021 10:45:29 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id 14sm1439848ilt.54.2021.03.24.10.45.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Mar 2021 10:45:28 -0700 (PDT) Received: (nullmailer pid 3316165 invoked by uid 1000); Wed, 24 Mar 2021 17:45:25 -0000 Date: Wed, 24 Mar 2021 11:45:25 -0600 From: Rob Herring To: dillon min Cc: Alexandre TORGUE , rong.a.chen@intel.com, 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 Subject: Re: [PATCH v3 9/9] dt-bindings: serial: stm32: add phandle 'bluetooth' to fix dtbs_check warrning Message-ID: <20210324174525.GA3309477@robh.at.kernel.org> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 19, 2021 at 07:13:27PM +0800, dillon min wrote: > 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? This is okay as long as 'serial.yaml' is referenced, but will eventually fail if not (unevaluatedProperties isn't actually implemented yet). > If so, i will send patch v4 later. Or you can do this: addtionalProperties: type: object Which means any other property has to be a node. Rob