Received: by 10.213.65.68 with SMTP id h4csp271380imn; Fri, 23 Mar 2018 04:25:11 -0700 (PDT) X-Google-Smtp-Source: AG47ELt8Zglevg8CXYpCLkdjDuJNXe78blxThpZ8rf/5QtuTexKVKnd5VedZRt+Ha3s3VbiKPmZ/ X-Received: by 2002:a17:902:8f97:: with SMTP id z23-v6mr29126821plo.162.1521804311871; Fri, 23 Mar 2018 04:25:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521804311; cv=none; d=google.com; s=arc-20160816; b=pqIC+4jFPyjPsJNEuhhPDxvmPwCOruV2iz/02XDvQYf+bbpBOUe+6QHGOpVtR6ZU9V cqLzE6GyWKiJR0xmnLJDLt1w5roPUd6HXiUvieZZctOrSuqKgbw9y8SFNnP9tN3G1iKR ffCRqdp1rNw0IYBozCU0y+YNjXbbrvf+JBXkcSwiNP4TaTEg2q3veg7DTls9qRYxJpye SvUyffKycV7jiyOFsnfqDOT3coEqArU61c349M066IpW1yEhvd+prLZ7gbyLWAyfSk4L HilOYjLlKGQ9QuEoj2RyOHp4CrEbGNPNwYswOBXopnLlolw0iRbEnKmRrosM/fKd7bFP 9cXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=J5gc2FS4lxmcho2jvN7o1RJ7QP9Izsq4ZjE19YHIkAA=; b=TQJtM0Sbd2QMEcwFH+3KGCfhBmOQioIQVn3xYtwrODIGKG4UloNnQYdLxCw1dFzWQS EklWF/My8ouD5JcoK71B48RdW+PA4o3tQ1q3HMblL9/4pWucmArm+7aMs6+Bcymsh1Hc uJOwKXwklp18tBlB4t3I1P5WXWqCzR28IPjZ3/0eBkVIUKknW25hAiXZDb8lZkTQJKt0 S3PPe2vrPkXwdEvTFf9yYaazUb8kohwGD/zU+NOAQgDaCbFhCPkmVgbqUL9+79lJn1no hGq6SdeASB/FzGQgCTd2Dd3HaE9r7aecxAO2cBUgJGQGVgUoofHn3bbYetY5/IYhvxgX U/7g== 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 b34-v6si8612175pld.249.2018.03.23.04.24.57; Fri, 23 Mar 2018 04:25:11 -0700 (PDT) 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 S1755387AbeCWKHu (ORCPT + 99 others); Fri, 23 Mar 2018 06:07:50 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:41382 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755375AbeCWKHr (ORCPT ); Fri, 23 Mar 2018 06:07:47 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 9D15AD8B; Fri, 23 Mar 2018 10:07:46 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rask Ingemann Lambertsen , Chen-Yu Tsai , Lee Jones , Sasha Levin Subject: [PATCH 4.9 083/177] dt-bindings: mfd: axp20x: Add "xpowers,master-mode" property for AXP806 PMICs Date: Fri, 23 Mar 2018 10:53:31 +0100 Message-Id: <20180323094208.965444792@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180323094205.090519271@linuxfoundation.org> References: <20180323094205.090519271@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 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 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Rask Ingemann Lambertsen [ Upstream commit 8461cf20d17e0090e9236b73d25b31be4f7fadc5 ] commit b101829a029a ("mfd: axp20x: Fix AXP806 access errors on cold boot") was intended to fix the case where a board uses an AXP806 in slave mode, but the boot loader leaves it in master mode for lack of AXP806 support. But now the driver breaks on boards where the PMIC is operating in master mode. To let the device tree describe which mode of operation is needed, this patch introduces a new property "xpowers,master-mode". Fixes: 204ae2963e10 ("mfd: axp20x: Add bindings for AXP806 PMIC") Signed-off-by: Rask Ingemann Lambertsen Acked-by: Chen-Yu Tsai Signed-off-by: Lee Jones Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- Documentation/devicetree/bindings/mfd/axp20x.txt | 3 +++ 1 file changed, 3 insertions(+) --- a/Documentation/devicetree/bindings/mfd/axp20x.txt +++ b/Documentation/devicetree/bindings/mfd/axp20x.txt @@ -28,6 +28,9 @@ Optional properties: regulator to drive the OTG VBus, rather then as an input pin which signals whether the board is driving OTG VBus or not. +- x-powers,master-mode: Boolean (axp806 only). Set this when the PMIC is + wired for master mode. The default is slave mode. + - -supply: a phandle to the regulator supply node. May be omitted if inputs are unregulated, such as using the IPSOUT output from the PMIC.