Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp16576rwl; Thu, 6 Apr 2023 12:25:20 -0700 (PDT) X-Google-Smtp-Source: AKy350a/izjM0nz6YzlJ54wBFcHj/sd5LqoNUyvC4TVGFFGcXAHdmu8QIsMGRS3PqbZZwZeGV5G/ X-Received: by 2002:a17:903:249:b0:19d:1bc1:ce22 with SMTP id j9-20020a170903024900b0019d1bc1ce22mr87911plh.5.1680809120128; Thu, 06 Apr 2023 12:25:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680809120; cv=none; d=google.com; s=arc-20160816; b=e0LabnVGgM3qrn5PwWvhuklrZ68JJwlzBz0fc321gudQEA7eSyI1iyU8REvqmHAkm2 BejCdqYeQ5LS2TuG500X/4Q1AuzZg2f5mVcNPCVUAcFPCbUJt1wbG68XXSjTPjDiBvhy 4LXpgU+IP8PoVMdLjJfH/kZJAq1PLZ8A+PcCVUiE486OrzNjkMo4D4PksouYtMEdWqka QWu6mnmFuxWM29CpwIz24G2sYHlSlIfLR5XAhrRFoCEm1VQeG6nefwUgibEBJPp6CMGy cbaOtNVZxPNjpSOBUGTgTbj2NyxbUwwRBJ6W08SyNOZjJ1x3Go5XrteXl04lChptNgRd LFaQ== 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:dkim-signature; bh=1ijzbpgNtHL1RkS2L+qjoGrMwmwbEWamTYTlNJO92bs=; b=jaGNxuxqYM4GccfjkRYDfg8dUSVhz+n5N7/YF7569T/HwFJodA2aIdfecfwR0dpFJH NNqxH7SQUwLcGyFFj0NsS8cT5XTza5uop4lvOTJccbJj/xzLaK/UVU4qPsuIt96xpXAY 25QGq3LaxP8xao75VZH9zZpWNQn2bmW8OuNSFmTcRVVcn/xpHFj8lEsvM6LvRV5GVUzd s1WZHf55s1w2pRf36iZc/RiYR0xjIPECmyqRhi7cwGvuBnaYTXvCuW7mnBMO1gt/k20s 2QWn2PTQc85m+Swsshcd9r2Re601Af8TYLaQmc9r2Svi3Tcpyq+3YL/4031VwgqByWpI qJRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ea8n0Aeu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jd11-20020a170903260b00b0019e89155c50si2223955plb.352.2023.04.06.12.25.06; Thu, 06 Apr 2023 12:25:20 -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=@linaro.org header.s=google header.b=Ea8n0Aeu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240348AbjDFTR1 (ORCPT + 99 others); Thu, 6 Apr 2023 15:17:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240553AbjDFTRX (ORCPT ); Thu, 6 Apr 2023 15:17:23 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49E0F4C3C for ; Thu, 6 Apr 2023 12:17:21 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id g18so3839710ejj.5 for ; Thu, 06 Apr 2023 12:17:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680808640; 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=1ijzbpgNtHL1RkS2L+qjoGrMwmwbEWamTYTlNJO92bs=; b=Ea8n0AeuLrtRFB9IE3jNr3iYzxG4XpMsZIQ1il+1u7bTA6ANlawJvRJ1fnD6PVmVfk AY3fBR/uI7rfX7joRBJ4jHyR5nvtOfgKgRnzqz/JlL82ReVA85m/n/rX47lfZjqk0P2I 7mC8Q4H804wmbI/QcMUxKmSP4vQmwafISdzph7ZySbQ8A7w+Yu+Yfkbo9gcrddWBqNdb y9N0b2f0t6+QePuscOelHl1iE8aKAZo43+bUz8xUTE8Di+vMStfbGSgS0a0Zf52AyNGN dXqZQc8ZeAWmemuZUs7Z4R8+hqLHW0By9N6T+3vrDF8fFMsnTUybR0oocjLey//uGApm SmRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680808640; 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=1ijzbpgNtHL1RkS2L+qjoGrMwmwbEWamTYTlNJO92bs=; b=wKvCNMMYEjLrpP/O7trGrHEEvPTnxUZlQCVAxHMUjksSoiVrAWEQSUERUHRnM8bnDq bAlWUfcK9T2Dd9Iz+zEzolGRkq6zHGCO/aWzb79oNlFO8RSNq520xqlrs+Pqeu9amZUV phM2Kdia6JdAqjmoOLtgGq3w31qNiMwzT5UOwRZ5EObZRskdqbQVeOmbVLWxBw/ztL2y OVevLjsJR6QtEMWy+RYWu7QvIBwh2rfwNy3bo31MgGp4Fwa2yl9kbnCttjXVjHLg7e2e csSdHsV2MvAV83WyylvUXwMDmoAkeYyRerZmoTaA3btCaPn3N1bZK6RoL+hZ+PyyAMAo i/hA== X-Gm-Message-State: AAQBX9eYkxwNZ/tJ1XLvRDJUZGKICo2vCtq+kr3YFIoIq1RFfzNkkT1a ZEjXeGehMkEFg8SpERznr9+0PQ== X-Received: by 2002:a17:907:c24d:b0:949:b9fa:497a with SMTP id tj13-20020a170907c24d00b00949b9fa497amr3017624ejc.70.1680808639713; Thu, 06 Apr 2023 12:17:19 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:49e6:bb8c:a05b:c4ed? ([2a02:810d:15c0:828:49e6:bb8c:a05b:c4ed]) by smtp.gmail.com with ESMTPSA id hr15-20020a1709073f8f00b009477ba90a85sm1155808ejc.69.2023.04.06.12.17.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Apr 2023 12:17:19 -0700 (PDT) Message-ID: <2d8d417d-0a0b-9a45-a8e0-a3cb116874e5@linaro.org> Date: Thu, 6 Apr 2023 21:17:18 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 1/2] dt-bindings: hwmon: add MAX31827 Content-Language: en-US To: Daniel Matyas Cc: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Mark Brown , Marek Vasut , Vincent Tremblay , "Greg.Schwendimann@infineon.com" , =?UTF-8?Q?Pali_Roh=c3=a1r?= , Conor Dooley , Geert Uytterhoeven , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230406164331.6557-1-daniel.matyas@analog.com> <20230406164331.6557-2-daniel.matyas@analog.com> From: Krzysztof Kozlowski In-Reply-To: <20230406164331.6557-2-daniel.matyas@analog.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 On 06/04/2023 18:43, Daniel Matyas wrote: > MAX31827 is a low-power temperature switch with I2C interface. > > The device is a ±1°C accuracy from -40°C to +125°C > (12 bits) local temperature switch and sensor with I2C/SM- > Bus interface. The combination of small 6-bump wafer-lev- > el package (WLP) and high accuracy makes this temper- > ature sensor/switch ideal for a wide range of applications. > > Signed-off-by: Daniel Matyas > --- > .../bindings/hwmon/adi,max31827.yaml | 48 +++++++++++++++++++ > .../devicetree/bindings/trivial-devices.yaml | 2 + > MAINTAINERS | 7 +++ > 3 files changed, 57 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/adi,max31827.yaml > > diff --git a/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml b/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml > new file mode 100644 > index 000000000000..b6ed2d46a35d > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml > @@ -0,0 +1,48 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/hwmon/adi,max31827.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch Where are the compatibles? I expect them in such case to be compatible with this 31827. > + > +maintainers: > + - Daniel Matyas > + > +description: | > + Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch with > + I2C Interface > + https://www.analog.com/media/en/technical-documentation/data-sheets/MAX31827-MAX31829.pdf Missing blank line > +properties: > + compatible: > + enum: > + - adi,max31827 > + > + reg: > + maxItems: 1 > + > + vref-supply: > + description: > + Must have values in the interval (1.6V; 3.6V) in order for the device to > + function correctly. > + > +required: > + - compatible > + - reg > + - vref-supply > + > +additionalProperties: false > + > +examples: > + - | > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + status = "okay"; Drop status > + max31827: max31827@42 { Node names should be generic. https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation Drop also label. You do not use it. > + compatible = "adi,max31827"; > + reg = <0x42>; > + vref-supply = <®_vdd>; > + }; > + }; > +... > \ No newline at end of file Patch error to fix. > diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml > index 6f482a254a1d..7763610b97bc 100644 > --- a/Documentation/devicetree/bindings/trivial-devices.yaml > +++ b/Documentation/devicetree/bindings/trivial-devices.yaml > @@ -43,6 +43,8 @@ properties: > - adi,adp5589 > # Analog Devices LT7182S Dual Channel 6A, 20V PolyPhase Step-Down Silent Switcher > - adi,lt7182s > + # MAX31827 Low-Power Temperature Switch with I2C interface > + - adi,max31827 No need for this. Best regards, Krzysztof