From patchwork Wed Oct 23 18:58:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13847818 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2DF1F1D0957 for ; Wed, 23 Oct 2024 18:58:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729709933; cv=none; b=AuJKvBCv3frMebDdtOSWdbRJox/f/K3dOtyP/N/qjw+Qrqs+CPecgs5qcwcDtUViPpem2gcaD1Wpp5Lcn6LpjdB2rvRUfZmiwxa3upAGFXzW5UKRCvZ4S9cmHeK443AeQ8LLg7NzcjMHuyBHSlWmA9trTcvAxfJ8VukGjmhKCLA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729709933; c=relaxed/simple; bh=63W5Ky+pMOBBnhK2c1KQgIZjKxCECrOTMw1zvS/YZEE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=A7AvZamN3K1vN2wihvWWVw+hWEIGrCXS97BPpNQuT7DT8lvsduyhrde6tnRb8lq+rU9szEop/IPFZI7VVAVjZ5y697xj+zR1REK3/0gX9zVXirbIdH/YijM1GB28oDVN/LpGRYs+mE9gc6/Mc8atD2r99BbSJjtMERfCeQgSubo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ZRy5TKkT; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZRy5TKkT" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-20cb89a4e4cso458055ad.3 for ; Wed, 23 Oct 2024 11:58:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729709931; x=1730314731; darn=lists.linux.dev; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=bETUmi3XIXD8kJXknLOuOgQdcHp3kntpbqzcQWybJyo=; b=ZRy5TKkTzYHLSkZMFfSO5yqndlzAzwI2W44tpKHowQdhR90eagQCjZIEwca0sMwVVz Opmpq6ujo0+C+Ty03fl5prwCf9ysYCXl2HJdi0tJdynwhW9g7D98qIOS0UVFoOsOeK2o MF7iQ/PD70dRB3rLvRBMerAcNSEGIaYe88ofRZ1pHk5sZ+Bv1bcENXso7bKnIbTRrMpg PFutGBob/sHj/GHlrKRr/fDj/a1PkOTQfpasB1E51ooiIRJKaih9D9rI41+LmvrNDjIe 5AbdMBx3rIAfJuP8rs+e9Olv37pXVZFI9DGmGLsC6AKgdp+wZp9sYvrqQMMY/GxFndw3 VDhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729709931; x=1730314731; 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=bETUmi3XIXD8kJXknLOuOgQdcHp3kntpbqzcQWybJyo=; b=xNsy6Fa4pBTjjrYEVZj9awrLI7gxIoypF0BEd+DGIclVsAOp3WO928CI2UXE7ljEkC O0swKAuCTBP7C4ODM7R8NXLe/rlk8HfORsab8WtkDIfQWkB0Jkuc6ERmsUqg/zCBJZ0g 0NvKWc7NaZxcY4Ezwh8lOeiiKeWAMP/LGDM07IyFFUKjO9WbWHRvJdACB+3oSs2+Flf3 KV+jS0kaxd7GnLXqJ1eW5f9HGYwFfCUwFhx+t7dNl/VJ870KAtx83rxTNkKMtMOwZ83+ Fm2U+pYc/kc5Ynb/uuh6yww4xV2JxkHvZxbWd/5J3SkABJZN6J+QhTXwBwGhjkSpJe8D eQGQ== X-Forwarded-Encrypted: i=1; AJvYcCWz8iaRGRFEk6jQtTrMfL7kPBSijznP4DtjVrsp4o0HWX8mdE33Z1f0/teRNE4k7BA2T44=@lists.linux.dev X-Gm-Message-State: AOJu0Yy5FFNnD7rpi2iv2ztFklNNgkKD9tSUGnbAjHzeZct+KNxvQnRi +yrZmxGRrnbCiaiv3fRf6+iRxfYktNxo5WaIV/2Tqn5sLdGWJYqknvZDHA== X-Google-Smtp-Source: AGHT+IEiMM+L5uFTC2VVfCZ7I44sSELbZMIx+Zoda6jHBhFMKFwgs8wwCZULrOSJN8mgnxIegVhiIQ== X-Received: by 2002:a17:902:d482:b0:20c:8df8:5066 with SMTP id d9443c01a7336-20fa9ea096cmr44157185ad.45.1729709931402; Wed, 23 Oct 2024 11:58:51 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:248:317f:2ba9:e66c]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e7f0f6ee4sm60619955ad.295.2024.10.23.11.58.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 11:58:50 -0700 (PDT) From: Fabio Estevam To: tglx@linutronix.de Cc: daniel.lezcano@linaro.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 1/2] dt-bindings: timer: fsl,imxgpt: Fix the fsl,imx7d-gpt fallback Date: Wed, 23 Oct 2024 15:58:40 -0300 Message-Id: <20241023185841.1183706-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Fabio Estevam imx7s.dtsi correctly describes the GPT node as: compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt"; Document the fallback compatible to be "fsl,imx6dl-gpt" in the bindings. This fixes the following dt-schema warnings: timer@302f0000: compatible: 'oneOf' conditional failed, one must be fixed: ['fsl,imx7d-gpt', 'fsl,imx6dl-gpt'] is too long 'fsl,imx1-gpt' was expected 'fsl,imx21-gpt' was expected 'fsl,imx27-gpt' was expected 'fsl,imx31-gpt' was expected 'fsl,imx7d-gpt' is not one of ['fsl,imx25-gpt', 'fsl,imx50-gpt', 'fsl,imx51-gpt', 'fsl,imx53-gpt', 'fsl,imx6q-gpt'] 'fsl,imx6dl-gpt' was expected 'fsl,imx7d-gpt' is not one of ['fsl,imx6sl-gpt', 'fsl,imx6sx-gpt', 'fsl,imx8mp-gpt', 'fsl,imxrt1050-gpt', 'fsl,imxrt1170-gpt'] 'fsl,imx6sx-gpt' was expected Signed-off-by: Fabio Estevam Reviewed-by: Alexander Stein Acked-by: Conor Dooley --- Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml index e2607377cbae..a2fcb1e8e74e 100644 --- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml @@ -31,6 +31,7 @@ properties: - enum: - fsl,imx6sl-gpt - fsl,imx6sx-gpt + - fsl,imx7d-gpt - fsl,imx8mp-gpt - fsl,imxrt1050-gpt - fsl,imxrt1170-gpt @@ -38,7 +39,6 @@ properties: - items: - enum: - fsl,imx6ul-gpt - - fsl,imx7d-gpt - const: fsl,imx6sx-gpt reg: From patchwork Wed Oct 23 18:58:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13847819 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 621961D5AAD for ; Wed, 23 Oct 2024 18:58:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729709936; cv=none; b=JiL5NVn6ymPtmILWoSe83TTzg9+u40Tedh7z22HgWKTb9Xo63k8giOJfxWoIjgoSBRTz74BFO2qLfR9S8K02UVkDt+U9KnkakSZIiIsqX2iZScv17hUtVgozIPIXBq7St2kD2G53Vun+LSV9vZrunoBHDUBE0HesqY7p2n4Bu20= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729709936; c=relaxed/simple; bh=x204FY8czbHAb7Cmw99W7nI9BVzyf3/4zvjGmKOefJs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=JaZbCeIZezBhdircDg2gjSTLJ8tv92igVsVCkMWoDdhEB2AENY71iXxkmBaBwVmm2GcJjYhq5dyyza26YXUkhZ2RG46Cf5mPaUTAvkte7zMBDJC2zJHAjSQB/bDNO02can1o9WJ8TqndY7jkqvQ66PSouUkvP3yKqdbMSHzbFUQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ckHTQCfV; arc=none smtp.client-ip=209.85.214.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ckHTQCfV" Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-20bb39d97d1so462195ad.2 for ; Wed, 23 Oct 2024 11:58:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729709935; x=1730314735; darn=lists.linux.dev; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=I8POc0ozVUT+47lXZs+WKX2u4H7qQ6BvNQLFo8yC2yY=; b=ckHTQCfVzxF1BeA+zMQzM5YITvc3zBV2HQm103Y+GQxNcQlbrs9DBFOOWobLHYKMBA DTaFcJYXcwOj8MMzssqDdQ0ZW+zLXFi2044gpthPNbBU3M7ZQ9nO7vRJ0NRT9TtOidyb AxQiUo56L+jDklLRWkgUvqxnXauDajCDLeK+azc1cdkk+jx5uiq6Z4EJEs6+Zi9aNqIa +idgwk7fn/OEypgZWjKvBqfF0PLO8td90XpuvFcIJyGgp43eD/coyiTQke/9aQf+IZpT Q7/knJuZpaZdKqjmmJ0SDRlWWQxyDh91VcmOiltNDYDfKapE3Li+MCyug1EmpLFoCDcw egmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729709935; x=1730314735; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I8POc0ozVUT+47lXZs+WKX2u4H7qQ6BvNQLFo8yC2yY=; b=ugOSK6kXQkCslJ3lca/YWUauj+QYevP91joQ8TqaUzl02/9vgip40OXEEyPVxtkiRm iJmA/gRuXPICfvvy9Hd8lztbJ3qZWhYmdhDHuBxDiYGjHbT3uQ9PKIDmczGj5J9RN5WE ppsKvmwRr8baUU5+38FRoAzwBB6WeGzCVNDJdT4uKrttpS3wGLBaExRkbeo81Dl+J4qT aNRO6EYmikaRddFi0UrsZzRD9S5txm4MNmT3yBM/JAYTgbcYCxpu5jh8cAqW+jg3ZpsS +hPdXchCyBMoKlYUYBxHHFVfnhAlNW8w8hrw8Skoso7g5K6nvAHdcpID2OPy02vUN3UX H8zw== X-Forwarded-Encrypted: i=1; AJvYcCW+MaaYsTjiwD6dEyrVvCjsc1MKGVXseZ3TqxqaYRxQ1m8CZvi6YAX6mcJUlaB4ZxUliH0=@lists.linux.dev X-Gm-Message-State: AOJu0YxFDXTcVQ8GmNfDy5K2VHhJd1sLrXMhPThkXLTxICv5eRuHAJQS YWqK8mlCYpCKh71udkUNwLGbTW3arfGaYkcNBERRM4qz03k1CaF/ X-Google-Smtp-Source: AGHT+IHH019wlye4OLyzFgAVfsYnBimRnqGGVnQAULUDSlRjJMvfsgn8n6SH4ioTZQtD+DntZKPrMA== X-Received: by 2002:a17:902:e5ca:b0:20c:b876:5046 with SMTP id d9443c01a7336-20fa9ea37c0mr32248425ad.50.1729709934726; Wed, 23 Oct 2024 11:58:54 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:248:317f:2ba9:e66c]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e7f0f6ee4sm60619955ad.295.2024.10.23.11.58.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 11:58:54 -0700 (PDT) From: Fabio Estevam To: tglx@linutronix.de Cc: daniel.lezcano@linaro.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH 2/2] dt-bindings: timer: fsl,imxgpt: Document fsl,imx35-gpt Date: Wed, 23 Oct 2024 15:58:41 -0300 Message-Id: <20241023185841.1183706-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241023185841.1183706-1-festevam@gmail.com> References: <20241023185841.1183706-1-festevam@gmail.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The i.MX35 General Purpose Timer is compatible with i.MX31. Document the fsl,imx35-gpt compatible. This fixes the following dt-schema warning: timer@53f90000: compatible: 'oneOf' conditional failed, one must be fixed: ['fsl,imx35-gpt', 'fsl,imx31-gpt'] is too long 'fsl,imx1-gpt' was expected 'fsl,imx21-gpt' was expected 'fsl,imx27-gpt' was expected 'fsl,imx31-gpt' was expected 'fsl,imx35-gpt' is not one of ['fsl,imx25-gpt', 'fsl,imx50-gpt', 'fsl,imx51-gpt', 'fsl,imx53-gpt', 'fsl,imx6q-gpt'] 'fsl,imx6dl-gpt' was expected 'fsl,imx35-gpt' is not one of ['fsl,imx6sl-gpt', 'fsl,imx6sx-gpt', 'fsl,imx8mp-gpt', 'fsl,imxrt1050-gpt', 'fsl,imxrt1170-gpt'] 'fsl,imx35-gpt' is not one of ['fsl,imx6ul-gpt', 'fsl,imx7d-gpt'] 'fsl,imx6sx-gpt' was expected Signed-off-by: Fabio Estevam Reviewed-by: Alexander Stein Acked-by: Conor Dooley --- Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml index a2fcb1e8e74e..9898dc7ea97b 100644 --- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml @@ -21,6 +21,7 @@ properties: - items: - enum: - fsl,imx25-gpt + - fsl,imx35-gpt - fsl,imx50-gpt - fsl,imx51-gpt - fsl,imx53-gpt