From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E9BF3C4828F for ; Fri, 9 Feb 2024 09:11:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Hk2wbUAR+JGrsgdkbBj9RlLFSZK7Z5YQk0CShGlm8lw=; b=kVtHzGGwQAOgdi r6apxUfKquyUKiQjcXi+HPxsf5SnEW0Hrm22P7GzdJJe/XyBCwCom75ReJkfQr7nkp1pfUbodlC+u dpw1xIk0gkO1it/UGLPkaWOlInHI+I4K2RCMEKGoRmwhyG7yXt8UqUvMHXgSWK1F8Xpqu9AmLuMZY w2OZudCnKX9HXHH9GSPTxQErA+RHMJBhSxSorTFCfpZKBPztE94RF8Kn8fnSUj8ErUYeRfbYm3eMY tVMfp6LMTlBnn2dNmCNqRxTtlDmq/6EjaubtLpGgbDNokCYcp9cwB3b/9C9SnxRTxi59FeIZABP3J 0mCFf6qSE0x03dUxMuVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYMuU-0000000GXVt-1QHt; Fri, 09 Feb 2024 09:11:02 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYMuR-0000000GXVR-2V74 for linux-arm-kernel@lists.infradead.org; Fri, 09 Feb 2024 09:11:00 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id BB7FDCE1F78; Fri, 9 Feb 2024 09:10:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83956C433F1; Fri, 9 Feb 2024 09:10:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707469857; bh=2tfCumvAfLhiJke71zLdarIyZlLzb2v67s1JNdNfYE4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PLSM+ZLVyO9cMRYFDiAXMkTAvP6/CL+7LzNxqAN0LmSar3WdPn7Rth/JKcWdnPZY1 T4bLq5EQEqo9Iaa4V4poyneLudYfaZ5ljHUqDo14YP3ydLBrglPBd7L1cwWLgWUDiR OzRTdVZklEw02xm3NxQtWI4nKxXzgKE6UJTv0TpRNs/x4vAD4RD7UfpI5aqBkioL1E gsY6WJlsfxwl5X/gejxswxihXzamvLlwGavAO2ycJzw2oFy1vfrGCS2jaLNEGP4PjF 3OEBg0tfglEKEXX/Qt9RCE1bWeLt1YvMGv3PV8I2JXTJBjeAUWDLiKsHd/lRPqtaiL zgJ9Mpx71oNnw== Date: Fri, 9 Feb 2024 09:10:54 +0000 From: Rob Herring To: Dharma.B@microchip.com Subject: Re: [PATCH] dt-bindings: interrupt-controller: Convert Atmel AIC to json-schema Message-ID: <20240209091054.GA3291998-robh@kernel.org> References: <20240208092015.263210-1-dharma.b@microchip.com> <170740748922.3230402.17318224112819715619.robh@kernel.org> <20240208-acuteness-visible-b60cd37c2b32@spud> <8dcae60c-1aba-4e76-99cd-de78c2c4ba6a@microchip.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <8dcae60c-1aba-4e76-99cd-de78c2c4ba6a@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240209_011059_836868_A53D1A0C X-CRM114-Status: GOOD ( 23.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, alexandre.belloni@bootlin.com, conor@kernel.org, linux-kernel@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, claudiu.beznea@tuxon.dev, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Feb 09, 2024 at 06:31:15AM +0000, Dharma.B@microchip.com wrote: > Hi Conor, > > On 09/02/24 12:19 am, Conor Dooley wrote: > > Hey Dharma, > > > > On Thu, Feb 08, 2024 at 03:51:31PM +0000, Rob Herring wrote: > >> On Thu, 08 Feb 2024 14:50:15 +0530, Dharma Balasubiramani wrote: > >>> Convert the Atmel AIC binding document to DT schema format using > >>> json-schema. > >>> > >>> Signed-off-by: Dharma Balasubiramani > >>> --- > >>> Note: I get the following warnings on latest kernel but not in 6.7. > >>> Should I be worried? > >>> usage: yamllint [-h] [-] [-c CONFIG_FILE | -d CONFIG_DATA] [--list-files] [-f {parsable,standard,colored,github,auto}] [-s] [--no-warnings] [-v] [FILE_OR_DIR [FILE_OR_DIR ...]] > >>> yamllint: error: one of the arguments FILE_OR_DIR - is required > > Hard to say, how were you envoking the command? There were some issues > > recently with dt_binding_check, but I thought those had been fixed. > > I use this command to validate > > make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dt_binding_check > DT_SCHEMA_FILES=Documentation/devicetree/bindings/interrupt-controller/atmel,aic.yaml Humm, not sure. Will have to investigate. > and also dtbs_check. > > version = yamllint 1.32.0 > > > >> dtschema/dtc warnings/errors: > >> Documentation/devicetree/bindings/interrupt-controller/atmel,aic.example.dtb: /example-1/dma-controller@ffffec00: failed to match any schema with compatible: ['atmel,at91sam9g45-dma'] > > But you didn't see this warning? > > No I didn't see this warning when applied on tag:6.7. Don't know why. That's because it just got enabled by default. > > > I think you can resolve it by just dropping the "user" example from the > > binding entirely. I don't think it adds anything at all. > > I intentionally checked the generated example dts file and found that > both the examples look correct. Maybe so, but how do we know with no schema? Your choices are drop from the example or add a schema for the DMA controller. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel