Message ID | 20240206130017.7839-4-subhajit.ghosh@tweaklogic.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-54983-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1519790dyb; Tue, 6 Feb 2024 05:02:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IGN0SpxNgcxBEXdUOvuCFyW4XvgnWlgOeAy0+90BFYAIxG2nXFcF84DB8uwyUiJjLOnYwtf X-Received: by 2002:a05:620a:4586:b0:783:ddf9:ffd5 with SMTP id bp6-20020a05620a458600b00783ddf9ffd5mr16196262qkb.36.1707224521150; Tue, 06 Feb 2024 05:02:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707224521; cv=pass; d=google.com; s=arc-20160816; b=qrvU4RCGv69sj4JyHl7fMggiyE2zf/AXisyO838oEzq8NvQst7bClH7OjoIn/Jak5U vFUR6ggGR4yiJL7TOe23zjDTl9NRtMLKlRc0Vetv0ocKPwJgV6iBKTiQuGt3wbj6C82k RYCbeslhdYT5H5jzqwgDcCpwqqgakNsY5ux8EK+fUPgvI3OmaoPHLCZQIWed8qN68VA0 iNrjIYixiOrVKoSbh3htV1nIH+3f0yNfWXRbpuuvVKfkuy14TRcCz6T5VqwXK6SQ6H7A umZJNC+Kl0Owz2TdQsFC11LvL5lVcNfB4fqUBeetsU5B7tHjPEMfAPFT8rGua5fmmrGX suGA== 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=DJ+4tPBVBxlvTQLx+/RMLVWcuGmlxsBPE8KdPZIVa28=; b=sPq3SP4TuJWuuJpd0qD/ecrM+v9ttCepuOdeAbmG37pCAUB1UY+3G7GvfVemcOgz9H I0awnnBurNreektwoOb7wN4PvU+WWDToqF0xj+OcWaKo3f8Wqnrk5osAxi7sVqLWUjvt 82Vye/mSubjRo8//Fb1Z01FBrE0yNyLs+StXrrz1RhERXX9JlL4so6BlL9tIZY7tbMGt gQ4F6Ca/zqeSbtnATazk4HkrxE+vXbBgF7dliBop8/4PSH1ssia1lpD9hS2Uf6s1QaVv +z2YdiLG/mxuIRhv8fP9l5/Qrh3KGArsuISbgEDyeGaJGv6NxpKrXblmMocz2AhkpvDf UPsA==; 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54983-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCUyAdNPgkJpS+DrRE5pkp3SMmpDQXVoZw0DkupmcywI8mBfm8WHW/ym30vY/GDomk9vQ7PP87ChDZaCIR7b2OCmadpw9w== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z30-20020ab0565e000000b007d60f59cba3si268682uaa.213.2024.02.06.05.02.01 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 05:02:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54983-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54983-ouuuleilei=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 D6A391C234FF for <ouuuleilei@gmail.com>; Tue, 6 Feb 2024 13:02:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 05145130ACB; Tue, 6 Feb 2024 13:01:17 +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 <linux-kernel@vger.kernel.org>; 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 <linux-kernel@vger.kernel.org>; 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 <subhajit.ghosh@tweaklogic.com> To: Jonathan Cameron <jic23@kernel.org>, Lars-Peter Clausen <lars@metafoo.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Matti Vaittinen <mazziesaccount@gmail.com>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Marek Vasut <marex@denx.de>, Anshul Dalal <anshulusr@gmail.com>, Javier Carrasco <javier.carrasco.cruz@gmail.com> Cc: Subhajit Ghosh <subhajit.ghosh@tweaklogic.com>, Matt Ranostay <matt@ranostay.sg>, Stefan Windfeldt-Prytz <stefan.windfeldt-prytz@axis.com>, 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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790154659510064099 X-GMAIL-MSGID: 1790154659510064099 |
Series |
Support for Avago APDS9306 Ambient Light Sensor
|
|
Commit Message
Subhajit Ghosh
Feb. 6, 2024, 1 p.m. UTC
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 <subhajit.ghosh@tweaklogic.com>
---
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(-)
Comments
On 06/02/2024 14:00, Subhajit Ghosh wrote: > 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" Please, don't write such useless dependencies. This is neither true nor useful. Best regards, Krzysztof
On 8/2/24 18:48, Krzysztof Kozlowski wrote: > On 06/02/2024 14:00, Subhajit Ghosh wrote: >> 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" > > Please, don't write such useless dependencies. This is neither true nor > useful. Understood. > > > Best regards, > Krzysztof > Thank you for reviewing. Regards, Subhajit Ghosh
On Thu, 8 Feb 2024 21:23:09 +1030 Subhajit Ghosh <subhajit.ghosh@tweaklogic.com> wrote: > On 8/2/24 18:48, Krzysztof Kozlowski wrote: > > On 06/02/2024 14:00, Subhajit Ghosh wrote: > >> 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" > > > > Please, don't write such useless dependencies. This is neither true nor > > useful. > Understood. Just for reference: If there were such a dependency (beyond noise in the diff) then there is still no need to state it when the patches are in the same series. Jonathan > > > > > > Best regards, > > Krzysztof > > > Thank you for reviewing. > Regards, > Subhajit Ghosh >
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 <dt-bindings/interrupt-controller/irq.h> + 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>; }; };