Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp430982lqp; Wed, 22 May 2024 08:39:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWuoNOoX45Zo5/Cssklbzc63+tAozJZnnT7cTSNX3Xsf4/s5VWC6CQz0MJotuUa3HTi3opwbwEaD9kglp7hBzHlNIwYuWVNEcF6svCz5w== X-Google-Smtp-Source: AGHT+IEET5OGXh6rOItCPLGm6CmApHeEQPPdsYu5QXN3yyVK9LUsrsQj9Av46pQRc6BUeMwVyOQT X-Received: by 2002:a05:620a:1675:b0:790:f6c6:8277 with SMTP id af79cd13be357-79499455f4emr245506185a.43.1716392385114; Wed, 22 May 2024 08:39:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716392385; cv=pass; d=google.com; s=arc-20160816; b=KS0CG/cUTB086QyNRBMQ7gE+zRGPlao+JdEAfh7EDa7P7cgtkB/TxrXS3X0w0LVO2V yt93vkJdHUQIDyMUPkWioV/Fm/psdPUbrErznMYciwjhtuXnrB08BAsv3jl231Pdp3dl xO/HB/eQN/QHUbIKJGO7h0JRJdf2Ke1r0RB/WnufUP61qGfdqQ7XOUl4u8ayXHgRtJAQ DEEowNSLe/CM1TsqoiKTcHQpOAX61FbhhSTqwS+ogZtOqgSsjz5afKU1vru7Tie9nlJH zoMqepr3XaSCChJ1PPRqhxXDVCEognbQLjKtJb7RH1ZpUJAqh6XF7mMwx9tAlaeUF9Ff glNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Yvxfqkh+gSZbJyfshoQXFXdD3Y8gaC/pv6t5Ay+4a2U=; fh=wboIpY17S6EbZ97Fppzv4v0Nj87MYmVAK7hatLfyG2U=; b=CHKs1dooD3TYjupMxijcdZqoyJ8BTAfOEvSgEgx3hAsyDH+AuGsDcbupJHr6gCBuBF 5JDaDVGSvb2D30Ora+QHmJI1Zgm1zTnAfH2O4gV8Xk1tt0Yu255iJeyfx96DbMT98gH7 QNn1IeBztIxWo8MlQNC1Kg4bdPCwpfHCUrxTf3mBjYotUdm3sddpEPggavq/qb/t8jST dk7PUn3dLrz9fT4bBdQ1Fl7/tIz3AVV3TNppfE+OGEtppSx3p98pmeZdWmbLlFaL6vL8 FVvDTImSbFThiMKoNgyuXwl5r65vLAQ5dpLoNQv1v0c4ILue60KwYHftFYFO3pJkL22H fLkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=M25bdmuK; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-186444-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794769863e2si7920685a.463.2024.05.22.08.39.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 08:39:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186444-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=@gmail.com header.s=20230601 header.b=M25bdmuK; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-186444-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 D4A751C211B6 for ; Wed, 22 May 2024 15:39:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6445F8174C; Wed, 22 May 2024 15:39:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="M25bdmuK" Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4CA667D08F; Wed, 22 May 2024 15:39:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716392375; cv=none; b=t48NA8R2jteZU0FnSzyTMgJ6TbR+Mwb8L9CE00IHSmWWimR9H/xPwtQBLDp2hsAeMTIualpfRwRnW3UMT/2Mw/6PNTnQ6MXJe5Qvr+0GKTi3r2HNXwE6EdV6877jvItgKaBDpb7r6zuRHpH/MR633mMrA+vyiqvahsNV+OcX5fM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716392375; c=relaxed/simple; bh=llwxsV6MdWU8g+0kKVxnq7Bbcc5fXyWJzVTZ0a6TsQw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=k1cIWSDVmFR5q3OOaPH+acx4+oXIjjk/i94uo0CnvjL+O5n8HkymznGjPW3WQ53jZ90VGxpIBhkzICeEmu80mfGB0+QGPP+R+onz8qWk2DE/VUODdPN5xE1BaOq/l1k3iQAaWKZznm/yj9krar3YODb8HZJFI5i91jAp2LGqaRI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=M25bdmuK; arc=none smtp.client-ip=209.85.214.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1ee954e0aa6so12055675ad.3; Wed, 22 May 2024 08:39:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716392373; x=1716997173; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Yvxfqkh+gSZbJyfshoQXFXdD3Y8gaC/pv6t5Ay+4a2U=; b=M25bdmuKGmFhR51zJJZCEkO/BPJv1aS65JvpCAwyTW2PG31Ryh+Y7toiLndH3ASWI6 AQDDATvjUiVtLPfRHKZeUVFhWE52A4X0sn96sN90aqohnO5j/Q/OEcP9vLkB6by12mVM Tw/RRbQU6pZrljX5PA/MuaFUXjwD9Ur49OTKohVS57j9iYLjEMDkCu2BUSO6eR4jbOMT PGfMm7vZ2mIoRUMGEsXU2dSeTm0CNuNr+6o7xMIbLKgixIvxgog2/ORF+Ing/j/ezHgT bErRkk/o2KOKiigIkibaj65H0GDJtBZeC7v5xnYgLU0V4r+zQ8/mGI/Rmd+nPOew88Iv VBag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716392373; x=1716997173; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Yvxfqkh+gSZbJyfshoQXFXdD3Y8gaC/pv6t5Ay+4a2U=; b=e9GQ4UqgQ3EpMLu+lyfIhUnWhoH9qrE7k5IGFmhtkwdt346N2B8idgn3KBgbvyRlZ/ sIG/Bxu+rMqUZQiiVpULYzKWhz1jRL8yzAhvOrfD/AIogzlHQ1auM38dXmfbiKXK6cA7 QyWIKneARhn8OSj1MtpcLAPtK103ga5c4Kwca9NXhHbLIV15Na5zA/Ft0tKqh2Cegko5 M1tBysnMCl0wU35Q+sdmJo8UK1tnJx9BOdh+hOorVB62glaw4VBEkX+WxLlmdc5sMyJm siDOO3AR5DSNKDEnrA9JkdbMaXroyqAujx15atnqhOL6caUwzKLpZOXd83ah8KgK64/A AEaQ== X-Forwarded-Encrypted: i=1; AJvYcCWTyoycdZ1OgUlG7sSxMm29NEwSCFP6uUqqIhMp0rD44IiVxfhdQ5FOq9KdTlk3jYFRKPy3yAite1p6EPBo0/lJBCB3032oav2NY+/BD6+gX7/nw8urYFg/admHjrHOnepyq/Or9He5qw== X-Gm-Message-State: AOJu0YyTxuAaujEnR2XqZIROGFjAObcEH7vhrVtXxfdcAGJJCeeMhVj7 AIgcqVMNSKmgEpQi9J6unqhcH/rSQ145ZFkkVASDNocu5n+fNteS X-Received: by 2002:a17:90a:5982:b0:2bd:8aed:740a with SMTP id 98e67ed59e1d1-2bd9f483e65mr2313191a91.23.1716392373545; Wed, 22 May 2024 08:39:33 -0700 (PDT) Received: from localhost.localdomain ([223.178.84.74]) by smtp.googlemail.com with ESMTPSA id 98e67ed59e1d1-2b628ea59absm25574077a91.47.2024.05.22.08.39.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 08:39:33 -0700 (PDT) From: Kanak Shilledar X-Google-Original-From: Kanak Shilledar To: 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: [PATCH v2 2/2] dt-bindings: riscv: cpus: add ref to interrupt-controller Date: Wed, 22 May 2024 21:08:38 +0530 Message-Id: <20240522153835.22712-3-kanakshilledar111@protonmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240522153835.22712-1-kanakshilledar111@protonmail.com> References: <20240522153835.22712-1-kanakshilledar111@protonmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit removed the redundant properties for interrupt-controller and provide reference to the riscv,cpu-intc.yaml which defines the interrupt-controller. making the properties for riscv interrupt-controller at a central place. Signed-off-by: Kanak Shilledar --- Changes in v2: - Fix warning of `type` is a required property during `make dt_bindings_check`. --- .../devicetree/bindings/riscv/cpus.yaml | 21 +------------------ 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index d87dd50f1a4b..f1241e5e8753 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -102,26 +102,7 @@ properties: 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 - - required: - - '#interrupt-cells' - - compatible - - interrupt-controller + $ref: /schemas/interrupt-controller/riscv,cpu-intc.yaml# cpu-idle-states: $ref: /schemas/types.yaml#/definitions/phandle-array -- 2.34.1