Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1170021lqo; Fri, 17 May 2024 13:00:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUb8uMuyGomQLpflVDamosUbn00bdiINNrEMI6f/Oiw8Xr2wp41xJPGYzSyfWyvnP/xO9tbRPUP1vniE7VN01rgKejkGx4LYdjKoYfKpA== X-Google-Smtp-Source: AGHT+IF92vY5JkHeihPdOlj85yPUt31TkZEK/Kil6tX/6C/wuEI/6P4sLR/7dpNBlbazlOcT7uwe X-Received: by 2002:a05:6359:4c81:b0:193:f899:f9b9 with SMTP id e5c5f4694b2df-193f899f9d3mr2199046255d.9.1715976033107; Fri, 17 May 2024 13:00:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715976033; cv=pass; d=google.com; s=arc-20160816; b=cr3Rv/Wm4zOlQwahwa8BgXP0zbxKglt+C+UiYMS6hEIh3enqMYDM6IvEcNP85bdMFV BqdYsY6QgpeOaYDhiLdz6LyoziScaiVPX/owlqBU2wVUwRoE4p8E+c1iKkJxV0bf2MrX B+Y0MuAC9U+BIYrwkApk39Vx0kvwyQNBND9ctqXO37avcjDcMhaDMUdeM22fX4vlm1JA ykyQMhwN2HG5t1FwwYOoXoKfXsMf5zA3XpB25WWCHdwCxQtIU14E6y7g4F/BukQo7mx7 uv9PDJsrHDvltNA8O5bxn5WNk+gX5O25TT37HPUFUWaEGYaJToQMSkgjyXsasFD3HMEU bMaw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1Ici9KPsIbOxU0yFlfBE4fkDBgme2FQvtIkpuymDYXU=; fh=ujJQIuJ/w3yyqcTAfvH58TpPU0KDXIbS5nj8n1OE2cs=; b=SkCG4q24ZTN4B088SGAaDhTWc1CMgojfn9PK0diWd4Q+JZifES2fRQarnhwt4TKTEC EkdIPhmhKXlNxt0ayGH9M8J3eF0jNrbl8LWdvcVWcLNCy7oCx1A/OuUbNCqn0hcinGx/ OypANAoHeVX/dqCz5GnKrr7+VEioFFT/rWtwlCNyIGa5RbiBU1RICeymsDjJ+CzQtamV dena9XuQGX/pCn4epqw8pUvG01IVxcrmV1wtxALVU+aYbBB9ew1bVkHtJ/VyWZsOPgO8 t5ubt3AtWGcPrLWcSCE3lQExu5vGgqAGTHMb1h5Q+leN9VKB3qMlFpNoQW60aEvEM998 ERAA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uO0fxI8F; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182601-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182601-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43e0010749asi174569531cf.421.2024.05.17.13.00.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 13:00:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182601-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uO0fxI8F; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182601-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182601-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 108B31C237CB for ; Fri, 17 May 2024 20:00:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1941714039E; Fri, 17 May 2024 20:00:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uO0fxI8F" 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 3BDCD1A2C20; Fri, 17 May 2024 20:00:23 +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=1715976024; cv=none; b=OlNZNW0VeZtaf75p85r/z76SFWeASki5z/zkwsK0sXYcwtHwTBbO7cUb7PlBuO4+xNN+mTQ0u+mm171dPOA+L0u44hbXfWFGOdK8IA85pNue4O2HhUVSELzqHAWTJu+iY50Wb/9pudLSLIbgwDOSBAm7SI++Uk1fq/QBAIDQd/c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715976024; c=relaxed/simple; bh=mO7CseUBhealxcctlNPit4cFTmehA1i4nglslSvX8Xk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IqUwzMPc2mO0LmDSrV/ZzPaeqKBcz08uFTS5pAaNPCC+KLmus542ImYDHrLJPLvNgBTqBi5K6E6tQAmXMFGVgV0igPXHNy+dQ0i+PYVuNgfnA9gs2fMyU7+m/Fbg6slBMOFYziDMdSat0zTX4XbXYWYIT7cXGuSC755UzxnLjxo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uO0fxI8F; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D682CC2BD10; Fri, 17 May 2024 20:00:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715976023; bh=mO7CseUBhealxcctlNPit4cFTmehA1i4nglslSvX8Xk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uO0fxI8FFLkYVRhck0Wkwx/iUrrEBPSCiE1OLZUMOTKhIS+nXvu1wE+JoKWtqMEtA LXJ5vd6gSyk8beFp1jqgCWWEHoYSMKILQksgqSed+SLOCXZ8siJx9RvnbFxYL9oPcE YZ/PS0lL2aLLwNdh5F5w7oqBH4DqJ3UuOUUqqJ4hmNpfO6PFnHwdB3AHvfCIT08gKP 9gr/2lLLvdSP1GDtTLKySmBavbprNQNj1rnAcJw4nPbaxI7Rd0S++A6+oGrL+bZJE3 wRjdxVd3SheJRPYXMsUIYfTRjQ8ZW+5hjhOZG72KO8sw73dk0W4LhsxVZ1S58FbsBp 8zNIkWQplmvZw== Date: Fri, 17 May 2024 21:00:17 +0100 From: Conor Dooley To: Kanak Shilledar Cc: Kanak Shilledar , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Samuel Holland , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH] dt-bindings: interrupt-controller: riscv,cpu-intc: convert to dtschema Message-ID: <20240517-browsing-trespass-a46ef27fc115@spud> References: <20240517150741.181303-1-kanakshilledar111@protonmail.com> <20240517-disfigure-disperser-1fa6b36729ec@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="D4u/o0+VChCwFfPF" Content-Disposition: inline In-Reply-To: --D4u/o0+VChCwFfPF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 17, 2024 at 11:21:54PM +0530, Kanak Shilledar wrote: > On Fri, May 17, 2024 at 9:34=E2=80=AFPM Conor Dooley w= rote: > > On Fri, May 17, 2024 at 08:37:40PM +0530, Kanak Shilledar wrote: > > > +properties: > > > + compatible: > > > + const: "riscv,cpu-intc" > > > > A new warning with dtbs_check from your patch: > > /stuff/linux/build/arch/riscv/boot/dts/renesas/r9a07g043f01-smarc.dtb: = interrupt-controller: compatible:0: 'riscv,cpu-intc' was expected > > from schema $id: http://devicetree.org/schemas/interrupt-contro= ller/riscv,cpu-intc.yaml# > > /stuff/linux/build/arch/riscv/boot/dts/renesas/r9a07g043f01-smarc.dtb: = interrupt-controller: compatible: ['andestech,cpu-intc', 'riscv,cpu-intc'] = is too long > > from schema $id: http://devicetree.org/schemas/interrupt-contro= ller/riscv,cpu-intc.yaml# > > > > There's a duplicate description in riscv/cpus.yaml: > > interrupt-controller: > > type: object > > additionalProperties: false > > description: Describes the CPU's local interrupt controller > > > > properties: > > '#interrupt-cells': > > const: 1 > > > > compatible: > > oneOf: > > - items: > > - const: andestech,cpu-intc > > - const: riscv,cpu-intc > > - const: riscv,cpu-intc > > > > interrupt-controller: true > > > > I think the one in cpus.yaml should be converted to a ref and the > > andestech compatible added here. >=20 > I am working on the v2 patch, in which I didn't provide any ref to the > cpus.yaml and just replaced my compatible section with the one above > to resolve the issue with `/renesas/r9a07g043f01-smarc.dtb`. I tested > with others and didn't get any warnings. Please don't do that, we shouldn't have two different places that each are defining compatibles etc for the hardware. Thanks, Conor. --D4u/o0+VChCwFfPF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZke3UQAKCRB4tDGHoIJi 0q6PAPwKVqnbhecYJjHe4HwYA3O0NAWGknlpQcOFDft4MhEAGgEAhNhFfkElcT02 xQCzM1ohYrPWjt9F8QeIP9AviRyqswU= =03KH -----END PGP SIGNATURE----- --D4u/o0+VChCwFfPF--