From patchwork Wed Jun 5 15:30:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13687049 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 679F8C25B76 for ; Wed, 5 Jun 2024 15:31:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5et3lBoFCu6xFBjo/JsiGWF2Tj1UxVzEDcpVwaBEBtA=; b=ljJeDND89EOzkh 5O/UG/9Cd7iBd6C6662ddjsRFjMjQftUvPnRvcaXgdwpJE/bGhM0DnUJKTdjd1XmR4BHpjieHKVso kdz1cXvJEvPxnXK2kf8dBLsMsIpR4zObEQR915NB3JJoEF4eXnaPb4j4Z8jIY1M8TEo+Ux0PwZORj 3jnC+Zm4fBUCCZVMfXcanwQwP3323GXaAaLzjSeQO3Ru9S+H4nSpkK+pAaN+4jCPfw1WzZYYBdOSw sjpyt6m5Mia+ngYJjHPQNHYZNNZ9IFFYxIINeLFVHtLg+a0c5Cyd8FW6WM6EW2AhAauIZMy8jgNK2 YgZeqgXzkyi5xl+jNBSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sEsay-00000006dCF-3Jh5; Wed, 05 Jun 2024 15:30:36 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sEsat-00000006d9Y-3dhq for linux-arm-kernel@lists.infradead.org; Wed, 05 Jun 2024 15:30:34 +0000 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-35dcd34a69bso122577f8f.3 for ; Wed, 05 Jun 2024 08:30:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717601426; x=1718206226; darn=lists.infradead.org; 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=/K0vfcsphggQE03HaQTq6oV7X6egbMSNGPCTOf5noQs=; b=EGrv8omVZtVw4qlwt3+KFkE75P5c1ZslEjfoPhuw3dNn8zFH8g2uQ0nFyIXbX3Pi5f e8MLGfr4nNDgmTMgxoomIgmt0+gRuFFT8cgHkcBIEDjYaQ49J/7fu6QbKhLd+mY9QE4l jn8ex4aHWQS3OZ1gIPP1JXWbOV5HsNyPxWtyAWQtx5r3fivDNs75bM6KxI5Jthoxn4Dn RALrtNHwOqymoesOJtobjS03ydAJqW3hHICljqGS+F/yf/m7St60OMuCx+ZjnUcmSAlC rIO2vf2+xi+1IZN5rRAAWDYHYFcUhlvY8+h8EzksCN1UoU9LrAaT9+K2kl+LnTzD08ZV WntQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717601426; x=1718206226; 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=/K0vfcsphggQE03HaQTq6oV7X6egbMSNGPCTOf5noQs=; b=kfpriXPgNg/UTN5qv0NBvJcjCZT3Ppd3CfDEFlnAO5G/QX39+me/K+yaN+5nhh1Vy2 DxXbkQM83W7xWkkmFXIopPxTzTMr6W7lSTxhH/K4jh+yjrFw7oWG3ykc5RAYVdSY3fz/ o3eyZJymERDukItaUBDmW/9cuen31wjMTq02InPnjFFZWbGGR3gUuibQN1WXlltqJdyR 7Y2IgT2M1r0JB20P0Hol+WOkrsPSlRrwExlSTn89LMaIi2niXz1oMdghd4baSebC/BKO CTMzM63HPYzoTnBcZ+ufE4rZgFl9oEUrLvEuMfaJkZKtFyvfl3sZNVkH0q4hlsLn6A7S D7nw== X-Forwarded-Encrypted: i=1; AJvYcCWchx5M3yaY1YANe3zkM3BfDPFGjR9kpM+wyQXGr9hJhmPP+ZsjGmHJC6Tf1jOH3Tg5sleYewwlwhwBn4WxF10Ax6tcCa9jsm+T/B0rGk4LDT2AqBo= X-Gm-Message-State: AOJu0YwWNmfFJuIOclxnAf8/CW9E+p4Dx/D4FDl9fk0CuxTmx7F+h8vi Y/v92d25T+DDs9lMmiuYO/74+d7Sz4zzQtQO+f9U4jp3qsMRxSUuRoGfeorcX5E= X-Google-Smtp-Source: AGHT+IHE9nDBQ5Sz04khTcIYOGPj0VwRgEjUuiwPv5JSHmid95xhtkpvCP2exEYp6NXmZOXTxCKtiQ== X-Received: by 2002:a5d:59a5:0:b0:359:b737:68c9 with SMTP id ffacd0b85a97d-35e8ef7ea9fmr2637446f8f.45.1717601426591; Wed, 05 Jun 2024 08:30:26 -0700 (PDT) Received: from krzk-bin.. ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4215814e7cbsm26222295e9.39.2024.06.05.08.30.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 08:30:26 -0700 (PDT) From: Krzysztof Kozlowski To: Shawn Guo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Cc: Krzysztof Kozlowski Subject: [PATCH 3/3] arm64: dts: imx8: use defines for interrupts Date: Wed, 5 Jun 2024 17:30:20 +0200 Message-ID: <20240605153020.104717-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240605153020.104717-1-krzysztof.kozlowski@linaro.org> References: <20240605153020.104717-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240605_083031_959278_B7F5614E X-CRM114-Status: GOOD ( 11.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Replace hard-coded interrupt flags with standard defines for readability. No changes in resulting DTBs. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi index 90d1901df2b1..930e14fec423 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi @@ -400,7 +400,7 @@ ptn5110: tcpc@50 { pinctrl-0 = <&pinctrl_typec1>; reg = <0x50>; interrupt-parent = <&gpio2>; - interrupts = <11 8>; + interrupts = <11 IRQ_TYPE_LEVEL_LOW>; status = "okay"; typec1_con: connector { diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index c024be33fbcc..6d002fc1b2be 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -193,7 +193,7 @@ light-sensor@44 { compatible = "isil,isl29023"; reg = <0x44>; interrupt-parent = <&lsio_gpio4>; - interrupts = <11 2>; + interrupts = <11 IRQ_TYPE_EDGE_FALLING>; }; pressure-sensor@60 {