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 X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E14AC2D0C0 for ; Thu, 19 Dec 2019 14:48:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 73ADA2053B for ; Thu, 19 Dec 2019 14:48:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="sCqge6Ue" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726867AbfLSOsw (ORCPT ); Thu, 19 Dec 2019 09:48:52 -0500 Received: from mail25.static.mailgun.info ([104.130.122.25]:48795 "EHLO mail25.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726759AbfLSOsv (ORCPT ); Thu, 19 Dec 2019 09:48:51 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1576766931; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=3zKPnWBvxLfobydpG1oWipP1FXmPrlABqmI/X79v9lQ=; b=sCqge6UeJOw3HZGXDPIJmhBxxBGUar5fZfjo5ydvT+32gX36m49bE7tRmJlt6IAEdrirH9Oe M/df4yXVjwjSRpGLuk91YiUx6O0gJmugX8iTKQm1f/VdnlCt/D6lbZAhnouDUKAi0JDioG/d qpHqR0WwUAEi3eV5weMl9WIFQb8= X-Mailgun-Sending-Ip: 104.130.122.25 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5dfb8dd0.7fb376be70a0-smtp-out-n03; Thu, 19 Dec 2019 14:48:48 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 6DD52C00A44; Thu, 19 Dec 2019 14:48:48 +0000 (UTC) Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: saiprakash.ranjan) by smtp.codeaurora.org (Postfix) with ESMTPSA id E782CC5383A; Thu, 19 Dec 2019 14:48:47 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 19 Dec 2019 20:18:47 +0530 From: Sai Prakash Ranjan To: Rob Herring Cc: Andy Gross , Bjorn Andersson , Mark Rutland , devicetree@vger.kernel.org, Borislav Petkov , Mauro Carvalho Chehab , Tony Luck , James Morse , Robert Richter , linux-edac , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel@vger.kernel.org, linux-arm-msm , Stephen Boyd , Evan Green , Trilok Soni , Prasad Sodagudi Subject: Re: [PATCH 1/2] dt-bindings: edac: Add DT bindings for Kryo EDAC In-Reply-To: References: <0101016ed57a3259-eee09e9e-e99a-40f1-ab1c-63e58a42615c-000000@us-west-2.amazonses.com> <20191218233714.GA30302@bogus> <7469b239edd4beed3e8fefdf02f10ada@codeaurora.org> Message-ID: <86b3a0735df320bc7808930f2bbd0d97@codeaurora.org> X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-12-19 19:28, Rob Herring wrote: >> > Is that your intent? >> > >> >> No, I want any combination of interrupts to be valid with atleast one >> interrupt as mandatory. >> I thought specifying minItems as 1 and maxItems as 4 will take care of >> this, am I doing something wrong? > > Interrupts (really all properties) have a defined order in DT and an > 'items' list defines both the order and index. You'll need to use > oneOf and list out the possibilities. Stick to ones you actually need. > Thanks, I will make the change in the next spin. -Sai -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation