Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2822090pxb; Sat, 6 Feb 2021 08:50:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMRQS+iHIYg4GObwWPdE6/aP+m6t80N3GsVEV9c34sB+UHihOTUO+S+GNpNGkdpz9TfH2G X-Received: by 2002:a05:6402:524f:: with SMTP id t15mr8959327edd.158.1612630251287; Sat, 06 Feb 2021 08:50:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612630251; cv=none; d=google.com; s=arc-20160816; b=kAaWZ2YV3iQQzl2A8POTkouLO+v9GrxAS5pvDhY8wAQauLugDn7kT8hL26uFA8J8Iy lj/99gzmnUCOKiPuaOteTxrUJefC8AB4zwbB/+TRGAevNH8klilu5fJddU/KvAv2enrI mXoZcZtgT04uqbAZTf/0Q7x09p/1w+rnJNMblYn/GkUf6PZRFkJRpJRGFgy+5TH9bwaH 6dEo9tuNCvZZeDgH+ffSHIZbfvuhiUbtJL76G/OEF1VULyCEB155JJN3iau42NWiUpuZ zVjpEWscmTs7uBQJXHTYQ+e7z63NT+kOWeq5rWjxw0AR3PNru1tLzrFkro3qVQUqf8IO eXJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:autocrypt:from :references:to:subject:sender:dkim-signature; bh=tGp9KvODpzql5t42NZxYjS9v+6EFLDbhtxPLIgzmjc0=; b=xRk4AGQs96dod0eSVNlcDwhRVD6NtJj2l9RiJup3+WYUfpuMf+gMcmq6/KL67Ih7vK 0HUodLdoq8X1q7v4axhGBhok6SLdhiDQUNOMDXrZEhWTEFfp3hb0tmYetUbdJba+B/bD g3dIpl/MMbdst7yd1fyS0JLHGZri5oCuVhG2w93+xzehIEnSveen7G7zUdUX1zrlvZQe LbxR3JyzZNv6g/WphBxjYisfN++KbN7eSGiOkjHqCE9dUZ1qV0mBYJSJK8mqA7TSvlow 4p/vfip/WGrsu8/c887Y+rQBMc4iYo9FSJ0TlmQFucPUn82LYu+MftSvuyYX2dcy9FOk og8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WeT3xqIZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f16si3669040edx.512.2021.02.06.08.50.26; Sat, 06 Feb 2021 08:50:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WeT3xqIZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230197AbhBFQrC (ORCPT + 99 others); Sat, 6 Feb 2021 11:47:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229788AbhBFQq7 (ORCPT ); Sat, 6 Feb 2021 11:46:59 -0500 Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A1BCC06174A; Sat, 6 Feb 2021 08:46:19 -0800 (PST) Received: by mail-ot1-x32f.google.com with SMTP id r21so1596328otk.13; Sat, 06 Feb 2021 08:46:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tGp9KvODpzql5t42NZxYjS9v+6EFLDbhtxPLIgzmjc0=; b=WeT3xqIZMBp16F5D8Q/eUr4Ezyri/M4suNOjuPdlkkSPTqmn/V9VRPd41JUYRZ/x4x kGJLaJxPxDEMSrtapfNv3qNCk/BPaYZxQaBNz7/lULBkxHb054IAKTyykyRTv9peJz0d bgGOfW75O24jTRei5xJjgxVJFzBlc2iSrreXSg41/oxMZRnbTwOZwW/k3t19p5y37grh 2TqMrXNcpghtHQwmcQ6esAiHiaDBUwYp7MWgjz1/8o/tlUkYI5jTTBazvMY4YImgWCaj Lh1+6Y6uIIFODbGn22Q1klP1QwO2h01yaXEDQ2f+NUZvQ/SW3uywyxlLZJ/da9rEuxwY zz3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=tGp9KvODpzql5t42NZxYjS9v+6EFLDbhtxPLIgzmjc0=; b=F05RClognh+9QLHrAB9hLGbU4Ab+VJAL0+4crzkGBp8ZhIgriSGgyqiRIaF0W+Mg2G GuO6R6jTYmvkisPTvN2b2Gv1tVvCVpYyNjCZgTalUgHdjdho/3RbHRb1HXcv8LmCrjqA kaUWByBoqyIj77TJQIEzBUECRZ2yWzDv+4a/iDZgnnko2+WcvQsZA/ySsDTmWO77nWsy oDybz3+eazOG7y/HI7nv/ZpbtGDhqj7ZGRBBBIw6CiJhuTjUHsKosUX/guzJJweQfcsl FIm2SQljsPXJjcxxsdz+eYaWW0ntkBvAPfKooSDgUGlHS7lDeLabD9j6awY9f5hbj3Li ORnA== X-Gm-Message-State: AOAM530ThBN6F3cOtB+G7ugIkx18ZXroPU2oeynytABWSF7k6FHHffZM nukmZY3NBJnHysYK6yHfz0PMdVzKg5E= X-Received: by 2002:a05:6830:131a:: with SMTP id p26mr6934434otq.134.1612629978372; Sat, 06 Feb 2021 08:46:18 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id c26sm94864otl.80.2021.02.06.08.46.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 06 Feb 2021 08:46:17 -0800 (PST) Sender: Guenter Roeck Subject: Re: [PATCH v4 1/4] hwmon: lm75: Add lm75 to of_match list To: "Matwey V. Kornilov" , Jean Delvare , Rob Herring , "open list:HARDWARE MONITORING" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list References: <2588ea5c-630e-6509-689d-4c8fea358e9b@roeck-us.net> <20210206095121.20625-1-matwey@sai.msu.ru> <20210206095121.20625-2-matwey@sai.msu.ru> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCxV41P/ejsZ8PykxyJs98UWhF54tGRWFl 7i1xvaDB9lN5WTLRKSO7wICuLiSz5WZHXMkyF4d+/O5ll7yz/o/JxK5vO/sduYDIlFTvBZDh gzaEtNf5tQjsjG4io8E0Yq0ViobLkS2RTNZT8ICq/Jmvl0SpbHRvYwa2DhNsK0YjHFQBB0FX IdhdUEzNefcNcYvqigJpdICoP2e4yJSyflHFO4dr0OrdnGLe1Zi/8Xo/2+M1dSSEt196rXaC kwu2KgIgmkRBb3cp2vIBBIIowU8W3qC1+w+RdMUrZxKGWJ3juwcgveJlzMpMZNyM1jobSXZ0 VHGMNJ3MwXlrEFPXaYJgibcg6brM6wGfX/LBvc/haWw4yO24lT5eitm4UBdIy9pKkKmHHh7s jfZJkB5fWKVdoCv/omy6UyH6ykLOPFugl+hVL2Prf8xrXuZe1CMS7ID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PSk1J64R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= Message-ID: <164495f0-9b53-2523-f178-bd52bbb40ae6@roeck-us.net> Date: Sat, 6 Feb 2021 08:46:16 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210206095121.20625-2-matwey@sai.msu.ru> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/6/21 1:51 AM, Matwey V. Kornilov wrote: > Currently, many boards use just 'lm75' as a compatible string. > > Signed-off-by: Matwey V. Kornilov > --- > Documentation/devicetree/bindings/hwmon/lm75.yaml | 1 + > drivers/hwmon/lm75.c | 4 ++++ > 2 files changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/hwmon/lm75.yaml b/Documentation/devicetree/bindings/hwmon/lm75.yaml > index 96eed5cc7841..aec8edd1e0c6 100644 > --- a/Documentation/devicetree/bindings/hwmon/lm75.yaml > +++ b/Documentation/devicetree/bindings/hwmon/lm75.yaml > @@ -13,6 +13,7 @@ maintainers: > properties: > compatible: > enum: > + - lm75 Please split the .yaml file changes into a single patch, separate from the code changes. Also please make sure that the subject indicates that this is a bindings change. For this change, we'll definitely need feedback from Rob. I am not sure if such a generic compatible string is permitted or if we need to change the dts files instead. On a higher level, while lm75 is an extreme case, I see a few other violators as well. drivers/macintosh/windfarm_ad7417_sensor.c: { .compatible = "ad7417", }, drivers/macintosh/windfarm_max6690_sensor.c: { .compatible = "max6690", }, arch/arm/boot/dts/socfpga_arria10_socdk.dtsi: compatible = "ltc2977"; arch/arm/boot/dts/aspeed-bmc-arm-centriq2400-rep.dts: compatible = "tmp421"; arch/arm/boot/dts/nuvoton-npcm750-evb.dts: compatible = "tmp100"; arch/arm/boot/dts/nuvoton-npcm750-evb.dts: compatible = "tmp100"; so it would be good to know how to handle those in general. Note that there is also: Documentation/devicetree/bindings/display/repaper.txt: compatible = "lm75b"; but maybe that doesn't matter as much since it is not actually used in dts files. Thanks, Guenter