From patchwork Fri Jul 29 04:14:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Lin X-Patchwork-Id: 9252041 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 47143601C0 for ; Fri, 29 Jul 2016 04:19:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3DA2627E63 for ; Fri, 29 Jul 2016 04:19:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 31F7127F88; Fri, 29 Jul 2016 04:19:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D5B1D27E63 for ; Fri, 29 Jul 2016 04:19:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752462AbcG2ETi (ORCPT ); Fri, 29 Jul 2016 00:19:38 -0400 Received: from lucky1.263xmail.com ([211.157.147.134]:53980 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750817AbcG2ESP (ORCPT ); Fri, 29 Jul 2016 00:18:15 -0400 Received: from shawn.lin?rock-chips.com (unknown [192.168.167.105]) by lucky1.263xmail.com (Postfix) with SMTP id C0E576B8; Fri, 29 Jul 2016 12:18:10 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-ADDR-CHECKED: 0 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id 7A9EB36D; Fri, 29 Jul 2016 12:18:08 +0800 (CST) X-RL-SENDER: shawn.lin@rock-chips.com X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: shawn.lin@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-SENDER: lintao@rock-chips.com X-DNS-TYPE: 0 Received: from unknown (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith SMTP id 11195NB726S; Fri, 29 Jul 2016 12:18:09 +0800 (CST) From: Shawn Lin To: Heiko Stuebner , Rob Herring , Jaehoon Chung , Ulf Hansson Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, Douglas Anderson , Brian Norris , Feng Xiao , Elaine Zhang , linux-kernel@vger.kernel.org, Shawn Lin Subject: [PATCH 1/5] Documentation: mmc: synopsys-dw-mshc: add power domain description Date: Fri, 29 Jul 2016 12:14:59 +0800 Message-Id: <1469765703-30999-2-git-send-email-shawn.lin@rock-chips.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1469765703-30999-1-git-send-email-shawn.lin@rock-chips.com> References: <1469765703-30999-1-git-send-email-shawn.lin@rock-chips.com> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds power domain as a optional property for dw_mmc. We should handle the power domain if available as it's in off state dut to the policy of power-saving after booting up. Otherwise dw_mmc can not be accessed. Signed-off-by: Shawn Lin Acked-by: Rob Herring --- Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt index 8636f5a..f48febd 100644 --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt @@ -81,6 +81,8 @@ Optional properties: * dma-names: request names for generic DMA client binding. Must be "rx-tx". Refer to dma.txt for details. +* power-domains: Must contain a reference to the PM domain, if available. + Aliases: - All the MSHC controller nodes should be represented in the aliases node using