Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1412112rwb; Mon, 7 Nov 2022 01:05:40 -0800 (PST) X-Google-Smtp-Source: AMsMyM6dOtsjFp2U7Dizgpf/LguIW1/QIzPowBGr4eaJAGMtaT/GbT9Z6bfh248kxdejNtvKYj8D X-Received: by 2002:a17:906:48d5:b0:783:6c5:c49e with SMTP id d21-20020a17090648d500b0078306c5c49emr723234ejt.483.1667811939935; Mon, 07 Nov 2022 01:05:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667811939; cv=none; d=google.com; s=arc-20160816; b=Q44hdmtkZkwTjQs5Ej2dzlDSL/eyS/bETNSkBXudlFqYWpOkRH2rcpKBykOla5rGeS sVs6ZEwhIBHcFu27UI9c6HzoGPMlp/tEHc2WkUKVNtLdMbmIVtra1kQ1YMgZTF0cqWlV mCZQ7bh4gw7FGq+r2z/ww6nNcwpygttfLPNCBfyVCdp4GVHsZWXayU5S7I9gyAP9h+pw oNLa5JT9YU/1pC3Jhzk10YKUDw8tcDdgDygtN4WH/Hs+nyhNcDzv5AEiRdz0jKtv1QEY 2MTsSbuAJYZ8dv3lImepL0fntkXM316kjyVwUhrL0c/aw1iNm3IecVtf+V/TRrcmxKnU KDrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=SJ/Mwnct3TZ7HIih3opk7ydhGcqvBaH59swvlRhyi5o=; b=OUg/O3HlKge/MfrSY7yMkiosoeFcFHz2fs3J39ldEN0r62i2jn91Itw5oI4pB1imPM JYxeMN4oBHv8BfufrYNm/Vp5Th99MijO6ixFAEHBtC6F8ODmTD4CY4S+pjka7GNh82Ce SeVHg3NWTjUtBNmdifq1T0QYnyHgogXfMEWXYNt78PadQpcPRIFQ350i/N+N4tVC0vaz 5SSlQZN911aZREAt3fF4JqAZSrAUMEOUREZPdrJI+fwd8SNXJEOOo8IZZuDFJEv9O/ZI 9xAEBeQIQ9dwl7+iy85MVrzQXHM1e2fO/5/dR54rVecxhrH2gdpFwnuThC9kmpzefDeS QuCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xa7T5BQx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y9-20020a170906558900b007ae2368c8b7si6616285ejp.138.2022.11.07.01.05.16; Mon, 07 Nov 2022 01:05:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xa7T5BQx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231144AbiKGI2M (ORCPT + 95 others); Mon, 7 Nov 2022 03:28:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229659AbiKGI2L (ORCPT ); Mon, 7 Nov 2022 03:28:11 -0500 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1201A14002 for ; Mon, 7 Nov 2022 00:28:10 -0800 (PST) Received: by mail-lj1-x22a.google.com with SMTP id d3so15064806ljl.1 for ; Mon, 07 Nov 2022 00:28:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=SJ/Mwnct3TZ7HIih3opk7ydhGcqvBaH59swvlRhyi5o=; b=xa7T5BQxzXkz/boFwpbQFJiXwgrhpUrx5A0mnmE58r+XBnsnebuPQ3CYeOndGP7bUw 2wzd+Jb7YiaY5Er2T77/2Ydj/QZfzOD7/qP6mXoyuD5JQO+eZqKau6HSkpK1wohfxj3l UnGU4DGm9F3uufcxBQdyL14prPXU337j/SglQRAOOCNurYqwg1ILSPT6MH8eMVxtHPeS miLsRIYaNY1dm4U7JagrKWVX4RseouKjAomkH1eQ/n4nfeQrGXX2LSD9sYhecX1ZCdRH cGZIZkM6j66nZCelPNSba3Qfbdzmm6aewa9QCszHGPG1brZsM8HiLUlhUnwa/n6G3WGa bE7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SJ/Mwnct3TZ7HIih3opk7ydhGcqvBaH59swvlRhyi5o=; b=DmDFjPV0jrGF110QcGN5B55ZMr42GR65iIjKW0gtANgF6oBnou8zpeT6zcroJPH+8+ PeOq9/lSJNqlKvEAIYLzOvXixHCIO1GoOtOJkQpSq0zlKRwwOjm3nMqgh4CByFas3xRt uraccnh/0sXVIGVO0CpJInCG3batT0osKjm8Hs08TxdMXySl2cTJh9A/iOu6GE/YyGbj /m6ARH7sE9APWje/lNXHJLlMrPH19TvLnH66RLAotgjCxJPuh512bzAcaAtg7r2rdKec 6OQGI3dlIN4VKcwRyBFI2QrR+ULDTdKlKTTDr5nG6nw1AFdiAdyEU7SWcQ7l9r9R7w02 AIAg== X-Gm-Message-State: ACrzQf0reSzItn+5U+aTzUa+8YPCqY6PI7dM9Hk5vUJ/J0WHmbvup+i3 qhGVcheXzgp6141AE0ODa1UQfQ== X-Received: by 2002:a05:651c:516:b0:26f:2a03:b969 with SMTP id o22-20020a05651c051600b0026f2a03b969mr4921918ljp.343.1667809688422; Mon, 07 Nov 2022 00:28:08 -0800 (PST) Received: from [192.168.0.20] (088156142199.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.199]) by smtp.gmail.com with ESMTPSA id q21-20020a2e9155000000b0026acc9edecdsm1098071ljg.47.2022.11.07.00.28.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Nov 2022 00:28:07 -0800 (PST) Message-ID: Date: Mon, 7 Nov 2022 09:28:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 2/2] dt-bindings: interrupt-controller: add yaml for LoongArch CPU interrupt controller Content-Language: en-US To: Liu Peibao , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Huacai Chen , WANG Xuerui Cc: Jianmin Lv , Yinbo Zhu , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221107023404.26730-1-liupeibao@loongson.cn> <20221107023404.26730-2-liupeibao@loongson.cn> From: Krzysztof Kozlowski In-Reply-To: <20221107023404.26730-2-liupeibao@loongson.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/11/2022 03:34, Liu Peibao wrote: Add commit msg explaining what you are doing here (e.g. the hardware). > Signed-off-by: Liu Peibao > --- > .../loongarch,cpu-interrupt-controller.yaml | 42 +++++++++++++++++++ > 1 file changed, 42 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/loongarch,cpu-interrupt-controller.yaml > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongarch,cpu-interrupt-controller.yaml b/Documentation/devicetree/bindings/interrupt-controller/loongarch,cpu-interrupt-controller.yaml > new file mode 100644 > index 000000000000..30b742661a3f > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/loongarch,cpu-interrupt-controller.yaml > @@ -0,0 +1,42 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/interrupt-controller/loongarch,cpu-interrupt-controller.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: LoongArch CPU Interrupt Controller > + > +description: > > + On LoongArch the loongarch_cpu_irq_of_init() helper can be used to initialize > + the 14 CPU IRQs from a devicetree file and create a irq_domain for this IRQ > + controller. > + > + With the irq_domain in place we can describe how the 14 IRQs are wired to the > + platforms internal interrupt controller cascade. This should be the description of hardware, not Linux drivers. > + > +maintainers: > + - Liu Peibao > + > +properties: > + compatible: > + const: loongarch,cpu-interrupt-controller You have exactly one and only one type of CPU interrupt controller for all your Loongarch designs? All current and all future? All? > + > + '#interrupt-cells': Best regards, Krzysztof