Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp907235rwr; Wed, 26 Apr 2023 07:50:17 -0700 (PDT) X-Google-Smtp-Source: AKy350ZkJLDcRsh6mCf39e94kqAqc+Ztphx+FC2JijViMHxi1JCc7RMHQD+/vXIEg7j4rvrzJSKA X-Received: by 2002:a05:6a00:2d11:b0:63d:2d99:2e92 with SMTP id fa17-20020a056a002d1100b0063d2d992e92mr27862234pfb.17.1682520617364; Wed, 26 Apr 2023 07:50:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682520617; cv=none; d=google.com; s=arc-20160816; b=Zr70CwoORtN5KfT0AP/A/JNhHKrqNqZtnarFKZYiTByYKul/+rVDnK5Yqb3YFKyFFt bGnTkTilG8D8N4uqJFaZGKZOKOA5xrP29xtgRY2bX+4YZK6BRvR28+wGldABs843riAC rEv2YrHya2+vy4dwXy7suBd0QIo/J2FUsSU4SyBlQcjg//MMy6MXDtslqAYrRKHHW+R1 cEIMGfeiJKUH1eR42VIHfDfpNe2DU7VoxqZMf20d7+dQlbXYjPlDSdcnqcTySkGSW6ag gYm/6zE/1Ct+khZMng42cQtI6k8V+SuD6MgzklDYB9BLOQk2b82ELnh5+nCuGlY6Lumh +OKw== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:dkim-signature; bh=3BCGjGAwt9nzDcLjFkEGmcEFFk7XHVfGUcpqHbAcKNw=; b=akOtuh0oSIXW9TbXiZMgKA57mi0tBonjatTjBKSpZgH2/leeXq9cidsLVbY/Miq7n4 RJHHXItkuk2FpLfpnQMaujOCrfq8wmniB3ZnwLGMbSNwubQ1HnSUHyfZgNXwfO0+y4uR 6wG8xj4bSGfQsywXuZM9H0WHBxoID9Y9GLVrjYe93vb7MFJyzlNVVjY6Jcdxxh8E/4Zw 2NVksjhT9+lWc5ZNLhOHRpGVCxrt5UkfufEDhilHO2DR4dMJkX7ldPOa9w706obh9GS1 NdBmiJyow24/KeAWtdPNevr4QVh1GgNEsC3VxGTkMk628tdPeO1GUkGd96n+DhY3SZQd mqLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=cmMOdBE3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r20-20020a63fc54000000b0051b8ec45689si15879908pgk.520.2023.04.26.07.50.03; Wed, 26 Apr 2023 07:50:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=cmMOdBE3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241439AbjDZOjG (ORCPT + 99 others); Wed, 26 Apr 2023 10:39:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240794AbjDZOjA (ORCPT ); Wed, 26 Apr 2023 10:39:00 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD03559FB; Wed, 26 Apr 2023 07:38:59 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-63b4bf2d74aso5675698b3a.2; Wed, 26 Apr 2023 07:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682519939; x=1685111939; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=3BCGjGAwt9nzDcLjFkEGmcEFFk7XHVfGUcpqHbAcKNw=; b=cmMOdBE3C5NBm/2htsHx9odWgajCNLikfdgI4VUEL7OVeVDSzY05jJdiFnOykoJF5s 5RI44vTJZOBViD1wSXM4KAn8DXihiJc27ywWv89fHIQ8oiyIkTMUbOPBdIQd7DsMaEw+ 389DWmJ9LAu8D+ct6ELhdPsX1g+LTWPE2pYxrsySX/v191l96+HrvaD8Rp9lTGjy1flR hv4V2ag2VV32HSQKjd9bmimuOtfa92m6efCtwnR9SEwQXR8EMs9NnaZAeOzaZAtQiUKN icQJdv9QztX/oXXl8fNmUko8lecLvZijAAIbfldAez+EaEO70YL98A7G4bdiNNq5lrgh kIlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682519939; x=1685111939; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3BCGjGAwt9nzDcLjFkEGmcEFFk7XHVfGUcpqHbAcKNw=; b=Af0JLU3KCXilmYTMeGpKoo9xNAtZmFzrguEmz2a0Ut0mNbiMbbuRp4/ooenEaOsSEH iyfbzZnCUTr5okobt+d32BSJkzQhkRFxulI20tRSzWMKcoK/HB5XpQeWg4QhS8RhaXV1 qlvylEHZGtqwW2QCrHY687UFe+ghD2UAziL+I1tNI9stjC4vxheHDMyttn6Qy9HCDLVc IfMZLHJUHPLIlOr7mpxgiAMuPDgGmpHxplm0fPJqh4hpLs6qh03K+HoqSJkO5iMKmmof OXx0q0fKIdCgaKCjT++eBh+rfmFeiNILLOAY1WQcrGnV1DKu8zPmaOVTAtK4FjDZWYvt eQPA== X-Gm-Message-State: AAQBX9dqQjP5yVjHEiYnETMw5lb5l06mPrXFH2U0DPHZ6pEhgptODPlS mA0UHAoIXbJimIKsiwltUCE= X-Received: by 2002:a05:6a20:4394:b0:f0:2501:349b with SMTP id i20-20020a056a20439400b000f02501349bmr24646831pzl.25.1682519939069; Wed, 26 Apr 2023 07:38:59 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id j9-20020a056a00234900b0062dfe944c61sm11448152pfj.218.2023.04.26.07.38.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Apr 2023 07:38:58 -0700 (PDT) Sender: Guenter Roeck Message-ID: Date: Wed, 26 Apr 2023 07:38:56 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v3 0/2] Hwmon driver for MAX31827 temperature switch Content-Language: en-US To: Daniel Matyas Cc: Jean Delvare , Rob Herring , Krzysztof Kozlowski , Jonathan Corbet , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org References: <20230426124049.258359-1-daniel.matyas@analog.com> From: Guenter Roeck In-Reply-To: <20230426124049.258359-1-daniel.matyas@analog.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 On 4/26/23 05:40, Daniel Matyas wrote: > Removed of_match_table and kept only id_table. Removed other device id's > from id_table (I have them only in the devicetree-binding). > Please explain. Without of_match_table, it is not possible to bind the driver using devicetree data. What is the point of that ? Guenter > Added mutex protection where it was needed. > > Daniel Matyas (2): > dt-bindings: hwmon: add MAX31827 > hwmon: max31827: add MAX31827 driver > > .../bindings/hwmon/adi,max31827.yaml | 54 +++ > Documentation/hwmon/index.rst | 1 + > Documentation/hwmon/max31827.rst | 83 ++++ > MAINTAINERS | 9 + > drivers/hwmon/Kconfig | 11 + > drivers/hwmon/Makefile | 2 +- > drivers/hwmon/max31827.c | 406 ++++++++++++++++++ > 7 files changed, 565 insertions(+), 1 deletion(-) > create mode 100644 Documentation/devicetree/bindings/hwmon/adi,max31827.yaml > create mode 100644 Documentation/hwmon/max31827.rst > create mode 100644 drivers/hwmon/max31827.c >