Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3143984pxa; Tue, 25 Aug 2020 12:38:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwl5KgNSg8hHvJizLkl5t22l/eYGcB7WKP11KoGDyg4zHNPGhtzCzeLQGOfkc7P5YV9TKke X-Received: by 2002:a17:906:f1c4:: with SMTP id gx4mr12509645ejb.98.1598384328403; Tue, 25 Aug 2020 12:38:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598384328; cv=none; d=google.com; s=arc-20160816; b=ind05pPjv8QHGw9DyftXeook9pl9oWcSHLOmd2Izhj/PWV+mazpCVlIFqSYnET8I/O hqfVoQERw84p8jDX0Icq4SqH09OVEoCPDW5E6LsR7xVqtyj7U6rcGCjVIjrAidUAMskJ k5YuEf8as75uEvstqYRl/EX1ILUygbFb1TBoMe9iDfxk6SKrJbDalBC2/LrvammBa5dN N6qVecGrvuEwmGCOGlDfHUqPK14/iTN2sWRSomtopwEBoP9HahAVy/icGvdZLeSLsk1Y Y1KhKfR9Gs69R7os+eujQWWgdBSqLz5LHAHbmHU1JIi5ZS1HX9l8DjGFSgpQwrCVi7uw MWGw== 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=sc465Q8x5ULW8j70RDp3ow5VC4IT4+whoc2hdoIwvO8=; b=EQLJdXZImieyDx0VuyDOr6lyOTaob2WFZh1NTn+wBsiK70I3Sjly7w4+qRyTdJ2jqj DpnVLBvqUeO9HCdlI3R26ow/n68Psw2WvCddl2EKzwmsLO/qM1LPSK/w14DphN0kobCA V5pO1GcKiITyqqPUz7U8RINZNTkoMPsPBr8g2LJnQSRqb329P2tEFt6PdI79+6QRtQVY 4OOdi2PZA9Z1Iaz9l+xAwm3JXeF/EGrUn5wEi7aivx7rD4zoLK2F97TVSPGeRqZLMhys /MvNVLvvA9CFTOo9ZcegNFSgCvEsMLS+C8SbEtHHomLnp67y1gnkKsbfOAco6Z4O6/S6 c8sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1mhyc2hF; 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 a62si3820839edf.186.2020.08.25.12.38.25; Tue, 25 Aug 2020 12:38:48 -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=1mhyc2hF; 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 S1727037AbgHYTh2 (ORCPT + 99 others); Tue, 25 Aug 2020 15:37:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:42494 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726090AbgHYTh1 (ORCPT ); Tue, 25 Aug 2020 15:37:27 -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 383B8207DF; Tue, 25 Aug 2020 19:37:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598384246; bh=85RKMTmKECIMFM6DGRK+YX/4QokPxJS+EKnA8zzJN1U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1mhyc2hFMV1Kl1VwHgMe7aKSzXGPKK1Or/omGY8U3pUngppO6NjrP7fkDSj4szw1E TkWRcWbSPnnuchHuQNQ7pSvSpdxHWysYTbsVaNXezUQewJKsDQdW9y64qM0lVD7rK/ dyncXh1XGtYjAqDQj30ErtI7JkZgSxy4VTxkwOZs= 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 10/19] dt-bindings: reset: fsl,imx7-src: Add i.MX 8M compatibles Date: Tue, 25 Aug 2020 21:35:27 +0200 Message-Id: <20200825193536.7332-11-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 DTSes with new i.MX 8M SoCs introduce their own compatibles so add them to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: reset-controller@30390000: compatible:0: 'fsl,imx8mm-src' is not one of ['fsl,imx7d-src', 'fsl,imx8mq-src', 'fsl,imx8mp-src'] From schema: Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: reset-controller@30390000: compatible:1: 'syscon' was expected arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: reset-controller@30390000: compatible: ['fsl,imx8mm-src', 'fsl,imx8mq-src', 'syscon'] is too long Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/reset/fsl,imx7-src.yaml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml b/Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml index 569cd3bd3a70..00430e2eabc8 100644 --- a/Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml +++ b/Documentation/devicetree/bindings/reset/fsl,imx7-src.yaml @@ -22,12 +22,19 @@ description: | properties: compatible: - items: - - enum: - - fsl,imx7d-src - - fsl,imx8mq-src - - fsl,imx8mp-src - - const: syscon + oneOf: + - items: + - enum: + - fsl,imx7d-src + - fsl,imx8mq-src + - fsl,imx8mp-src + - const: syscon + - items: + - enum: + - fsl,imx8mm-src + - fsl,imx8mn-src + - const: fsl,imx8mq-src + - const: syscon reg: maxItems: 1 -- 2.17.1