Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2512427rbb; Wed, 28 Feb 2024 04:25:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX0g8JsGPofX4jYeh7aOeCSL7VkJ8AxF6iF86JWmn5dOdVy//kuepaos2gXlwBr7V8EMtA2YiTrfVdKBmrGoDXfIs692b3Jo3Hv8tCd1A== X-Google-Smtp-Source: AGHT+IFptAcnK9rAf/z079rUXg/menVL8iE58FLnnI2aOEIaustGK/+8mUPe+ipmV/PHq60iZJX9 X-Received: by 2002:a05:620a:4593:b0:787:aed0:7987 with SMTP id bp19-20020a05620a459300b00787aed07987mr5797685qkb.41.1709123120074; Wed, 28 Feb 2024 04:25:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709123120; cv=pass; d=google.com; s=arc-20160816; b=Kr6+diupZzYfuk3PWsbB1yZsmUQaOriSgTUbtp4Evt1ttztg7UsfN3/1OFZcsbkU47 v80t7pcS7lo/aAZ9Oy/HbL0aJUVPeR/dkeyVelq/C+ZCpmMMhbSuHswnDLaGyl58YW/k aWkGs1gtIQpF20MyetaJ9VRTOZJu5x9oiQ+WzBktYwq4j7G0MVAAloCE+WPF3wlsGTkA zKtjxBzTfKn+0dv8frVlW4ETPcPVeP71Q5bYykJHfse7FR7lu8XeisezHJDN/JDe+XFP AGtdgofaykV7TUrx2vJhDJ+oyeXfY1GvIpQL5e788LlPXDON4ifR+mKSrVZFa/rzaAsX XX0A== 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=ktbEv2HBKU+FIl5Q5UO06Xj865znEiKjlaXdZSuLHQU=; fh=MfFPqCstLiDIOzfxvunV8mj0FnFOlzxWebQfs4vAT28=; b=jmtxT5E0wPOQDb0tkNF7BP/TBN5Ybg0fp1304KKaIzUQy2DHd2fqqcFIntqlrCuGpK kx4ujPb94KWQZnw1CSDNV3Yb1YCudIkaRxkSgTdpVUfOAzu+KWMfkzlBzPYBYU/icG3d Wkba+VHAlcIi2UgxL9A/nmoB+nEpezfIHaN0/C9q0r8boEvMoQqy1D8BfoLVk5TAtRdb ZzRd3B4zvZX9W1AXOqAwSXB/EkwIrzJJS7C5Hw+tZbxw/JxNARgbwSfsXcn4xteJKNC1 Duv0AXEaRWJQqEzDNRieeuBqtVCMFAYpkpGK4eFrIsCiyYC9n7kbaPXH/ya3sJ5mmGwp WKBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tweaklogic.com header.s=google header.b=bXoler+Z; arc=pass (i=1 spf=pass spfdomain=tweaklogic.com dkim=pass dkdomain=tweaklogic.com); spf=pass (google.com: domain of linux-kernel+bounces-85007-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85007-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id r13-20020a05620a298d00b007874148f6d8si10548335qkp.608.2024.02.28.04.25.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 04:25:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85007-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@tweaklogic.com header.s=google header.b=bXoler+Z; arc=pass (i=1 spf=pass spfdomain=tweaklogic.com dkim=pass dkdomain=tweaklogic.com); spf=pass (google.com: domain of linux-kernel+bounces-85007-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85007-linux.lists.archive=gmail.com@vger.kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 50C5C1C216AE for ; Wed, 28 Feb 2024 12:25:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3889770CA2; Wed, 28 Feb 2024 12:24:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tweaklogic.com header.i=@tweaklogic.com header.b="bXoler+Z" Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.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 1CED07353F for ; Wed, 28 Feb 2024 12:24:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709123081; cv=none; b=a93OtKyGnTbgbQCpkr0/h9ie/zYEdoKX/BKhQ+/ryUz2ApXqT5mnawPEaZ6jzBOsNP4LQr4C7MNwX2cKIx5+ak0WEl/Xphj1xKDL9V8H4y6ioQkjjwsaHOgRap4V60NjVj2ciaTenfi42qnP810P/1p7dG5Mh+GfeptmuNqdHqw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709123081; c=relaxed/simple; bh=CTZbyXg9S9AX+oEYj3aHRVAdUgGL0rW1cy4Kv5jd+ro=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=FEPRlVKxrc8qrsRL4MD+V1L2+fdwIJdQmd5tHDDow4g2l96qu0O5kPjsiAQHXJgzSHwGIfOniyhBhOms5nabYHhr6ZTWB2Imq6Bwl4YQ5ZetUIqfuk2LZcU1jFpTkm9kVpBdXdaDdUUh1hrub6oKoBg1nsk60FrQFrSBcewFjkY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tweaklogic.com; spf=pass smtp.mailfrom=tweaklogic.com; dkim=pass (2048-bit key) header.d=tweaklogic.com header.i=@tweaklogic.com header.b=bXoler+Z; arc=none smtp.client-ip=209.85.210.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tweaklogic.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tweaklogic.com Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6e55101cc56so1162827b3a.2 for ; Wed, 28 Feb 2024 04:24:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tweaklogic.com; s=google; t=1709123079; x=1709727879; 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=ktbEv2HBKU+FIl5Q5UO06Xj865znEiKjlaXdZSuLHQU=; b=bXoler+Z5lEK3q8vvTY5M9B6akZ3Q19pNGqkfcIoBBvjxHcIW2nmywEIZpxFzzwU79 4JvR8ISOAj7iP1KFsl8OVdudlAhepKn9WG6cUvdVh8tVxD8gK1eivUey48P1UtiTpIO/ EunDEs/QqHnV9HQar2MUg4mcqoVkHWy3rCrAw2yzKOXFYUfGpI6tQ6e6OJ+wLZZSOYEc 79xELNgA4O6ExjQArC/k/1P63h5OncmdBlkkFq26EcYsciizLKURVD2/UARnMN3IIA9I wJM/ehboYWd+1y3ygXoxyybazJW/9s80jP7p4ZFWELna/CnNP8pIY0mmsgQAlbKXTJgE KOEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709123079; x=1709727879; 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=ktbEv2HBKU+FIl5Q5UO06Xj865znEiKjlaXdZSuLHQU=; b=SkI2B/X9al4C3fSwr9XDGgRZ9JsWdrirQWqbwj+98s9inW1A+ZVC6041Nml861Vhek 9BsOYftnujBX1RpsChrPW+YrKybJipnaVqtx1BqDT3jcCPR6ESEenAqVZuS1qAzU0xlu jRUokHeaFLHQPMgJT5HuyjWTv4t0DxyJGDtPwoJ6rk3iwqguBCWVU1ifEDZhccawq9h6 H9Pr0dNbBchF1Umlc8rrCPthj+1b3MlX/NNkzfmaVGYkChslvAbzoE/5P0ZLnvAScdwA ku2PlvBM49BGHUI6N1txgrdofxSAMm08vi7prtFlMoOe6c7Os/Nzk9vbaMzOjg1ePAP+ tmMA== X-Forwarded-Encrypted: i=1; AJvYcCWd1jJTwNx9YiWBjfSKdyWQiCtnTPV/Nkxq0ejaB0CXl0aUzIS4IP4RjgQtV0TXEpe7ghz0Inkv1aEWOrWtDGo30p/rsdPNQvMIzjV+ X-Gm-Message-State: AOJu0YzBgtsGKoDYDhnYPodgv1ERIk+99EzKNuhaOmauGL7jrCFa2vMD N9TGkmmRJ4W3MYkAw3rva4LPTX6AhQVlXXwGmY0QrWZPWIbKHHbsylBPPW6Acrs= X-Received: by 2002:a05:6a00:1826:b0:6e5:602b:92e8 with SMTP id y38-20020a056a00182600b006e5602b92e8mr1996534pfa.31.1709123079533; Wed, 28 Feb 2024 04:24:39 -0800 (PST) Received: from localhost.localdomain ([180.150.112.31]) by smtp.gmail.com with ESMTPSA id m3-20020a62f203000000b006dde0724247sm7857587pfh.149.2024.02.28.04.24.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 04:24:39 -0800 (PST) From: Subhajit Ghosh To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matti Vaittinen , Andy Shevchenko , Marek Vasut , Anshul Dalal , Javier Carrasco Cc: Subhajit Ghosh , Matt Ranostay , Stefan Windfeldt-Prytz , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Conor Dooley Subject: [PATCH v8 3/5] dt-bindings: iio: light: adps9300: Update interrupt definitions Date: Wed, 28 Feb 2024 22:54:06 +1030 Message-Id: <20240228122408.18619-4-subhajit.ghosh@tweaklogic.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240228122408.18619-1-subhajit.ghosh@tweaklogic.com> References: <20240228122408.18619-1-subhajit.ghosh@tweaklogic.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Include irq.h and irq level macro in the example for readability Acked-by: Conor Dooley Signed-off-by: Subhajit Ghosh --- v7 -> v8: - No change v6 -> v7: - Removed wrong patch dependency statement - Added tag https://lore.kernel.org/all/20240210170258.17fd1099@jic23-huawei/ https://lore.kernel.org/all/20240206-gambling-tricycle-510794e20ca8@spud/ v5 -> v6: - Separate commit for individual change as per below review: Link: https://lore.kernel.org/all/20240121153655.5f734180@jic23-huawei/ --- .../devicetree/bindings/iio/light/avago,apds9300.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml b/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml index a328c8a1daef..e07a074f6acf 100644 --- a/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml +++ b/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml @@ -35,6 +35,8 @@ required: examples: - | + #include + i2c { #address-cells = <1>; #size-cells = <0>; @@ -43,7 +45,7 @@ examples: compatible = "avago,apds9300"; reg = <0x39>; interrupt-parent = <&gpio2>; - interrupts = <29 8>; + interrupts = <29 IRQ_TYPE_LEVEL_LOW>; vdd-supply = <®ulator_3v3>; }; }; -- 2.34.1