Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp914006rdb; Tue, 23 Jan 2024 21:25:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQFhHhVPT/oHbRMTW7VQITkOEY2BtgUqDpCZHjEKSvIGiayIKekUYrAS/49D6RUOgrGErv X-Received: by 2002:a0c:f591:0:b0:681:8636:ae06 with SMTP id k17-20020a0cf591000000b006818636ae06mr1999955qvm.124.1706073918738; Tue, 23 Jan 2024 21:25:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706073918; cv=pass; d=google.com; s=arc-20160816; b=QwpaEbn3bB4mKp9x+jVasRpmJ9Aq4O3EkrN8hyy5KS7aU8bTa1A/B7tZS1d8pecPDT AkBjn0spvWUJPMAD2iztw34t8QE8CcSNQNIE3Yhj9Mth4Qv9fYIOIY4H3v1JcM+QEsYH ZM6S9f9fJQf9WrfKi1ECh9IDHuhzroIXt22pWlGRwlQKt1dsc/UPhnk8FaSm7pWFKGhO +DNhJw0q+1sTIbaBYa2f12z2dxV60iksgeJfBbgzMzzj2Q4mj6iZLMk29o7NLYfLJvHe yf1lFEuSbJl4rqEw0EjZfxkKF2/54njP53mLoDOmb+mx12WO7Pktz0rk4XcH5gxyskHT 7X2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=7SZ6TVtvqO7xS+FN5Shbzs8pDYcUTB61xRBtZe0By+M=; fh=J+fETkwaL/pFUKO0teTbgUQ5kgVs/Ka7yRQGpDl2ogA=; b=QSp+H4ihOtCnWxCsQqfrHtaZoFC1DJ0UYS70l/QD6kxciRgNVSickIrwqr774p2Goc EhwAf9dX6fiWpBoyXvqvzzzH5mndPw4nryB/nf4BZMRlp+fDtYADPerPzso7aX99LKKn UtFP8cc4tMp0KxjCDRHHg3BXw+yxom9NBycpJ3g1Jb0luXpeHctmHHlmqcgtfc2EjnEm iioeIPIyk5FDMg3dGXrwAPAS7T/+CYHbCb3smEIqPQAtT8CaWd9RkTtxMIZfKcN8oHBB Dc8hen6vkhY+XW7jSSSmTsWB0hWlVi+yuVyXJ4zyEt3ecFF1wluTnPIt258xxt9ctZMz E37A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tweaklogic.com header.s=google header.b=OfRjt8QW; arc=pass (i=1 spf=pass spfdomain=tweaklogic.com dkim=pass dkdomain=tweaklogic.com); spf=pass (google.com: domain of linux-kernel+bounces-32704-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32704-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w17-20020a0cdf91000000b0067f99bbc781si9502509qvl.109.2024.01.23.21.25.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 21:25:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32704-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@tweaklogic.com header.s=google header.b=OfRjt8QW; arc=pass (i=1 spf=pass spfdomain=tweaklogic.com dkim=pass dkdomain=tweaklogic.com); spf=pass (google.com: domain of linux-kernel+bounces-32704-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32704-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 85A221C24606 for ; Mon, 22 Jan 2024 10:08:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 30CD93A29F; Mon, 22 Jan 2024 10:07:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tweaklogic.com header.i=@tweaklogic.com header.b="OfRjt8QW" Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (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 ED78A3A1DC for ; Mon, 22 Jan 2024 10:07:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705918063; cv=none; b=fXSM2M4fXR/ykcK1J3w9Y1U7aD1yRtlROjvKuuC2dqNkSYwy8bGZJth7KLpBQVm6IbGau8itEMAY5UDG2CrAcB09pNXwjWlJfDomvzVXare8g7J8P44YhcIZH+7SMqjmH06bfmfxUSjqdwpLP1ME6gdw1mpwpUnVNvomEfR5Yvs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705918063; c=relaxed/simple; bh=7hfseNti4KOg7rK9baauGbMNt7pApk4b65kBVK61lRM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=XiEPnuFpRFnoUJSfddO579KsjRRGvziFZuL8of250LRfBIyHMCqYnAyl9FS1UaInC7m4Qpu0oyOa5mdZqty6J432VSxEbbmUnAkyLdg+9/oF/fYGcFuvKOScc85rKirQFWM8G9OWK+etw0N7wqliH/CClciGW4ye54V0f6Q44sY= 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=OfRjt8QW; arc=none smtp.client-ip=209.85.210.169 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-pf1-f169.google.com with SMTP id d2e1a72fcca58-6dbe3fc1421so227543b3a.1 for ; Mon, 22 Jan 2024 02:07:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tweaklogic.com; s=google; t=1705918060; x=1706522860; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=7SZ6TVtvqO7xS+FN5Shbzs8pDYcUTB61xRBtZe0By+M=; b=OfRjt8QWrGSQCDS9EbbbtG+FrNaVTL6vPTnUtshkgbUB19HjnZEumH4sKuKYnaN1Zx FsLKoKGueE/+xeL9S0a/cGimMfbRuPbC/wnRry43IaV1n9NxGSfhnyJkMLEueO1q+z59 CmNev0L+hFeNv9F3GW+7LBImF9OY5yVBZmshcXSecGloHjovUvtrAzyKomeEDinJ6h3n HrEK9glHVQLoQsZd4JJzoq6nr5uiOsY9rar0li+QnkYMILC/v82Rp/9XkqKuIftvIu13 6QY6vADYa8GXc9M5LKyNY8fDS21KwImF6NozidqSiSf5LdtGiPilsBELp8DcUMFNHtIS Tekw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705918060; x=1706522860; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7SZ6TVtvqO7xS+FN5Shbzs8pDYcUTB61xRBtZe0By+M=; b=CLVKSOlD9dDYAcUsgKA+6HH25Vmo/qM80Igsw92tT131KPSr5a6DikGiNa42qFlDEp OFQkOk/BajJMHvNKV1OMmB1RX98gsBIdvI/ZsGnaCmnOYahf7woTN16FvSTwQrFNBgUC kY6vqmBe14kQgpUVxS0cgCrGQvd5HTrlKF19KhCk3CZAM1HARI8r70QY/gWkGwUJzvg5 vDVfHg+e6nqQjJA7rYcbmyLQTRzemSTHDn/hGV+v3n/h6pRynj6ygkmC9cO6Pe5j56CS W+V6EtikOucTuPCMdtZiAmMt2mJrXWRsw30cqFDG79vEkcWteoQgedpjCmSXArNquilT Nibw== X-Gm-Message-State: AOJu0YzN8glCA8PqhOGZybcImEQUQP7hFxxiBNZqNdD38Ck0YogHPrfm 7Zh+bY2OK5p69pDgHYmwi16LD1/l2lRZjz8mzFljaLkOPFO4p5ByCNcGN1D7RXY= X-Received: by 2002:a17:903:1251:b0:1d7:657:8ab1 with SMTP id u17-20020a170903125100b001d706578ab1mr1864860plh.76.1705918060314; Mon, 22 Jan 2024 02:07:40 -0800 (PST) Received: from [192.168.20.11] ([180.150.112.156]) by smtp.gmail.com with ESMTPSA id w14-20020a170902a70e00b001d75c26e857sm811322plq.288.2024.01.22.02.07.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Jan 2024 02:07:39 -0800 (PST) Message-ID: <478fc1b0-aba4-4f36-bdb6-bf5fc7eb8609@tweaklogic.com> Date: Mon, 22 Jan 2024 20:37:32 +1030 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 2/3] dt-bindings: iio: light: Avago APDS9306 Content-Language: en-US To: Krzysztof Kozlowski , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matti Vaittinen , Andy Shevchenko , Marek Vasut , Anshul Dalal , Javier Carrasco Cc: Matt Ranostay , Stefan Windfeldt-Prytz , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240121051735.32246-1-subhajit.ghosh@tweaklogic.com> <20240121051735.32246-3-subhajit.ghosh@tweaklogic.com> From: Subhajit Ghosh In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 22/1/24 20:21, Krzysztof Kozlowski wrote: > On 21/01/2024 06:17, Subhajit Ghosh wrote: >> Adding device tree support for APDS9306 Ambient Light Sensor. >> Updating datasheet hyperlinks. >> Adding interrupt definition macro and header file. >> Adding vdd-supply property. > > Why? Do other devices have it? Are you referring to vdd-supply? No, I guess, haven't checked actually. If other devices don't have, can you suggest the best way to handle that? > > >> required: >> @@ -33,6 +37,8 @@ required: >> >> examples: >> - | >> + #include >> + >> i2c { >> #address-cells = <1>; >> #size-cells = <0>; >> @@ -41,7 +47,8 @@ examples: >> compatible = "avago,apds9300"; >> reg = <0x39>; >> interrupt-parent = <&gpio2>; >> - interrupts = <29 8>; >> + interrupts = <29 IRQ_TYPE_LEVEL_LOW>; > > Separate change. Understood. > > Best regards, > Krzysztof > Regards, Subhajit Ghosh