From patchwork Sun Jan 12 15:27:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13936432 Received: from mail-oa1-f49.google.com (mail-oa1-f49.google.com [209.85.160.49]) (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 4FEC11BC065 for ; Sun, 12 Jan 2025 15:27:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736695677; cv=none; b=gv+M6V6vHNyTE40YpxAyt7uEmQJkDsFX6qGIYP2EFutaAcbfXEstNeETrYRwyOifzcrl8V3MDNu4mwPT6ee/v9lC74ElNsAT5jjqc7nn4ueckGwOh7NFzLFpblkcC9vYdWvSe1WizzbaYFn7CW8i5kppYI8l8wiDkT2TR/GCBpI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736695677; c=relaxed/simple; bh=rcD1d64iYBKXvYv6LjGuCAaPSSQMypySS6wyMSoAm/I=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Ahi+aXBucMG1Vpo8ZOajjFjyfEG0kXqM8KVdr/S+Hkvyt/bgDtBHWtyjMuF4sQaLW7Zf+XDYdDFndj2i23gZMl/0bILOy7W+B+Cy34sR23vbQu914BodNp4qJ5fw7nqqvtvmoZUFgqRfgxfh+WKGuq7tznHDJxzdqNng3MimtHc= 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=VHb+gfsc; arc=none smtp.client-ip=209.85.160.49 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="VHb+gfsc" Received: by mail-oa1-f49.google.com with SMTP id 586e51a60fabf-2a3939a758dso1153455fac.1 for ; Sun, 12 Jan 2025 07:27:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736695675; x=1737300475; 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=ufSZmiJg7tnVJs1W6WLAaINWDzw9jNeKjD7XxxhjWnI=; b=VHb+gfsc4MNGGOyAkvJsgJY88DDwYbY13iGzZvDjPA3OrFKIuUs2IphTjPUFSi6TAR wMxfioL1Qs8hDa907N65abnoUTZ3zgycIeRhzDRamqm8Ogn9K3EPJcYs4w4CEn+KiqIz vt/LUutPubRxX1/I/Zk7boKdiTPOHSELk4oFSM87MYdFc4eRYZspDcq2I//JotJIwfFx dQ266qkNanIqEPSWUKt/jw+ycfjpDPk15fDAt5EIIiUxTotryBl+jCuEzE8PFRAM71CH GNRadDqWtF6M7FuRQ4Ty5ESze5fvniNaINbQ39b2pYsMD+Lme9AsZpgFA83wZMaK5f92 qQpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736695675; x=1737300475; 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=ufSZmiJg7tnVJs1W6WLAaINWDzw9jNeKjD7XxxhjWnI=; b=AMeoI/Omp5OcL9DFibUHfh3LDhMGxi0han5ynT2VA4tcX/XZ5gBD5lgmZIlDxkW5MH Zyy7skdEIv+pgCsnPVHd6vpXUJsiTDouexjwheuvx8jdN/YmNTwDdHpawJ7xw9qqkckl gQE9kQbi5gmRk33X6tLdWnKIk43t9tjx/t8yBifx12a5ASNa038XomlQJ2olxYk09e87 6pSBfRv0yf9PYfTnt+RYkFzYISEDXlMlaP5g8oiEFuKowzzWHGirArzv9Vcl59GmN5+W hvp+lUAWaXHSyM+4aGHs9EYQfqZp55tDkKnlJQ8mu7uGK9+sYqJEJrNRFwtHJzkwhS24 ql6w== X-Forwarded-Encrypted: i=1; AJvYcCUnER1Zt3sHdZO9OoGDY4S1r0M9oxodygSzCUIU0gDKcRsHUg0HjYLtZEDf9VHuHX56rt8=@lists.linux.dev X-Gm-Message-State: AOJu0YxoNV6SF8vMlHLmBOZrEGAUxRe+B41NVuKf1oQ62e0kcZYVQ4EB rOGzlGbD7BVWgy8+RYgmjqN2TNF5MVSn4UJ57OIKgUKIyJ3EXetT X-Gm-Gg: ASbGncuDVSQ36ITyjIlyRYugy8u3R/XHJYlRWwUJ1W7JYErtXF3A9tEb88QGgh+d8QI HKvidSB1VAuzCPTtWn6nqQgOxrJgZEkifol4hv2ZbVUy/TFIpkcBrvoeVlg55j4cjR8Moq5C9Ln H+w1liOHe6tU/EGc5N8NN8q5UBNw1ydTITdVO91MwsYu88G1cvQJucgWxweQegaxd6eVtq3Dfiv c/RH4hEr1F8nRcmL777pp9+RbwDX/TuOhYBYNrQVMUaxcKiPPUPEwgYYEx3A3izZwHBOA== X-Google-Smtp-Source: AGHT+IH/+RAxHFYqIOyPuZoSqSonhUnJs+lnRAyM2sKWo1AcFTT4c04wf85xXiYXKcP61dZvTha1Lw== X-Received: by 2002:a05:6871:a08b:b0:29e:76d1:db3b with SMTP id 586e51a60fabf-2aa066470fdmr9828945fac.5.1736695675132; Sun, 12 Jan 2025 07:27:55 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:8c53:b609:d83:9568]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-2ad80547c11sm2858083fac.18.2025.01.12.07.27.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jan 2025 07:27:53 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, kernel@pengutronix.de, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH v2 1/2] ARM: dts: imx5: Fix the CCM interrupts description Date: Sun, 12 Jan 2025 12:27:44 -0300 Message-Id: <20250112152745.1079880-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 On the i.MX5 chips the peripheral interrupts are represented directly only by their interrupt numbers. The CCM nodes are not following this format and cause the following dt-schema warnings: ccm@73fd4000: interrupts: [[0], [71], [4], [0], [72], [4]] is too long Fix it by passing only the two interrupt numbers. Run-time tested in on an imx53-qsb board. Signed-off-by: Fabio Estevam --- Changes since v1: - Use interrupts = <71>, <72>; arch/arm/boot/dts/nxp/imx/imx50.dtsi | 2 +- arch/arm/boot/dts/nxp/imx/imx51.dtsi | 2 +- arch/arm/boot/dts/nxp/imx/imx53.dtsi | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx50.dtsi b/arch/arm/boot/dts/nxp/imx/imx50.dtsi index 1b6f444443dd..f0b12a70f614 100644 --- a/arch/arm/boot/dts/nxp/imx/imx50.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx50.dtsi @@ -338,7 +338,7 @@ src: reset-controller@53fd0000 { clks: ccm@53fd4000 { compatible = "fsl,imx50-ccm"; reg = <0x53fd4000 0x4000>; - interrupts = <0 71 0x04 0 72 0x04>; + interrupts = <71>, <72>; #clock-cells = <1>; }; diff --git a/arch/arm/boot/dts/nxp/imx/imx51.dtsi b/arch/arm/boot/dts/nxp/imx/imx51.dtsi index cc88da4d7785..2bfb6baa67fc 100644 --- a/arch/arm/boot/dts/nxp/imx/imx51.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx51.dtsi @@ -458,7 +458,7 @@ src: reset-controller@73fd0000 { clks: ccm@73fd4000 { compatible = "fsl,imx51-ccm"; reg = <0x73fd4000 0x4000>; - interrupts = <0 71 0x04 0 72 0x04>; + interrupts = <71>, <72>; #clock-cells = <1>; }; }; diff --git a/arch/arm/boot/dts/nxp/imx/imx53.dtsi b/arch/arm/boot/dts/nxp/imx/imx53.dtsi index 845e2bf8460a..b7147cc7a316 100644 --- a/arch/arm/boot/dts/nxp/imx/imx53.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx53.dtsi @@ -598,7 +598,7 @@ src: reset-controller@53fd0000 { clks: ccm@53fd4000 { compatible = "fsl,imx53-ccm"; reg = <0x53fd4000 0x4000>; - interrupts = <0 71 0x04 0 72 0x04>; + interrupts = <71>, <72>; #clock-cells = <1>; }; From patchwork Sun Jan 12 15:27:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13936433 Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (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 2A01F1BBBD7 for ; Sun, 12 Jan 2025 15:28:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736695682; cv=none; b=ZcOCrkLFhROdrric4HHvgHtvCPeMssmGyIgzE48TrjOL03GzdWQON/ZrKakXNisAATLakDSPQtJmxlEUrhBQ2WxQFg+tI0vWV2sJSIlMloChV0alB0QWRSwDeQq1/eXuZ3J6Z6q+OSlmtXaiI7D5vYhvq0vfHGuReYyxV8QPQTo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736695682; c=relaxed/simple; bh=w+1HevnkSVnWipoDnFwbDZ8xG3ppmW7Bxk6nuXd0sNI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tL/ToJ9Kjeirh4eX905wVKsLz1Om/xyN6OcdeyiXKAgbGJxNFnJW9WY3BdVCny8l/5eMCiGmq6Y+QR+014bSpUJvoGAvQv3GHinqJEl8AJjIKSxDmJTSXJRupDefHQIj8qg9L9D6tt5CQgQe6kyAznkA9rTUg+2mM7T5mcBNp/8= 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=hES27ZfT; arc=none smtp.client-ip=209.85.210.51 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="hES27ZfT" Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-71e17de2816so1762235a34.0 for ; Sun, 12 Jan 2025 07:28:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736695680; x=1737300480; 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=Pwdo4qQeCKznPv9ebQBvPBmgu2DZRJWGaG2NfRNb44U=; b=hES27ZfTMveAzBOosVYqHS5uaSGMLjNpK/8fHU204IFIGosVyGURJn/8dGfs1Sb1af 5SMMiZV+Vt6jrfCHaexnDH4Pb/jFZfcb0725z8Qzr4CkAKYqtnIiFGT32+Gi5DVdH16E VeICgxD76fUdLNai6CPiWbh+X5PDLQhw/SulzyOLjhEbJICEbcHKvdDw1/fznAn87a4+ 5teQZ1K3fidzE0RNyurxGygwOfKFpINYfG+dRUddzDa6OVhjSRbNJDbKecdREyEx05bD 4ndNkOfYA9iapbQIxQcTg9UhqUHJMktY+Uwsmoht0RykBLXl+XQjHMZD/krNRhIB9Cfz 0tMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736695680; x=1737300480; 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=Pwdo4qQeCKznPv9ebQBvPBmgu2DZRJWGaG2NfRNb44U=; b=fIufbDA/7N33qOI1d+qq/7N2MsWO/YN0tJcZEARtr1xwkEHUyty4a3jZYJtHVPtm9H vyuj+hLdLo6ihpiyyQ0aeWAqNvv3Qb5CBnpt9AQ/zdrgJcIlnjQ3EPgaZzZnrOMDtsDV jFvW3cIJIsWhHsh0kw0DbjV3R1VsQwsC94XsZ33xwskuoQoKmhDloFdvYeam/X8HUDbt YbazPyPP3IMe+PQWIQ7qelWzGNWALVEXsMQ6RQDffSOFVWpJ4HdB4LmM0LIw6pEekekj oFisQQ57D4ASuHnkeEpqX/gjIylIEoZpnlY5cRIf6BJdrm83U7zF7gsHQ3WoPy/zN8HD VYFg== X-Forwarded-Encrypted: i=1; AJvYcCU+L5XhenJHPaZCf5fhsTM35Rh1BcqXFbCOHvddZXp+RYleUSwNHZ62X2XlfjtCK6k6Crw=@lists.linux.dev X-Gm-Message-State: AOJu0YzAAzBo/7ypPUkPVULupgCxYW+SEJeEkCn9Em37p54PRpPiGXz3 avahsx8KFYbfMzHDHhsnnSwN7f2KU2WZm04E/u7/VCY78Xi9tdig X-Gm-Gg: ASbGncvWLqI/h+WKtsUH9qgG1KiR6Wa+2rE+KmW7koqozoXtvhX8Y8KqRuff97hW3Ra zJUVnfwHjZeQzH8pUl1n6KknlDO5DbzVvPbT7EXTde85T51yrlWiiZyDGaoagdQIjGUFDjY4wC7 4vVDwor3P6LwhsydGq1/uG2ZORQ1ucSL6WERd0ljvcZIFBBHokgdC+76qcPCKJlqhsRZ4T/T8cl xyCJZljHSREJ/nELU8l4oPr9wtIW2wM4fHNbolR+Snwj9jqsIcs8K8DdtFTJBB4UfDdwA== X-Google-Smtp-Source: AGHT+IHGgArEfN9u2RPH9RRrlk20P9prFqs8qFY9RW76sTAmV/urO4/B2SkzhIvQzXSVvGyn3gaIBQ== X-Received: by 2002:a05:6870:7e8c:b0:29e:2d50:11aa with SMTP id 586e51a60fabf-2aa066b6229mr9191645fac.18.1736695680164; Sun, 12 Jan 2025 07:28:00 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:8c53:b609:d83:9568]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-2ad80547c11sm2858083fac.18.2025.01.12.07.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jan 2025 07:27:58 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, kernel@pengutronix.de, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH v2 2/2] dt-bindings: clock: imx5: Fix the CCM interrupts description Date: Sun, 12 Jan 2025 12:27:45 -0300 Message-Id: <20250112152745.1079880-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250112152745.1079880-1-festevam@gmail.com> References: <20250112152745.1079880-1-festevam@gmail.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Fabio Estevam On the i.MX5 chips the peripheral interrupts are represented directly only by their interrupt numbers. Make the CCM nodes to follow this format. Signed-off-by: Fabio Estevam Acked-by: Krzysztof Kozlowski --- Changes since v1: - Use interrupts = <71>, <72>; Documentation/devicetree/bindings/clock/imx5-clock.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/imx5-clock.yaml b/Documentation/devicetree/bindings/clock/imx5-clock.yaml index 423c0142c1d3..ad03c0a13e64 100644 --- a/Documentation/devicetree/bindings/clock/imx5-clock.yaml +++ b/Documentation/devicetree/bindings/clock/imx5-clock.yaml @@ -46,13 +46,11 @@ additionalProperties: false examples: - | #include - #include clock-controller@53fd4000{ compatible = "fsl,imx53-ccm"; reg = <0x53fd4000 0x4000>; - interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>, - <0 72 IRQ_TYPE_LEVEL_HIGH>; + interrupts = <71>, <72>; #clock-cells = <1>; }; ...