Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp800026rdg; Wed, 11 Oct 2023 06:04:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEYzAbPjDXY1IDwdYPQlkId0GR2iC7NkeOm6I4BzPA3ERQnML1uFFtHVb7gjc3/ru9v9kgG X-Received: by 2002:a05:6a20:5651:b0:174:99c:2a4a with SMTP id is17-20020a056a20565100b00174099c2a4amr695911pzc.22.1697029472600; Wed, 11 Oct 2023 06:04:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697029472; cv=none; d=google.com; s=arc-20160816; b=u+U7U6Dtn47Al3vr06OoAMQTkDelC/62hKhbt7Mt4CQzBAmo3G0pH2tjwRn84WxWtl /Ac+RAGOvbw6tnncDse5/uKz90pQQLw8Hd5n7XhiVNqQGeqrknH1enXXfgtzp1BLISJ2 x8KihUTj2JIo/iEafHpQpqtBMvVwYP2XLSEr5g3Cqrsjt2rjcnbNDrWPZ0x9zSI/TqiS aFM4/Wfc1ByPThY4rGWY9+/49Kh9W3Mpyb/1j9UVihbD4uN7gfM0kGlfXobIFRGt3EYD cx9bsN6fkF0X4LK11B8lhnGicmxbj70XYuiPIGXv6Sw1hDvKjwFC0E7JmQa+dZgYD4zy 0Uww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=uKGDsSgRWaVRqguRQzytVv1LFKTRkfGDmTPgMhFGmI4=; fh=G0c+1b+yKAE5LP/tyAXj69g+Zb/qHmsqnwZ4hvDzZRo=; b=gp7dXWl5g4tEOOkSR+9vpsNqBq4A2cvinOsxqTYMtN96OC72mwYIlZBW6BJEcqzpF6 bMtj8VdERScmjWHKaBDdTtEwnrVUtqmItZhBAcin0CHFD+0t3aH719NWUGewS7wewc0c i81qbytv/smptYBwxix7VRnSSYi9pvjNla2fV87zjQtWze9uS7Mbpc/qJuTVk8F2h6Ni M0/qHg+X2oXNapvEwMpgvwFRy4IODmNkQAgM7fcRapgBosWpnHfxtYD7xDQdHoeeGKW5 pfHOK9S0s30rRFH5YKByQFlXuaAdsDgZEjCvbMopZm0HpyAhkUIWZ6DBhbRfGh47w93+ /P1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tweaklogic.com header.s=google header.b=NUC94I6J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id z16-20020a634c10000000b0059bd5d5f54fsi3885136pga.320.2023.10.11.06.04.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 06:04:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@tweaklogic.com header.s=google header.b=NUC94I6J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3C459801B6C5; Wed, 11 Oct 2023 06:04:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232135AbjJKNE1 (ORCPT + 99 others); Wed, 11 Oct 2023 09:04:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231852AbjJKNEZ (ORCPT ); Wed, 11 Oct 2023 09:04:25 -0400 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 278919E for ; Wed, 11 Oct 2023 06:04:22 -0700 (PDT) Received: by mail-pg1-x532.google.com with SMTP id 41be03b00d2f7-5827f6d60aaso4449890a12.3 for ; Wed, 11 Oct 2023 06:04:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tweaklogic.com; s=google; t=1697029461; x=1697634261; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=uKGDsSgRWaVRqguRQzytVv1LFKTRkfGDmTPgMhFGmI4=; b=NUC94I6JIABY3ySPzqj2qvktDwsPMfsa+rKp9EFeCRa6qj+xkG3RykpkJVLxrCAcFm 4G3NxHQX7ZXltrOe3p5l5NhfumYNwRzZqriAZ715UzgJs5nedWt3/408MFmRbqiXoRK5 b46NwkW9uUnrIAW3VVcXuQgrovTE0UmJGYmpzOXYEp33cWKgnjI1AmG+pQSioxZsjqOP KlclJxkSzNr181bYhcx16SuednbjK9WZBATI0R7YVIvI7IY5OFDKMlq349Z4lMJPYhS9 ypqOpw9H8Og4Y/ZquWP5NCI2gLmzy1N2Qjya6ciRnlvC3rurwoyXjf0Ity0KekzjWZlM zpCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697029461; x=1697634261; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uKGDsSgRWaVRqguRQzytVv1LFKTRkfGDmTPgMhFGmI4=; b=hWUxzCTxsrPS/kyaSjR6DS6v3vtbveRxJ6Pnj0puCxk2a9gfVLY4RYjalVJ41Nelwb ECe+iC8z+RzjZ7xkgA8050t36nML1qRzzPk0G/bfU3gglMLLz/Vz0CKO4NZTUtZGZiiV OZMfC8Zpwhjc5snEQx39RhlOVWEF3hVq4vrVmyr3FNBdJ1kFFAzZGwhASx5ZfFiDY50v tWCIW+UvOLZh1bc76MyMDQEZNJi/GaTOmFOGJUJsvLf7gwLDcG5P3jrG/EnOIF0hxC6V ROD/cdocF5cpCPvWGaPNNfYRdNsnNre2WVL6whgMB9XnR7CsLv1bgadO0qiCVCGTO5WO CoPA== X-Gm-Message-State: AOJu0YxBWhmiup2NMO4Q4LIgpUSSErmCTdSex3NUfSEl6at9ADEEcEUX TAs3k8MRurkLUmbvx80PexUETg== X-Received: by 2002:a17:90b:4f46:b0:267:f9c4:c0a8 with SMTP id pj6-20020a17090b4f4600b00267f9c4c0a8mr17714675pjb.4.1697029461274; Wed, 11 Oct 2023 06:04:21 -0700 (PDT) Received: from ?IPV6:2403:580d:82f4:0:92f1:e901:1eef:a22? (2403-580d-82f4-0-92f1-e901-1eef-a22.ip6.aussiebb.net. [2403:580d:82f4:0:92f1:e901:1eef:a22]) by smtp.gmail.com with ESMTPSA id c6-20020a17090ad90600b0027d0de51454sm734373pjv.19.2023.10.11.06.04.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 Oct 2023 06:04:20 -0700 (PDT) Message-ID: <70bb5281-18f6-f5b3-9226-7a7d552671f2@tweaklogic.com> Date: Wed, 11 Oct 2023 23:34:12 +1030 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH 1/2] dt-bindings: iio: light: Avago APDS9306 To: Rob Herring , Matti Vaittinen Cc: Jonathan Cameron , Lars-Peter Clausen , Andy Shevchenko , Krzysztof Kozlowski , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Gazzillo , Conor Dooley , Stefan Windfeldt-Prytz References: <20231008154857.24162-1-subhajit.ghosh@tweaklogic.com> <20231008154857.24162-2-subhajit.ghosh@tweaklogic.com> <2c6ff28f-9031-beb2-f8d0-e7f12b0a07b4@gmail.com> <20231010161900.GA999361-robh@kernel.org> Content-Language: en-US From: Subhajit Ghosh In-Reply-To: <20231010161900.GA999361-robh@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 11 Oct 2023 06:04:31 -0700 (PDT) On 11/10/23 02:49, Rob Herring wrote: >>> + >>> +properties: >>> + compatible: >>> + const: avago,apds9306 >> >> I see the driver supports two different variants of this IC, differentiated >> by the part-ID register. Variants are named as apds9306 and apds9306-065. I >> wonder if we could/should have different compatibles for them? > > If 1 compatible is sufficient to know how to power on both devices and > read the part-ID register, then no need for different compatibles. > > Rob Understood. Thanks Rob. Regards, Subhajit Ghosh