Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp3061467lqz; Wed, 3 Apr 2024 17:57:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV5oQgrVUQPeXJ5UorNu579EfohPDTGEhbaUO5nERDx2RLVE+rfAq0pdbqrD00xKpMfcTtyk5TyhLk/+vNyAzQwYav6FAOszbTkCehQnw== X-Google-Smtp-Source: AGHT+IGjv5OhUjMu/GYdT+49W5q+r31lvlm8qBCzJfpnV3r6CmgNod7FUwJMw+ickRiyyGTXh1IP X-Received: by 2002:a9d:7d0a:0:b0:6e6:85d6:eabe with SMTP id v10-20020a9d7d0a000000b006e685d6eabemr888861otn.10.1712192244801; Wed, 03 Apr 2024 17:57:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712192244; cv=pass; d=google.com; s=arc-20160816; b=r08yQRhujigXsryTmZtjwtZQlSA5EP3cQsVDGhqIGCfpWG62ZecPpyzWDnOCoF/puA EngdXRyG7qpAMrXLq/DxrvHjFUWVgga7OCRZWjotm0mHj+uzaJVwwhFHoluJFWwLSCO+ +sx62fAq2M3lRk9J4TgD9pzoDsvsIVedmAkQY2HGYBR5h+kkOb1Y1vYtBerwxB4ZIRgM vDjg7UeXJ83pZaBh188KPX0a1iOhN4+hI6VCtEDITZiXzx3F9PWO8agjA6mFpjLRJdYa Z4luq+Ds4hId1tI5coBZrfJfGw8CWSvJ2Uw6FGixXPOBHKRwWBiSvlXXiAVdh6y0iY0B iM+Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=7XBJv5sXFllW6o2Z1qUfGGSmKeySAzOgxYx/fU65DDo=; fh=Dvjt5ScUIXtSs+va0p5wSxBEzTTazEynYovbzEdJ784=; b=ImqwNz4MZc2sjlYip1ib4R+7yrS/A/x6l52g1TJp2koNIzM+SUsm66q4TSUZ7scpgz 5t8wutQRVGafD3c8afJQYnYhvwKNQPMylmPWFcVSudP8sjzMhZLlZ7x2T1XVBfAE0KUZ 1CUwuBIHdjLbAEV09FJRHjgHLClIgp+5VVmhe12wbkrgvHeJuskVRlL9SMjY9ZpB3Ug+ //ugyQP6EFH4EhBvOB5KF6WW+sSwqZaUC8S9Uwdin0vUxg2GT+Mr7l6VWccXJJieXCA1 S0q83p/jy+KGOgnDHDIiOaVpZOz94O0rvzB5Fh0IeyWvkxrqRGba4qz4s07n54fHdtIK gMBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=KMKihofe; arc=pass (i=1 spf=pass spfdomain=codeconstruct.com.au dkim=pass dkdomain=codeconstruct.com.au dmarc=pass fromdomain=codeconstruct.com.au); spf=pass (google.com: domain of linux-kernel+bounces-130781-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130781-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e17-20020a635451000000b005e42b5cb08bsi13367978pgm.110.2024.04.03.17.57.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 17:57:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130781-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=KMKihofe; arc=pass (i=1 spf=pass spfdomain=codeconstruct.com.au dkim=pass dkdomain=codeconstruct.com.au dmarc=pass fromdomain=codeconstruct.com.au); spf=pass (google.com: domain of linux-kernel+bounces-130781-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130781-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 30FBDB24BE7 for ; Thu, 4 Apr 2024 00:27:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2DC1F2907; Thu, 4 Apr 2024 00:27:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="KMKihofe" Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2844A184D; Thu, 4 Apr 2024 00:27:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712190436; cv=none; b=h5klxbAfaSpz0zndZiGa5BdKfaw8A92wbc0SP2nbjcI6JOXZyHIrEdtnY36XPlQveI+PszcSJXNLqblW/HtVOMDmlz/uAQesGmexkYtc06aDcrCwMcwwZGpRDGGqYs2xoz+Dzy8DyjAQTmGSlPrCRNnKaBaqB0f5NZLo3yQvGjY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712190436; c=relaxed/simple; bh=v/vIa/rR8iRyMy4mIpAf1wWxqzwbq+JhVF4Y2ktEIAQ=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=YW5JHVlJ7866pl79e5/cnAcEQrcQPOskDkCnx989SOJNsPVUBpmc+bvnnbSvHZTtN8QBjSjK1Ldj8kFeKVhDpKFrz2gO9zfQ/rd/l5EoxxB1k0c8xB4b0/xZCNeLslxdPiRLaVDJ5KemHLxCS4tBOa+FX1XD4q7p1gPW9voDFKc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=KMKihofe; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Received: from [192.168.68.112] (ppp118-210-182-70.adl-adc-lon-bras34.tpg.internode.on.net [118.210.182.70]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id CD58320172; Thu, 4 Apr 2024 08:27:01 +0800 (AWST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1712190426; bh=7XBJv5sXFllW6o2Z1qUfGGSmKeySAzOgxYx/fU65DDo=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=KMKihofeIwJ5nFzr9rQ6jaTGM8JkIsM88UxAya7N3V3td2wYInXkbxhN4x2bfPXnc 6bc4M7rVw0UfgL1YD1QunC9k4bPWoTwTPRMghNm9ELeJyAy5a9QMUgXIQ2NNuoTTpR RNBzwmlKIwzeVisUPu/Sin/4XaD+G9S5+9UbnpBwldoxXicbThPk3FX/37bSTiHuMv hTD+rMM5ubqiu0BIG/tRIQ08n34xFzDKtPOICO9DhZFFDQF6si5kqe9Fhbm15OJXYx Jp1qcUoBGCJpXndHnXvBOnr3T5xX0ARuczw0DPLlZkYyEIKNlYNNqMZrrOiY9WGA7+ wtT+HTc+9+kEw== Message-ID: Subject: Re: [PATCH v2] dt-bindings: watchdog: aspeed,ast2400-wdt: Convert to DT schema From: Andrew Jeffery To: Rob Herring Cc: wim@linux-watchdog.org, linux@roeck-us.net, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, zev@bewilderbeest.net, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Thu, 04 Apr 2024 10:56:59 +1030 In-Reply-To: <20240403171321.GA3996007-robh@kernel.org> References: <20240403020439.418788-1-andrew@codeconstruct.com.au> <20240403171321.GA3996007-robh@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Wed, 2024-04-03 at 12:13 -0500, Rob Herring wrote: > On Wed, Apr 03, 2024 at 12:34:39PM +1030, Andrew Jeffery wrote: > > Squash warnings such as: > >=20 > > ``` > > arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-galaxy100.dtb: /ahb/apb@1e= 600000/watchdog@1e785000: failed to match any schema with compatible: ['asp= eed,ast2400-wdt'] > > ``` > >=20 > > The schema binding additionally defines the clocks property over the > > prose binding to align with use of the node in the DTS files. > >=20 > > Signed-off-by: Andrew Jeffery > > --- > > v2: Address feedback from Rob and Zev > >=20 > > - Rob: https://lore.kernel.org/linux-watchdog/20240402180718.GA3585= 05-robh@kernel.org/ > > - Zev: https://lore.kernel.org/linux-watchdog/65722a59-2e94-4616-81= e1-835615b0e600@hatter.bewilderbeest.net/ > >=20 > > v1: https://lore.kernel.org/linux-watchdog/20240402120118.282035-1-andr= ew@codeconstruct.com.au/ > >=20 > > .../bindings/watchdog/aspeed,ast2400-wdt.yaml | 142 ++++++++++++++++++ > > .../bindings/watchdog/aspeed-wdt.txt | 73 --------- > > 2 files changed, 142 insertions(+), 73 deletions(-) > > create mode 100644 Documentation/devicetree/bindings/watchdog/aspeed,a= st2400-wdt.yaml > > delete mode 100644 Documentation/devicetree/bindings/watchdog/aspeed-w= dt.txt > >=20 > > diff --git a/Documentation/devicetree/bindings/watchdog/aspeed,ast2400-= wdt.yaml b/Documentation/devicetree/bindings/watchdog/aspeed,ast2400-wdt.ya= ml > > new file mode 100644 > > index 000000000000..be78a9865584 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/watchdog/aspeed,ast2400-wdt.yam= l > > @@ -0,0 +1,142 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/watchdog/aspeed,ast2400-wdt.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Aspeed watchdog timer controllers > > + > > +maintainers: > > + - Andrew Jeffery > > + > > +properties: > > + compatible: > > + enum: > > + - aspeed,ast2400-wdt > > + - aspeed,ast2500-wdt > > + - aspeed,ast2600-wdt > > + > > + reg: > > + maxItems: 1 > > + > > + clocks: > > + maxItems: 1 > > + description: > >=20 > You don't need '>' either. I guess it is equivalent here as there are no= =20 > double newlines. Drop these if you respin, otherwise: >=20 > Reviewed-by: Rob Herring Thanks. I've made a note for the future to avoid `>` if it's not necessary, but at the time I figured it wasn't incorrect to include it. Andrew