Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3128102pxk; Mon, 21 Sep 2020 06:05:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvwBDcivIYcTcpqo8/ynmGZP4lnzcpyoQEkeSWIUJevd/jM4Z1LANWsulyh3mNu1Sj8csN X-Received: by 2002:a17:906:e918:: with SMTP id ju24mr48402390ejb.442.1600693513378; Mon, 21 Sep 2020 06:05:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600693513; cv=none; d=google.com; s=arc-20160816; b=VZzwMvFfWqkSgV7MYDHgKJBz++4KUDC+VTecVVcCahJhe0X0hiJftkn0vzbNG6iI2S mda0jONYq+QonCD1kFbGirHad7wOHy26j9/O/jBi7b4lbf5LjKI7OucN5GTk7a1KE/3C hg6m1/Ue3kaG3N27OgDotj3r0J5y7GVgoQ/iK2KW/BoFUAmIMqBSz+dlbcp9eJw9iro4 mQ+bHkPOjZNjdabJpsyiFC5Ee2UTrDuLu/2Id7abLc3xm3PfXaPPmCTPsZKlwYn70RP2 n5x3bGQ6Va7xJRYHIVICgMz95ZVvT+YM2rUcFluuxN0xEVOpNkOKgdSD8W8zFTqxDhSU vkvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=cOyHDvQLSDX/u5TIuSMPo+EOU1Ai9ZSJ8bnB20kBXnA=; b=cztepkXHvls9nmtWvR2cw7xT7DONueDwifCabe4/MP3hK7iYJxcB8gW9vsHrQWCTTM FM+rT3XpZUJWLsPpkRizvwDjIV+ECWo7H2Zfl+pAFagEx8QZyzPdGwyrU7uug84DUmvp u4G1FDkCtJMj2MtxocOsYCVOa9yAoGMvCpqnH7VHddvkuIhBIpadADTnMg1fn1KGHhu1 kxLOvSC5bZniN+hXiOmP95DzAj5XUb2i9AbpoTJVE5+XFd9xz3H3QL5qx5/9SERyJpyb 5WVtuupqcCq+E0GSbINCNm/I+infYoOGc71PdyZUzuZIXJFdr8blo6jFak9FZf0Gbe0w sVGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BK91AnXD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sd28si8225332ejb.302.2020.09.21.06.04.35; Mon, 21 Sep 2020 06:05:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BK91AnXD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726973AbgIUNDe (ORCPT + 99 others); Mon, 21 Sep 2020 09:03:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:36412 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726395AbgIUNDe (ORCPT ); Mon, 21 Sep 2020 09:03:34 -0400 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7DFC421BE5; Mon, 21 Sep 2020 13:03:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600693412; bh=/OXxvRuG9UKcQRKGwiYUXauAuIovgqSdUTuP2bCvGxc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BK91AnXD8umfR9eGG22AlARI0YYWuVA+LtPMvJ7jmlfx9fcC/mM7YICUl8Vrir2Ml DIZxeACidTCoL5lFzdwGm3c6r7G6e9uUZ99QlbzkJeAc7o/JvizkwnnvPVPuIcYXRk K3nWZjjjuk0ZGKIvXAU2wXzqWa3fayM6DRDwsqYE= Date: Mon, 21 Sep 2020 21:03:27 +0800 From: Shawn Guo To: Meenakshi Aggarwal Cc: "robh+dt@kernel.org" , Varun Sethi , Leo Li , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Ioana Ciornei , Kuldeep Singh Subject: Re: [PATCH 2/2] arm64: dts: lx2160a: add device tree for lx2162aqds board Message-ID: <20200921130325.GA25428@dragon> References: <1599059610-7570-1-git-send-email-meenakshi.aggarwal@nxp.com> <1599059610-7570-2-git-send-email-meenakshi.aggarwal@nxp.com> <20200905075419.GN9261@dragon> <20200912094913.GB25109@dragon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 21, 2020 at 06:00:53AM +0000, Meenakshi Aggarwal wrote: > > > > -----Original Message----- > > From: Shawn Guo > > Sent: Saturday, September 12, 2020 3:19 PM > > To: Meenakshi Aggarwal > > Cc: robh+dt@kernel.org; Varun Sethi ; Leo Li > > ; linux-arm-kernel@lists.infradead.org; > > devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; Ioana Ciornei > > ; Kuldeep Singh > > Subject: Re: [PATCH 2/2] arm64: dts: lx2160a: add device tree for lx2162aqds > > board > > > > On Wed, Sep 09, 2020 at 07:10:12AM +0000, Meenakshi Aggarwal wrote: > > > > > + sb_3v3: regulator-sb3v3 { > > > > > + compatible = "regulator-fixed"; > > > > > + regulator-name = "MC34717-3.3VSB"; > > > > > + regulator-min-microvolt = <3300000>; > > > > > + regulator-max-microvolt = <3300000>; > > > > > + regulator-boot-on; > > > > > + regulator-always-on; > > > > > > > > I do not see any point to have regulator-boot-on or > > > > regulator-always-on for a regulator that doesn't have on/off control. > > > [Meenakshi Aggarwal] Properties are added to specify that platform > > > firmware's out of reset configuration enabled the regulator and regulator > > should never be disabled or change its operative status. > > > > What I was wondering if how this regulator is enabled by firmware, by some > > GPIO control? In that case, 'gpio' property should be there to describe the GPIO > > control. > > > [Meenakshi Aggarwal] Its not controlled by GPIO. Its gets power on with board. > > > > > > Can you help in understanding why these optional properties cannot be > > > used together > > > > It's totally fine to use these properties together. But if the regulator doesn't > > have on/off control, neither of them makes sense. > [Meenakshi Aggarwal] As per documentation, we should keep " regulator-always-on " as per description, we > Can remove " regulator-boot-on" property from dts. > > regulator-always-on: > description: boolean, regulator should never be disabled Again, the property is only meaningful for a regulator that can possibly be disabled. Shawn