From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6CBC3C7EE24 for ; Sat, 13 May 2023 18:35:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229639AbjEMSfL (ORCPT ); Sat, 13 May 2023 14:35:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229589AbjEMSfI (ORCPT ); Sat, 13 May 2023 14:35:08 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 010201FDB for ; Sat, 13 May 2023 11:35:06 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-965e93f915aso1945412866b.2 for ; Sat, 13 May 2023 11:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684002904; x=1686594904; 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=gdtpFQqstRJ3vQRASjBOgJ5qnuinsCRYsDOrfHec77Y=; b=qA/3CS9xhwjPEF75DF/vWV+L5BA6D15IADzPvrMDxWZBO2zZBXgwHiwlvrybq5C+au 9GhKNd6wvSbEQim/ecxv07dIb+yxxo/BX2WwYvWYZPEOIFdEPE07y8EB+0k5QPi/e1nG XIe20Y/gk62SGhLaFXvlIOWdar4csSSxuDuozWRe6hbZuyvxOlzz6Amga3dBOXFtu6vv UUP8ufqLOHsF9jguVFR1sDJTFSvfuCrOHx6kCXo6j/tMgZg2+DqML7w+ZQ6Tk6kS03Mv 9dhtN2680J1LQxXQ7IKU86yhyccYxHrFrJvtzeVcRc6MVUYVJn4p8r0hpF+Mwu8gkkPz hgIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684002904; x=1686594904; 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=gdtpFQqstRJ3vQRASjBOgJ5qnuinsCRYsDOrfHec77Y=; b=Tm8MLBfijebg6pLfSgDw6VnRAO7xwj3/340ekxzg8L/ZEdc6MFiYENxfu2jsgXs+0B 3JahRYVRn9jfg2z6/r6a0COkot90KQrjsX816XtwkacVyeXPLvsgp+gp7zLKNwnS3f/A pKtm8sZQarDBsPIKmOBP/VeBrpppgIC0hq9KghOtxx/fFODEeND7/sa9w6pdwsRWP9cw j9EgDvXja4a2wP0//C9Di8wQshibEq7boKBBxcRk1UaX1tVD4g4WW744NPm0gH3v4lgr lGSj0ZmFhcy+NGNU8YuZAzFrZLbPGrUb8EfTOwuEBVd96lBQIjVb7yKJfr08EMBOZq54 wvHA== X-Gm-Message-State: AC+VfDwpYoa/OL6z5ug31Tzdr8QY7R8BllY3D/O2yf/dFZuUcbkn5vTL K1id3dav4UkRmu6gdTtiG4ZLsQ== X-Google-Smtp-Source: ACHHUZ7lS3yHb3bOhLpg+8//bcoESb9TvvyfZpFniFz/1SOnr+tYtsNn3cQnvoT7TpDTZTrqzgSo0w== X-Received: by 2002:a17:907:1c03:b0:94e:4489:f24d with SMTP id nc3-20020a1709071c0300b0094e4489f24dmr27661968ejc.61.1684002904485; Sat, 13 May 2023 11:35:04 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:ba68:e5c9:694e:c6e4? ([2a02:810d:15c0:828:ba68:e5c9:694e:c6e4]) by smtp.gmail.com with ESMTPSA id v9-20020a170906380900b0094e1344ddfdsm6998534ejc.34.2023.05.13.11.35.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 May 2023 11:35:03 -0700 (PDT) Message-ID: Date: Sat, 13 May 2023 20:35:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] dt-bindings: iio: temperature: Add DT bindings for TMP006 Content-Language: en-US To: Jonathan Cameron Cc: Anup Sharma , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Peter Meerwald , broonie@kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <4d18eb55-a44c-4033-93cd-35c02cb179b3@linaro.org> <20230513195030.57b7939e@jic23-huawei> From: Krzysztof Kozlowski In-Reply-To: <20230513195030.57b7939e@jic23-huawei> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/05/2023 20:50, Jonathan Cameron wrote: > On Fri, 12 May 2023 08:28:29 +0200 > Krzysztof Kozlowski wrote: > >> On 11/05/2023 21:06, Anup Sharma wrote: >>> On Thu, May 11, 2023 at 11:28:50AM +0200, Krzysztof Kozlowski wrote: >>>> On 10/05/2023 20:56, Anup Sharma wrote: >>>>> Add devicetree binding document for TMP006, IR thermopile sensor. >>>> >>>> Why? Where is any user of this? DTS? Driver? >>>> >>> >>> The support for TMP006 is available at driver/iio/temperature >> >> There is no such compatible in the kernel. If you add OF support, you >> should change the driver. > > (Very) old driver, so it uses the fallback method that i2c provides to bind to > the compatible with the vendor id dropped via i2c_device_id entry. Yeah, I know it works... but is very confusing :) > > Having said that, I'd also prefer the addition of an explicit of_device_id table. > As there is only one supported device in this driver should be trivial. Best regards, Krzysztof