Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3019000rdb; Tue, 6 Feb 2024 05:04:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGDBQCxjLtVIWm+YSsXCM0rm8sXBpBfYJ/xz4QB89hSDoK759Fiw/81v173YuhphcY+YBM X-Received: by 2002:a17:903:24c:b0:1d9:a647:5566 with SMTP id j12-20020a170903024c00b001d9a6475566mr1798541plh.4.1707224528961; Tue, 06 Feb 2024 05:02:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707224528; cv=pass; d=google.com; s=arc-20160816; b=fBI3Yer1+xdu6xqrYSH2mjdUYRFO2ipAw1r09Qbi6Ox0SiXssL4NjQ/SJRLnilW3bi 1iFr5hY848ePhjC5l1qa4wd8MNTs0vc2R1x0WfUmLDTRXCu/BZmqN/OBeuH0iP0CknOz pKd1iesRbTfKRgMpj2HpEv29BHD5qbagt/xLkroW0iuClnzTOqmPKyOgDBfqu1V2p3p6 NCSEvYoEap+DP9+M14XSCDg3JBaEplRWppcJ0LUmSWEeGkIat38CG4RZ1dvaN+PZGpXV +Tf2A/DWEVXZgN4n4tcTVEIP3wS9IiE3T4cbPfuf2QU8LVmrxJujFamSncwj00G+BcWB TSXg== 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=fwuOrU+QhGdqY/THguCCrdFISX4fEOqvHfqpDmjiBhI=; fh=cs9AZLO7teq78pUQniUFStgC1gBgw3FuR/HBfgM+ASU=; b=gmzrFCuui85KLDYIP0ni9MHTY8fQvxODlBVaRk0Tcm0ED9aGu0cCbSZZxdCtjTbokz Mo8PTQx56c9me85pVBral1n6gmt4/8LzYgg4dP3LezawCJOF9csBUldfJuTiaBxMdsVk jRGRdZIDogrgrFAyhpPMGIKfktFiBf3tqP6kZNDla1+8qMoNV9iEzVuP8bEHtsF5V1Dm 7mq5OBd+3IlmDGetXkc6eD8r40RlvDfdSlGvciZQsF3Sbd4ku0MR6VGt0oM5hH3wr+Fa dEleCvfMiH4Fr5NBI4VmoPwOdZBy+3B4T7aXM0DnAvrc7P6kFZSznrU0bnmCECSUZyMS cn2Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tweaklogic.com header.s=google header.b="HlA0d/X5"; arc=pass (i=1 spf=pass spfdomain=tweaklogic.com dkim=pass dkdomain=tweaklogic.com); spf=pass (google.com: domain of linux-kernel+bounces-54984-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54984-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCU9iUouKI/XLf4M0FgDwty1RhWBaamKwJaVlR2AnFnTuoeHNNnjPJtFg8L4nlS/qVGVBcTGya6X573YtNM5z0KS6/M4RyI9/mte/bcsGg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z68-20020a636547000000b005dc12137745si1639436pgb.151.2024.02.06.05.02.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 05:02:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54984-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@tweaklogic.com header.s=google header.b="HlA0d/X5"; arc=pass (i=1 spf=pass spfdomain=tweaklogic.com dkim=pass dkdomain=tweaklogic.com); spf=pass (google.com: domain of linux-kernel+bounces-54984-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54984-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9E6AB28A522 for ; Tue, 6 Feb 2024 13:02:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3833C131746; Tue, 6 Feb 2024 13:01:24 +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" Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (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 F3E6213173E for ; Tue, 6 Feb 2024 13:01:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707224483; cv=none; b=KbnhB/2HxSrItTUdGdBgSR2jGoYADXzq5+XWupnURwxEsephl5ne0KMuOQiDphyS0hADExvIpScqvsR/L2vdRktH8Fk24zV/lU257kny1tuKrTTJqTPl0/1TV3j/jejt+M75rOtpiy9tQGg7uzjRDFM8MITWthLy0q7vSZeQ38w= 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.42 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-f42.google.com with SMTP id 98e67ed59e1d1-296cca91667so346700a91.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=mVoYQhTrLAAUrlbVEhblyc1+OlHIeY9/XfABnXBd4MWb/CUt1J4YXPji3XgZ/TG2gT yc8ELhkvYU4pwtAeRA5WOncCAozBsFsIfjXfzHZ86y3nZeEvkPbgqVNV8wcwNaFh8MZW K5cZ19Qe/NUkpJltLpyzMWLP0ZzK9vG9KVphTVjpxcXcqo6e5tobBmo2f297p6Mnib3J gBRNJxZ89iHAuOIyPzamHZ40iOaRSzoGykKt+sjRXAZeBVzgiVYhbe68sGOjBTjotgQJ IeCjF47OiqxxRacrxo9M7UCmn4pTJG0iZtmEJ2CpNhjZagDZU6CZJlDht3JHZe6GO9Wi 4gXw== X-Gm-Message-State: AOJu0Yww6HdYgHqM+/xnc1KHL9/FpQomYCaFzIPExa2rLPM8XjMpgNbd QnMMyCrTTicuTeUHMSLjqhc+xL8ny/G24yRzDgnhmoTFCDKz1wKJbADLg5Az8Dw= 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: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: -- 2.34.1