Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp1097949lqp; Thu, 23 May 2024 08:56:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX44iaKzjtZViifwHjoRFlu4e/EjXxcn8CaJIZpDMoKilbnHeXNHsJIhBsEbpJ3IF5NcFi6zU8EhqkF79SGd8WIZAbc/RZm9jY3oIfv+Q== X-Google-Smtp-Source: AGHT+IFfqSeA28yc9dZqUahHFKfOaNFRcuChNfZLPnVGx3ZsYb8psSdpGjz+nKwaCJdDbxgLzgaE X-Received: by 2002:a17:902:fb87:b0:1f1:9009:1fce with SMTP id d9443c01a7336-1f31c99c053mr47579025ad.38.1716479774738; Thu, 23 May 2024 08:56:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716479774; cv=pass; d=google.com; s=arc-20160816; b=daSYv0UfLklYeOAuB/H1mUCYJqXY41WrnCltz7/bxq1tpGRCOSuwHc7d7bQ43pO6EB 7Wjowf+Bzq+phxHtyEly4f1MOCeO6ZTp7Rt4Fy781izFuwCxx/C7qCe+2qh2EMIhBK9Y NHjkNS+0cnQyNfV6f88tkmKPX5IwBGVzpHZNxe93mNXftvIqKaD/Zb5A5XR4p/zjPcMj 9iPpJ1CZdRSfg9p0MhdlZpAZE4ry+8S93dmIzDArYqKBuMSYwmd84bXaFjfN9gi4KuC2 VefyXAzGyesF/7ye0tLXRPDcUAQ7hqurSwMa2xNP4IZttJm64WKeGaXe09WHEIz2ccMj kVOQ== 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=hYf12GLSAWFqtkB4/l4ObCrY/lFiR1gNXubtFx1aYgs=; fh=4nTswuXQbiB1LV5MbjkZDfpo1d+YeIIEpR1Eo5BHDvI=; b=hUAVZgRI/MGnBnAJhhZT/X0C/cO20pcn/squIUlNxUdOoxs3+XPZuqquHwQvQcfj7O Fb4DThvwFmekwUqASv++IC2GR5ll1AEllvs+ZXZNgVWlBjv9uYNRkF0cxaDs0IGyomGl Sy/LBOEcf49j6EtUxs8pOLpnWgwXnEwQtUbUX2ipZ6pgsojnSuHHv149LGJe6Ii54ui4 cm4IOJXaaA0dO2+XZYKm7T2SefWYdZFo3qY2SYya6jTQDkkVKNPGzV2WkkkTWzO40LBz Z3K0QknWDe1wwB+Kb2LnkWvzbC9yx4QV8epHGUw0KetonRhI37nVdV3+oyFY7Wd8tLjE cT2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DpRjojbx; 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-187741-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187741-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f2f259ff79si23657095ad.531.2024.05.23.08.56.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 08:56:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187741-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DpRjojbx; 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-187741-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187741-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 621AD284AD0 for ; Thu, 23 May 2024 15:49:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C21C518046; Thu, 23 May 2024 15:49:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DpRjojbx" Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (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 903B8125C1; Thu, 23 May 2024 15:49:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716479344; cv=none; b=aI/oO9e2zsdpCcnnoJxjIMVXnVUB/WKOsONkQf4RY5GrKAj2O/Bl+F1hXjKfr2yFXtusRo8FWWtBUZmoZzM0by6bOm3OHdJfNLJuK3ys8r8UZZ0PPxziaSndZbRelUgV1dgqw1sum5AVaHIjsuW0OsMsgMEqkUgr/vii14uth2o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716479344; c=relaxed/simple; bh=ioYR1DhOVcXP0QlbNkVL+dsRPFTAWxaAIPYaf7pAaos=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=COjHsaFS2wmf6qBUKf4ZXlX2y6wbcNEseMF+HrAz6NfBuKskaGapXAXVUkmKbHqHrjpmMEs0/MSVzh1LLNkng4IQVwpv29GzMy4Cdt8HUGIcq1DftHRVU0VGyRzTc77AMKpQFKVv+wOAW571CxESTAQHmCueYgErJa1BsqonmWQ= 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=DpRjojbx; arc=none smtp.client-ip=209.85.214.175 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-f175.google.com with SMTP id d9443c01a7336-1ee7963db64so55855675ad.1; Thu, 23 May 2024 08:49:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716479342; x=1717084142; 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=hYf12GLSAWFqtkB4/l4ObCrY/lFiR1gNXubtFx1aYgs=; b=DpRjojbxyX7XYRPmgo1DniRtBBZ8MMx7GbyLtwc5XX8e2Tln3memp7ys31yhhpTHvp kvDb1qn3NegE4Rh1B3fddZimvKUavaaVGfJizmptb/Nys3knpGsHOFTK/JjixQ3uGC1H Y6siN79iTed/PGzPa3OkAxUjymHNO+KEf9oVW5gBv6DiF2ctasW0yJHDvcleYkLMfy56 N/bqyFoZqrNe0foLwydWLWUjYStM+8kNHaAUDQPGcEZL6i6ZRKKEgPH83NBDIQNo3XwP iUv6RcRabCgJfBiSh2Xcau0dhU7jI/Pd60H0ZTH+TLX3s/fi1cbEnHqpIY4GeGd50Qnr 4QHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716479342; x=1717084142; 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=hYf12GLSAWFqtkB4/l4ObCrY/lFiR1gNXubtFx1aYgs=; b=Krxyw8H7sRQwY0Ve6nuxr3hiMwnEHIBQy1qBuMtawJRukovaqibsCKvTfsQ0U/QxI6 YbSNAdoYiOlO/N5as7p+P3ntcQ5KcIoFNUsN+/poc23uIjImx0c6mYkGBAcX7ek54kVj 2eANKgrUAwbvccmEjuedLpKpLp32HzNF/r73Y5TasJ+e3g0hK89f29jkYPSpGxteGyH3 qzgCBjwcsFqa6Ge3PvU0BVeMdZBVBRBO0UGRKQKwKh/OU8eno3D1USqjRafEEzFgLqCS ow/K4bYVTezOzTAsdtVfxqbq82iJieuNW0f2W+Vw4s5kljUxquqe55TavTQgTnzlnv7J N3dA== X-Forwarded-Encrypted: i=1; AJvYcCUCc1A5Q2GDUY7AlsZiNWRGA4Fh6V2OFlkEEFQJUUyRe0uDVfQYiLwUdp8W7dXzwGBmaYQ5UCfgOlu7eIfFgQsJMoqzy4M2TDupaXbkV7h5ayJSQ93t4393sWO5TV2crG6eAI6r2EJd1A== X-Gm-Message-State: AOJu0Yxr6RbwTG8vLoQEJ5VV33Vc4yaFrxmzpcW0fVcF/Y4VF8O9IS80 86RCg34j5ArLE7GDQvhDooyt0tuPf+adZc3H7mxfK+PmMrZJ8zV/ X-Received: by 2002:a17:903:1247:b0:1f2:f3dc:43ee with SMTP id d9443c01a7336-1f31c967139mr61423015ad.3.1716479341924; Thu, 23 May 2024 08:49:01 -0700 (PDT) Received: from localhost.localdomain ([223.178.81.93]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-1f3361a6678sm18321085ad.178.2024.05.23.08.48.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 08:49:01 -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, Conor Dooley Subject: [RESEND v3 2/2] dt-bindings: riscv: cpus: add ref to interrupt-controller Date: Thu, 23 May 2024 21:17:50 +0530 Message-Id: <20240523154748.22670-3-kanakshilledar111@protonmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240523154748.22670-1-kanakshilledar111@protonmail.com> References: <20240523154748.22670-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. Reviewed-by: Conor Dooley Signed-off-by: Kanak Shilledar --- Changes in v3: - No change. - Rolling out as RESEND. Changes in v2: - Fix warning of `type` is a required property during `make dt_bindings_check`. --- .../interrupt-controller/riscv,cpu-intc.yaml | 2 +- .../devicetree/bindings/riscv/cpus.yaml | 21 +------------------ 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/riscv,cpu-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/riscv,cpu-intc.yaml index c9c79e0870ff..6c229f3c6735 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/riscv,cpu-intc.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/riscv,cpu-intc.yaml @@ -61,7 +61,7 @@ required: - compatible - '#interrupt-cells' - interrupt-controller - + additionalProperties: false examples: 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