Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp1027269rdf; Wed, 22 Nov 2023 03:53:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IHW6pQ/4By4IzBIyXcsl7/HgFW0umHcAvr4TanMCPtmlF/cyFJaLdHbgGj9yhFOg2OMdPBB X-Received: by 2002:a05:6358:52c8:b0:16d:be8f:fe6 with SMTP id z8-20020a05635852c800b0016dbe8f0fe6mr2106353rwz.30.1700653984687; Wed, 22 Nov 2023 03:53:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700653984; cv=none; d=google.com; s=arc-20160816; b=PFmPeoS5/IxcIXhZxEg7nTgLeW2RU3G4eAu1mAtnccFbiRQFplvXlVRhtEJwaqGUg/ VwDGDwwXL6hKZDr843wdblneCNkajJD0UNMBpeco/K0F5tAiVWKBwwRFVaNH7DOJhY/m J/NsCCTqyYSBW0HTmLTjYkYMmq9NBieUsYRkXCNehV6m7nMo333RNXLfEsvMIEChJ25w DhXkQhcMIIq3xZhhaXRG1/AST5sGZ3NHCuvjMUQVa6xVTJnSq8cNfvXStPCHkQtL4aaL GcMwRsIttl9qSqIwgy4BnsrnsH/AyIrK02vW7m5RHcYKEOF3yxd0J23S5fL0QgEKNd7+ rxqA== 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:autocrypt :from:content-language:references:cc:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=CadER1vXUC9V/UJr/Pqj5DuDZxYxA0kdcCfZ4uqdeSg=; fh=xGIF+fz2Prrss7POYyIv1z2dcPOat2oX8gINqSIxRrg=; b=QuI1jchH+VgDCTYnkOvk9C1wrC8hMzwUsDIV4jU6uiMZBGyp55P1CHMg+axSDLS1UQ SBJHtJ3VAVbwU3PdduGeWEO2EHV/xBNwwnVRMuVgShCn79QTabT4GjqV9/nI0AXZ3A+o RN+LS99uPylTYpvQVVU6NzhycJg0VKBHlO6a+/CcsskfH9/BURihYklG8RHxxO+vvPQf sUViV86K0uX1XlcxJqQiArbYb96Xz4m068ar4yhUnjgzgwlIHitWMp3xuh2TsCsiFPWg IX2LqRTb3BUBybK0CbAlih4xGrYIShLKqssiWk7EyZWDZ5P6yuw8k7DJf8FleSlxA96v r5KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="cy+B2N9/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id o13-20020a634e4d000000b005c21586f28csi10276226pgl.749.2023.11.22.03.53.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 03:53:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="cy+B2N9/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 715BC818F686; Wed, 22 Nov 2023 03:53:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343922AbjKVLxC (ORCPT + 99 others); Wed, 22 Nov 2023 06:53:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343814AbjKVLxA (ORCPT ); Wed, 22 Nov 2023 06:53:00 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F26191 for ; Wed, 22 Nov 2023 03:52:57 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3DF3C433C9; Wed, 22 Nov 2023 11:52:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700653976; bh=cS+u+HSsc8fMMuph+matgkYWEhkv4bIh+ZWW1P6CAuE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=cy+B2N9/kHnw5+ZtCxPAoxynU5a0j0oMlQ01HCXIHC0Vyjpfp+C4Xo70ZHDG2iShT h1ssgpEUc+HQFenwAshD9EKct/qS8VTyLSCP9GdtyWkp14/F6DtRw9ReID8TBeWmEH nD/TRduRQ4B7MI2FXWWyaJVpLGyRtAuEkTo/+3bD9kyiGN+UXV1x5F6LDQOUtgARC2 bEq2RPQC79kk70H4S4XBY+jvNncV+rfmCm87+01a2NJrc+NrD37jXPk1CDYB6gxklt +6K2srzJvefA72V5gh+jEJhbFHEJxb4gvt4hDn14aMzJ61Yn9F2sLGhLWdiUoP5hnf wY2XY3cuuRCKw== Message-ID: <99d1808a-da04-4bc1-a1f7-cbd269adbbf0@kernel.org> Date: Wed, 22 Nov 2023 12:52:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] dt-bindings: iio: temperature: add MLX90635 device bindings To: Crt Mori , Jonathan Cameron , Rob Herring Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <2e8b4a7d3ef4bc1c53bd0a849e4c31eaf2477f6b.1700648165.git.cmo@melexis.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzk@kernel.org; keydata= xs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v0oDcsQWXqY+NaFahT0lRPjYtrTa1v3tem/ JoFzZ4B0p27K+qQCF2R96hVvuEyjzBmdq2esyE6zIqftdo4MOJho8uctOiWbwNNq2U9pPWmu 4vXVFBYIGmpyNPYzRm0QPwARAQABwsF8BBgBCgAmAhsMFiEEm9B+DgxR+NWWd7dUG5NDfTtB YpsFAmA872oFCRRflLYACgkQG5NDfTtBYpvScw/9GrqBrVLuJoJ52qBBKUBDo4E+5fU1bjt0 Gv0nh/hNJuecuRY6aemU6HOPNc2t8QHMSvwbSF+Vp9ZkOvrM36yUOufctoqON+wXrliEY0J4 ksR89ZILRRAold9Mh0YDqEJc1HmuxYLJ7lnbLYH1oui8bLbMBM8S2Uo9RKqV2GROLi44enVt vdrDvo+CxKj2K+d4cleCNiz5qbTxPUW/cgkwG0lJc4I4sso7l4XMDKn95c7JtNsuzqKvhEVS oic5by3fbUnuI0cemeizF4QdtX2uQxrP7RwHFBd+YUia7zCcz0//rv6FZmAxWZGy5arNl6Vm lQqNo7/Poh8WWfRS+xegBxc6hBXahpyUKphAKYkah+m+I0QToCfnGKnPqyYIMDEHCS/RfqA5 t8F+O56+oyLBAeWX7XcmyM6TGeVfb+OZVMJnZzK0s2VYAuI0Rl87FBFYgULdgqKV7R7WHzwD uZwJCLykjad45hsWcOGk3OcaAGQS6NDlfhM6O9aYNwGL6tGt/6BkRikNOs7VDEa4/HlbaSJo 7FgndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <2e8b4a7d3ef4bc1c53bd0a849e4c31eaf2477f6b.1700648165.git.cmo@melexis.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 22 Nov 2023 03:53:03 -0800 (PST) On 22/11/2023 11:27, Crt Mori wrote: > Add device tree bindings for MLX90635 Infra Red contactless temperature > sensor. Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC (and consider --no-git-fallback argument). It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel. A nit, subject: drop second/last, redundant "bindings". The "dt-bindings" prefix is already stating that these are bindings. > > Signed-off-by: Crt Mori > --- > .../iio/temperature/melexis,mlx90635.yaml | 60 +++++++++++++++++++ > 1 file changed, 60 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/temperature/melexis,mlx90635.yaml > > diff --git a/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90635.yaml b/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90635.yaml > new file mode 100644 > index 000000000000..96463121a806 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/temperature/melexis,mlx90635.yaml > @@ -0,0 +1,60 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/temperature/melexis,mlx90635.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Melexis MLX90635 contactless Infra Red temperature sensor > + > +maintainers: > + - Crt Mori > + > +description: | > + https://www.melexis.com/en/documents/documentation/datasheets/datasheet-mlx90635 > + > + There are various applications for the Infra Red contactless temperature > + sensor and MLX90635 is most suitable for consumer applications where > + measured object temperature is in range between -20 to 100 degrees > + Celsius with relative error of measurement 2 degree Celsius in > + object temperature range for industrial applications, while just 0.2 > + degree Celsius for human body measurement applications. Since it can > + operate and measure ambient temperature in range of -20 to 85 degrees > + Celsius it is suitable also for outdoor use. > + > + Be aware that electronics surrounding the sensor can increase ambient > + temperature. MLX90635 can be calibrated to reduce the housing effect via > + already existing EEPROM parameters. > + > + Since measured object emissivity effects Infra Red energy emitted, > + emissivity should be set before requesting the object temperature. > + > +properties: > + compatible: > + const: melexis,mlx90635 It's the same as mlx90632. Add it there (as enum). Best regards, Krzysztof