Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3017002rdb; Tue, 6 Feb 2024 05:01:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IHztqVFbf4P675aFtyFjVJKG7Nec38uIbz/rn/4kIxfbAV49RMD9sdpAthRgo7sw6BpR0zG X-Received: by 2002:a17:906:e259:b0:a37:fa7c:6dee with SMTP id gq25-20020a170906e25900b00a37fa7c6deemr2701346ejb.23.1707224514058; Tue, 06 Feb 2024 05:01:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707224514; cv=pass; d=google.com; s=arc-20160816; b=UIYpH0rWk2E+Ee/Px9Od1eiepZw4pqmEjNsZkxZOIUv2V+ZLUjqwkHtvYBJx+LXE2o mhU8PmoFdz6LH1j+6LbNxMZMUeAWNew+nEzG26ii2bJh9zxyuKCuTP7065hKX6g0pXbP AGlmgVDdkNhfXgIMlZSqZG7D5O2ltbZjUF+Ci/MwTRIreheIvsK0q3mYlm/Q3ZDXS76H +gTxc2Q1V/64y23dxG+4LBKAnJnAZrlnHaJ2pastpwR/WKW8yVdOffYDMmpYs47zOAuV aiVXmhNmSEil8jlLVsxFvdiWJS6kVupcYmSvPITAsMjZj7nZXq0M+OqdSbKULVt26qoo m/bA== 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=UGyYRwZb4uYlUhkrM8sxO3WieWp5k3xG/Ao/UAKVBss=; fh=UMGup8zVPGIXR381jk86BAF4tmNKLhgozBeca8j6UHI=; b=YfYg/J+MDmJEUfO4qk5XPHjcQjwjsQoSujNlKFfjzldQBYXgcjkI6h5NMuWCShLuOv xFZvy/wFtsqjsPhlDlVpxQBST0M7VCdFK+NlixvEPVYXFomrQMLH+y3VVzrSiGeCeEbd /l35HjQ+EopD40MkgjBfOBV1EJVMaQUyeIEA/sw/gxBeYmIMRTTZqE25L6aSEtn/Q49+ +FPDo9ZH7fwYHCr0AEK1loGpvs4apgGqEh557aKKr9jMWgsVyXNTnvrtwKIIns1r++Uz vEHBfJR2nFM2qWz77zq8sCTaqSOLD4XaGKecAT98npWb0UY0UhX4Yt7NJt7+PhEtGEFW Mk0g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tweaklogic.com header.s=google header.b=hw9soaxJ; arc=pass (i=1 spf=pass spfdomain=tweaklogic.com dkim=pass dkdomain=tweaklogic.com); spf=pass (google.com: domain of linux-kernel+bounces-54983-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54983-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCWKMLbzfepTxy3N7MC519LGOoqFBQLzbBTRrk0Q+xgcM7ZbpPW3tOMc4bpLKwkei6tEKpFG2OyS2073X2lMhkP1q0MZ2F3Bng3H7Cf4XQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p4-20020a170906b20400b00a382ca65b64si574069ejz.237.2024.02.06.05.01.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 05:01:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54983-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@tweaklogic.com header.s=google header.b=hw9soaxJ; arc=pass (i=1 spf=pass spfdomain=tweaklogic.com dkim=pass dkdomain=tweaklogic.com); spf=pass (google.com: domain of linux-kernel+bounces-54983-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54983-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 am.mirrors.kernel.org (Postfix) with ESMTPS id CB43E1F2331B for ; Tue, 6 Feb 2024 13:01:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED029130AF2; Tue, 6 Feb 2024 13:01:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tweaklogic.com header.i=@tweaklogic.com header.b="hw9soaxJ" Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (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 C000812FF91 for ; Tue, 6 Feb 2024 13:01:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707224474; cv=none; b=a0Kf3hfiZ8jdRws7szScS5cwMPq8YSr3pN3U+f6B2vH0o0zHGomqFFl0KCf/KcnxUfovQoeIfRQTzE+waXzk9dlQZvF/dm1ClAIyaXVHyX0TJsE9HfFHDE+Io5GXmFEmsSatZgLZ4wuEFaTppgsqB2hYI5zQ/tHHP6C7C25wcqA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707224474; c=relaxed/simple; bh=aawuMyukjj0YpRojPDYrBslIzCRMBRERw3xI0sOxA7Y=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=VJqrdhnxhB4t4d76YrgOILdR1Tdf9ie8kIOC1ZbSGpyE/RkEo57+uPJCZCHELNr9F9HgBFH+i+2oFhyxCk+V2bI4xfRj0z8RgExC46apVFUbJG7VcAS0dygauafQuLuHXEB+Tjc4YFr/xfLmFbHpye851V0k/6zNtFE8bMh85EU= 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=hw9soaxJ; arc=none smtp.client-ip=209.85.214.175 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-pl1-f175.google.com with SMTP id d9443c01a7336-1d9b2400910so3898415ad.0 for ; Tue, 06 Feb 2024 05:01:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tweaklogic.com; s=google; t=1707224472; x=1707829272; 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=UGyYRwZb4uYlUhkrM8sxO3WieWp5k3xG/Ao/UAKVBss=; b=hw9soaxJEsWwW7hSuYrwpETiHLN6rM4tXniuFgR/0e60z/Zt4M4qOr77GaO2PkWFlC g4fEuZNLiQuxNcR3kL4Q8JgBFPGJVlHJnWkwdP+8MH+uJXnuvXCEIx/tD/Azgq6TrcBe uNCicsdLUfdHH4QzVkTy6jEWtKzpuC3EgG0eNLjDIlBdhXUYhAAffpq3ss4qEgfwAhFh Sjzw+ZPPRn0qiebpe4JtulnOz90BQSXZlBZcCqt6ZPBsXOkz0jdPIEP2ItCfDLS/46PF sB7k8ikyZFsbi9+rGfG5KppqWQL9cEyzDR++AK2MCBaNAN2dZhNj1gg4dpAxKSGMXkGS DPsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707224472; x=1707829272; 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=UGyYRwZb4uYlUhkrM8sxO3WieWp5k3xG/Ao/UAKVBss=; b=ZDOiqg+jPhxgEEu4h8D9Dkn3IKPOZpHQOKus7xkdutJRxy+kfSzf7IyZABjk9aa8sn FNyTBAHV0qo+0nDOCTBv+BMeV0TssgVJ9m1CqxGABty2IRowydNj6JHGCn4e0/swQLyq pWprIUckM5H3IwzbwhEjWf8Zo2+m1AkCmn2e1ovVOpPp++njvZXZfR/lSZpEaVauYgLf zKpV/2o9ckNsf0Cr2PIZM8RWII6aSRS8YP9BM8zWLtPTrBNLAhAYoF6nzp0NhMCBhxWB UmQ92q4sFbKANj9iFHnpBiXev8nv17ViFrcovrMtQc9B7RKHcwT74sQ9cXcmRxW9aDKz opQQ== X-Gm-Message-State: AOJu0YzWRqOXlp7p5CbPH1V1r5zHsn+9CriZxAOuOK7pVGBdn7YEG2ul rZiiBh43iy0opvPzcHSMYQmb9U70f7kEEYZi0TCYSUoNkWVFMFeF9jpWFlJHvBU= X-Received: by 2002:a17:902:ea0b:b0:1d9:5ef2:a562 with SMTP id s11-20020a170902ea0b00b001d95ef2a562mr2446636plg.10.1707224472111; Tue, 06 Feb 2024 05:01:12 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVG+XQHxqYrCWjw89JDVgcd56/2Bzy/Am/Sg4SKgSw4OfWFAT+X//NIxlCYZ80r6k1WQepqBmqOGrBn4QycRo1LwVpepj4WTd5stOLenoT8sDdYQIj+muocASHI36ZQczzBReSuOsOHFkYBOKjg+1oviJxfm9mS1PR9cwayj/ocDbtocMJx/GG/DXl4VOE+myO6QiiBGBE26GIAH4xFykkNzsMyGTnLdPqJUcIwU3gHK9AKxw1hgPVJPBHSXxH3BnfJsxklQVu/LxAE2BRndU/sBxTl7ZGDcO+9XtLORDnrb7gnAo4/nBPi3+FtvKI0gY3plyKXxJFv0EY+csK97t5K9Av4+ey01G/NERTuPTdiBH/6ZUVN79TBQ3U8+6KHWSryYaKbC2WN5CACOG/jKnTX2AXlihXeqp7sHjht9kjSQBo1fSaaVIGVv7U76eLyVjxAayD2kQ/YFOJLELs//Ok9yLKEg9UjHY9hpP5ukAFaB5hvfzh/FoXCCuJJGBjywIu1vjgDcJqA49GT9edQZROB1cmteQ== Received: from localhost.localdomain ([180.150.113.62]) by smtp.gmail.com with ESMTPSA id s1-20020a170902ea0100b001d958f8ab2bsm1782167plg.107.2024.02.06.05.00.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 05:01:11 -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 Subject: [PATCH v6 3/5] dt-bindings: iio: light: adps9300: Update interrupt definitions Date: Tue, 6 Feb 2024 23:30:15 +1030 Message-Id: <20240206130017.7839-4-subhajit.ghosh@tweaklogic.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240206130017.7839-1-subhajit.ghosh@tweaklogic.com> References: <20240206130017.7839-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 this patch depends on patch: "dt-bindings: iio: light: Add property vdd-supply" Signed-off-by: Subhajit Ghosh --- 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