Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3144466pxa; Tue, 25 Aug 2020 12:39:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8Y+dEsBpGRVG9y3b2TyON2V2J71R0CZQynH2Rv6kN2lHc9IMXhSqKiTPiMzpPWt4LMTni X-Received: by 2002:a05:6402:84e:: with SMTP id b14mr11531516edz.115.1598384384909; Tue, 25 Aug 2020 12:39:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598384384; cv=none; d=google.com; s=arc-20160816; b=TIBdz7q/zDMWZ6hs1xyjIQ0hAxKjfp8nFpYBWfceGjXZVtCskSfJBFtB2c6uGcn5kK g8WPSQAWzKWd5nrEIMLfvrAGsR2CkyKDsIwDVKootiXhfEemxHSd20npkaIZGvLzHdQM aXm/6GO7lTizCMeR4+prKiZKUgr/ENnRO6U/ViSWgWW+XxIji0Z+MVVTklTdNiU0SG+e bpZX2qvxaQ202DW1U20I/dkPM2Panw1Lr1QvRbVgaByNEmteA4gvnPueQaqiwlyhdppS RhcLjDzxi4vIkbBrrS7/694xz73Iq2DAf7WLUOeHNgA8Jx5zAlu2X1Q8//CIaEjf9b6X Dy1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Maj2kI8Lo5Cnp9/ITpeIE3EID+Hso6//fjfv7JgTedY=; b=mQ63bdP6Vvrx4BL97ClgJXyCA8ou1X0J3OjRCsfjD+VbIx9I+mb9tpL4jkHkZf50W2 38T4SThNEaWXs4/eTJxUotH9P0kc3Qa67qwkKUfDqH2Kb6gBpbczDvnCI/pTL9xnagw5 +NpfKhO9p+I94Mdy0wb0G5nFNeAbZFQHaWtLE98tI6wyibWp20m+nP3l+Mf0JECMmTlN BZ0hq4Lg6pCZop7Xx6ejtXxArqMOldLCuukiRXw0z95QulmDDsl2DRHvVfGv8qz6onVq WrxIF8QTndMfoA9weSqamugTP1W7rJjsg0210p0q+XWq71T93SESru1cwxrWyvg9Tf9S d0nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R5T+9iBA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l91si6132295ede.242.2020.08.25.12.39.21; Tue, 25 Aug 2020 12:39:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R5T+9iBA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727815AbgHYTiO (ORCPT + 99 others); Tue, 25 Aug 2020 15:38:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:44232 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbgHYTiL (ORCPT ); Tue, 25 Aug 2020 15:38:11 -0400 Received: from localhost.localdomain (unknown [194.230.155.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 852572076C; Tue, 25 Aug 2020 19:38:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598384291; bh=sGtFPuXEsVbIrliCojcp2Mbe+DlIhAJbh8Iyk2PAwVI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R5T+9iBATjKkXGJCeBqNAkAw3SBt/m46XL/ziWg/zYkWvcZDhbpTMqDfrsbhCcbkA e5lvmECPc2cMpr7pnyu7aBccWffRpz2kxB1/7qcAe/gKtkV0LBLCO7wjOlrFaYgdof rDtf6Pk40serFot87UKcrp3zoaEx5TSm/23LJCT4= From: Krzysztof Kozlowski To: Rob Herring , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Ulf Hansson , Miquel Raynal , Mark Rutland , Thierry Reding , Anson Huang , Li Yang , Han Xu , Frank Li , Fugang Duan , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org, linux-pwm@vger.kernel.org, linux-serial@vger.kernel.org, linux-pm@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v3 16/19] dt-bindings: interrupt-controller: fsl,irqsteer: Fix compatible matching Date: Tue, 25 Aug 2020 21:35:33 +0200 Message-Id: <20200825193536.7332-17-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200825193536.7332-1-krzk@kernel.org> References: <20200825193536.7332-1-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The i.MX 8M DTSes use two compatibles so update the binding to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mq-thor96.dt.yaml: interrupt-controller@32e2d000: compatible: ['fsl,imx8m-irqsteer', 'fsl,imx-irqsteer'] is too long From schema: Domentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml arch/arm64/boot/dts/freescale/imx8mq-thor96.dt.yaml: interrupt-controller@32e2d000: compatible: Additional items are not allowed ('fsl,imx-irqsteer' was unexpected) Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/interrupt-controller/fsl,irqsteer.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml b/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml index 360a575ef8b0..3b11a1a15398 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml @@ -11,9 +11,11 @@ maintainers: properties: compatible: - enum: - - fsl,imx8m-irqsteer - - fsl,imx-irqsteer + oneOf: + - const: fsl,imx-irqsteer + - items: + - const: fsl,imx8m-irqsteer + - const: fsl,imx-irqsteer reg: maxItems: 1 -- 2.17.1