Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp207147rdb; Thu, 22 Feb 2024 00:43:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWSBS8v5hqGjP2j3m4cBP7X7Ns59N1bC+H7xi9Xb5HLEf573Wvp6BvYjlFQ2FDCjYpLYNGuUmDxrrvlQaEteAmTs3gmoZSyhpgelV8HWg== X-Google-Smtp-Source: AGHT+IEPlLo3PFhRv78i1YvKrF8/wBze1vNjdl/Ts3qUbD0R5VEMO7CTl0TlMNaYiatsJRsRE4vH X-Received: by 2002:a05:6a21:3403:b0:1a0:5841:6756 with SMTP id yn3-20020a056a21340300b001a058416756mr23453559pzb.4.1708591403422; Thu, 22 Feb 2024 00:43:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708591403; cv=pass; d=google.com; s=arc-20160816; b=TJb/2KDTRPHx3PPYKBMJ1ObwXRYQQE8djtptfxM++LVyYHcU6SoU4xXfR2+zNOQLWA skfCDTe93eVyc0ylQ+QjzHcXFJU/X/yXHFjeacLvm4bQOkBw41LkTlPFiz3nWlNL0Ymd SQLW0p2MXsMDjDG65ebgl+M7TE1qA0jAnQWusoubHJCugfJJg2f3mF/XB4h9YK0GShA2 Hw456Ah7ZOhqzl2Mam7VFv5sknPhs53XE2C5sqy5iEbiQWfTVgoTujtTgL43KhMhExL/ 1fIEtphdEZfUGXjxtsDQXljox8bqG0K2j1dCIP3fDAA24iFoGymULTXZvsrPpiUj18GO 7rTA== 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:to:from; bh=ysFIHspQsW4uTNVNCeoV5X+A8ugzgAJytlXNdj2hSuU=; fh=WCdhgcjykCD4REpkxLay8Zr2/YVLD4KLCIkwg/PllGc=; b=ereI/WbFb8j8p+ElR3qlmAacv2+Zvt4a4yy01ARltnv7EDZsS104kxCQMeR804IpyW kwNuPQp/0KftcLRrM9gtlNmgkrMpKa8+/A2yZu2lGlDW3Ra8czDPsVz1N0YdxkGD8+Bq joUeDiK8RqQxc31wYfFAXlnOg5250GvNvGuv3Cvq8WApaPzhZQGZP4SwvLgjoDnIvqIY uxbqCEEMUeLHN5pt/jRJxHp0WhIToRE+m3BWZrETZz/w94qnefUYaoFXBOnDXYE6HpoL +bak9/91BXaoygh4+Nk5JN3P9nL1vF/Bx/7gPhRQJ9gI3ohdsFSgUo/LzNPVqM/58yGc PETQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=andestech.com dmarc=pass fromdomain=andestech.com); spf=pass (google.com: domain of linux-kernel+bounces-76129-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76129-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=NONE dis=QUARANTINE) header.from=andestech.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id l4-20020a17090aec0400b00298cdde505dsi9890330pjy.144.2024.02.22.00.43.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 00:43:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76129-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=andestech.com dmarc=pass fromdomain=andestech.com); spf=pass (google.com: domain of linux-kernel+bounces-76129-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76129-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=NONE dis=QUARANTINE) header.from=andestech.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 238D9284261 for ; Thu, 22 Feb 2024 08:43:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39F143A8FE; Thu, 22 Feb 2024 08:41:51 +0000 (UTC) Received: from Atcsqr.andestech.com (60-248-80-70.hinet-ip.hinet.net [60.248.80.70]) (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 2F26F2BB03; Thu, 22 Feb 2024 08:41:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=60.248.80.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708591310; cv=none; b=HVTpTIDswba0pMVSt4u5EP7JQQFwVOllT0KtnKSnryc9/dE/coB+PCUYc1tZf2GVafQKNWHIqT+v1dr6EP6d+kH2GktAqOy31YQEo9/tZCZXUo/ILySaYwFtAWZc0l67yrGJDJVjfvCmr4jQTC+Bh0T5s5Mipn4Hh861dkUWZ1w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708591310; c=relaxed/simple; bh=dB1B2gv9uWMA7XYmCkOGESDFYkxaGS107jrU6LcgSTs=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oHH/nWBym7iG8iqL1GzkY01+XglUO+elgRr/qpXS8goiSNTiKXGot0I6LB4+3T4FfCpchnAe5yKkWuqY9yK3yrXL5gbDCaXlwcWMyuwXWnzp7aMZ/UvDfHabUwbtahoF2W4DXn5MlUMjkoBwcm2MZyjsYigJ0xsYtUOO+Y1oCME= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=andestech.com; spf=pass smtp.mailfrom=andestech.com; arc=none smtp.client-ip=60.248.80.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=andestech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=andestech.com Received: from mail.andestech.com (ATCPCS16.andestech.com [10.0.1.222]) by Atcsqr.andestech.com with ESMTP id 41M8eDoD074546; Thu, 22 Feb 2024 16:40:13 +0800 (+08) (envelope-from peterlin@andestech.com) Received: from swlinux02.andestech.com (10.0.15.183) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.498.0; Thu, 22 Feb 2024 16:40:09 +0800 From: Yu Chien Peter Lin To: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v9 04/10] dt-bindings: riscv: Add Andes interrupt controller compatible string Date: Thu, 22 Feb 2024 16:39:40 +0800 Message-ID: <20240222083946.3977135-5-peterlin@andestech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240222083946.3977135-1-peterlin@andestech.com> References: <20240222083946.3977135-1-peterlin@andestech.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 Content-Type: text/plain X-DNSRBL: X-SPAM-SOURCE-CHECK: pass X-MAIL:Atcsqr.andestech.com 41M8eDoD074546 Add "andestech,cpu-intc" compatible string to indicate that Andes specific local interrupt is supported on the core, e.g. AX45MP cores have 3 types of non-standard local interrupt which can be handled in supervisor mode: - Slave port ECC error interrupt - Bus write transaction error interrupt - Performance monitor overflow interrupt These interrupts are enabled/disabled via a custom register SLIE instead of the standard interrupt enable register SIE. Signed-off-by: Yu Chien Peter Lin Acked-by: Conor Dooley Reviewed-by: Lad Prabhakar --- Changes v1 -> v2: - New patch Changes v2 -> v3: - Updated commit message - Fixed possible compatibles for Andes INTC Changes v3 -> v4: - Add const entry instead of enum (Suggested by Conor) Changes v4 -> v5: - Include Conor's Acked-by - Include Prabhakar's Reviewed-by Changes v5 -> v6: - No change Changes v6 -> v7: - No change Changes v7 -> v8: - No change Changes v8 -> v9: - No change --- Documentation/devicetree/bindings/riscv/cpus.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index 9d8670c00e3b..6ccd75cbbc59 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -106,7 +106,11 @@ properties: const: 1 compatible: - const: riscv,cpu-intc + oneOf: + - items: + - const: andestech,cpu-intc + - const: riscv,cpu-intc + - const: riscv,cpu-intc interrupt-controller: true -- 2.34.1