Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3143634pxa; Tue, 25 Aug 2020 12:38:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyI2kaWNeNkUgFhCTR8W3y892j4B23lcxI4aLwXJc2YcR9vU/EmdqeCE078h6cE6vUiylnZ X-Received: by 2002:a17:906:f1c4:: with SMTP id gx4mr12507352ejb.98.1598384288469; Tue, 25 Aug 2020 12:38:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598384288; cv=none; d=google.com; s=arc-20160816; b=fJxvF+lhwor7F4DK5ZqQwu7qeHcuaHUyN0c1ALe6X3CgSVbq2ieXkYfP1OPOU1XFaW Cnwcs9QBAVaDJpBzF/KWZOH1BQ7eIDMFLuKwZMiBx881b2Rsm6uRsdmkRJyzbpcvKlQ6 CnEdVeIrpYoiWPayW33DlVE7DonJgZH2MGhkqOKrSGGa/k2DJCi4FfyKPGlmM0KjX/lu wLXRnrwldpRxfDIdj/dTRGZnzE8TzsM31Brp+7gX35MttW+MA4vafG1mfVKDO6NB/Nie 0Sa8M9LZ6FJD842N13lc+UGD9/T0aeQUH101f9g/7Re6Omn0ylYbBO4cNwWMiW2MdxXq p4Kw== 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=I20TebGN9330qQ9ADXv+H+IZmqPunqMItBiMVA02BZg=; b=SuMgvXUw/hebCzxtOKCDdcoVLnpZHEXXu35vhUExDajZhoVEhOxtWIFf8hUd8bTVKv ej+PoEOEvlhRJkaPjjsoi5bCL8EX4s8Mr867enxs5ODqpkPZODbtz3HfzSWR8FzzWHH6 Zv2Isemqm6XAHR2BWGXZAZpPhglxGmXVuuTFkV5IxW6upyE2ZDgIXooNJEZTm6lljmQx BhPic4qeS8E4AvKGqexcgdi9nWaoHTYJ9lY/skSmeV/S4Pj0jN8ghvUa9kZy9kZU+jTD gn51+mBqc6AjbFb+gE9TFG4iVjHNuXuucxbnxWnogPsyF01X7RDM6TqChPRGfQ8AEDWg +buw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FuZ8wpSH; 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 i10si9845120edu.323.2020.08.25.12.37.45; Tue, 25 Aug 2020 12:38:08 -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=FuZ8wpSH; 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 S1726910AbgHYTgo (ORCPT + 99 others); Tue, 25 Aug 2020 15:36:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:40894 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726713AbgHYTgn (ORCPT ); Tue, 25 Aug 2020 15:36:43 -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 062442075E; Tue, 25 Aug 2020 19:36:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598384203; bh=6pQee/lEOtd6XVjbMxZhh087Cotb2fe4tMAUouVEZXE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FuZ8wpSH8ZxNJeaDZ9YPkq4WRh/FgzFB65KrG/V8H46eZwNAD9VCLEf8BZAXqx1WM GMvU1WaU3R1fVUrNgygVIt4aLnCHFV9xiLRz7ZqBu9UwTdmD+/vDc7++Hb3yLlCYO3 Sm8Hk6bMrhY6+Nzl3cn9vZ5raF4BAJTozB2hAWP0= 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 05/19] dt-bindings: perf: fsl-imx-ddr: Add i.MX 8M compatibles Date: Tue, 25 Aug 2020 21:35:22 +0200 Message-Id: <20200825193536.7332-6-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: ddr-pmu@3d800000: compatible:0: 'fsl,imx8mm-ddr-pmu' is not one of ['fsl,imx8-ddr-pmu', 'fsl,imx8m-ddr-pmu', 'fsl,imx8mp-ddr-pmu'] From schema: Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: ddr-pmu@3d800000: compatible: ['fsl,imx8mm-ddr-pmu', 'fsl,imx8m-ddr-pmu'] is too long arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: ddr-pmu@3d800000: compatible: Additional items are not allowed ('fsl,imx8m-ddr-pmu' was unexpected) Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Changes since v1: 1. Handle also fsl,imx8mp-ddr-pmu --- .../devicetree/bindings/perf/fsl-imx-ddr.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml b/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml index 9ed8f44adabe..5aad9f4e0b2a 100644 --- a/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml +++ b/Documentation/devicetree/bindings/perf/fsl-imx-ddr.yaml @@ -11,10 +11,18 @@ maintainers: properties: compatible: - enum: - - fsl,imx8-ddr-pmu - - fsl,imx8m-ddr-pmu - - fsl,imx8mp-ddr-pmu + oneOf: + - enum: + - fsl,imx8-ddr-pmu + - fsl,imx8m-ddr-pmu + - fsl,imx8mp-ddr-pmu + - items: + - enum: + - fsl,imx8mm-ddr-pmu + - fsl,imx8mn-ddr-pmu + - fsl,imx8mq-ddr-pmu + - fsl,imx8mp-ddr-pmu + - const: fsl,imx8m-ddr-pmu reg: maxItems: 1 -- 2.17.1