Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2462035rwl; Sat, 1 Apr 2023 08:09:20 -0700 (PDT) X-Google-Smtp-Source: AKy350Zcua+PW/y5If0JCS3bhGQK+JEz1Z9apc2RbbK7cUr3oWJFj5FalaBrYmmQYZHPXBUPsWeg X-Received: by 2002:aa7:cfd8:0:b0:4fd:1cf1:b7b0 with SMTP id r24-20020aa7cfd8000000b004fd1cf1b7b0mr25836572edy.7.1680361760598; Sat, 01 Apr 2023 08:09:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680361760; cv=none; d=google.com; s=arc-20160816; b=N2heGNa8Jbit8dGX99ypOKK6Fbh8U7hwlnizm5ebtBtyxrEXMG27RRNAPEiQM5KGp2 MTtx+HG/EX9wWdY/7QtIDSvZSTEuzrquZFG7BNVjGa2QAfQtEA8+KlQxhoebZ5amKJGL zQ34La+lttmvekLm8ay1m0pAaXOKZyPx/hZYqvTAnf2W2NpWSlSbfVXOLH2wgDsZsOFE c3Gm4VAV0OSvv9FAOTYNol+CAPMpZQCgmZSB6jjMcviZFqlfjqjKrzmC8yboRm4PZUV5 vSLDpUInYzHJ9+pxZJm3BCLpftaKDnVKnMFQMqYfu5niyBWH1HSvu5RwzQAmOTvdFGzr N2cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=9a6T/2YHiYzHIhEWsdTOXtEi6J/tjIYr1I+xONBPcxg=; b=FB2hNW+7Yx/lEhM/TMvlzHIa5j/7KIAphiVRx3lZDm3OAg9vCqW9ThDph2Z7XiRNk3 oKRdSRgC0hCMaEDdtyObeoYOJhSerV9A5I5j+CpoSCrXcccDz0o8FlaYgOO6tC7ORm0O ov+IIToj8X9Y8qeBpaS4M9+glv+08BxHaH8gzU8R00yj+T4MInPTE/6+bPUIWDW+XfIA BPdC3rznmQrXiCOm2kem3F34TVj4y/OE1RO+zdZ7AHIP0NHk/6454OMQ+vtKq0o6WIpf UYoRk1s3fWnBUX2jDSxNCmGBbSYEJy+3jMcQqYhP3X/dQP+UtLEwAX6iSjVJXkpRUYoR S5JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BJb0n7v1; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be26-20020a0564021a3a00b004fa77466688si707007edb.432.2023.04.01.08.08.37; Sat, 01 Apr 2023 08:09: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=@kernel.org header.s=k20201202 header.b=BJb0n7v1; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230054AbjDAPHL (ORCPT + 99 others); Sat, 1 Apr 2023 11:07:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbjDAPHK (ORCPT ); Sat, 1 Apr 2023 11:07:10 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DED51CBAE; Sat, 1 Apr 2023 08:06:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 17554B80B8E; Sat, 1 Apr 2023 15:06:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32960C433D2; Sat, 1 Apr 2023 15:06:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680361616; bh=eWcVLmXAyk7tSxPhC2OzEJekG3r3oryXZpDIeJwufmw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=BJb0n7v17H5lXS37AtJDN1lUce8/JT8Xvt/YBpZAu8d9ah9pf/p6BbJraxG/8n/MH lzV9RDthwlt05kF51HqhN3ssgKzbKbaxmJZY+1pPOWFch4HufpcZTHi53lJ2Y6R50h 4rbzhgpbuJQjO9S6zLmtKYBYlF4F96Z+zOl+Tttg1cYh+9ET9VT64hjRXJhIQh1M9k 49HDpGbb5eBusZFiE/nyqRLV/v/q/f86wXn8UK20pIx0GSno0sBoK50w7ZwHlXyy0k +/XnvPgwDS9zV/z+xNuwbN0Lz9CKTSkqHHaRYzpLvrgaJuY4d25tnWMYCun+e8f6qi vkSr1AXpKLM/w== Date: Sat, 1 Apr 2023 16:22:05 +0100 From: Jonathan Cameron To: Andreas Klinger Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Angel Iglesias , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] dt-bindings: iio: pressure: Support Honeywell mpr sensors Message-ID: <20230401162205.021bc413@jic23-huawei> In-Reply-To: References: X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,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 Sat, 1 Apr 2023 11:09:41 +0200 Andreas Klinger wrote: > Honeywell mpr is a pressure sensor family. There are many different > types with different pressure ranges. The range needs to be set up in > the dt. Therefore new properties honeywell,pmin and honeywell,pmax are > introduced. > > Add dt-bindings. > > Signed-off-by: Andreas Klinger > --- > .../bindings/iio/pressure/honeywell,mpr.yaml | 74 +++++++++++++++++++ > 1 file changed, 74 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/pressure/honeywell,mpr.yaml > > diff --git a/Documentation/devicetree/bindings/iio/pressure/honeywell,mpr.yaml b/Documentation/devicetree/bindings/iio/pressure/honeywell,mpr.yaml > new file mode 100644 > index 000000000000..d6fad6f841cf > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/pressure/honeywell,mpr.yaml > @@ -0,0 +1,74 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/pressure/honeywell,mpr.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Honeywell mpr pressure sensor > + > +maintainers: > + - Andreas Klinger > + > +description: | > + Honeywell pressure sensor of type mpr. This sensor has an I2C and SPI interface. Only the I2C > + interface is implemented. > + > + There are many subtypes with different pressure ranges available. Therefore the minimum and > + maximum pressure values of the specific sensor needs to be specified in Pascal. > + > + Specifications about the devices can be found at: > + https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/ \ > + pressure-sensors/board-mount-pressure-sensors/micropressure-mpr-series/documents/ \ > + sps-siot-mpr-series-datasheet-32332628-ciid-172626.pdf Ouch. Anyone want to suggest to honeywell that they add some short paths for this stuff! Please add regulator for VDD. May well be a fixed reg on the boards you care about, but it's still good document it's existence. > + > +properties: > + compatible: > + const: honeywell,mpr > +