From patchwork Mon Sep 25 12:44:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 726240 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4A98CE7A81 for ; Mon, 25 Sep 2023 12:44:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229924AbjIYMoc (ORCPT ); Mon, 25 Sep 2023 08:44:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229815AbjIYMob (ORCPT ); Mon, 25 Sep 2023 08:44:31 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35DB7C0; Mon, 25 Sep 2023 05:44:22 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1c5faa2af60so5986285ad.0; Mon, 25 Sep 2023 05:44:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695645862; x=1696250662; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=XklYb7b/fLQgyz+S2t23QEReui9hdouB34jEJfTniU0=; b=QbVzMu/ly343z1PvfMK0kJcaO9yczZezvy7ueWXqgVgHK9nIlHNCmdIrNzqgTwmnm2 QQ1iAFrGngOMvm199DfAbFyeiW022J3IzNtFBVCjDJiq1a8JayEIeqNkLPP26c1ytzu1 nQr+rJCZkaN/e9/AoIwi+UsQfNeQhSrUWjiCtXEK3WboG0+wMJSdqiV+2p9CJLjewBdK w7mLWEqLsITIL+ASk1lWl2yzZ8m5+S8U64221KwIn4Xv+jBZ435kZqP/v5jFLOlzpHVn lIOcrMbcqMF8EUHJJ0AdBo1R745koOuD5WpqYyx9g5OtsP25JBPruplxqRyclTAUzH/5 iuuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695645862; x=1696250662; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XklYb7b/fLQgyz+S2t23QEReui9hdouB34jEJfTniU0=; b=JwTvlSTDmWttPb6npBhYmRPRSqY6sq9U4RWWjC9xEeeDkKX4H7+9hlvorwUix2FvZB Zmd+IPM3zqh+nKY1ihmiUE/gUBvJRtf3E94MbQWTexrE0BhEOfKL4x9eglVoRo+pcW6E JpUMMMkaOScwlAoGILcyHLLHr3TeTDg46luiM060czpz8tWK/7iYaY1lGdcIKOUTQ3Xs 1mcM11nEOB88WywcQLlbH05H+R4nOwdHzhsa1IZ6CyumbCS/cM0oRIKRClcn9bBaXMDt 3iqksX6Z6nQzLTcucWinED2QgCpVbljFpgjg6Ti0DLzccF+83ISrsZoMU+NOFGRmZ/DB 414Q== X-Gm-Message-State: AOJu0Yx8HEeyEZl+VmBtCHE9fYofnCrQ71VGLpCUhE8qmSoPvAS73WDc 8r3ckJ0fAUKTxv/pv7U9MyjJd55yWCU= X-Google-Smtp-Source: AGHT+IEsrd7RGAyPg8fa6eFSJDr3viGzrEuyU2t+5fNy5ncqm9c8K7crVD5JXS2IRP64YNiscFyyoQ== X-Received: by 2002:a17:903:110d:b0:1c5:cd01:d846 with SMTP id n13-20020a170903110d00b001c5cd01d846mr8624351plh.3.1695645861535; Mon, 25 Sep 2023 05:44:21 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:fbad:220b:bad3:838c]) by smtp.gmail.com with ESMTPSA id iw15-20020a170903044f00b001c5d09e9437sm8816539plb.25.2023.09.25.05.44.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 05:44:21 -0700 (PDT) From: Fabio Estevam To: linus.walleij@linaro.org Cc: brgl@bgdev.pl, andy@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, Fabio Estevam , Krzysztof Kozlowski Subject: [PATCH v3] dt-bindings: gpio: fsl-imx-gpio: Document imx25 and imx27 Date: Mon, 25 Sep 2023 09:44:02 -0300 Message-Id: <20230925124402.937649-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Fabio Estevam fsl,imx25-gpio and fsl,imx27-gpio are not documented, causing schema warnings. fsl,imx25-gpio is compatible with fsl,imx35-gpio and fsl,imx27-gpio is compatible with fsl,imx21-gpio. Document them accordingly. Signed-off-by: Fabio Estevam Reviewed-by: Krzysztof Kozlowski --- Changes since v2: - Place the 'fsl,imx21-gpio' fallback prior to 'fsl,imx31-gpio'. (Krzysztof) Changes since v1: - Sorted by fallback compatible. (Krzysztof) Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml index d0ca2af89f1e..918776d16ef3 100644 --- a/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml @@ -18,9 +18,17 @@ properties: - fsl,imx31-gpio - fsl,imx35-gpio - fsl,imx7d-gpio + - items: + - enum: + - fsl,imx27-gpio + - const: fsl,imx21-gpio - items: - const: fsl,imx35-gpio - const: fsl,imx31-gpio + - items: + - enum: + - fsl,imx25-gpio + - const: fsl,imx35-gpio - items: - enum: - fsl,imx50-gpio