Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3143660pxa; Tue, 25 Aug 2020 12:38:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyrCAd5CDkFeEo6eN89B1MKZ3iXeh9ydQYvtbqzjD+pICy147hGNTJigJ/nPQNFmfiv5Mo X-Received: by 2002:a17:906:cc4a:: with SMTP id mm10mr11786106ejb.451.1598384291763; Tue, 25 Aug 2020 12:38:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598384291; cv=none; d=google.com; s=arc-20160816; b=JDB2ICppR71+NR6LMG0WEoRmEKoUvW1VRLsx7aeD0p8gXluaHjjjDJ2rlX3FWEV9ws mcYug8pIlR2gN0caxtwslY2mnWfBGzKHf3MhvlsomrZ4wyMVGzvNyeptDZgoGr2m3nnQ kQmOX3O286suyMKmEhT+8dRSR+uFh4E+NyesY0yGHz+1Qj0JaXOs69SdrQuvz3qFjpAZ mg5TbJ9XOlZu+M5XqhP8vGmsaJUgOkAF0velLWicgNeWZCqE+tAHOTA6wf6eCUqisJjT Xx5ruoHs3VThVqv6yslHdnK2lIff550rW0Y6j6Fnu8qCJg+pXV/qx5CArfA9QwWgflNB xVlg== 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=nTeFD5SMzBQl3FZAi/LX8++m9MglbAPdcU7u6Ho2oc0=; b=oGBHaGYGuZ5Mwfe6ShRv91NTJ7jrTfckUJRekFpANt+heeUR3DgYqKFNz3b7wjpD7Q XtVVRX0KgA0VKaXijEM8fNHBVWsBIaeDY3NG87OYvGJJBs3lk9BSOoFAkMUMXMsNbSC7 0mOn8r0I5FUE5rUt3KRKs7SJ2EXg5SsBVeYSOVUJO+1OLz/HghmvrR7WjYK3HUGPpR1q ZX/ykfbB2xsKPmugsfK77yX0mzuSLV5oCoDgL2G03d7kUa6VHhICG/WFBPgpAKocs47C VuMpZ1uInxQMlzMY2F/Y5+TG59OuaGHAgf9nkZBOTpRcZ/dg8Uwc85xhppVkHKsevUUq k/yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GHPnAXBi; 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 bu19si18703ejb.305.2020.08.25.12.37.48; Tue, 25 Aug 2020 12:38:11 -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=GHPnAXBi; 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 S1726939AbgHYTgz (ORCPT + 99 others); Tue, 25 Aug 2020 15:36:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:41164 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726303AbgHYTgv (ORCPT ); Tue, 25 Aug 2020 15:36:51 -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 9977B20782; Tue, 25 Aug 2020 19:36:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598384210; bh=hL/fcCPcN2C/m5il4PArkR2+637T0WAxztArDirM7/s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GHPnAXBiZPoBs6b+udD/Uugeim4hNbPPkyepzNn7M3IOrHPCfbZ9wFfUhzL2ySqgS 6+fEqJc3UFsNMh2av2oYIbMQ/w1UgK3w6kC+suCq+ANdhhDDXYhUAE39spbaC5a80S a/WVxOD8L8BiIP7z7zg7bM7ATnvtIKLKzDYX/WlU= 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 06/19] dt-bindings: pwm: imx-pwm: Add i.MX 8M compatibles Date: Tue, 25 Aug 2020 21:35:23 +0200 Message-Id: <20200825193536.7332-7-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: pwm@30660000: compatible:0: 'fsl,imx8mm-pwm' is not one of ['fsl,imx1-pwm', 'fsl,imx27-pwm'] From schema: Documentation/devicetree/bindings/pwm/imx-pwm.yaml arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: pwm@30660000: compatible: ['fsl,imx8mm-pwm', 'fsl,imx27-pwm'] is too long arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: pwm@30660000: compatible: Additional items are not allowed ('fsl,imx27-pwm' was unexpected) Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/pwm/imx-pwm.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pwm/imx-pwm.yaml b/Documentation/devicetree/bindings/pwm/imx-pwm.yaml index 01df06777cba..473863eb67e5 100644 --- a/Documentation/devicetree/bindings/pwm/imx-pwm.yaml +++ b/Documentation/devicetree/bindings/pwm/imx-pwm.yaml @@ -19,9 +19,17 @@ properties: - 3 compatible: - enum: - - fsl,imx1-pwm - - fsl,imx27-pwm + oneOf: + - enum: + - fsl,imx1-pwm + - fsl,imx27-pwm + - items: + - enum: + - fsl,imx8mm-pwm + - fsl,imx8mn-pwm + - fsl,imx8mp-pwm + - fsl,imx8mq-pwm + - const: fsl,imx27-pwm reg: maxItems: 1 -- 2.17.1