From patchwork Fri Mar 2 01:11:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 130433 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp719713lja; Thu, 1 Mar 2018 17:12:36 -0800 (PST) X-Google-Smtp-Source: AG47ELv+EIP3FnUC5Y2S/dxPz1Yt+c7owzTqnUTAUYee+HtKprVU68TO39Wa2xiHNx/oEP6QOAlB X-Received: by 10.98.96.70 with SMTP id u67mr3937441pfb.66.1519953156528; Thu, 01 Mar 2018 17:12:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519953156; cv=none; d=google.com; s=arc-20160816; b=BKXCpewXl2tL+2ww3aKcagItCckGqp/5QBgWeQp0soEhDY3NN+qVc8kECRHZILoLCL fo7iTjskgIfs4O8Coh9+m9Iolz4LO8HWe3N4ibrlnCBhSgr8JdWczFxrf7bPfLqkcnN3 IhWxihrpdzDMf9u9vJEaA0FFReyPVCc8fuXFrXPsLfkhFNKZFG3uiQFN1t22/ul6LfMw IAtkIO7ebkAucojI41EVKKzNIZ9Inh4ckHirGFvjbYsZ5myxr9FAo/04VGgSkNYaHMs+ vLwipLQVIzipNiKSImdb6V5YhAV6RmHasYp7co4hzg4LGlKAl174tnGbWjUyXijVzJft 9fhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=4r0kkRb7Q6qLei29al5th3n2QbhuT7Qry5Km8gwNtj8=; b=ZzlP8//fFg5FXj8t5vkZ7xqDj5rIjLbpO7Gu7fGE97deVkYv0pCIFl3habOIWkbjUq uM2zDWQqxuVcHbllQZKOLXwSQoOTMQSGRr4bxsEfifz24h7xR+xjpW+HxZDW5tLlFxQz LGGsRABXlwCz6J/Hu16Xr2vDNmvWK6/Fk4Vx4bOfrOwePUoquiuYg2QXEcOoCCgVVgwY DgRkmsKtDbx8sXpqlX0YqAaFw7ZWCDioXv8ds/RdvxKlBNB3Hu254aI630EGVcwKQNt0 0+ZxTmbllIzIcqWZcjcQhAlsvkqJvcpLSJk5lxh45STG1cn5R6CYAAtwPm8yrIQmm1Hv Xg4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=bgmc74zq; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s124si3221909pgc.403.2018.03.01.17.12.35; Thu, 01 Mar 2018 17:12:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=bgmc74zq; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1163371AbeCBBMd (ORCPT + 6 others); Thu, 1 Mar 2018 20:12:33 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:47045 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1163354AbeCBBMd (ORCPT ); Thu, 1 Mar 2018 20:12:33 -0500 Received: by mail-pg0-f67.google.com with SMTP id r26so3075451pgv.13 for ; Thu, 01 Mar 2018 17:12:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=SNtBwMFW1clTHx/VrDB3+jrK+m2DaiqD06gEtHb/sCM=; b=bgmc74zqQjiVHlQxGCOMQ5NDX+QFpBi7mNz3faul7N7p+Ae9NZOUys2co3YQ/RdRjO h5riPXNPVIUaniNL7aTScpWimAi3ZcTmmjBYyvFLLJf773feHoQ3nkTIoe3xzC2b5Neu bN+wHn6VrJQmwfGwokuVYexoEaHLbJUMkA8uE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=SNtBwMFW1clTHx/VrDB3+jrK+m2DaiqD06gEtHb/sCM=; b=QiH2pUZIiveIu4RDCBNBUGuCS2DfBb6DNUFPXbmKmtB8ccAjEw3Zfxa+nUNpH+w+hG OLhOLcnmsBAO7zP2PUzMaIh+pSr5GI818p1o+MLrNHu2m1dYYwkn2l0NGZgZQgbUrTHE +H3Op9z74jxMMxObzMRoPgJny57HsOLgz/Hnt5N6CtwOJTYj0BAiuZeSgf7MPMwLbdvM XbaupHIkl0Q5Ej7Kj4Eq6kYlISekO25xArYyQHXe88+KOFaJp/9ffrn86On62O/sdpK6 PRSNczAIdsSgz2I0Zq9XJTKsW7zzooG2oQuEv1FPo73wdwl9aYBSI5X1/NZyrTVmefP7 2h5Q== X-Gm-Message-State: APf1xPC9YydqmBglRe3bX4+n0iRCsyrxKZAaRxqxXizxjXQwa9n5HxGP Bbi/2udQn0Cg1w86mMs8MEjBMg== X-Received: by 10.98.7.68 with SMTP id b65mr3865796pfd.39.1519953152536; Thu, 01 Mar 2018 17:12:32 -0800 (PST) Received: from localhost.localdomain ([45.56.152.106]) by smtp.gmail.com with ESMTPSA id z22sm2186864pfd.158.2018.03.01.17.12.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Mar 2018 17:12:31 -0800 (PST) From: Shawn Guo To: Lorenzo Pieralisi Cc: Bjorn Helgaas , Rob Herring , Fabio Estevam , Jianguo Sun , Jiancheng Xue , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, Shawn Guo Subject: [PATCH v3 0/2] Add power control for pcie-histb driver Date: Fri, 2 Mar 2018 09:11:59 +0800 Message-Id: <1519953121-28218-1-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org It adds power control support for pcie-histb driver, by utilizing regulator infrastructural. Changes for v3: - Incorporate Rob's ACK on bindings doc. - Capitalize the first word of patch subject to match drivers/pci convention. - Reword vpcie-supply description a bit as per Bjorn's suggestion. Shawn Guo (2): PCI: histb: Fix error path of histb_pcie_host_enable() PCI: histb: Add an optional regulator for PCIe port power control .../bindings/pci/hisilicon-histb-pcie.txt | 1 + drivers/pci/dwc/pcie-histb.c | 28 ++++++++++++++++++---- 2 files changed, 25 insertions(+), 4 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html