From patchwork Sun Feb 18 05:48:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Subhajit Ghosh X-Patchwork-Id: 13561691 Received: from mail-oa1-f54.google.com (mail-oa1-f54.google.com [209.85.160.54]) (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 D95BBF4FC for ; Sun, 18 Feb 2024 05:48:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708235340; cv=none; b=DQ/xUXT9lvVM7SXeDIwt69P82iFMblzAlU/ZkpXDv4MHUnhyONzuogalkdCYgsIcw8eU315U4J6hc0Us9mnrj9RzqT3VHaFW5dfVdahcPcQedjFXFrmacraWZAe0TCowNJXlBN/6a7wU5Yac1KZfEhhb/UcjetJfoW1fm7mekyU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708235340; c=relaxed/simple; bh=wqUin1sjbj77sZxf5CBubb84h2AEImW2QytVCy0e+kE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=jSw1fDSNkKvLLkFA3Q4WQrKU4b7fKPjX14kBAi8CCi1coByz5lrycluFwjFJxcSRA+I3W08QagF8qYPjYwqoMGVcObeG/hod8n71brY6aAzlv8+99nsKJ0B27vqb0YfDxmtcrnqTEc9ltDqjY7tgc3tx2bXywy0tSy5Od7mbEfQ= 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=ISpBGnAI; arc=none smtp.client-ip=209.85.160.54 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tweaklogic.com header.i=@tweaklogic.com header.b="ISpBGnAI" Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-21e26d645d9so1939554fac.1 for ; Sat, 17 Feb 2024 21:48:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tweaklogic.com; s=google; t=1708235338; x=1708840138; 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=SyLVMnMBS10QM3fLaOhCo7hMew07au7N3ayvJLnFVOw=; b=ISpBGnAIDOylGzkmk7yogpp4jo2t0vUn6KfEaNSqikNP5Dhj/Vy/p4R7oCS0Cm5u7+ gywGuaej0CkWgpAWyRb7riUP+gLG6Gms7SYti3n5WKjELNXb3mTXLZPz9Muua9zYZAbT Fot7lsWKCXrPBASdb69D/sI2MW5Mh+e9Oepb3+pWB0TnSP9AJvTylUj2SZlon5s++zol +nM+EZiJ6O3yMs0J+MVXZvWEdNAoMR6Cgl6/2YUmX1wSa/V+kX37SAbEp6cGhIa37d6Z gJAwX+lQCBnN9IXXLe6hUIc8qhpwDUl0IOOuTK28/5OR0ZFVNmkqgxA1NLyXemmNmJnM bU3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708235338; x=1708840138; 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=SyLVMnMBS10QM3fLaOhCo7hMew07au7N3ayvJLnFVOw=; b=ecewWVDlhZKN0Dn+VVgHLJvIMvwBoHxR20QnHwRuhzRP3ZsNlKMsCxYsFhE71ai7mj cGKChxrkYdH87TbvVFjwMhg7CJTYnm6xQsGQZLUgTVORcHwzkGCLojaeGqLGmcb+JuZ6 KTQCzVnXnBGssAj/xyW1RLFue8ICuEykDFDCVbrNbxYeHEZ0bMs/ukMb3g9GEKQiAPQa jq6SBoTBAv4X2REHzfLENqdAjp4WwaV51HTJ7RgfHKNWOZwL7LiFnNTLGDmfNNX4RZM0 NYtpczNcV7gQPprv0xR74dB2ZqxTrYhC7SQZ+30kjVVvdUTFI7XYyuYec3Qlb64yZl5l Lmmg== X-Forwarded-Encrypted: i=1; AJvYcCU1wPrBGTzyv4W/46DeVZYcM4jm8hJzzeOMAy7u6XyNigwsdW+vrVvjZA/ZaemFZVAIB533MVm3C12/0hiB4e5OFQU7/8S7qVSB X-Gm-Message-State: AOJu0YxYsEVA/+CoSf1gykpJnBnlknDpLTU4BGfoBIXF4yQXPeeGBuGG u6EG9R1m7dirVLS7o/thX6xVID0wo1XIo/O1N5MbDNaxsfPsh6F1VWPk46Q2Abg= X-Google-Smtp-Source: AGHT+IFtBEXxhgWx4BRtpNVrNjs9r/2pPBzBxQBWky0++68wT9T2I5azFbRLbgCx4HXDinhjeMHIjg== X-Received: by 2002:a05:6870:724a:b0:219:30ff:ca0a with SMTP id y10-20020a056870724a00b0021930ffca0amr9361287oaf.58.1708235338029; Sat, 17 Feb 2024 21:48:58 -0800 (PST) Received: from localhost.localdomain ([180.150.113.62]) by smtp.gmail.com with ESMTPSA id 32-20020a631260000000b005d3bae243bbsm2394808pgs.4.2024.02.17.21.48.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 21:48:57 -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 v7 3/5] dt-bindings: iio: light: adps9300: Update interrupt definitions Date: Sun, 18 Feb 2024 16:18:24 +1030 Message-Id: <20240218054826.2881-4-subhajit.ghosh@tweaklogic.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240218054826.2881-1-subhajit.ghosh@tweaklogic.com> References: <20240218054826.2881-1-subhajit.ghosh@tweaklogic.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Include irq.h and irq level macro in the example for readability Acked-by: Conor Dooley Signed-off-by: Subhajit Ghosh --- 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>; }; };