From patchwork Sun Feb 18 05:48:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Subhajit Ghosh X-Patchwork-Id: 13561692 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.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 E25D712B75 for ; Sun, 18 Feb 2024 05:49:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708235346; cv=none; b=IkK4nk8s6ISMfse3l6ZVbK/+jO0S9PLmbh/nOPXQilgz+htkwHPjUCJu2ovC/81Ecwl1Mgp8qgWpA1YL1Ancu+AQMfwBIcB8lWfo5ZELCT5Nh8UbeYX8DOIuAdMy7hUfNgK/vCycEH/tTVl5yX0WhwuzEOcvULXoaxmFU42ezkI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708235346; c=relaxed/simple; bh=sNaN+8uZ2OwYk6opRABmHv+QSTXqQ0Oj+nHsi2KqXM4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=T8RqoK4MLkpb8TqLstDgS7pRLVtSlrczVdJT5JYQrAsvBnK5yvRftonWIxDoExe45+dbBK/vz8SHWweYT6eDhbmwcawWLUd+8HE7kXEBM2ZfkAsjAvrtf4dDMr5xAvdYJEBVuFrBelgpxbDlapffaSrYdZ5twhIY++Ep/LQoTl4= 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=WRKvY3W3; arc=none smtp.client-ip=209.85.210.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tweaklogic.com header.i=@tweaklogic.com header.b="WRKvY3W3" Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-6e459b39e2cso101718b3a.1 for ; Sat, 17 Feb 2024 21:49:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tweaklogic.com; s=google; t=1708235344; x=1708840144; 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=uS+RRmEKDa2tRYcsQCTrNfUOTEya4p+k26tpmSP/PdU=; b=WRKvY3W3uruDg3fG3NznfFrHDM6Ow5FQcTfurinEzTHfwuxlD+5K+JSSB0LFLxUDqU Q+bytRrPqswlHEcNCbVnjY9v79BgpajvrefTuieatzA6qULNSL/PhIcSfQIc29gV/AAJ eAsKK5E4SLA3mrJ0zUF8o4LqxzgZXxOlEodfci5OwIHavDYAC/Dw7hNTIveyfOlLI5TD aaWzZHo1WG0tfCZprZBx7wqWMbTm71DPRfpjqHncXDToZBwVoWSaGXuWoyMipPmpMDYQ dn2O8VJ5uSJiqNC3azs2thuVRCgtvKQ8bAS84MwPukwSwdqlrwjENCwJOmhkSjxktHMF fmSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708235344; x=1708840144; 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=uS+RRmEKDa2tRYcsQCTrNfUOTEya4p+k26tpmSP/PdU=; b=NIdG0L3jfx+hshXsYrwXf9AVpnAfc4FuornqwDSHHCqsgiw2qV2TsSO1XbhutYKHGD pa47RTEr2hnYVbuZ4wlcBax5vKU7A5ofqKn2iCceIFH+LFIPYQRyXS8dso+S1+Z36Zyn 6Kdz1Ofbqk6ICOtHistrentv4WOzpEneYBXQtQwnkIN0jmvhUW4NHsD0LLSloYXNzwp8 STX4EGfI64zPAaXF+vhFzpMBnKrlBMHRS7f+hmK5FXR344GdgyjRLsF76K1bdMwg0nb/ 5PKMFBvnaWZnf6VJBBmHqy64ek3wNCH5bDGyLxJ4AIh4OUBYiBwh6X1urRog7QacfTtQ eoKg== X-Forwarded-Encrypted: i=1; AJvYcCX5vIRG77sD2bNgD/02omZyGGSPMfXrYHVHn3YmTbEQs/EkxIe1YGZNlp1mIfJyG5yGwM+zwc91JzBPRET3psiM3xY45xEs9yKj X-Gm-Message-State: AOJu0YxADYfVLMiuQx5LoHwYaK9mrkqSzmUX03qXkVZb24J7Hv+09kHp YuI9KJEB2PW95+5uXHef6jxF217pLItZNL5pWcoCLwGISNaFnoA1jHMnIS38r0U= X-Google-Smtp-Source: AGHT+IGCoGlGB15Yzz2OqVgwVSLRcqY6I3+8ga0ROtg9wX13jLMYJD0LZq6SILFivebb1vJbZmuVdQ== X-Received: by 2002:a05:6a20:4387:b0:19e:4ab2:c362 with SMTP id i7-20020a056a20438700b0019e4ab2c362mr13551548pzl.14.1708235344214; Sat, 17 Feb 2024 21:49:04 -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.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 21:49:03 -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 v6 4/5] dt-bindings: iio: light: Avago APDS9306 Date: Sun, 18 Feb 2024 16:18:25 +1030 Message-Id: <20240218054826.2881-5-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 Driver support for Avago (Broadcom) APDS9306 Ambient Light Sensor. Extend avago,apds9300.yaml schema file to support apds9306 device. Acked-by: Conor Dooley Signed-off-by: Subhajit Ghosh --- v6 -> v7: - Removed wrong patch dependency statement - Added tag https://lore.kernel.org/all/5089c549-505f-4342-b3fe-bed8a29b6ce1@linaro.org/ https://lore.kernel.org/all/20240206-gambling-tricycle-510794e20ca8@spud/ 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: