Received: by 2002:ab2:68c1:0:b0:1fd:9a81:d0e4 with SMTP id e1csp437705lqp; Sun, 9 Jun 2024 03:08:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUOBqXkwYQeaHAYY1C860ehjggEflxUriI+/br1gJY2KE9EpogR44o+tIOAXj4Sb0lPnGrhC9s3iQFahw9PtybYOf3wI+dkwdYJSprN3w== X-Google-Smtp-Source: AGHT+IEsQvjRlrtIJUw2B6T+O0dn0ctdleazienhjqBbPzjgVbNEok8uh2rRzxiRR8tmBDre9yAI X-Received: by 2002:a17:906:ae52:b0:a67:907f:e68a with SMTP id a640c23a62f3a-a6cbc6ca02amr533033766b.27.1717927686567; Sun, 09 Jun 2024 03:08:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717927686; cv=pass; d=google.com; s=arc-20160816; b=uYmePM0EbWZ+5TiN8wzxfkL9cyEFit3SG0TAW30zKL49/RrhoU+j4rTFFIIr7EECa8 OcnIFMQLbbL4JnG1oP6t/aRr8ZPPFgyQU2HvzNMShfTNrSlbf1jDoICZKYoReezoAD/L +Us8mQC4IQ9ibO1tInc4YpiYKBPrFeQZiF8RauA/zY1wXiGLklWVjEOHmDBPZSwWb3cO hKq+MkaeldaqJGV5teRt4U2jt7W/a2hxRuIRfll1iF9k1yaOblrdiI6fWxwE4RvUy14I ZOhI91KScmUGj5nyv4HIlESOsJ7pT/bS21qFtdzKKIBVF1rfuUUxtO9Ci6ZcncVHJfHf omkw== 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=A8cWoOmqxKfRTYz+fqWWX+hQL/rBm7CI/FqFLj5thyk=; fh=0RVTpP/23375A+m7gLG6DBq+K3Sn+9h4tb3XaTZgwv8=; b=nwvnDMxnzWDzqpaVB26VZj/+9sqC6GTKsZ2cH1jjJ7JL3eYrPthTGdOzvNHqj2N7UU ygRaGGXQQjUQ1YY48XbnEGkPuNBDfsoCz4r/nHYdMKQATwpTuvYRrZ0JSl3q40qyruAI 8s2SPCo5RM7wLNqZ7TfXHXRPaTNbSGgdkiofklPyqBc+aAOux707i1SaXisx81/WXtkh KI1mXRfn914Q7bJY8fY6VJhMidMcHvZPcOy+E7cAUrFuthrBRZ0eTOFBRyxoh+TC51UD yY9+IKHaTUXTlhiRPw87uifODCQDdhjo4aZegj3aV1XdDD4T6mLvSEWLnz9JlYR0ADoP U5fw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eyRiM9Qg; 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-207316-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207316-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6efbb29c47si169312866b.302.2024.06.09.03.08.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 03:08:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207316-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eyRiM9Qg; 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-207316-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207316-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 490DA1F212ED for ; Sun, 9 Jun 2024 10:08:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E25A623741; Sun, 9 Jun 2024 10:07:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eyRiM9Qg" Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (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 C29B3208B8; Sun, 9 Jun 2024 10:07:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717927671; cv=none; b=fy6IIpNi29whcJWJmhO2qNnOc+ITT1Yl/OfzW4tyRh/k9slHeRLeFIVIwO74bb+06ZlakjOk9R9cel9IJptfv1tTjBf3y9toxlHmyFZRILCT++Xg/zTOFC0ElArLnZzxmyVZAiZPDkV7eBCNDBuW6uOvlav8ggWwoFHY46RbOfY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717927671; c=relaxed/simple; bh=fW4OnfxSC1huAXibwjVO49aWwP6kwWsg9vuNq1cMjKM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CdExNxX0IINNgTJOwu5scRRkWqQNtWwLSGVT1l5BGN40MBTcaSxoloEJBLWbki+h3GZXaPalcN4yT/xwNPurlHbORxB+5XtkjBdsd/3DagIKZkWuTnAUEKJ2rSLQyMlY+m+KSSBkdi6SYhF+Vq/c+F+PQq6C70VJHWeQSjNKdUk= 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=eyRiM9Qg; arc=none smtp.client-ip=209.85.210.178 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-pf1-f178.google.com with SMTP id d2e1a72fcca58-702555eb23bso2760959b3a.1; Sun, 09 Jun 2024 03:07:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717927669; x=1718532469; 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=A8cWoOmqxKfRTYz+fqWWX+hQL/rBm7CI/FqFLj5thyk=; b=eyRiM9QgEKR26YuAmj3xzurUVNHs8Na2y8ifSanf0IOXHiq+oyKb22aQFUIxx6Pj16 GOZM01jjOzQKepQ4wbLNZwBg7dWvu8KtLJcSSQ9/OWhZWkcsG5cnbLgCU56ItjE5oF5q Rz4XGv9EMwaC4necoJP08Eh419g5SRE4Yn3aDBe3MbUOgnOe5qR1CfEhe3Ko4gq8jPTN Fx72gZM+nbO7Q6znZSaJw06tJX9L09wuGuKeCPmIHz3luAjy290po8QzgQtc+gP3ghZz L6OGgDENjCFOHbGO4zINTAm/uU1h/Z9z8e3kya2wnahcCwrvTFnsT5NkK97+RorgKTXP cXjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717927669; x=1718532469; 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=A8cWoOmqxKfRTYz+fqWWX+hQL/rBm7CI/FqFLj5thyk=; b=pe82yjEAQirhILVet0f755DyRkOTxz8SdbLmeAee/bqLmyCuoUk9nWzSgH7H10k41B s7U3q+vfEcRdYnIXXFB0cDRKCervgzG5PejIJUG95+9XAydk6/rbjR7fph76IYd3LDtq 2wrt2p5Fl+7C5hWCrFL4gdzzbvQGdmn1meytvvSC2fw7VOZUOtHpSMLcdzgJyTnXgEWu s0LVr28gT9ZjUtFHS0ybgJmghAKi1VxFag0rE2cqJsjSD3dbGPJDe/PpsOB4vbaq/TEg SMtyEWHcfmjrCrPzJgl7VmNvICl42AIX8Z6hZtgAaXRQVc9qwMtTdueo2/aQsjwkP6hz 7bBg== X-Forwarded-Encrypted: i=1; AJvYcCUoAQmwpl5FKEyg8EHk4wQnbDI2g+5OgzvrdT9cKLXHz3l/l1kshTUyhxdhseyH5Flun3NZam/MxoJVLotkqAw7N/CaWkqh+vBjgR7W+G59qFWpaDM0+H0+2ACzxeILAy8AjG1xLfK51w== X-Gm-Message-State: AOJu0Yxua7lgkitUvJTtQIHCsRl6Azf4OKo9NdMpUFgw5Mx/4Mw4bL9X usarjjZG2RbjUjVFFcm27kFP+0fBboAFX0e1fKe9y+iNkSwXR8Zn X-Received: by 2002:a05:6a20:7487:b0:1af:fa18:76f7 with SMTP id adf61e73a8af0-1b2f9dc2e94mr7273875637.39.1717927668863; Sun, 09 Jun 2024 03:07:48 -0700 (PDT) Received: from ga401ii.. ([2401:4900:1cc9:92b2:ce0f:ca96:5cb0:62e5]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-7041c78ac20sm2817534b3a.154.2024.06.09.03.07.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 03:07:48 -0700 (PDT) From: Kanak Shilledar To: Cc: kanakshilledar111@protonmail.com, 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: [PATCH v4 2/2] dt-bindings: riscv: cpus: add ref to interrupt-controller Date: Sun, 9 Jun 2024 15:37:08 +0530 Message-ID: <20240609100710.85055-3-kanakshilledar@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240609100710.85055-1-kanakshilledar@gmail.com> References: <20240609100710.85055-1-kanakshilledar@gmail.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 v4: - Change DCO email to @gmail.com 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`. --- .../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.45.2