From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B7DBC433EF for ; Fri, 13 May 2022 16:47:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382227AbiEMQrG (ORCPT ); Fri, 13 May 2022 12:47:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382476AbiEMQrF (ORCPT ); Fri, 13 May 2022 12:47:05 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 538E751E50; Fri, 13 May 2022 09:47:04 -0700 (PDT) Received: from fraeml710-chm.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4L0Dwy2Fz9z67xX9; Sat, 14 May 2022 00:43:30 +0800 (CST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by fraeml710-chm.china.huawei.com (10.206.15.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 13 May 2022 18:47:02 +0200 Received: from localhost (10.202.226.42) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2375.24; Fri, 13 May 2022 17:47:01 +0100 Date: Fri, 13 May 2022 17:47:00 +0100 From: Jonathan Cameron To: Eddie James CC: , , , , , , , , David Barksdale Subject: Re: [PATCH v2 1/2] dt-bindings: iio: humidity: Add si7020 bindings Message-ID: <20220513174700.00005ef4@Huawei.com> In-Reply-To: <306c28b7-7318-9b8d-f512-d6e78bd05e51@linux.ibm.com> References: <20220512162020.33450-1-eajames@linux.ibm.com> <20220512162020.33450-2-eajames@linux.ibm.com> <20220512175125.00001a5a@Huawei.com> <306c28b7-7318-9b8d-f512-d6e78bd05e51@linux.ibm.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.29; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.226.42] X-ClientProxiedBy: lhreml708-chm.china.huawei.com (10.201.108.57) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Thu, 12 May 2022 12:08:57 -0500 Eddie James wrote: > On 5/12/22 11:51, Jonathan Cameron wrote: > > On Thu, 12 May 2022 11:20:19 -0500 > > Eddie James wrote: > > > >> Document the si7020 bindings with a new "silabs,skip-reset" property. > >> > >> Signed-off-by: Eddie James > >> --- > >> .../bindings/iio/humidity/silabs,si7020.yaml | 47 +++++++++++++++++++ > >> .../devicetree/bindings/trivial-devices.yaml | 2 - > >> 2 files changed, 47 insertions(+), 2 deletions(-) > >> create mode 100644 Documentation/devicetree/bindings/iio/humidity/silabs,si7020.yaml > >> > >> diff --git a/Documentation/devicetree/bindings/iio/humidity/silabs,si7020.yaml b/Documentation/devicetree/bindings/iio/humidity/silabs,si7020.yaml > >> new file mode 100644 > >> index 000000000000..9bee010f8d56 > >> --- /dev/null > >> +++ b/Documentation/devicetree/bindings/iio/humidity/silabs,si7020.yaml > >> @@ -0,0 +1,47 @@ > >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > >> +%YAML 1.2 > >> +--- > >> +$id: http://devicetree.org/schemas/iio/humidity/silabs,si7020.yaml# > >> +$schema: http://devicetree.org/meta-schemas/core.yaml# > >> + > >> +title: SI7020 humidity + temperature sensor > >> + > >> +maintainers: > >> + - David Barksdale > > At least cc David if you are going to commit him to maintaining this binding :) > > +CC David at that address. > > > Yes, my mail to him for v1 was undeliverable... I guess I should put > myself instead. > That's the best answer :) (backup is to rely on the fallback which is me but I'd definitely rather bindings had attentive maintainers where possible!). > > > > >> + > >> +description: | > >> + The Silicon Labs Si7013/20/21 Relative Humidity and Temperature Sensors > >> + are i2c devices which have an identical programming interface for > >> + measuring relative humidity and temperature. > >> + > >> +properties: > >> + compatible: > >> + const: silabs,si7020 > >> + > >> + reg: > >> + maxItems: 1 > >> + > >> + siliabs,skip-reset: > >> + $ref: /schemas/types.yaml#/definitions/flag > >> + description: > >> + Disables resetting of the device during probe > >> + > >> +required: > >> + - compatible > >> + - reg > >> + > >> +additionalProperties: false > >> + > >> +examples: > >> + - | > >> + i2c0 { > >> + #address-cells = <1>; > >> + #size-cells = <0>; > >> + > >> + si7021-a20@40 { > >> + silabs,skip-reset; > >> + compatible = "silabs,si7020"; > >> + reg = <0x40>; > >> + }; > >> + }; > >> +... > >> diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml > >> index e5295faef52f..47a00b478867 100644 > >> --- a/Documentation/devicetree/bindings/trivial-devices.yaml > >> +++ b/Documentation/devicetree/bindings/trivial-devices.yaml > >> @@ -317,8 +317,6 @@ properties: > >> - sensortek,stk8ba50 > >> # SGX Sensortech VZ89X Sensors > >> - sgx,vz89x > >> - # Relative Humidity and Temperature Sensors > >> - - silabs,si7020 > >> # Skyworks SKY81452: Six-Channel White LED Driver with Touch Panel Bias Supply > >> - skyworks,sky81452 > >> # Socionext SynQuacer TPM MMIO module