Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp33519rwl; Thu, 6 Apr 2023 12:44:54 -0700 (PDT) X-Google-Smtp-Source: AKy350ZpX2XL2hTH88WmWX+tGYvROx4NBV8MvUUx2uJZhRs+4nJKOgH5V9a6LEmU2KikEEtegiyI X-Received: by 2002:a17:90b:1642:b0:23d:3549:82b7 with SMTP id il2-20020a17090b164200b0023d354982b7mr12032387pjb.46.1680810294260; Thu, 06 Apr 2023 12:44:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680810294; cv=none; d=google.com; s=arc-20160816; b=gRT04k3P8wQabI8sMUHjrZVXW6PsMCLGmcR6ZSKbcwrBrgSnMUB6JzBtDNbdBMHOjk 6XFQ5gdGgsdsm1VBkHmovvCf7kgUC71KZBJbJQMLCPG7t+YQTVuFw2lDM7HbN66AfYNL UKhaNkJ+3iM+AiPFf0C2U9iQoofiqZudGiKZ+M9RPlEuUYFXYeJ4sbthz4Wpt3HmvSbg jocLGGOWutApiW4rEAdJ7ffzlzLCRr5xYmALB2mKjzoy78czCHTee0/7qXStoIaC9xV/ cJW/c3BKHvS5MqQHLLATMMLJ+ML9afMGMn7vd0IiHq/RRSbGfM1K19+XTOjpvSun3kGq ZZMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=FMDihFcVaUIqnK2mpdy4w9JtZrF0u9OHUrlpaODRO8s=; b=USfDvWnPfwghTAYMaybC1yq2HKoClbQmBnRQobwErmRu6DBEZ1AscHFJoxJnHOhnll +gKmKMMM9VDSruTMtShn4dNNqQkyePioj5Wre7e3gaFZyVCAx1K9iyO64HmXmX3Fmhl4 F+x0ody9rx/Gh47ENRSsZru+kBkf1WwuO/FAPVyH3jUizcQoLuDqqzA+fcUjYc/HGwNt 1eNnyPR/VAGwVuhnl6igih8nuy/TjC3CiC4DFYod+CO9nKrnwsGYKEVEmiXFRpbUq2sL Gn82teFYzKHbWxSd1xCD6TcJbdW24TBco8xydlrYT6Jbzn5rATOiSN74oLNSif2X0ylw WZYw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a21-20020a63e855000000b00513162c223csi1933522pgk.470.2023.04.06.12.44.41; Thu, 06 Apr 2023 12:44:54 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237659AbjDFToZ (ORCPT + 99 others); Thu, 6 Apr 2023 15:44:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237372AbjDFToS (ORCPT ); Thu, 6 Apr 2023 15:44:18 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B342386B4; Thu, 6 Apr 2023 12:44:15 -0700 (PDT) Received: from localhost ([31.220.116.195]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MzR0i-1qfvUj2ofg-00vLXw; Thu, 06 Apr 2023 21:43:57 +0200 Date: Thu, 6 Apr 2023 21:43:57 +0200 From: Andreas Klinger To: Jonathan Cameron 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 2/3] iio: pressure: Honeywell mpr pressure sensor Message-ID: References: <20230401185717.1b971617@jic23-huawei> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230401185717.1b971617@jic23-huawei> X-Provags-ID: V03:K1:eSF7yy9nXHf5SFVRJlz/mjUZOLX5Kpo0ju039iOa+ryPGz/lmSr XxpS0TGoqUT/ys9jdA38+uDHQ+GviypepRIftFGiVu/nJA7OUssQWU1l8ZQCSepvNtX5D4j TWOhKOOt00311MgH4hB91ZH6lAafrF7P4nxnTyhWCO4k3+cTknZb6r4FhA06+CI4eBW0QLO fMBNLH8JMVfoObtvi9RWg== UI-OutboundReport: notjunk:1;M01:P0:QYJIZEuSZU4=;rtzbL/dL5fcU4v/ErbYUA7oc8Zo 9Fem+P98U7oEvwhh+Xj8CL6HfDP7ocUjH8LgISr2Jcf2UbAwmsZcOD7tfyaLWPqkL8RsgiUDX qYaASNl5B8vvDAGf/BOZCQtlmKvScCiEiRwLZzz+1BW8/nPiEKdk1r9dxBEXtjQHysoUs+l2Y Hymv7oDNWcfIODBz4pc9chg4wpFXK8LNUy0fBFMFpxJWAfU9/5BhumqcSl7Q778kBc4ivlb19 XdRgldANPjZL+V7iD2s+tetc0Z79y4BYSiTJl5itzy8B7pY8RJaUp0kON2xL8fV1fFACyjwec EjiKvOryRLhwPgBsTEtoqzpClwLOzJI8bsuG0y8+S0u4x2tr4ufk7z/zwKjWK4ZQ3rpy/JLOK 0RiaNODS1VzqzBoWW+FTCpPShX6VNbhylxi4P8hQtSeb8P9MniBG0Y0PwDgiBPDHICoNGoRnS U5pCU4GyfSIeFYrOfLLbbno7jhm5CAS7etYWYJxinsBbxrMDDkrdNGbrTuL/ZuOEd5/np+WwK RsPnyRMbfXGR//FniJKMg2KQ0EBRikveYMFSPmaGZsq13yf0mbMrUnygPSK9MS1OcTauQinLe +ostEJRhc+jVKi1jfUa6a0xoun4093tRL6nQrDzCGbApJ8mnuOrKY/0DREShe7eobl0Zcxcmv +JULuUgmgLasBVXjAI4KrazSAS9+l+iaWYZkr+lOaQ== X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,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 Hi Jonathan, thanks for the extensive review. Most of it is clear but one questions remain. See below. Jonathan Cameron schrieb am Sa, 01. Apr 18:57: > > +static void mpr_reset(struct mpr_data *data) > > +{ > > + if (data->gpiod_reset) { > > + gpiod_set_value(data->gpiod_reset, 0); > > + udelay(10); > > + gpiod_set_value(data->gpiod_reset, 1); > > + } > > If there isn't a reset signal, I'd like to see an attempt at least to write > all configuration registers to a known value (same as the one you'd > get after reset). There is no configuration register in the sensor I could write to. But maybe I didn't comprehend your point. Andreas