Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp5149469rwb; Sun, 22 Jan 2023 04:17:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXvVoE8h7Wkdrzz1o5keugi6QBv8U2Q/M0Nui1jjLMH1ztSS8s0Xkh7p37bPMc9UzthdrMQj X-Received: by 2002:a05:6a00:3390:b0:58c:6ba1:58dd with SMTP id cm16-20020a056a00339000b0058c6ba158ddmr22155256pfb.11.1674389838151; Sun, 22 Jan 2023 04:17:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674389838; cv=none; d=google.com; s=arc-20160816; b=n/2ER4Nzt/zcohaYIjQN4dkc1eZza5Q70uRKGbl2Hrd8UN/VSMDRfqM6hGUepBQiR6 YdmxGbTcaFu8ntcbMYdk7O/YEvX+dIcToFFj/zmnCm+FVOBYjZ7RhZn7BQdyFpYZ9Md8 OyvXMySAjnt+98/MK8u5Oo+s87fCPhSIhSSiyWE6jKoOwBE893lMN/OdM8jkfZN6+NoR d9L6DsnI8+90bs7mF/UftBb8dLvaU0SgKXBts7OteQ5WMtYTPXhrN3PkhUesSjgIumXC cmC6Z/7Ow39BgpnUOfrcj62iPAsFBexMvpnVym0y7T0gVM0X8RvfIn0Q5MKExW8e92u6 u3zg== 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=L18XUoVuVYI0pnqHwuAZ/a/gl46rC1ac5Z5pGu4tjjA=; b=deLRbTpJRNIzVqeaf+7u72wzVrUFOz6BIuE4xxL5srYpjmQXJ9+DxJIsmVhFRFRhm1 Z9RhIKD5dnSEn50ntoiOogL0ZFcTd2+bddmFjAC7yc2dS3qpzz20SlVnbcq2zTcAlti+ PbhJVAa/gvG4lOPsZOhkjB3qSpbkX6TEgj6ZdjYGEz24D6d1m0ZoM++J9sUYK2n9ANjQ YFH5Zd6QVYzUegESCBWu/Ajd0D2pY9bllsp6wLDjcpe41A24sG/vlkQFmqlqfbCENYrT 71WgmrguOwN46lM9D4GEDSJZmL+8JlDJ/zp3omaQUACo947bxByG+UFBesu+khIEqGYQ afRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=caIlICVg; 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 h13-20020a056a00170d00b00582ef2e62d8si22663399pfc.283.2023.01.22.04.17.12; Sun, 22 Jan 2023 04:17:18 -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=caIlICVg; 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 S230008AbjAVLtn (ORCPT + 50 others); Sun, 22 Jan 2023 06:49:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229937AbjAVLtk (ORCPT ); Sun, 22 Jan 2023 06:49:40 -0500 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FD8F1CF47 for ; Sun, 22 Jan 2023 03:49:37 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id h16so8437907wrz.12 for ; Sun, 22 Jan 2023 03:49:37 -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=L18XUoVuVYI0pnqHwuAZ/a/gl46rC1ac5Z5pGu4tjjA=; b=caIlICVgjiM2KQmWSw2+dwCmFwH/QmHP5Tpt6H6wVsFqVFanIJ1vuRkXD5LMYCDALE NRjmF+0baehzfnLLnyNncgVe/LMpVF+yHU61SKAbBoH7z61KGzW5m7flF/bFqihPw1Fn O2fP7zc3nkMy81LxNCpHIWtu94zfu5UQvaOFSsNE8v5AYfQqfr8/s8K8Erb8fkRN+yAG wkyY17RV1LAoGfa7M6MaWtFsVRYyBEJ/Cn1lnFbJ+7C3TkgZU6XRz0KkmJz40bv2YJcl sWZRDoQaWXDOf5NedqV2uevyts9HBVC/g4grs5Il5oF6YrOPf4Yvjvay3LwHgph5/uVF hkvQ== 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=L18XUoVuVYI0pnqHwuAZ/a/gl46rC1ac5Z5pGu4tjjA=; b=EUFA5zMrjfgDx6LE0guw1FPqCbBiZ6T9D3CjQ/fRAWx2HETmp05fyi2YMmDWCZ52XJ h8JQqQL/wzVTH2iKeV+VuZTgbvX7L1dTyztCYvgTXOt5NMADMa+PN7hPBuPBLKzEELFf 6ZzicYKSp+xmDQGm7vAkA5IGhRJkqRSKT2/xiople3T47G5HWl+d+VJXGIn6lKDPao2J uDDyZMyy+5lIwrm8NWSNUrG1txlAJR+JFRJ4jftyQOGN9EzSAliDSjUTB88FBBT5kZRx Nr0Xph3sHLT5rTH+BTOPKdHn73KXeAAtBFeN+A7Ww38pfUUpMwnSdue4Sb3JUz0wfx9u 6nIg== X-Gm-Message-State: AFqh2kravSTY/AaXN0bjDhJBl0wYz7zUxsINaCGtKXpzCAvr08d0+qym mjIs8F1QmL5ZCDHPlvg1nDxO4w== X-Received: by 2002:adf:f606:0:b0:24b:b74d:8012 with SMTP id t6-20020adff606000000b0024bb74d8012mr17321312wrp.18.1674388176056; Sun, 22 Jan 2023 03:49:36 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id m8-20020adfa3c8000000b00236545edc91sm1740479wrb.76.2023.01.22.03.49.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 Jan 2023 03:49:35 -0800 (PST) Message-ID: Date: Sun, 22 Jan 2023 12:49:31 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Subject: Re: [RFC PATCH v2 05/31] Documentation: Add binding for kalray,coolidge-itgen Content-Language: en-US To: Yann Sionneau , Arnd Bergmann , Jonathan Corbet , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Will Deacon , Peter Zijlstra , Boqun Feng , Mark Rutland , Eric Biederman , Kees Cook , Oleg Nesterov , Ingo Molnar , Waiman Long , "Aneesh Kumar K.V" , Andrew Morton , Nick Piggin , Paul Moore , Eric Paris , Christian Brauner , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jules Maselbas , Guillaume Thouvenin , Clement Leger , Vincent Chardon , =?UTF-8?Q?Marc_Poulhi=c3=a8s?= , Julian Vetter , Samuel Jones , Ashley Lesdalons , Thomas Costis , Marius Gligor , Jonathan Borne , Julien Villette , Luc Michel , Louis Morhet , Julien Hascoet , Jean-Christophe Pince , Guillaume Missonnier , Alex Michon , Huacai Chen , WANG Xuerui , Shaokun Zhang , John Garry , Guangbin Huang , Bharat Bhushan , Bibo Mao , Atish Patra , "Jason A. Donenfeld" , Qi Liu , Jiaxun Yang , Catalin Marinas , Mark Brown , Janosch Frank , Alexey Dobriyan Cc: Benjamin Mugnier , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-audit@redhat.com, linux-riscv@lists.infradead.org, bpf@vger.kernel.org References: <20230120141002.2442-1-ysionneau@kalray.eu> <20230120141002.2442-6-ysionneau@kalray.eu> From: Krzysztof Kozlowski In-Reply-To: <20230120141002.2442-6-ysionneau@kalray.eu> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 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,URIBL_BLOCKED autolearn=unavailable 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 20/01/2023 15:09, Yann Sionneau wrote: > From: Jules Maselbas > > Add documentation for `kalray,coolidge-itgen` binding. > > Co-developed-by: Jules Maselbas > Signed-off-by: Jules Maselbas > Signed-off-by: Yann Sionneau The same comments apply plus more... > --- > > Notes: > V1 -> V2: new patch > > .../kalray,coolidge-itgen.yaml | 48 +++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interrupt-controller/kalray,coolidge-itgen.yaml > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/kalray,coolidge-itgen.yaml b/Documentation/devicetree/bindings/interrupt-controller/kalray,coolidge-itgen.yaml > new file mode 100644 > index 000000000000..47b503bff1d9 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/kalray,coolidge-itgen.yaml > @@ -0,0 +1,48 @@ > +# SPDX-License-Identifier: GPL-2.0 Dual license. Checkpatch should complain about this - did you run it? This applies to all your other patches (both, run checkpatch and use proper license). > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/interrupt-controller/kalray,coolidge-itgen# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Kalray Coolidge SoC Interrupt Generator (ITGEN) > + > +description: | > + The Interrupt Generator (ITGEN) is an interrupt controller block. > + It's purpose is to convert IRQ lines coming from SoC peripherals into writes > + on the AXI bus. The ITGEN intended purpose is to write into the APIC mailboxes. > + > +allOf: > + - $ref: /schemas/interrupt-controller.yaml# > + > +properties: > + compatible: > + const: kalray,coolidge-itgen > + So why suddenly this patch has proper blank lines... Missing reg. > + "#interrupt-cells": > + const: 2 > + description: | > + - 1st cell is for the IRQ number > + - 2nd cell is for the trigger type as defined dt-bindings/interrupt-controller/irq.h > + > + interrupt-controller: true > + > + msi-parent: true > + > +required: > + - compatible > + - reg > + - "#interrupt-cells" > + - interrupt-controller > + - msi-parent > + > +examples: > + - | > + itgen: interrupt-controller@27000000 { > + compatible = "kalray,coolidge-itgen"; > + reg = <0 0x27000000 0 0x1104>; > + #interrupt-cells = <2>; > + interrupt-controller; > + msi-parent = <&apic_mailbox>; > + }; > + > +... Best regards, Krzysztof