Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp374950lqr; Wed, 5 Jun 2024 08:30:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW1Shv9uj08NfO3wnhTeGVV/xCxCXBen1gHNpT2QkhARg9Hs4dKhYUpON0gCPbrvoyA01D4Itl26MBV6hivjMsi8A9D160qR/VFO0xu7g== X-Google-Smtp-Source: AGHT+IGLMAPqPU6ljF666fcKENA8wn9PTsWHhPXjBc48+aPePRIhbyYmFEL83h0+D6L5bfgMaHsm X-Received: by 2002:a17:906:5983:b0:a68:c6c1:cd63 with SMTP id a640c23a62f3a-a699f681b6bmr158818166b.13.1717601446393; Wed, 05 Jun 2024 08:30:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717601446; cv=pass; d=google.com; s=arc-20160816; b=Qs2m7RX5wG//0w1+BOt7QSt3cjWSCzHkYWmFAwiooqVQIW1zl6hRR9ViW0ipt2Fg3Y rk9a1qOHFi30CSnI/+2lsYljFPW88CoUchRzQzM8gVDP9DjRcUKHnVx+VJvwSGqF7gtm Gihi1MQ55JH9NM1mgAxu7SdIPQexyniqKw3zk4PXdC6CbZrMKun9nMudZIE92t7jDYc9 s2uTvEn2DeWr01hCaPZwgLEIdZQGZ3aURCph8crSCsThmF1LnMlMMcvH7BbzmIS5QuxD ILU2GN+sOPaQpCohRbF1mvaURSaqcNJFHOoBorDtSv47/jDmPa3Vv8+kJuR8zZU3vH2X DubQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=/K0vfcsphggQE03HaQTq6oV7X6egbMSNGPCTOf5noQs=; fh=BFA72nHci7p4WrzJwcbOB/0MDh9oqAkHOwkR04Jl1/s=; b=R0E178AaNWlMKEGWbQi2oQahkhBIVdOkRtBmIUxOkoNfggaKIIz+h8d9M9U1l8anyx A4hcWwboO2nckASoVst38sMpoDX6tASrpGXzuNbNXfTNoO9vheV2Cd0EKkDhKBuci0LY /fsQkkdtBTGCNHw6pdC5LTj4NTi9JwKZ8zJyNGUT6WlaljoBO/t4IK2a+2a6Cr2hcxwQ QdQJs5m5L7GUJP0yqhXONgyxeq5k/SHLtJIBhocuLx0n0DmRFcqYl/C9l2/iFVxg4EaK eQ3G6Jlyln7pLDs/clkHIe+xbPWX3y29ntB33yUiW09V3nLWB7vO+wW0Qo1n7bScAG8p NfkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Kh0C6t9I; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-202834-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202834-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a697d72b0ffsi136264766b.0.2024.06.05.08.30.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 08:30:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202834-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Kh0C6t9I; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-202834-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202834-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E2FF41F23863 for ; Wed, 5 Jun 2024 15:30:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C0F1A14B968; Wed, 5 Jun 2024 15:30:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Kh0C6t9I" Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 4B94F450EE for ; Wed, 5 Jun 2024 15:30:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717601429; cv=none; b=EBcW6Espqq5lmvYccESqT1JrcJZGlvqLKZLRikc8AV/wV8YATA88ZCXPZM3YmbVMevsSyLsY7hJYLiGHqaZS3Y+ChWExW9Njud5cv4JfSmcCWw061hIIKKV/OrPvdo8Dqa9GF6szUeyUFjU3KDs5yIS8YEmn4PJaUM9YjzI6mwk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717601429; c=relaxed/simple; bh=NMv3VKh5odLNj+GDe8Ww1tODWUNO54F1FJCzMaqqk7Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uX79YmkaIRd8OqTlMn+VrktZ01XGz7v7r+EAJXndylHmLRQskkmXorvuxeYpnoXokxGh1uykH8oTL4bciZQNZNcVGstbd1Eyb7Gz6zj/URpHrjsh3D2D+rEQ2xA6jMiNbNeXzkdH7OnnMISgyEXUNQ+UPwWqEThoQmf9r7HWmB0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Kh0C6t9I; arc=none smtp.client-ip=209.85.221.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-35e4be5bd7fso147968f8f.1 for ; Wed, 05 Jun 2024 08:30:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717601427; x=1718206227; darn=vger.kernel.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=Kh0C6t9In5LKWuz5RI6juc5nTOUFGOb7eS8UtLCfHBSypkHYYylouHXMXY/xk/uYgN VCCNfbMSO+c44muzhgcr56tU90gT584z8i7VQiOMkcKqlNMa+XCuJ6gdQi4XK9QhmY0R tfDyJ8y001py8dAeqSh0+Lvwc5yCoMCcrh1mlHx01cU67eKUbr9lgd3kYLFTPK+y0lbO 7mFSt82PcwvfnKzw1XHe7wEVR/Jn8zt3vddEdy5sKClrpGn8y3O2IXew9PJk2vJSnPKL Pu6m+OXx4DwNyJZharKQvT5VI620kRW/LbSBtL73mZzhxJX5yvQK38KWvjlBr1E4QYk5 IBrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717601427; x=1718206227; 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=gSs2lRGLRzaJOhBf6JzW2BOuW5x8hpwHI9KGnbnDE3gO5AS+JP/xy3LhifY4SFUejR IuLWVAlDGHHQpnHddg7DjicL2q1cZy5m04a3qmBAbKzGBJWpHboNOqszxEeIvIl1L7Qu s1vugxByh3plq6gVYaZqwnjiuzDNaXFHRR9L8sMdkRtUs9bt3DETWP6NGPOL3KcGZqgz RkZkahqoXiiQiYepESTiAsxICn61vCn2HTtie8PF9YVJY8rvAWLf/rVzwgWfbRn6/bFN koBRQuZcpJ1qVa3CuMnYzLO8e1al1wz//MNNnKjo8uwc9ralZxBUhUlZUzWs88qG2VvW 3sGg== X-Forwarded-Encrypted: i=1; AJvYcCVwZBLgamFo2V2fZWCn/yNQ0yBbcaDSWL8ogSig4oYUcB8b1MlySTi4YVlrvnLJvpiGkctUXLlDfDVx04OysiqNR5kll2gPNauf9rlL X-Gm-Message-State: AOJu0YyfKD6r+t0kB1eYESMiIOp55/WfEnuAgoM1S9nk61MFlLAv1uAD YOftnucdK3xcZiv2wYIy3KZKhDLFWZFWQs+zZpauFv6mcVgfmi+VgOV8xIcwHTE= 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Replace hard-coded interrupt flags with standard defines for readability. No changes in resulting DTBs. Signed-off-by: Krzysztof Kozlowski --- 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 { -- 2.43.0