Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2153969rdf; Mon, 6 Nov 2023 06:18:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHMYlF/XFCU1+gcgNutWbkvXyG0BxQUvu6AecOTj9aDbvxKEUPJnoh4c9ETS78ADEcx6D4T X-Received: by 2002:a05:6e02:1a48:b0:34d:e998:fb4f with SMTP id u8-20020a056e021a4800b0034de998fb4fmr37193651ilv.10.1699280332852; Mon, 06 Nov 2023 06:18:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699280332; cv=none; d=google.com; s=arc-20160816; b=hfNkDBzyCdXUp+GdjcrWTRiTtHulTBFV1RWU4PZXLD8mjDPIRdGliVFcfXc3W4G6jd 8VtYs+cW01UwmgcbA45LF7qypLmkcz78d/7k+9okhilgbDeBEusSHOjvZR8Glj+PSNuJ yrl+Zag7CwH6lV/19iji4EbN/h0US8yO9fjwqd5mqEUftHkPDCwShLwjB7eSuWCTRCMQ 78pQ6SZ4glhWu/x3yT1YAmVQZVJLIUypR62vT3JMwGyU5GKh06pElMYpxPxmFoWt6rgO rgYNxzLpBCbgpiJekdGME/UE3tBs9iKfgvDxNqWWgoJkdZqpaDwtPa17G12C3jbTkYag CRQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/sWfjLpYX06dGryF8V5sE1d0i/naN3yS5/5jTopMRBk=; fh=lWZuwTq+eHv/RINm3VqkhNbQGloveH3ap6ACoCqy3vQ=; b=q9MRKIfESogNIW3dWJUTUJ1gHdsofnDNDgnRnRQjZT9wrgq3W6+Xcgl9iqFOTX74OE fhxAPTORAk9YVfWSUYxmpzBDonFMDV+ZLkg0lwEEkHuFWVGziYCrsH9HKF2ckdSvDL4X Ga4/U7RUBl0UWAIRMzfC2/oPdBMFM/VGtcBWpyE0gWZDc7sR0Bgi9ZINFej2NxIwtZLO sSs94KzDiiQfTgTwwV9CMVSg8wEMRYDFhYoyr6NcIUQQ2okiGQUyN5wuV1HEIiXG9i05 20+r4BsDK8ljQZDPorU6JqHvfGMT30Tqt/oT/OcF6uFraVrK/MAGi2UxIixRFeFc5Hna lnWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oeEOcEYy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id a2-20020a656042000000b0057795cb4f16si8685510pgp.684.2023.11.06.06.18.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 06:18:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oeEOcEYy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id ABC94803BAA0; Mon, 6 Nov 2023 06:18:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229875AbjKFOSk (ORCPT + 99 others); Mon, 6 Nov 2023 09:18:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbjKFOSj (ORCPT ); Mon, 6 Nov 2023 09:18:39 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF452BB; Mon, 6 Nov 2023 06:18:36 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A3E5C433C9; Mon, 6 Nov 2023 14:18:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699280316; bh=u8svhs0OTz5m3eqVl0RH5Bqa1jew0U6A6zJ0pPCqAbU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oeEOcEYy4AKuikIhbFmIe9zY4l8Y2Z/ygsBFJyULM1V8Lu/Xgc1NbPlc9CYmy8AFw KBp8zz/P2ZBHTGR5hP2U4UAwWFQo2zjayyritV8exdFIUS5DVfQigm8EOGM/nCF1Tk qRB90XgEq68w0bvOSqTcJPqHLuNwvxo83ztX1zAO0pVh3/Rtqny6UGJVC6n1LXAX7V mha/BkxhB3jeFW0nnYaLKkFi6Pp4oo/z0fqhoNJQQhcUzFKc4sdkisAJ5lW5iWMCzr 4eje0uMQy/5jBDuvFIe62GgbcEJUPsPP0mkmgPoERoRaHzGHpdE5MXsZj8dzkY51jW dzdzD7eMBLy3w== Received: from johan by xi.lan with local (Exim 4.96) (envelope-from ) id 1r00Rm-0000MC-1Y; Mon, 06 Nov 2023 15:19:22 +0100 Date: Mon, 6 Nov 2023 15:19:22 +0100 From: Johan Hovold To: Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/3] gnss: ubx: add support for the reset gpio Message-ID: References: <20230921133202.5828-1-wsa+renesas@sang-engineering.com> <20230921133202.5828-4-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2TOfkmwbPXlIz3N9" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Mon, 06 Nov 2023 06:18:50 -0800 (PST) --2TOfkmwbPXlIz3N9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 23, 2023 at 09:09:03AM +0200, Wolfram Sang wrote: > > So this means that the reset line will be asserted indefinitely in case > > the GNSS receiver is not used. Are you sure that's a good idea? >=20 > Yup. Saves power. We do this for our ethernet PHYs as well. Any reasons > not to do this? AFAIK you should generally not try to use reset this way as you may end up leaking current (and possibly other complications). =20 > > I don't know yet which module this is for, or how this signal is > > supposed to be used, but the above makes this look more like an > > active-high (regulator) enable signal. Perhaps that's what it is or > > should be modelled as (i.e. as a fixed regulator). >=20 > Nope, it is a RESET_N pin. And the neo-m8 hardware integration manual explicitly says that it shall not be used as a disable signal: 1.5 I/O pins RESET_N: Reset input Driving RESET_N low activates a hardware reset of the system. Use this pin only to reset the module. Do not use RESET_N to turn the module on and off, since the reset state increases power consumption. Some of the other modules in this family says so explicitly also in the datasheet. Johan --2TOfkmwbPXlIz3N9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQHbPq+cpGvN/peuzMLxc3C7H1lCAUCZUj15gAKCRALxc3C7H1l CJIwAQCUyRJ2dOra5odtunrzTEfmSEGT8aqQKG1u1/YOvdgjWgD/d4i5DubnOWFW dGzRIgQl92TRBa3jBbCYWLFr0uqHdQ0= =Z+gS -----END PGP SIGNATURE----- --2TOfkmwbPXlIz3N9--