Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1100926rbb; Sun, 25 Feb 2024 20:33:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWMBqraHLX40hRY4zzQN2Eyk/0V9q5swXt2OPy8CsNFNcrhW89XnVb1umyysxRfP79/4tpd9iAFbEKIBo833kiJ4V0Y26Ta/GZkn4vC2A== X-Google-Smtp-Source: AGHT+IGcpxiwD7CNcISLsbAK8N95RujHJSIryReqCjDxBfMXEes7BLD9lCvt/lfRTPTvMxkoRMGA X-Received: by 2002:a9d:7e99:0:b0:6e4:7271:2bdf with SMTP id m25-20020a9d7e99000000b006e472712bdfmr6026331otp.32.1708921988399; Sun, 25 Feb 2024 20:33:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708921988; cv=pass; d=google.com; s=arc-20160816; b=zRFLoJnCUgrVDiNn/ZlzadaiZkrTJDEd4DGH7MIo4s/vfDvr2ViemlaW72i9VrVkLn MY6MDXIEJwOmv1ijftMiqBrZXm2W8uK3jRyb/pch0Cw0bZ12D7LG8HP3MDeRtrrO/+7P 8XSv9Wx6lxtdVH0C+EFFQArHeZ3nE2OXBRcyNU8x1FjIW13v6TpdXsasyDXBSuL0x7U1 emlz8gjEvOUa4f3gwka5dlJCYucUBlZNZCTn7vXdkBy1+Ge+rKh847czWqM4VyoJBpFG 81q9v3A6WmqqCzBlbpuLzp9dGsBI5s8NXMTu4C3woxLr7B5qUduoVgRWDAVk9f0kEPVh 1xDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:message-id:references:in-reply-to:cc:to:from:mime-version :list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:date:dkim-signature; bh=2/bhjJgO3ULglExxjLfsi1n5zICWJUTTNCyrf2RPe90=; fh=M4zIqpbNePokgj73U30gNFUmUg0z44QXEWnkVyjeQXY=; b=F+4hCdsrUnu+O/o7Gvq19+EgFdA0L/DD6YuEu1i/0yxmE2x4aydgj8NW5ZD9p+n0GG ptAEe1NYzSiCI0Z0DkzMvOMseOTd9TrE3sPT1MPnSbu2XTJ60lHXt/9tcLk82JoHvVek fUUB7OBSGmS9Hafm1YFdoJLHyRsbQIECz9Fg9UQzpM2FCS5sl1PP8DIZrReXPfwOPIj+ nYUFKCbSYE051zJBGuQsQcgfeiDFUlm3ffGwJH36qh/tz+cFQZ+4rwjvQqWBODqZ0b84 96P6GUAzxNOjuj4C/QjRUIuJnHj7MJqL3uEyZrvOgi8p5G+93l6xawSJpUng/DcKAD18 l5vg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k+6UxHEV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80552-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80552-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d19-20020a63d653000000b005dc816b234esi3171771pgj.629.2024.02.25.20.33.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:33:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80552-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k+6UxHEV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80552-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80552-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E7E6F2823DB for ; Mon, 26 Feb 2024 04:33:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E29101B297; Mon, 26 Feb 2024 04:32:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="k+6UxHEV" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 127DE2C95; Mon, 26 Feb 2024 04:32:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708921979; cv=none; b=CEaOaJozDTEA9IkOUXkT/Gu3yn6HAr20ft+PP6RlZXX1g+1crCrdDPfc1iFxt9BeDCFL60jeubjZuXUtzpjBTc/VFUvL8w5m6uv0s8IF1AOB6VQoHnkhlSYSTjx2YGV8gIBk0xYIFAMFQSLZOTVnAnbrQyhEyoVEYpUdQUvuiUk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708921979; c=relaxed/simple; bh=UyIFY1ZdOTrpNJDACeBp/smy1YdXjQKO9VX0E9zhzWM=; h=Date:Content-Type:MIME-Version:From:To:Cc:In-Reply-To:References: Message-Id:Subject; b=s/cq/Pi4l+wo8/7tzr2lQ5JVfTFy65gy7pgO1As3bsILjlivd+Y/qPHbE55MuE6rcMFJcoP5LesG4g4PfoXyAeKDVgNK1WFBXQGAVS2KFTeNUnHysu88eRAnHL8Fd2ZdyMTFfu6n7auzhcmRq4eXiCeb6zPiH3b20Wuv5zwBwHw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=k+6UxHEV; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4EB41C433F1; Mon, 26 Feb 2024 04:32:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708921978; bh=UyIFY1ZdOTrpNJDACeBp/smy1YdXjQKO9VX0E9zhzWM=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=k+6UxHEVHt7MXs9vKkItwmiIQk2kglVUgCWQ//kySatUBnu6y0yxDAvm+z83WphO/ Vd0oseZp3aDZk9f2FUL3Zd2RucUiXO1qqJvE8X9BUmHIr3TcOWMBCdhn+/cDZpmUYu OAD2IQDN4BQHStml0ctUmmnYC+ZC/eovI092b0FHZe+W3t06cVoXHzORrkyef5gKLV 0wYkTQRThL5Df5rSU+LXQgAJi2oCzx0mDaFd2Xa05sV8fJhqMPwAFOQlk6fGeQf3rt yZEXlQLTMX8POvdtpQlYKqiRl3/om3pt314JhLuUnm6CvTSuZHZ6P9RR4eCtuVw5A2 3Gewa0QVACG4g== Date: Sun, 25 Feb 2024 22:32:57 -0600 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Rob Herring To: Andrew Jeffery Cc: brgl@bgdev.pl, joel@jms.id.au, robh+dt@kernel.org, conor+dt@kernel.org, linux-arm-kernel@lists.infradead.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <20240226031951.284847-1-andrew@codeconstruct.com.au> References: <20240226031951.284847-1-andrew@codeconstruct.com.au> Message-Id: <170892197611.2260479.15343562563553959436.robh@kernel.org> Subject: Re: [PATCH v2] dt-bindings: gpio: aspeed,ast2400-gpio: Convert to DT schema On Mon, 26 Feb 2024 13:49:51 +1030, Andrew Jeffery wrote: > Squash warnings such as: > > ``` > arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-galaxy100.dtb: /ahb/apb@1e600000/gpio@1e780000: failed to match any schema with compatible: ['aspeed,ast2400-gpio'] > ``` > > Signed-off-by: Andrew Jeffery > --- > v2: Address feedback from Krzysztof: > https://lore.kernel.org/all/0d1dd262-b6dd-4d71-9239-8b0aec8cceff@linaro.org/ > > v1: https://lore.kernel.org/all/20240220052918.742793-1-andrew@codeconstruct.com.au/ > > .../bindings/gpio/aspeed,ast2400-gpio.yaml | 73 +++++++++++++++++++ > .../devicetree/bindings/gpio/gpio-aspeed.txt | 39 ---------- > 2 files changed, 73 insertions(+), 39 deletions(-) > create mode 100644 Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.yaml > delete mode 100644 Documentation/devicetree/bindings/gpio/gpio-aspeed.txt > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/gpio/aspeed,ast2400-gpio.example.dtb: gpio@1e780000: '#interrupt-cells' is a required property from schema $id: http://devicetree.org/schemas/gpio/aspeed,ast2400-gpio.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240226031951.284847-1-andrew@codeconstruct.com.au The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.