Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp3784286imb; Tue, 5 Mar 2019 19:55:55 -0800 (PST) X-Google-Smtp-Source: APXvYqw0ldDn8SPRNF9qyGuVI8oY4d5M5/X2XHMQnCc1WzkR8WrfZwCHNZBI18lEg7phV4nie0k9 X-Received: by 2002:a17:902:7590:: with SMTP id j16mr4805480pll.304.1551844555176; Tue, 05 Mar 2019 19:55:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551844555; cv=none; d=google.com; s=arc-20160816; b=qJEsN0Zl5nF+4K+G1pXY82FIsBoQcMlDMvFmUHpTSA1U/km7YpO5/xJZwuL0AHD513 5SKyd1fGobjuwJYQeSheudiE+MoJGvx0N1XbazhbswhZkadUGnO6gRqIJnJYbhafzXQB TuZPrJkW2qklyziGnGDvcdGMp/usVgrS9+DDikBaGPnok9gm13xfZJxnL9mhPQ4R466z z7W3uzCSUcl09LGBnD+T25m5Ww5z4axtKF0po7Ks5BE/NammTOu2+7rV8FDOAGQ7OaGc rdrQchETQZUboMAfAVkiHsoLlU8YqNXw9WhEdcLqAme7nW9hFly/rFbZD/EcUof4UtxW IQOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=hjKFaSdzzfujjrZ/azeSFO1fNnMMkInD1JytlQvP+AI=; b=HKlcyIIq9TEpzD8thRVKv8cDuVe4vHR5K3fF7HSQfMaeL3NIM672MRFPg6X3NWtKOZ +8hjyXsjogdmbiLR6E0D5IkmRlxpWIFv1CVVZp37kKGzYz9/gqf9n19d4v1798rtTgYd D8qk58l0HJnJ4F34Dm08z4VRuAoj+WZN5/SsSWsMFLtCIzquQqtbMgY6kKD+LOewsVv/ k1dX4w8LxLMioqb7cUn4F1mkx0RUbDBd2EfFNcKQnju9fxgiYprZCZO6/RHI3BsDh+Rr 3ftTG1R/jpe7FZPopAzdbIg2KsRb7CEg+yYaiXN1Xd/1CJLnaNYVBmIb/tXe6xuKcEtf VBmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p65si603951pfi.76.2019.03.05.19.55.39; Tue, 05 Mar 2019 19:55:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728866AbfCFDsD (ORCPT + 99 others); Tue, 5 Mar 2019 22:48:03 -0500 Received: from mail-ed1-f51.google.com ([209.85.208.51]:41149 "EHLO mail-ed1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726347AbfCFDsC (ORCPT ); Tue, 5 Mar 2019 22:48:02 -0500 Received: by mail-ed1-f51.google.com with SMTP id x7so9102396eds.8; Tue, 05 Mar 2019 19:48:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hjKFaSdzzfujjrZ/azeSFO1fNnMMkInD1JytlQvP+AI=; b=JCh8SuZjgPSV8jFiV0HNlE4+kifUdn6lu7O8CqkooTRklM6xHA9/v7CnTymEpynuMJ /lrkW8sx9w0aKzOUGtGi1gm7eQ9sUlc6cm3Vbf3UzURUgg5OcbIog7ZAilo2ZSZLQnq1 fpidtYe6CgIWlRxpWsVRj5YdRSvu3EZoTXiRXiI3aSYgLj3znvhfKBMsSyaGT61nGw1r ECoXWPjEib2c764gDaX6ZazXCdtW6TOvDJY+MbT746Jgg/AtqUdi7Q2P8lqyZJde+sDZ p5T3xzAOCHuy9/bCn7nJ5HHv2juI+5Ua9shB+983/wW4F/4zOxvVlSzbmLDnG4kTIijW amJQ== X-Gm-Message-State: APjAAAXfP84yKocylfPZVIWwActBxzRIAzW5DzPBBZ4MJ63gPfD0lPAD vxz8MPV/nQNv/AjNHWO6Rzu4U1VUnrQ= X-Received: by 2002:a17:906:c286:: with SMTP id r6mr2399774ejz.7.1551844080193; Tue, 05 Mar 2019 19:48:00 -0800 (PST) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com. [209.85.128.47]) by smtp.gmail.com with ESMTPSA id h27sm102828eja.73.2019.03.05.19.47.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Mar 2019 19:47:59 -0800 (PST) Received: by mail-wm1-f47.google.com with SMTP id z84so4483937wmg.4; Tue, 05 Mar 2019 19:47:59 -0800 (PST) X-Received: by 2002:a1c:2543:: with SMTP id l64mr959526wml.116.1551844078917; Tue, 05 Mar 2019 19:47:58 -0800 (PST) MIME-Version: 1.0 References: <20190222112151.GA23266@lst.de> In-Reply-To: <20190222112151.GA23266@lst.de> From: Chen-Yu Tsai Date: Wed, 6 Mar 2019 11:47:47 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: device tree binding for poly-phased regulators To: Torsten Duwe Cc: Carlo Caione , Olliver Schinagl , Lee Jones , Rob Herring , Mark Rutland , Jagan Teki , Icenowy Zheng , devicetree , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 22, 2019 at 7:21 PM Torsten Duwe wrote: > > Hi! > > Documentation/devicetree/bindings/mfd/axp20x.txt nicely describes the > capabilities of the X-powers PMICs; however, it seems polyphasing is > left to comments only. > > May I suggest to add a property "poly-phased", just to get the discussion > started? It could be a simple property in the current case for the axp803 > and axp806 ("poly-phased with you-know-which") or a phandle in the future. These PMICs are customized in a way that the outputs are poly-phased by default. They are customized to match a specific SoC, and that is about the only use for them. As such, there's really no way to test whether a poly-phase property and implementation works or not. If you get it wrong you risk frying your device. A poly-phase property in genernal would be nice, however I don't think this is the right device to start with. > BTW the axp803 datasheet is quite terse in that respect: is there one > "master" reulator whose settings are copied or does a driver have to keep > them in sync. The datasheet says, when outputs are poly-phased, only the settings of the first phase applies, i.e. the other settings are ignored, not even copied. ChenYu