From patchwork Tue Feb 6 13:00:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Subhajit Ghosh X-Patchwork-Id: 1895700 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=tweaklogic.com header.i=@tweaklogic.com header.a=rsa-sha256 header.s=google header.b=O1hqOhci; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=devicetree+bounces-39083-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [IPv6:2604:1380:4601:e00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TTk003mW7z23gb for ; Wed, 7 Feb 2024 00:01:20 +1100 (AEDT) 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 39C6C1F266A1 for ; Tue, 6 Feb 2024 13:01:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 74AF0130E2E; Tue, 6 Feb 2024 13:00:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tweaklogic.com header.i=@tweaklogic.com header.b="O1hqOhci" X-Original-To: devicetree@vger.kernel.org Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (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 CE9FE130E2B for ; Tue, 6 Feb 2024 13:00:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707224451; cv=none; b=IeP+4Yw67h2bMJxdBhTgfe7udCn+lWzN1T/z8zqgyOos/yfrUw+n/pIhWw3v022R/dwKbf4SUm6UmkRA6dBnhXZrma1JRErM3uP9nV3IZBGrns46tshkqeq6GeTq54Gy4Wu8Nr7m7EN3kWM2sDt3TUSoMDVJR440NbrjkhM//6E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707224451; c=relaxed/simple; bh=2A1nbKwdDQ7tKewCNcRe1gsXajnatEyAUF4Sd29ET2w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=thu19NRcLFhjgwYh63/Z03rkh7tVW6jkgRPsI2FFbzWIs7/UHqKyaIGsU9cO4tKF45n0fP+PaXGaZ339+BzKlo56w4146eAnP8PU8cvW/PdSoyxyNQe0XwqzqiVu1wSo543PWe78/BerSmYx5AOlVVINBcrMF8+FFruUZZ1he6E= 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=O1hqOhci; arc=none smtp.client-ip=209.85.214.177 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-f177.google.com with SMTP id d9443c01a7336-1d751bc0c15so47722675ad.2 for ; Tue, 06 Feb 2024 05:00:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tweaklogic.com; s=google; t=1707224449; x=1707829249; 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=NnMGYg5SKIByePnZTVg3AFDTX9DCKuF3p//SMkS6JHk=; b=O1hqOhci+T+U0X4N3GlDfA0bEeRV8MXTxmzKOA1q5zbWIxTaqvq6I57nEKaJxBUJHA JdqSE+sTYZ+b5YzsduFDFJ0wHF3t1Ui785OtaC5l/DWGHnDM1T/bmUbLD2zX4qWCbcyt MTcjWUcIqAyR6wDjv1o1T4v87fB6keVdEsg010RI+/ZiHkORiB0/TjvU2+f5k3QJA4KD Cel9oe5lYecs2yWUVLHKFLXksD2Ik6xHMxcpbCjZf+QF8yinwcqhl4YdU/FeWP0p+UNx 2d5Y1+ewjVSAyVYcqsF4DyAPQ8uTmjc0e7sVRQexJ/2cyhx73ANorcOnqklzaJbouLIo bwIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707224449; x=1707829249; 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=NnMGYg5SKIByePnZTVg3AFDTX9DCKuF3p//SMkS6JHk=; b=Fi9Qhm96YpV7O0AZYy47zocKN8Hejva6drFC4WKWHF60Uy57+rA8Xobx2GHz5z9zKO gG3nEULSBo5is5dmLVmPV8z+xxUK1ZBHa5htjYQmQc744w3j/0e3xtZpsbYrJC21wp5p pdM0faEz2xcASjYy0MNHJPMY1owQv9Kiv/+SRoQQaqZPSNMZZr1rzylWwINeJ2V+2eW/ mNzeM+K0wIFL18SG+dtL9llAqiVk15G4O5OIMNMt3sjwZ7/5DA90FIDYO5Cub9ddaf22 yvnshDnQbXYC19uqx8NUI2zQg/5JDGOf2Tula2ZIPK25wJyefGezcu5mLaN4cjfWHXWr 4uaQ== X-Gm-Message-State: AOJu0Yxh0eOX8b68Taovm8+FM3rHCfGsmZGAcb3I5Yd9uNKLftxUpXcb Lw1uwm47MOe+rHmpyIeAjNM+0Nkq02fL+ThMjTGhOoHTe2/ndGQ7DWDozIZXfdU= X-Google-Smtp-Source: AGHT+IFIpbXYRTd3El380QwDq1PMwwKFCO3Ms3/xEE9xXC5xnupzcL2JkS3oDwAN63epYJvcxBFb/Q== X-Received: by 2002:a17:902:f691:b0:1d6:fe15:b588 with SMTP id l17-20020a170902f69100b001d6fe15b588mr1608965plg.64.1707224448696; Tue, 06 Feb 2024 05:00:48 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCU9AIXsjlcEgmDluJXEvvPUxUvpeZXXo7NZU6blkj8DfKQmPdCgOZ4ErsncnBj8YN8jApgac3oVkDNGbI6oMp9YmBxU5yQDM0QrQLyk7uMZtKoyw2S5Fvha2EW58wzt0Pdt7WN5C+/aRzqoonOyBs61b6W4sDbRWREjI6wNpwVZ7+QKDRnY4wPBrR+1LfU8Dp3aj13pafNf/B3vjH1+lsLyHiHZG+lA7b93L384kiTgWHQIQeWzG9okNcGbddyHzqfpT8VikMOOvsEEtgZ3jFEkKWQTqXAEKvqLhUiqSp/zw13+2ZrrBJ44CR6LYavvSJ+z6JJcUv8+nPRklujRCiZxniVuY+zlk4TONFdUblBW+Xv8kk9M4MIKk4j6cJgqFwzALDUs0Lu+sNJls8g8lrZzUBF96ZFMvWUz79EEgM5uW6fkknune/TreThSdzf0jpTvR3N0CT5+mBkE0rQJbpX5MoX1v2pkfj/Q8jKSj/wnc04tJKchOBU3Tm6LFiCG2r8A+ZaliHajBc0pubMHrBoouWbJE7nYrnJQ4CtJ7Zuu3ahLOvOb7RVKN3L2qETyDB47wda7 Received: from localhost.localdomain ([180.150.113.62]) by smtp.gmail.com with ESMTPSA id s1-20020a170902ea0100b001d958f8ab2bsm1782167plg.107.2024.02.06.05.00.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 05:00:48 -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, Krzysztof Kozlowski Subject: [PATCH v6 1/5] dt-bindings: iio: light: Merge APDS9300 and APDS9960 schemas Date: Tue, 6 Feb 2024 23:30:13 +1030 Message-Id: <20240206130017.7839-2-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: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Merge very similar schemas for APDS9300 and APDS9960. Suggested-by: Krzysztof Kozlowski Reviewed-by: Krzysztof Kozlowski Link: https://lore.kernel.org/all/4e785d2e-d310-4592-a75a-13549938dcef@linaro.org/ Signed-off-by: Subhajit Ghosh --- v5 -> v6: - Write proper commit messages Link: https://lore.kernel.org/all/1d0a80a6-dba5-4db8-a7a8-73d4ffe7a37e@linaro.org/ v2 -> v5: - Removed 'required' for Interrupts and 'oneOf' for compatibility strings as per below reviews: Link: https://lore.kernel.org/lkml/20231028142944.7e210eb6@jic23-huawei/ Link: https://lore.kernel.org/lkml/22e9e5e9-d26a-46e9-8986-5062bbfd72ec@linaro.org/ --- .../bindings/iio/light/avago,apds9300.yaml | 11 +++-- .../bindings/iio/light/avago,apds9960.yaml | 44 ------------------- 2 files changed, 7 insertions(+), 48 deletions(-) delete mode 100644 Documentation/devicetree/bindings/iio/light/avago,apds9960.yaml diff --git a/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml b/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml index 206af44f2c43..c610780346e8 100644 --- a/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml +++ b/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml @@ -4,17 +4,20 @@ $id: http://devicetree.org/schemas/iio/light/avago,apds9300.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Avago APDS9300 ambient light sensor +title: Avago Gesture/RGB/ALS/Proximity sensors maintainers: - - Jonathan Cameron + - Subhajit Ghosh description: | - Datasheet at https://www.avagotech.com/docs/AV02-1077EN + Datasheet: https://www.avagotech.com/docs/AV02-1077EN + Datasheet: https://www.avagotech.com/docs/AV02-4191EN properties: compatible: - const: avago,apds9300 + enum: + - avago,apds9300 + - avago,apds9960 reg: maxItems: 1 diff --git a/Documentation/devicetree/bindings/iio/light/avago,apds9960.yaml b/Documentation/devicetree/bindings/iio/light/avago,apds9960.yaml deleted file mode 100644 index f06e0fda5629..000000000000 --- a/Documentation/devicetree/bindings/iio/light/avago,apds9960.yaml +++ /dev/null @@ -1,44 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/light/avago,apds9960.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Avago APDS9960 gesture/RGB/ALS/proximity sensor - -maintainers: - - Matt Ranostay - -description: | - Datasheet at https://www.avagotech.com/docs/AV02-4191EN - -properties: - compatible: - const: avago,apds9960 - - reg: - maxItems: 1 - - interrupts: - maxItems: 1 - -additionalProperties: false - -required: - - compatible - - reg - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - light-sensor@39 { - compatible = "avago,apds9960"; - reg = <0x39>; - interrupt-parent = <&gpio1>; - interrupts = <16 1>; - }; - }; -... From patchwork Tue Feb 6 13:00:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Subhajit Ghosh X-Patchwork-Id: 1895701 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=tweaklogic.com header.i=@tweaklogic.com header.a=rsa-sha256 header.s=google header.b=gsatYP78; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=147.75.80.249; helo=am.mirrors.kernel.org; envelope-from=devicetree+bounces-39084-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [147.75.80.249]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TTk0K4WgKz23gb for ; Wed, 7 Feb 2024 00:01:37 +1100 (AEDT) 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 4DC9D1F22362 for ; Tue, 6 Feb 2024 13:01:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E394B130E57; Tue, 6 Feb 2024 13:01:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tweaklogic.com header.i=@tweaklogic.com header.b="gsatYP78" X-Original-To: devicetree@vger.kernel.org Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (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 594F812FF76 for ; Tue, 6 Feb 2024 13:00:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707224460; cv=none; b=RY8RDFRqA1kjiEhNSy4O0aCkvY0UEu2OceQHs/ya4Ezx30Mp6Wwjxl7wMPCGYY2C36zXG57QP9IUgckVeyyaE90cbHWa6y3K+GXBwA+M17dnOS1eoKbn5ogAx+KmAfN9VzcIhjmZ8s9yqGXhcCHtg0xeI9mlgZoIcMxb7RJZ5Xk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707224460; c=relaxed/simple; bh=t2VkaMkevBwQFepnvP2MubbWodHysWbjZTpvnHx6UNQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZqYR4qLtryig3jIQVQAzhbRsrsdutLOwDaZhIGHwao1rHmFt6y1GVu7G2nK1xseJ7XOVPQJc3k1sc6j908SLILXEvyKpO05HqVts2FqHqNmVeyzmEMjrhHak+mwv/tIOzaipPqGBXnGg6SiVYckoBLwmrI09m8Y8JHW8Plikdfs= 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=gsatYP78; arc=none smtp.client-ip=209.85.214.182 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-f182.google.com with SMTP id d9443c01a7336-1d751bc0c15so47724225ad.2 for ; Tue, 06 Feb 2024 05:00:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tweaklogic.com; s=google; t=1707224458; x=1707829258; 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=8o9COTEV2bYOzl/Iqcm/zhYhM78MeO/kZatJcokDs1E=; b=gsatYP78W7hkRnNhHL/9bXgjPwNGpyfA4jeZwxXgN913ORtCzZECJ6cYFQyT4V3rMw nvcNrPWIdJQ+quS+x19Y+/VGyibNCwCnMvmYGJOFecF9GE/bXKRvo4RXkE8mNZpy1A50 AMrIWyjzipByqRf6MWIh81AQIZ39AGOHiHWk6aAy2PTLyuupKcJ4aBlR7OuUspXlIOZe sDrGieMqdnPOcVamleDoyPuPiJdvGWxEjeyrkYwCkBqKpiGAAxtqeo2lHa/7JJkI12tb Bh69e3JwHTkMKf7bBULRKoaZSHq4iivKejs1NJroSd1y9OTkOcN+jKnN2kgefYwQvM6O 5AKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707224458; x=1707829258; 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=8o9COTEV2bYOzl/Iqcm/zhYhM78MeO/kZatJcokDs1E=; b=AQ55vR+XL4/SO3/ozYGasoY4/2qZXSoYtSMpP2QOUOAGzNVg4YvuP0JBMeHDFD67Vo EeDeEdEnx1+6jODDMUFab86u0jr5Uz5Wttr3Cq9Aix3sq7uQEQJequJ/CDvTXtwQ+D5r jhFiJk+GHQzNAvskLICM6v+j9IGSsLSFaS0jg2XFW11YUaMaJ+QBTHE+EQVLgGrwytTl evPk/vyS96gedqII16vGY/M/b1AY9uIeXgARZXgR5643ySLq4sirCrHfyWg5cVhBzd5u HgPW2eiwSgm0p6s/e5WfHU6tfXdUmCGep+mlUxcBKY/nEef/cxFEQFMdFY7CRP8g/KAr eDPA== X-Gm-Message-State: AOJu0YymGf9sLvU25mVVdkRKNhlg02qJQsnaLndHA4mKLlnUrH8TnAH/ XDn+b6JqBz1IbgzWmEyNjpDYfqN64PgN3u3HL+XX8ycLnA3D0ZMuPd+Ef9GM2ys= X-Google-Smtp-Source: AGHT+IFJKZ84DsUTFIW7z09SM/XolOxhBIXknyjXr5P0qKdSWiGKzHB3JJVRh5mjkS6C+ftBVXN/5Q== X-Received: by 2002:a17:902:d550:b0:1d9:a148:49c with SMTP id z16-20020a170902d55000b001d9a148049cmr1962809plf.57.1707224457137; Tue, 06 Feb 2024 05:00:57 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCW1hX/IZBA8GnFd2p44/zmVh1meywAscFi3SUeBnf+a4ogukr+ONiJMftkTFIb0uX3bLZ1m4rqs26f3+E70hc36ZhZCjcFnuANaNMO6XbujIBTfu44iLkwShC0wJyxOO7oDpypB9jMCXCbv8KoZqyyPUxatUG7Ald6UX1Ou1VC5S1yomuGMi8UpPKDryaqHqyff8HX+NsoENV813T61muGE1rliJDLoEYCA4TVQ9NdghNISSTgDCJLGzZQKOvdrZtSZDfCfD/DCHbSfv2vZ17vIMn+8loqMqBub+kZx9ZAFu8JZiZZEXGZYqbGkH/rAerkZAyi8w9t759zReAwmFg8JruxJCinAjzXHiGumz+TubcYSphKdZBVY8J0dIAk3iAhH2wAM857PzokeVc6GTvMLff2++/auXhx0qUsoNpeA5y2p3iFejMEfG+bQFs/M6gWIVg3rfful8hulfklD3ENjaE0u25igWmU7n1XtJ/Q2nL1YubAnm4tiiuLc7YUXvBGqyJPagkXsxFFFkxyNUcEjJ/LGCQ== Received: from localhost.localdomain ([180.150.113.62]) by smtp.gmail.com with ESMTPSA id s1-20020a170902ea0100b001d958f8ab2bsm1782167plg.107.2024.02.06.05.00.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 05:00:56 -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 2/5] dt-bindings: iio: light: adps9300: Add property vdd-supply Date: Tue, 6 Feb 2024 23:30:14 +1030 Message-Id: <20240206130017.7839-3-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: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add vdd-supply property which is valid and useful for all the devices in this schema. this patch depends on patch: "dt-bindings: iio: light: Merge APDS9300 and APDS9960 schemas" 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml b/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml index c610780346e8..a328c8a1daef 100644 --- a/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml +++ b/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml @@ -25,6 +25,8 @@ properties: interrupts: maxItems: 1 + vdd-supply: true + additionalProperties: false required: @@ -42,6 +44,7 @@ examples: reg = <0x39>; interrupt-parent = <&gpio2>; interrupts = <29 8>; + vdd-supply = <®ulator_3v3>; }; }; ... From patchwork Tue Feb 6 13:00:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Subhajit Ghosh X-Patchwork-Id: 1895702 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=tweaklogic.com header.i=@tweaklogic.com header.a=rsa-sha256 header.s=google header.b=hw9soaxJ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org; envelope-from=devicetree+bounces-39085-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TTk0c1802z23gb for ; Wed, 7 Feb 2024 00:01:52 +1100 (AEDT) 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F1BA1285871 for ; Tue, 6 Feb 2024 13:01:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 74099130AE9; 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" X-Original-To: devicetree@vger.kernel.org Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (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 E4B6312F5B4 for ; Tue, 6 Feb 2024 13:01:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707224474; cv=none; b=JhCTISUKfTSZnIO8H9hwZtKffh8ZB9zczooftKMqsdoxagmg5IuUklJo4xfNdxG2TFP2ZEIYLK1dl1hfPlDrx9YD2xf4Pg3sR2+IEVASsuwNn9VZHnF3q1mqrUCPAbXlCWIW171rJsfY9MRgxMiH1YA6TDXJujky+loazL5gCfg= 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.178 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-f178.google.com with SMTP id d9443c01a7336-1d958e0d73dso4769175ad.1 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=xA4h0yrb1TLUptPsRacM05EhCmLrU7lSfz97qC4HZuKshPLpBRuS7EdqOl7Mrn0Lv7 LmZjilt7sehMiDVT3cqWZhYczNmgcTeiQf0QRI996CLRvIOf7qrgsBSawoUh9W+1Jg/k M2KBS9dvv9nc6yooIrlnjldnPok3R4IDfWgClo3B4n5t4xDsqm8B3bldQlENSsv9+Yo6 kRxwaZjnVBsQujiLVb4RuJGBchRkUDi4Q+WUNjcPmXB68mWDH6Oms9BMA/20e8uXFSor 629/BWNtcgiKmOVscmBspCAD6m+ASIyKe4bmMQLIeu7JWFC/oFGXfjgBOWodzmEWEESG 42Hg== X-Gm-Message-State: AOJu0Ywdq5pPYTKH9guTl/X6CRzbzyP5AZlGDZISGBG63Lop5yN6vQVB blHlFfhd+K58He2QXldB66vA6KolSpky12wO1wZ4tY6KoK9IrTCTgdwDaElmTmU= X-Google-Smtp-Source: AGHT+IFV2GIbmK67YXMIabvxQyhJKqvHRTHxdSuKqhISRoap+nJXsL1nYNnEk0bq/vpAafvHzntYjw== 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: devicetree@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 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>; }; }; From patchwork Tue Feb 6 13:00:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Subhajit Ghosh X-Patchwork-Id: 1895703 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=tweaklogic.com header.i=@tweaklogic.com header.a=rsa-sha256 header.s=google header.b=HlA0d/X5; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=147.75.199.223; helo=ny.mirrors.kernel.org; envelope-from=devicetree+bounces-39086-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [147.75.199.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TTk0x0vBvz23gb for ; Wed, 7 Feb 2024 00:02:09 +1100 (AEDT) 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 CEF7B1C234FF for ; Tue, 6 Feb 2024 13:02:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7F7C130E37; Tue, 6 Feb 2024 13:01:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tweaklogic.com header.i=@tweaklogic.com header.b="HlA0d/X5" X-Original-To: devicetree@vger.kernel.org Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) (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 1B09313174B for ; Tue, 6 Feb 2024 13:01:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707224483; cv=none; b=sFUm5qNttkpoiXhKrbkFbmoX4fTgbEZwo3fssfnLTEsud0aAva19O/Q5J0hCYW/AH8G+WdzSelQ7v2VgvMGRCxSCREWr0+5m4LmQ9f4lTns0IKWy7Hy9RcSt840VfnmVLqxHaCkHHkHZt/IWqLkgXXAgx6rLyWApvAF7WXr6Di8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707224483; c=relaxed/simple; bh=lQXA3whtFGndqBJ+W38lPtZ3yGQ5+Hlm/9LV6dvwNI0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=SJd4T7cQy4HK9ep+/1Mz0LNIg2/8fj2fZIG9lq9RZhvy9b7+PWLcsTZkP+tZH05Za5ltLbwdTx5NCZWDWRUZ3+8pB9wrSB7VuNuvI8Sap6wB21XVZm+1uY96W1kNrZVuQy834/AjlUyXXa7eQM4pDwAWP3MPgGUvR2cNRditpLY= 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=HlA0d/X5; arc=none smtp.client-ip=209.85.216.41 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-pj1-f41.google.com with SMTP id 98e67ed59e1d1-296cca91667so346701a91.3 for ; Tue, 06 Feb 2024 05:01:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tweaklogic.com; s=google; t=1707224481; x=1707829281; 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=fwuOrU+QhGdqY/THguCCrdFISX4fEOqvHfqpDmjiBhI=; b=HlA0d/X5cLRgaDfR3BgDZa1aTgcyo+7kBkDPwOE6Cbw5qppnxVtubmkOHMvuzwL0L1 qbfiJkc9fLusQw/NuUoFo1Ve0osyNQ/0YU0VEbAWXCRqZKv1T6yIYq3ct1OxOuWeyIqU kvPMvGOl/2wOpXPYQyVRUud/5ZzhEhQrIqcX6DdOJW9E8xi3FE8d8kqaly2NAdpYRNWE KBeS66GYBztWagAKafa69YugWYILoBxu6R26jWVWApHRN24GJozSWbRxapr8AUBs8rBZ IjIpKSwibqhLfNuofi2YYfVyUZTzR24UzMuf4vD1hQrqPwzDUdY8Xxo8jeG7BOOWSHNH ekGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707224481; x=1707829281; 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=fwuOrU+QhGdqY/THguCCrdFISX4fEOqvHfqpDmjiBhI=; b=SCPALAISGDaBHptSty3ggh1aAFg81zEKLt7sWyj8a6o9AMsPfeWv7cnixPGvejYB4s 73GNNVfMfp3aPHWXfGRcFkfFk/5RfZMlRbRmptmhDF9D4D7IchrZOBvbxl1wNbC/n53i ZPsky1qqR6ZCTQ1MSD17QUiyCT3lu8TMhvT6YUjcg0glAL8WfKhxvHZ913CHnEVmVyea DFdOPraSXqKPRcUzJgEhlV+xHu46KmLK6aDmarVpOFKpTTdxDGzeGBKMFhS9JUDbTnEF b4K2TtJVjQsDFXq3n16GgwhPBLysoMZKkwhiRawwhb/L7eB1FXvOzCSXqaE8fVPOUt1f 5bfg== X-Gm-Message-State: AOJu0Yy0Y0Dq6oI3inkf1bFBWe3/K9BTJNU4FJuub92HpAadzPuaht4o ak5PVYWFMf13qPJDjvtTj/gft+LhiCCjBnDcuH2becXR8soT56xzujSth9d0Px4= X-Google-Smtp-Source: AGHT+IEGuDUqKlo1NsUcbxztEO1rvCaX7Dupb6AfmrixT2PmzLurRPyS1Wtd8Bz6mS6bY223mxbdVw== X-Received: by 2002:a17:90b:ecc:b0:296:3489:6d6b with SMTP id gz12-20020a17090b0ecc00b0029634896d6bmr2199517pjb.42.1707224481257; Tue, 06 Feb 2024 05:01:21 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXI6T/McMbE9ioeYgmIZz7zJlE8VZO90i8SeZF9O0xujvc7xtVgS+83kM13DpBTsGf0lJ4ZjWMjlllP22iDy92xzf1sxStm8QKlFFIb3e+vlZvcDPuG7aNVMyLtuvRCC0j1izCzwUhk5gbajQ3OvB6lxA8KHEIGVyCnWiWgXY/PNIBqdocSN0tzkJGT9nxD+gwmppUv9OMsFiDcr8dRfxwhMx4NQ38TFfnp6KFIWajMmmGxAEwY/cZd0YFV1+eb8UMPMd+e2zjzZJ+/M5gfZtRSD92bSOZF0igLS1nYx2MQOY10afv3+whFZ/2k6MOmgjoUAgNkHBIOzrpDF9OWxMNiPX72F2dKG9Bf9IDNdc1NFB/3s2GVw066r7bc+ISJ7x5oN6Cy3NpK7g/EiQv1vY7QSvDBa/wv4rdf0kEpaVWrFAXNlpM9hQNkNNPcjoXc1v312c9uR43GmEtDYyEU187iL+HLb4bafefZUWos+wu3vcV/z3n6tn3C/uFbaVrAbNDlZWyOMa/AhucEh7hXKhb15WkXpw== Received: from localhost.localdomain ([180.150.113.62]) by smtp.gmail.com with ESMTPSA id s1-20020a170902ea0100b001d958f8ab2bsm1782167plg.107.2024.02.06.05.01.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 05:01:20 -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 4/5] dt-bindings: iio: light: Avago APDS9306 Date: Tue, 6 Feb 2024 23:30:16 +1030 Message-Id: <20240206130017.7839-5-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: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Driver support for Avago (Broadcom) APDS9306 Ambient Light Sensor. Extend avago,apds9300.yaml schema file to support apds9306 device. this patch depends on patch: "dt-bindings: iio: light: adps9300: Update interrupt definitions" Signed-off-by: Subhajit Ghosh --- v5 -> v6: - Write proper commit messages - Add vdd-supply in a separate commit - Add Interrupt macro in a separate commit Link: https://lore.kernel.org/all/1d0a80a6-dba5-4db8-a7a8-73d4ffe7a37e@linaro.org/ v2 -> v5: - Removed 'required' for Interrupts and 'oneOf' for compatibility strings as per below reviews: Link: https://lore.kernel.org/lkml/20231028142944.7e210eb6@jic23-huawei/ Link: https://lore.kernel.org/lkml/22e9e5e9-d26a-46e9-8986-5062bbfd72ec@linaro.org/ --- Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml b/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml index e07a074f6acf..b750096530bc 100644 --- a/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml +++ b/Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml @@ -12,11 +12,13 @@ maintainers: description: | Datasheet: https://www.avagotech.com/docs/AV02-1077EN Datasheet: https://www.avagotech.com/docs/AV02-4191EN + Datasheet: https://www.avagotech.com/docs/AV02-4755EN properties: compatible: enum: - avago,apds9300 + - avago,apds9306 - avago,apds9960 reg: