Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp862081pxk; Sat, 12 Sep 2020 02:50:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOU3jtUWkheezg831nYxPO5WyqhZAg/hsjnPcKXUFUg/hqySHMILs42DaIqVe+Kipx4s5z X-Received: by 2002:a17:906:33d8:: with SMTP id w24mr5396476eja.224.1599904221965; Sat, 12 Sep 2020 02:50:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599904221; cv=none; d=google.com; s=arc-20160816; b=UE88GmMldKLBDAQRfCqT9O/47oiS57Hm9xTnfmCLXnMSi2etkt4BYk+s0WUa1q7sIF rmRr4aGP76EAOKH3WbfrgmWlmTH26ZOxWR7aN+TJhtmirGQpSLN04SgTSKCcUkMzRTAL LYZcDiRYjtLcgatlUmsa0dgvm8bECpzPcJObZmz2FXXzFCi/lquAw0MRPZ1J3ew45OaB xq3xlTjJx/bY8wfXMx4ZMQ0VZTjBcM80TCg3kc5PgQW/xwjJvUOIbG6LU3xiIP3n/05I +R0jhtAfgZUuQc9mcGOCyBJGia92T7lugLDYbagA9Oy0DRtEMTdmAyZ1bMRPiCSvMZwM GiRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=q8jqYyKLQJMVUy0TAqfxkeMCOxUPqxQkfG/kptQygIs=; b=uBSMpJ6NDyYv+MrGDwgzeEvi1ZdmAGMCvwctJogOMc0XviPkJruM/WGyJBTAUxzAFS Aa30rlUoPUaeXoBEa+ik6eaOHgmv/SMF1KZsXAN1XckUxSvLiqfyh7ljrS5nbL2RZQio yzoWXXVAV/s6xQs4IuKPqbryS9mhQ98zUulN0xMhvW2WQ/xtbX+1EU8TYE0HQNl4dP7Z MVB+jfgSJcpjBXUlleJS0MmfptHl9LsALPkoeJOA4wIHEx/VsH+5K7LRTb7hf+5TaWMm K6lZ2CrCfCAk/hOH7hUFoy+Bu5YNVE+bGjXkUvuWH//BfsDcurASUR/oZydMS3zhUUc3 LbJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QFLfSjoA; 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 k21si2909020eje.480.2020.09.12.02.49.58; Sat, 12 Sep 2020 02:50:21 -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=QFLfSjoA; 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 S1725833AbgILJtX (ORCPT + 99 others); Sat, 12 Sep 2020 05:49:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:34496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725813AbgILJtV (ORCPT ); Sat, 12 Sep 2020 05:49:21 -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 8A120214D8; Sat, 12 Sep 2020 09:49:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599904160; bh=oNheghBTMGf20w2jhhK9s/ksfsN7xnyd7oIDFq5CbBY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QFLfSjoAuAjG/LccnLPi94ijxxhgGL4A9K6lBEHWAJGH3YtCknJykEXLonywG/SHP eGe9+KTYvAcqDEefc4DJa3JmUC8wGOu0amfrLzaB3ZVPcLZXyo/9Pe4k2wvmD6xuBG ZlKKbfZzIQSthP6DiiTUfxBKKv7XeQXVSOanWBpc= Date: Sat, 12 Sep 2020 17:49:14 +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: <20200912094913.GB25109@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> 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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > 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. Shawn