Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp942543pxf; Thu, 25 Mar 2021 18:56:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmmtvzRdEiTDRjRqlmDfi+apB6KiSMb/W0qgslsCVpLLWhZMuyfIzmrNAJ9YOjlBsUrLB9 X-Received: by 2002:a17:907:33cd:: with SMTP id zk13mr12696212ejb.224.1616723767792; Thu, 25 Mar 2021 18:56:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616723767; cv=none; d=google.com; s=arc-20160816; b=ifEmMbYXL1r//Jmi+DsjANiGG64KJT/GFwMU+2kF6vqDLQha+/if40xfNc061EvtXA +7T8KKiPC/H13rpSrbASyMvlTBgaNYSlfcVuAjev31HgmxYz7C3MtNeGJtG8K6jLmqBU s2fsRAYQQ9nfW8fDxYTNb7uujdneMeeLcE4OnDA2oOIWUoKw6yQAKUc9yhOiBv+lieA0 shyyrE6h+0IlmE8nC40nmjkBTt7GyQZjUOhfe2XYkMGw4DXXAIgor+KXhxqHbUj0mLMj F9hSe2cRUYMHXuQgfej1ezv5pOpYTuYs2QZ1J9YuPH9wO3H3ofizdUbCexsp73qX221o YeAA== 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=vTUCdRdUm0KHkgtUEtfz6t9BK78GKOREEwvml9BKNmw=; b=bYrARdQPK2OjGXtIln2Bsl8/yk0ZTY9xezTL3PR64ZWJ9wtwpcxJj4kHJsWQlDIqE2 Fw8ufaNnwksVukt0cpFA1jI+6xz2wK8Z3dpdZoKgmmwOwlg2+Cx7QgLQaP/frBAqJTta XGY05JiL92rqDgEmjXdUEdJB+dGAJ9LgUwWwXDeN95md7Fx5ioeHCNHfLS9a8TPOPvff OSVSr9XQubdIHCMZhKA1i5nq96MfHfaH96hwav39jQn1MMRCXEh+lwC/TCG7/o8ZWXLQ ZR8/naU9BIF4L2HsFM7MeID6p8eh2KY8hMdYjlhRZP+hEzvxpWGrlHpbp2dBoE/QLXmx ccVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DLLlfab6; 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 n15si5493569edv.534.2021.03.25.18.55.45; Thu, 25 Mar 2021 18:56:07 -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=DLLlfab6; 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 S230218AbhCZByt (ORCPT + 99 others); Thu, 25 Mar 2021 21:54:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229919AbhCZBy2 (ORCPT ); Thu, 25 Mar 2021 21:54:28 -0400 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E79D9C06174A; Thu, 25 Mar 2021 18:54:27 -0700 (PDT) Received: by mail-io1-xd35.google.com with SMTP id e8so3897131iok.5; Thu, 25 Mar 2021 18:54:27 -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=vTUCdRdUm0KHkgtUEtfz6t9BK78GKOREEwvml9BKNmw=; b=DLLlfab6j71ACe4egQhHoCKHNSUXFaq2XV3tZr6pnstZXPGnFjwfjBLmQpptWWFUs9 S3QFn1EaVLUOvQ2cEwoc0PBa3sjxIEdOpXayMUgCzwSsWIo3i9L6wLn+ZQrZ4eejxhLq hgdEtQ0sN26fB1+dGcbypJ0JdI2qv6+tjhHXJoJAf2+LacRDqmc2PcDH0egOQ6B+UvhB 4513U7d4hoaWskrKTSuqyst6rTDKbezD7MMDGvDh1ezncek5xgvqZLnstkolo5DdedHx 8Vft4sIGPE5b8ue/4JplTr8vCLCEJ9uAvodo6LdijBTFlEnSd8PK1aZoHmc9cN85QTJp 95QA== 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=vTUCdRdUm0KHkgtUEtfz6t9BK78GKOREEwvml9BKNmw=; b=bodCslytTKw2Kr62/s/4fyjxEieT3zSvJvPLVM5uQsPGNhDhcjC9PnzA/3LLwXBxPg jyzSk1JTH+uXyiKD2wxQKmn9kDeBc8OGr/e9Uqq2GYWr8BILGXrnE5zAIKv+I+tzHo7E xkWz5Y7z2XdCtfqXPDqjyIqIhQRHChc5QCmbSYUnSLoiPA85i2JsJCuBNGLwP40Jj9y7 OElEO4nFjHqkQd+qkV8kBRFCnZuJlsXHhXRYRo7mppO/NoMoabB9nIiqL+QK9587FNbo uYZZpiBMqm5yDWLLqvIrxayEFQwUW4z+G20rEaGHS6iBiZHIhEndZW7TdiNMJNG0UkJS /Vdg== X-Gm-Message-State: AOAM53209vzO0SZoVSGAhcFEVhvsW5cQk8o4SABEg6SCSI+SBtJYlYrs /cbgoS5v9c5Wv9wXpB3RRbvRKNQv40zR2gjkmIM= X-Received: by 2002:a05:6638:dc3:: with SMTP id m3mr9892355jaj.130.1616723667467; Thu, 25 Mar 2021 18:54:27 -0700 (PDT) MIME-Version: 1.0 References: <1616653162-19954-1-git-send-email-dillon.minfei@gmail.com> <1616653162-19954-8-git-send-email-dillon.minfei@gmail.com> <068cb7ae-9afc-606d-2579-189e46516cd5@foss.st.com> In-Reply-To: <068cb7ae-9afc-606d-2579-189e46516cd5@foss.st.com> From: dillon min Date: Fri, 26 Mar 2021 09:53:51 +0800 Message-ID: Subject: Re: [PATCH v5 9/9] dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties' To: Valentin CARON - foss Cc: "robh@kernel.org" , Alexandre TORGUE - foss , "rong.a.chen@intel.com" , "a.fatoum@pengutronix.de" , "mcoquelin.stm32@gmail.com" , "devicetree@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux@armlinux.org.uk" , "vladimir.murzin@arm.com" , "afzal.mohd.ma@gmail.com" , "gregkh@linuxfoundation.org" , Erwan LE-RAY - foss , Erwan LE RAY , "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 Valentin On Thu, Mar 25, 2021 at 7:12 PM Valentin CARON - foss wrote: > > Hi Dillon, > > It's okay for me. > > Regards, > > Valentin Thanks for your test, and quick reply. > > On 3/25/21 7:19 AM, dillon.minfei@gmail.com wrote: > > From: dillon min > > > > To use additional properties 'bluetooth' on serial, need replace false with > > 'type: object' for 'additionalProperties' to make it as a node, else will > > run into dtbs_check warnings. > > > > 'arch/arm/boot/dts/stm32h750i-art-pi.dt.yaml: serial@40004800: > > 'bluetooth' does not match any of the regexes: 'pinctrl-[0-9]+' > > > > Fixes: af1c2d81695b ("dt-bindings: serial: Convert STM32 UART to json-schema") > > Reported-by: kernel test robot > > Tested-by: Valentin Caron > > Signed-off-by: dillon min > > --- > > > > v5: accroding to rob's suggestion, replace false with 'type: object' > > of 'additionalProperties'. > > > > Documentation/devicetree/bindings/serial/st,stm32-uart.yaml | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml > > index 8631678283f9..865be05083c3 100644 > > --- a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml > > +++ b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml > > @@ -80,7 +80,8 @@ required: > > - interrupts > > - clocks > > > > -additionalProperties: false > > +additionalProperties: > > + type: object > > > > examples: > > - |