Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp105858pxf; Wed, 24 Mar 2021 22:45:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4JVp0ITdhLQ3XVw8MZeG9R6HO4vLQRx3LTMcPkY4FbRUqA2bDb0EKPPK1Jh3r4bEbI6gd X-Received: by 2002:a05:6402:26c3:: with SMTP id x3mr7410911edd.126.1616651124291; Wed, 24 Mar 2021 22:45:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616651124; cv=none; d=google.com; s=arc-20160816; b=T2tMXQYyvGr7dPPB/VdSqwFNQuVS8zIyKFGqMERMswlO7qJ4VvSown9bs5fyOiv8jz 8Avc9YDz/yH35e3W4tk2wbDwJOf1IJq+hvexUTp1S+1LHvPccz+lvueFlNsHFvThcO3e 6+yShQfRzB4uD6gntR90lYyEEa9SCDRK9WaGiVp1nszJCXxIhduDa9qpVxSBQbMAgbnC 7KdhuKNUC9x9/RFZTi1GuX/nMGXBwwjGTa2WNIj0nz3/ZuB9e7ITR6ykplm5WOqwsgSF c2EQdzv3arUJL/0133FlXufUC8bvrJmdFSoHQEB3QQJayUr56cJLlwzQxhMBqKZoaq64 v2VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=5ZJuZyG5EyUyV+P4POHr63Z6WBq4xJYiTvaFchgclQI=; b=XJX73oTsF7vXYA44UoWYbvXGc0ElawQUzJ9C9zUJeUfe96eXtRFeMH6h20buWjob32 INg46bxC2AKNxFEpZzpYCuGyu0EgEqZ1+++zvN76NkDpot8hblyEd0Scf+zx1U5qRtT0 Xyyg9M8bN2eegehBipeAiDqz5zU6k5ODIu07vl2bnCZOwawPy95Luxyu66OAJCQunXpG WkVuJCdRXJLbih37JTjbDtL53cIryPFM+l0HIS3x9qPgdK1N43TzRu8/RtzhGUxcjKeH NVGJmUU08X59BTmprYG21z3RCdOOBNSpF+gpaQqdfPJU1D9SqMO7P5sfVMOBvjKtbIws EKXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=enGvwYzY; 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 gx7si3460555ejc.349.2021.03.24.22.45.01; Wed, 24 Mar 2021 22:45:24 -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=enGvwYzY; 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 S229639AbhCYFlG (ORCPT + 99 others); Thu, 25 Mar 2021 01:41:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbhCYFkx (ORCPT ); Thu, 25 Mar 2021 01:40:53 -0400 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34819C06174A; Wed, 24 Mar 2021 22:40:53 -0700 (PDT) Received: by mail-io1-xd29.google.com with SMTP id v26so715423iox.11; Wed, 24 Mar 2021 22:40:53 -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:content-transfer-encoding; bh=5ZJuZyG5EyUyV+P4POHr63Z6WBq4xJYiTvaFchgclQI=; b=enGvwYzYJhFRdA5LENa9xHVplo2yJzy2G+NKOkmYljnWTZntst8oqdA1nmv1c7wIv0 P9WtFcTcloxZ61Ag8dkqBZR1jNFAzT8ox3S26lbBFBBHUJwfPsAnHEh6tvS8dbO3ehW0 LIjNgg5RG9mYg+mowcyU3juDB9eqzD1LuMI4bSzdRdU51xFcA+uU2QXhQcZRu/biGqbv UWBlnyI9uvZNfFz5ENaAuBoTtKycJaJkb8C84ODshJ3F6yaRtyKCFKqhE083ecPfrGgX ArGaadbQU1q0oPc2VY2JhAZ7A00J6tjfkd3ltsiZ6CNPrtnudsk8zMZuRhW+y3pKJPDJ f5Dg== 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:content-transfer-encoding; bh=5ZJuZyG5EyUyV+P4POHr63Z6WBq4xJYiTvaFchgclQI=; b=fOwWxav8PEGYcHXeTUi2WfkqmJ02qfqeDrEzJEjNc33Z8CMKGIEuEwbDQAn/nJaxhE 8g5KIjMbbWuiYBnKeTLjkViUy8b3Ot8zxpAUzLIfAOTUcMOSGh6Ccn9pn7Eg4F32wXf4 rYZhU2rleO8v0pkLD4xLLd4oZg1pjc4sAYKKCNLfW2RkuhR+V1NRKcxsR54bUfv7Wq9X OCCjSHOalDEpqFiK6Lzmut/fTGI5/pIiS8t3MO0/Ku9smYlX+j9JMb0dluaHoaB2FLXM 2Al98YGnUHzY197lIrx5vBv2ycNlC2cFbYtssW1F5gmrLaxev/02Oy2vdj+le3w9JKiJ Ya6w== X-Gm-Message-State: AOAM5334uqZZOu+ps+2j7LFAd4Fe9U3H7wPzuzu1o6sAaIvE/q0Uhuos 8b+ofHZ4xMWBv+hbRsZBPRs+s8T+7pswWZ3R7AI= X-Received: by 2002:a05:6638:d47:: with SMTP id d7mr6042430jak.2.1616650852714; Wed, 24 Mar 2021 22:40:52 -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> <20210324174525.GA3309477@robh.at.kernel.org> In-Reply-To: <20210324174525.GA3309477@robh.at.kernel.org> From: dillon min Date: Thu, 25 Mar 2021 13:40:16 +0800 Message-ID: Subject: Re: [PATCH v3 9/9] dt-bindings: serial: stm32: add phandle 'bluetooth' to fix dtbs_check warrning To: Rob Herring , Valentin CARON - foss , Alexandre TORGUE Cc: 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 LE-RAY - foss , linux-serial@vger.kernel.org, lkp@intel.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, Thanks for the suggestion. On Thu, Mar 25, 2021 at 1:45 AM Rob Herring wrote: > > 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: 'b= luetooth' > > > >> 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 STM32= H743i-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-uar= t.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 tes= t > > > 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=3D../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. > Okay, I just test your patch, it's fixed dtbs_check warrning as well. I will merge it to next submit, thanks. Hi, Valentin CARON=EF=BC=8C Could you help to double check it, after my v5 submit ? thanks so much. Regards. Valent > Rob