From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0F586C433EF for ; Thu, 28 Apr 2022 06:17:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LaaOzoQGO5xnD9AfdH5GUi8/mdbXE+Q7Qo23vBOvFQc=; b=GvfNl1JnFTB5U1 sf3kKhl1DbNB6Z23+KZCsyAUufvwfTN+dLIkWYSMptH/pyMYj4Q8Q6dO2a9AnsodX5zGxZ1CBPME5 1K2om127sGqDlIs0sHZI+o0k3DipCDXvU9HRk+f1OEcJ3oYmYxfUtMlZdG2Ko8aUe5/esCIqBmeET dnOgdT60CbOzP8k2EfBwKBFnJiur6VJcqLAzdYSLnZrZ+Flu0zAfxOu+QGVjZervbTRjkfLf9OPTI Wko/jasdVOubKs/VaKvlihUsHmGjzGEgsYJyefoaTLSeLoGLbdf2NwDhIUqwPlcWduaZ2uBOVroWh 5JMpuGy+U4TPCdPI6fhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njxRz-004qPC-Eb; Thu, 28 Apr 2022 06:16:27 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njxRv-004qOU-Lg for linux-arm-kernel@lists.infradead.org; Thu, 28 Apr 2022 06:16:25 +0000 Received: by mail-ej1-x634.google.com with SMTP id m20so7428460ejj.10 for ; Wed, 27 Apr 2022 23:16:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=MFsuND3deEikwDCrPgJTnpdq0PRuR+XEOkINDbDvzIs=; b=dm7IIP+sI4Ep4b8lV07ltQtn5GmcD1I83e3a9lsIhs9/CpyP9r/tPoMOX8W4zzn3H+ Fnt8biujUBQUzZCgmruQol7neI5e+1oPmN5ass7Ow7+tzP7X5FdV0FQ0qyI/rAF+r5Mg lAeLuF11cdUQUy4YFabaaRYnqLq018egODyaKP9JjXFOaZhXBy/NwY09f4qxt3kzykN7 4p0ourLjeTSMhlLuSxZvUNgwovcqwZtXZXFk+bVoa/X84oLITrXu6yFaEGwrMwht7O6d 9m1/hNubS3pgiwdFHmW3hduT9tqT//aF9r0q8V2nzdHv94WQpalZLz9yq4nLaP3AKEkM +5dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=MFsuND3deEikwDCrPgJTnpdq0PRuR+XEOkINDbDvzIs=; b=FhTN2zAov3jZ4vZfOEpG+qu482XMT4gK5w3BWftMcy15rO6n7FISfA/dzWXd9CGQA3 PMH+uA/VBOzWUx+7V+exid4j7tJ6FZn10TQ8iZwJu7HQRa3vfZrb8lRX8GGuovoK7bZu a0BpcRG4PpBWVOnnJapSvp2mDq3Tcg/oimb9Oo9Hf1D7BoXCSCdFJwqgnXVBqzsCYbDm 7ROU9VA5C509YjsPjMCm4zOmaGG6AfThFHFl6rw/jnR+PBnfaVFimtO8iswWgAJDgKpk g0H5/s1BjHgym5HeHXzQQ35IoA2QAS12vASK03e4ZFQgLZwXWb7hBYhY/DnAeHaou/ZT TAPQ== X-Gm-Message-State: AOAM531Xb5fL27qGtvzkBLJCaMljBCyZ6f/jnb8SVDV0pzCmDl8lHEht PgMkAZUPFWdlrCcdq0mYTvBEVQ== X-Google-Smtp-Source: ABdhPJwBZ1KNRfTA1HAA4LNUtcVVMcP6eFpjtMb2TWZhJ9REFtbQpTpqXSRQVZsbPWfRPDqMyAnXmQ== X-Received: by 2002:a17:907:9628:b0:6f3:5fbe:c28 with SMTP id gb40-20020a170907962800b006f35fbe0c28mr28506329ejc.754.1651126581596; Wed, 27 Apr 2022 23:16:21 -0700 (PDT) Received: from [192.168.0.159] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id c4-20020a170906170400b006e87c7b8ffasm7971376eje.32.2022.04.27.23.16.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Apr 2022 23:16:20 -0700 (PDT) Message-ID: <8d9130b5-7459-bb26-79c7-3d83f7dd29a0@linaro.org> Date: Thu, 28 Apr 2022 08:16:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v3 3/4] dt-bindings: interrupt-controller: fsl, ls-extirq: convert to YAML Content-Language: en-US To: Leo Li , Michael Walle , Rob Herring , Krzysztof Kozlowski Cc: Shawn Guo , Thomas Gleixner , Marc Zyngier , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20220427075338.1156449-1-michael@walle.cc> <20220427075338.1156449-4-michael@walle.cc> From: Krzysztof Kozlowski In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220427_231623_768032_52E0FCCE X-CRM114-Status: GOOD ( 16.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 27/04/2022 22:08, Leo Li wrote: >> Convert the fsl,ls-extirq binding to the new YAML format. >> >> In contrast to the original binding documentation, there are three >> compatibles which are used in their corresponding device trees which have a >> specific compatible and the (already documented) fallback >> compatible: >> - "fsl,ls1046a-extirq", "fsl,ls1043a-extirq" >> - "fsl,ls2080a-extirq", "fsl,ls1088a-extirq" >> - "fsl,lx2160a-extirq", "fsl,ls1088a-extirq" >> >> Depending on the number of the number of the external IRQs which is >> usually 12 except for the LS1021A where there are only 6, the interrupt-map- >> mask was reduced from 0xffffffff to 0xf and 0x7 respectively and the number >> of interrupt-map entries have to match. > > I assume this change won't prevent driver to be compatible with older device trees using the 0xffffffff? The original 0xffffffff should work for both 6/12 interrupts or whatever reasonable number of interrupts that maybe used in future SoCs. So the purpose of this change is to make the binding more specific to catch more errors in device tree? Yes. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel